Home
last modified time | relevance | path

Searched refs:cl_data (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/hid/amd-sfh-hid/
Damd_sfh_client.c146 struct amdtp_cl_data *cl_data = privdata->cl_data; in amd_sfh_hid_client_init() local
156 cl_data->num_hid_devices = amd_mp2_get_sensor_num(privdata, &cl_data->sensor_idx[0]); in amd_sfh_hid_client_init()
158 INIT_DELAYED_WORK(&cl_data->work, amd_sfh_work); in amd_sfh_hid_client_init()
159 INIT_DELAYED_WORK(&cl_data->work_buffer, amd_sfh_work_buffer); in amd_sfh_hid_client_init()
161 cl_data->in_data = in_data; in amd_sfh_hid_client_init()
163 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_sfh_hid_client_init()
165 &cl_data->sensor_dma_addr[i], in amd_sfh_hid_client_init()
167 cl_data->sensor_sts[i] = SENSOR_DISABLED; in amd_sfh_hid_client_init()
168 cl_data->sensor_requested_cnt[i] = 0; in amd_sfh_hid_client_init()
169 cl_data->cur_hid_dev = i; in amd_sfh_hid_client_init()
[all …]
Damd_sfh_pcie.c254 privdata->cl_data = devm_kzalloc(&pdev->dev, sizeof(struct amdtp_cl_data), GFP_KERNEL); in amd_mp2_pci_probe()
255 if (!privdata->cl_data) in amd_mp2_pci_probe()
271 struct amdtp_cl_data *cl_data = mp2->cl_data; in amd_mp2_pci_resume() local
275 for (i = 0; i < cl_data->num_hid_devices; i++) { in amd_mp2_pci_resume()
276 if (cl_data->sensor_sts[i] == SENSOR_DISABLED) { in amd_mp2_pci_resume()
278 info.sensor_idx = cl_data->sensor_idx[i]; in amd_mp2_pci_resume()
279 info.dma_address = cl_data->sensor_dma_addr[i]; in amd_mp2_pci_resume()
282 (mp2, cl_data->sensor_idx[i], SENSOR_ENABLED); in amd_mp2_pci_resume()
284 cl_data->sensor_sts[i] = SENSOR_ENABLED; in amd_mp2_pci_resume()
286 cl_data->sensor_idx[i], cl_data->sensor_sts[i]); in amd_mp2_pci_resume()
[all …]
Damd_sfh_pcie.h97 struct amdtp_cl_data *cl_data; member
/Linux-v5.15/drivers/hsi/clients/
Dhsi_char.c86 struct hsc_client_data *cl_data; member
227 struct hsc_client_data *cl_data = hsi_client_drvdata(msg->cl); in hsc_rx_completed() local
228 struct hsc_channel *channel = cl_data->channels + msg->channel; in hsc_rx_completed()
247 struct hsc_client_data *cl_data = hsi_client_drvdata(msg->cl); in hsc_tx_completed() local
248 struct hsc_channel *channel = cl_data->channels + msg->channel; in hsc_tx_completed()
267 struct hsc_client_data *cl_data = hsi_client_drvdata(msg->cl); in hsc_break_req_destructor() local
270 clear_bit(HSC_RXBREAK, &cl_data->flags); in hsc_break_req_destructor()
275 struct hsc_client_data *cl_data = hsi_client_drvdata(msg->cl); in hsc_break_received() local
276 struct hsc_channel *channel = cl_data->channels; in hsc_break_received()
302 struct hsc_client_data *cl_data = hsi_client_drvdata(cl); in hsc_break_request() local
[all …]
/Linux-v5.15/include/linux/ceph/
Dosdmap.h323 char cl_data[]; member
/Linux-v5.15/net/ceph/
Dosdmap.c2935 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()