hsi_if 989 drivers/hsi/clients/cmt_speech.c struct cs_hsi_iface *hsi_if = kzalloc(sizeof(*hsi_if), GFP_KERNEL); hsi_if 993 drivers/hsi/clients/cmt_speech.c if (!hsi_if) { hsi_if 997 drivers/hsi/clients/cmt_speech.c spin_lock_init(&hsi_if->lock); hsi_if 998 drivers/hsi/clients/cmt_speech.c hsi_if->cl = cl; hsi_if 999 drivers/hsi/clients/cmt_speech.c hsi_if->iface_state = CS_STATE_CLOSED; hsi_if 1000 drivers/hsi/clients/cmt_speech.c hsi_if->mmap_cfg = (struct cs_mmap_config_block *)mmap_base; hsi_if 1001 drivers/hsi/clients/cmt_speech.c hsi_if->mmap_base = mmap_base; hsi_if 1002 drivers/hsi/clients/cmt_speech.c hsi_if->mmap_size = mmap_size; hsi_if 1003 drivers/hsi/clients/cmt_speech.c memset(hsi_if->mmap_cfg, 0, sizeof(*hsi_if->mmap_cfg)); hsi_if 1004 drivers/hsi/clients/cmt_speech.c init_waitqueue_head(&hsi_if->datawait); hsi_if 1005 drivers/hsi/clients/cmt_speech.c err = cs_alloc_cmds(hsi_if); hsi_if 1010 drivers/hsi/clients/cmt_speech.c err = cs_hsi_alloc_data(hsi_if); hsi_if 1021 drivers/hsi/clients/cmt_speech.c hsi_if->master = ssip_slave_get_master(cl); hsi_if 1022 drivers/hsi/clients/cmt_speech.c if (IS_ERR(hsi_if->master)) { hsi_if 1023 drivers/hsi/clients/cmt_speech.c err = PTR_ERR(hsi_if->master); hsi_if 1027 drivers/hsi/clients/cmt_speech.c if (!ssip_slave_running(hsi_if->master)) { hsi_if 1034 drivers/hsi/clients/cmt_speech.c hsi_if->iface_state = CS_STATE_OPENED; hsi_if 1036 drivers/hsi/clients/cmt_speech.c cs_hsi_read_on_control(hsi_if); hsi_if 1042 drivers/hsi/clients/cmt_speech.c *hi = hsi_if; hsi_if 1049 drivers/hsi/clients/cmt_speech.c cs_hsi_free_data(hsi_if); hsi_if 1051 drivers/hsi/clients/cmt_speech.c cs_free_cmds(hsi_if); hsi_if 1053 drivers/hsi/clients/cmt_speech.c kfree(hsi_if);