Home
last modified time | relevance | path

Searched refs:dev_desc (Results 1 – 21 of 21) sorted by relevance

/drivers/input/touchscreen/
A Diqs7211.c1421 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_start_comms() local
1522 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_init_device() local
1702 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_parse_event() local
1752 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_parse_cycles() local
1868 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_parse_tp() local
1944 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_parse_alp() local
2040 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_parse_reg_grp() local
2097 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_register_kp() local
2133 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_register_tp() local
2210 const struct iqs7211_dev_desc *dev_desc = iqs7211->dev_desc; in iqs7211_report() local
[all …]
/drivers/acpi/x86/
A Dlpss.c101 const struct lpss_device_desc *dev_desc; member
408 const struct lpss_device_desc *dev_desc = pdata->dev_desc; in register_device_clock() local
439 if (dev_desc->flags & LPSS_CLK_GATE) { in register_device_clock()
623 if (!dev_desc) in acpi_lpss_create_device()
637 if (dev_desc->prv_size_override) in acpi_lpss_create_device()
653 pdata->dev_desc = dev_desc; in acpi_lpss_create_device()
655 if (dev_desc->setup) in acpi_lpss_create_device()
656 dev_desc->setup(pdata); in acpi_lpss_create_device()
658 if (dev_desc->flags & LPSS_CLK) { in acpi_lpss_create_device()
1055 if (pdata->dev_desc->resume_from_noirq) in acpi_lpss_suspend_late()
[all …]
/drivers/acpi/
A Dacpi_apd.c40 const struct apd_device_desc *dev_desc; member
48 const struct apd_device_desc *dev_desc = pdata->dev_desc; in acpi_apd_setup() local
51 if (dev_desc->fixed_clk_rate) { in acpi_apd_setup()
54 NULL, 0, dev_desc->fixed_clk_rate); in acpi_apd_setup()
195 const struct apd_device_desc *dev_desc = (void *)id->driver_data; in acpi_apd_create_device() local
200 if (!dev_desc) { in acpi_apd_create_device()
210 pdata->dev_desc = dev_desc; in acpi_apd_create_device()
212 if (dev_desc->setup) { in acpi_apd_create_device()
213 ret = dev_desc->setup(pdata); in acpi_apd_create_device()
219 pdev = acpi_create_platform_device(adev, dev_desc->properties); in acpi_apd_create_device()
/drivers/input/misc/
A Diqs7222.c1840 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_dev_init() local
1996 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_gpio_select() local
2247 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_chan() local
2256 if (dev_desc->allow_offset && in iqs7222_parse_chan()
2430 if (!dev_desc->event_offset) in iqs7222_parse_chan()
2448 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_sldr() local
2672 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_tpad() local
2848 const struct iqs7222_dev_desc *dev_desc = iqs7222->dev_desc; in iqs7222_parse_all() local
2853 if (dev_desc->allow_offset) in iqs7222_parse_all()
2856 if (dev_desc->event_offset) in iqs7222_parse_all()
[all …]
/drivers/mfd/
A Diqs62x.c133 switch (iqs62x->dev_desc->prod_num) { in iqs62x_dev_init()
148 iqs62x->dev_desc->prox_mask | in iqs62x_dev_init()
149 iqs62x->dev_desc->sar_mask | in iqs62x_dev_init()
150 iqs62x->dev_desc->hall_mask | in iqs62x_dev_init()
151 iqs62x->dev_desc->hyst_mask | in iqs62x_dev_init()
152 iqs62x->dev_desc->temp_mask | in iqs62x_dev_init()
153 iqs62x->dev_desc->als_mask | in iqs62x_dev_init()
154 iqs62x->dev_desc->ir_mask); in iqs62x_dev_init()
185 iqs62x->dev_desc->interval_div); in iqs62x_dev_init()
619 iqs62x->dev_desc->sub_devs, in iqs62x_firmware_load()
[all …]
/drivers/input/keyboard/
A Diqs62x-keys.c106 switch (iqs62x->dev_desc->prod_num) { in iqs62x_keys_init()
121 event_mask |= iqs62x->dev_desc->prox_mask; in iqs62x_keys_init()
123 event_mask |= (iqs62x->dev_desc->hyst_mask | in iqs62x_keys_init()
124 iqs62x->dev_desc->sar_mask); in iqs62x_keys_init()
127 ret = regmap_read(iqs62x->regmap, iqs62x->dev_desc->hall_flags, in iqs62x_keys_init()
145 event_mask |= iqs62x->dev_desc->hall_mask; in iqs62x_keys_init()
169 ret = regmap_read(iqs62x->regmap, iqs62x->dev_desc->interval, in iqs62x_keys_init()
273 input->name = iqs62x->dev_desc->dev_name; in iqs62x_keys_probe()
/drivers/hid/intel-thc-hid/intel-quicki2c/
A Dquicki2c-protocol.c33 memcpy(write_buf, &qcdev->dev_desc.cmd_reg, HIDI2C_REG_LEN); in quicki2c_init_write_buf()
39 memcpy(write_buf + offset, &qcdev->dev_desc.data_reg, HIDI2C_REG_LEN); in quicki2c_init_write_buf()
105 &read_len, (u32 *)&qcdev->dev_desc); in quicki2c_get_device_descriptor()
112 if (le16_to_cpu(qcdev->dev_desc.bcd_ver) != HIDI2C_HID_DESC_BCDVERSION) in quicki2c_get_device_descriptor()
120 u16 desc_reg = le16_to_cpu(qcdev->dev_desc.report_desc_reg); in quicki2c_get_report_descriptor()
121 size_t read_len = le16_to_cpu(qcdev->dev_desc.report_desc_len); in quicki2c_get_report_descriptor()
204 u16 input_reg = le16_to_cpu(qcdev->dev_desc.input_reg); in quicki2c_reset()
A Dquicki2c-hid.c27 le16_to_cpu(qcdev->dev_desc.report_desc_len)); in quicki2c_hid_parse()
118 hid->version = le16_to_cpu(qcdev->dev_desc.version_id); in quicki2c_hid_probe()
119 hid->vendor = le16_to_cpu(qcdev->dev_desc.vendor_id); in quicki2c_hid_probe()
120 hid->product = le16_to_cpu(qcdev->dev_desc.product_id); in quicki2c_hid_probe()
A Dpci-quicki2c.c444 le16_to_cpu(qcdev->dev_desc.max_input_len)) { in quicki2c_dma_adv_enable()
446 le16_to_cpu(qcdev->dev_desc.max_input_len)); in quicki2c_dma_adv_enable()
487 swdma_max_len = max(le16_to_cpu(qcdev->dev_desc.max_input_len), in quicki2c_dma_init()
488 le16_to_cpu(qcdev->dev_desc.report_desc_len)); in quicki2c_dma_init()
491 le16_to_cpu(qcdev->dev_desc.max_input_len), in quicki2c_dma_init()
492 le16_to_cpu(qcdev->dev_desc.max_output_len), in quicki2c_dma_init()
554 le16_to_cpu(qcdev->dev_desc.report_desc_len), in quicki2c_alloc_report_buf()
563 max_report_len = max(le16_to_cpu(qcdev->dev_desc.max_input_len), SZ_4K); in quicki2c_alloc_report_buf()
569 if (!le16_to_cpu(qcdev->dev_desc.max_output_len)) in quicki2c_alloc_report_buf()
570 qcdev->dev_desc.max_output_len = cpu_to_le16(SZ_4K); in quicki2c_alloc_report_buf()
[all …]
A Dquicki2c-dev.h183 struct hidi2c_dev_descriptor dev_desc; member
/drivers/iio/position/
A Diqs624-pos.c43 if (iqs62x->dev_desc->prod_num == IQS625_PROD_NUM) in iqs624_pos_angle_en()
67 if (iqs62x->dev_desc->prod_num == IQS625_PROD_NUM) in iqs624_pos_notifier()
117 if (iqs62x->dev_desc->prod_num == IQS625_PROD_NUM) in iqs624_pos_angle_get()
118 return regmap_read(iqs62x->regmap, iqs62x->dev_desc->interval, in iqs624_pos_angle_get()
149 if (iqs62x->dev_desc->prod_num == IQS625_PROD_NUM) { in iqs624_pos_read_raw()
252 indio_dev->name = iqs62x->dev_desc->dev_name; in iqs624_pos_probe()
/drivers/hid/intel-thc-hid/intel-quickspi/
A Dquickspi-hid.c26 le16_to_cpu(qsdev->dev_desc.rep_desc_len)); in quickspi_hid_parse()
117 hid->version = le16_to_cpu(qsdev->dev_desc.version_id); in quickspi_hid_probe()
118 hid->vendor = le16_to_cpu(qsdev->dev_desc.vendor_id); in quickspi_hid_probe()
119 hid->product = le16_to_cpu(qsdev->dev_desc.product_id); in quickspi_hid_probe()
A Dpci-quickspi.c478 le16_to_cpu(qsdev->dev_desc.max_input_len), in quickspi_dma_init()
479 le16_to_cpu(qsdev->dev_desc.max_output_len), in quickspi_dma_init()
536 le16_to_cpu(qsdev->dev_desc.rep_desc_len), in quickspi_alloc_report_buf()
541 max_input_len = max(le16_to_cpu(qsdev->dev_desc.rep_desc_len), in quickspi_alloc_report_buf()
542 le16_to_cpu(qsdev->dev_desc.max_input_len)); in quickspi_alloc_report_buf()
548 max_report_len = max(le16_to_cpu(qsdev->dev_desc.max_output_len), in quickspi_alloc_report_buf()
549 le16_to_cpu(qsdev->dev_desc.max_input_len)); in quickspi_alloc_report_buf()
A Dquickspi-protocol.c103 memcpy(&qsdev->dev_desc, in quickspi_get_device_descriptor()
175 if (input_len != le16_to_cpu(qsdev->dev_desc.rep_desc_len)) { in quickspi_handle_input_data()
231 if (input_len > le16_to_cpu(qsdev->dev_desc.max_input_len)) { in quickspi_handle_input_data()
A Dquickspi-dev.h135 struct hidspi_dev_descriptor dev_desc; member
/drivers/iio/light/
A Diqs621-als.c84 event_mask |= iqs62x->dev_desc->als_mask; in iqs621_als_init()
87 event_mask |= iqs62x->dev_desc->ir_mask; in iqs621_als_init()
283 ret = regmap_read(iqs62x->regmap, iqs62x->dev_desc->als_flags, &val); in iqs621_als_write_event_config()
291 iqs62x->dev_desc->als_mask, in iqs621_als_write_event_config()
300 iqs62x->dev_desc->als_mask, in iqs621_als_write_event_config()
314 iqs62x->dev_desc->ir_mask, in iqs621_als_write_event_config()
557 if (iqs62x->dev_desc->prod_num == IQS622_PROD_NUM) { in iqs621_als_probe()
585 indio_dev->name = iqs62x->dev_desc->dev_name; in iqs621_als_probe()
/drivers/gpu/drm/xe/tests/
A Dxe_pci.c26 const struct xe_device_desc *dev_desc = in xe_pci_id_kunit_desc() local
29 if (dev_desc) in xe_pci_id_kunit_desc()
31 param->device, dev_desc->platform_name); in xe_pci_id_kunit_desc()
/drivers/usb/usbip/
A Dvudc_sysfs.c27 struct usb_device_descriptor *ddesc = &udc->dev_desc; in get_gadget_descs()
75 char *desc_ptr = (char *) &udc->dev_desc; in dev_desc_read()
91 static const BIN_ATTR_RO(dev_desc, sizeof(struct usb_device_descriptor));
A Dvudc.h91 struct usb_device_descriptor dev_desc; member
/drivers/media/rc/
A Dite-cir.c1300 const struct ite_dev_params *dev_desc = NULL; in ite_probe() local
1331 dev_desc = &ite_dev_descs[model_no]; in ite_probe()
1332 io_rsrc_no = dev_desc->io_rsrc_no; in ite_probe()
1336 pnp_port_len(pdev, io_rsrc_no) < dev_desc->io_region_size) { in ite_probe()
1362 itdev->params = dev_desc; in ite_probe()
1389 rdev->device_name = dev_desc->model; in ite_probe()
1404 dev_desc->io_region_size, ITE_DRIVER_NAME)) in ite_probe()
/drivers/iio/temperature/
A Diqs620at-temp.c81 indio_dev->name = iqs62x->dev_desc->dev_name; in iqs620_temp_probe()

Completed in 44 milliseconds