Searched refs:cl_data (Results 1 – 6 of 6) sorted by relevance
147 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_init() local157 cl_data->num_hid_devices = amd_mp2_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh_hid_client_init()162 cl_data->in_data = in_data; in amd_sfh_hid_client_init()170 cl_data->cur_hid_dev = i; in amd_sfh_hid_client_init()201 cl_data->report_descr[i] = in amd_sfh_hid_client_init()215 rc = amdtp_hid_probe(cl_data->cur_hid_dev, cl_data); in amd_sfh_hid_client_init()223 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()228 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_sfh_hid_client_init()249 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_deinit() local261 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_sfh_hid_client_deinit()[all …]
259 if (!privdata->cl_data) in amd_mp2_pci_probe()274 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_mp2_pci_resume() local278 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_mp2_pci_resume()281 info.sensor_idx = cl_data->sensor_idx[i]; in amd_mp2_pci_resume()287 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_mp2_pci_resume()289 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_mp2_pci_resume()299 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_mp2_pci_suspend() local302 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_mp2_pci_suspend()303 if (cl_data->sensor_idx[i] != HPD_IDX && in amd_mp2_pci_suspend()309 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_mp2_pci_suspend()[all …]
98 struct amdtp_cl_data *cl_data; member
584 hsi_flush(cl_data->cl); in __hsc_port_release()613 hsi_setup(cl_data->cl); in hsc_open()615 cl_data->usecnt++; in hsc_open()636 struct hsc_client_data *cl_data = channel->cl_data; in hsc_release() local686 cl_data = kzalloc(sizeof(*cl_data), GFP_KERNEL); in hsc_probe()687 if (!cl_data) in hsc_probe()709 cl_data->cl = cl; in hsc_probe()714 channel->cl_data = cl_data; in hsc_probe()728 kfree(cl_data); in hsc_probe()739 cdev_del(&cl_data->cdev); in hsc_remove()[all …]
323 char cl_data[]; member
2935 loc->cl_loc.cl_type_name = loc->cl_data; in DEFINE_RB_FUNCS2()2939 loc->cl_loc.cl_name = loc->cl_data + type_name_len + 1; in DEFINE_RB_FUNCS2()
Completed in 21 milliseconds