Home
last modified time | relevance | path

Searched refs:devinfo (Results 1 – 25 of 27) sorted by relevance

12

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.c170 static void brcmf_usb_rx_refill(struct brcmf_usbdev_info *devinfo,
181 return brcmf_usb_get_buspub(dev)->devinfo; in brcmf_usb_get_businfo()
184 static int brcmf_usb_ioctl_resp_wait(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wait() argument
186 return wait_event_timeout(devinfo->ioctl_resp_wait, in brcmf_usb_ioctl_resp_wait()
187 devinfo->ctl_completed, IOCTL_RESP_TIMEOUT); in brcmf_usb_ioctl_resp_wait()
190 static void brcmf_usb_ioctl_resp_wake(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wake() argument
192 wake_up(&devinfo->ioctl_resp_wait); in brcmf_usb_ioctl_resp_wake()
196 brcmf_usb_ctl_complete(struct brcmf_usbdev_info *devinfo, int type, int status) in brcmf_usb_ctl_complete() argument
200 if (unlikely(devinfo == NULL)) in brcmf_usb_ctl_complete()
205 devinfo->bus_pub.stats.rx_ctlpkts++; in brcmf_usb_ctl_complete()
[all …]
Dpcie.c279 u16 (*read_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset);
280 void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset,
290 struct brcmf_pciedev_info *devinfo; member
352 brcmf_pcie_prepare_fw_request(struct brcmf_pciedev_info *devinfo);
355 brcmf_pcie_read_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg32() argument
357 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32()
364 brcmf_pcie_write_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset, in brcmf_pcie_write_reg32() argument
367 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_write_reg32()
374 brcmf_pcie_read_tcm8(struct brcmf_pciedev_info *devinfo, u32 mem_offset) in brcmf_pcie_read_tcm8() argument
376 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8()
[all …]
Dusb.h25 struct brcmf_usbdev_info *devinfo; member
37 struct brcmf_usbdev_info *devinfo; member
Dpcie.h11 struct brcmf_pciedev_info *devinfo; member
/drivers/usb/storage/
Duas.c77 struct uas_dev_info *devinfo);
80 static void uas_free_streams(struct uas_dev_info *devinfo);
99 struct uas_dev_info *devinfo = in uas_do_work() local
106 spin_lock_irqsave(&devinfo->lock, flags); in uas_do_work()
108 if (devinfo->resetting) in uas_do_work()
111 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work()
112 if (!devinfo->cmnd[i]) in uas_do_work()
115 cmnd = devinfo->cmnd[i]; in uas_do_work()
125 queue_work(workqueue, &devinfo->work); in uas_do_work()
128 spin_unlock_irqrestore(&devinfo->lock, flags); in uas_do_work()
[all …]
/drivers/scsi/
Dscsi_devinfo.c354 struct scsi_dev_info_list *devinfo; in scsi_dev_info_list_add_keyed() local
361 devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL); in scsi_dev_info_list_add_keyed()
362 if (!devinfo) { in scsi_dev_info_list_add_keyed()
367 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
369 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
377 kfree(devinfo); in scsi_dev_info_list_add_keyed()
385 kfree(devinfo); in scsi_dev_info_list_add_keyed()
388 devinfo->flags = flags; in scsi_dev_info_list_add_keyed()
389 devinfo->compatible = compatible; in scsi_dev_info_list_add_keyed()
392 list_add_tail(&devinfo->dev_info_list, in scsi_dev_info_list_add_keyed()
[all …]
Dscsi_dh.c172 struct scsi_device_handler *devinfo = NULL; in scsi_dh_add_device() local
177 devinfo = __scsi_dh_lookup(drv); in scsi_dh_add_device()
182 if (devinfo) in scsi_dh_add_device()
183 (void)scsi_dh_handler_attach(sdev, devinfo); in scsi_dh_add_device()
/drivers/i2c/
Di2c-boardinfo.c62 struct i2c_devinfo *devinfo; in i2c_register_board_info() local
64 devinfo = kzalloc(sizeof(*devinfo), GFP_KERNEL); in i2c_register_board_info()
65 if (!devinfo) { in i2c_register_board_info()
71 devinfo->busnum = busnum; in i2c_register_board_info()
72 devinfo->board_info = *info; in i2c_register_board_info()
75 devinfo->board_info.resources = in i2c_register_board_info()
80 if (!devinfo->board_info.resources) { in i2c_register_board_info()
82 kfree(devinfo); in i2c_register_board_info()
87 list_add_tail(&devinfo->list, &__i2c_board_list); in i2c_register_board_info()
Di2c-core-base.c1325 struct i2c_devinfo *devinfo; in i2c_scan_static_board_info() local
1328 list_for_each_entry(devinfo, &__i2c_board_list, list) { in i2c_scan_static_board_info()
1329 if (devinfo->busnum == adapter->nr && in i2c_scan_static_board_info()
1330 IS_ERR(i2c_new_client_device(adapter, &devinfo->board_info))) in i2c_scan_static_board_info()
1333 devinfo->board_info.addr); in i2c_scan_static_board_info()
/drivers/scsi/aic7xxx/
Daic7xxx_core.c135 struct ahc_devinfo *devinfo);
151 struct ahc_devinfo *devinfo);
153 struct ahc_devinfo *devinfo,
157 struct ahc_devinfo *devinfo,
160 struct ahc_devinfo *devinfo);
162 struct ahc_devinfo *devinfo,
165 struct ahc_devinfo *devinfo,
168 struct ahc_devinfo *devinfo,
182 struct ahc_devinfo *devinfo);
184 struct ahc_devinfo *devinfo);
[all …]
Daic79xx_core.c106 struct ahd_devinfo *devinfo);
121 struct ahd_devinfo *devinfo,
125 struct ahd_devinfo *devinfo);
127 struct ahd_devinfo *devinfo,
130 struct ahd_devinfo *devinfo,
133 struct ahd_devinfo *devinfo);
135 struct ahd_devinfo *devinfo,
138 struct ahd_devinfo *devinfo,
141 struct ahd_devinfo *devinfo,
154 struct ahd_devinfo *devinfo);
[all …]
Daic79xx_osm.c360 struct ahd_devinfo *devinfo);
615 struct ahd_devinfo devinfo; in ahd_linux_target_alloc() local
651 ahd_compile_devinfo(&devinfo, ahd->our_id, starget->id, in ahd_linux_target_alloc()
654 ahd_set_syncrate(ahd, &devinfo, 0, 0, 0, in ahd_linux_target_alloc()
656 ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahd_linux_target_alloc()
1289 struct ahd_devinfo devinfo; in ahd_linux_initialize_scsi_bus() local
1295 ahd_compile_devinfo(&devinfo, ahd->our_id, target_id, in ahd_linux_initialize_scsi_bus()
1297 ahd_update_neg_request(ahd, &devinfo, tstate, in ahd_linux_initialize_scsi_bus()
1389 struct ahd_devinfo *devinfo, ahd_queue_alg alg) in ahd_platform_set_tags() argument
1426 usertags = ahd_linux_user_tagdepth(ahd, devinfo); in ahd_platform_set_tags()
[all …]
Daic7xxx_osm.c372 struct ahc_devinfo *devinfo);
567 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
615 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
618 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
620 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1162 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1179 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1181 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1256 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1290 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
[all …]
Daic79xx.h1383 void ahd_compile_devinfo(struct ahd_devinfo *devinfo,
1405 struct ahd_devinfo *devinfo,
1408 struct ahd_devinfo *devinfo,
1456 struct ahd_devinfo *devinfo);
Daic7xxx_osm.h633 struct ahc_devinfo *devinfo) in ahc_notify_xfer_settings_change() argument
657 struct ahc_devinfo *devinfo, ahc_queue_alg);
Daic79xx_osm.h615 struct ahd_devinfo *devinfo) in ahd_notify_xfer_settings_change() argument
641 struct ahd_devinfo *devinfo, ahd_queue_alg);
Daic7xxx.h1189 void ahc_compile_devinfo(struct ahc_devinfo *devinfo,
1213 struct ahc_devinfo *devinfo,
1216 struct ahc_devinfo *devinfo,
/drivers/i3c/
Ddevice.c214 struct i3c_device_info devinfo; in i3c_device_match_id() local
219 i3c_device_get_info(i3cdev, &devinfo); in i3c_device_match_id()
221 manuf = I3C_PID_MANUF_ID(devinfo.pid); in i3c_device_match_id()
222 part = I3C_PID_PART_ID(devinfo.pid); in i3c_device_match_id()
223 ext_info = I3C_PID_EXTRA_INFO(devinfo.pid); in i3c_device_match_id()
224 rndpid = I3C_PID_RND_LOWER_32BITS(devinfo.pid); in i3c_device_match_id()
228 id->dcr != devinfo.dcr) in i3c_device_match_id()
Dmaster.c248 struct i3c_device_info devinfo; in modalias_show() local
251 i3c_device_get_info(i3c, &devinfo); in modalias_show()
252 manuf = I3C_PID_MANUF_ID(devinfo.pid); in modalias_show()
253 part = I3C_PID_PART_ID(devinfo.pid); in modalias_show()
254 ext = I3C_PID_EXTRA_INFO(devinfo.pid); in modalias_show()
256 if (I3C_PID_RND_LOWER_32BITS(devinfo.pid)) in modalias_show()
257 return sprintf(buf, "i3c:dcr%02Xmanuf%04X", devinfo.dcr, in modalias_show()
261 devinfo.dcr, manuf, part, ext); in modalias_show()
279 struct i3c_device_info devinfo; in i3c_device_uevent() local
282 i3c_device_get_info(i3cdev, &devinfo); in i3c_device_uevent()
[all …]
/drivers/sh/maple/
Dmaple.c319 if (mdev->devinfo.function & cpu_to_be32(maple_drv->function)) in maple_check_matching_driver()
339 memcpy(&mdev->devinfo.function, recvbuf + 4, 4); in maple_attach_driver()
340 memcpy(&mdev->devinfo.function_data[0], recvbuf + 8, 12); in maple_attach_driver()
341 memcpy(&mdev->devinfo.area_code, recvbuf + 20, 1); in maple_attach_driver()
342 memcpy(&mdev->devinfo.connector_direction, recvbuf + 21, 1); in maple_attach_driver()
343 memcpy(&mdev->devinfo.product_name[0], recvbuf + 22, 30); in maple_attach_driver()
344 memcpy(&mdev->devinfo.standby_power, recvbuf + 112, 2); in maple_attach_driver()
345 memcpy(&mdev->devinfo.max_power, recvbuf + 114, 2); in maple_attach_driver()
346 memcpy(mdev->product_name, mdev->devinfo.product_name, 30); in maple_attach_driver()
348 memcpy(mdev->product_licence, mdev->devinfo.product_licence, 60); in maple_attach_driver()
[all …]
/drivers/visorbus/
Dvisorbus_main.c416 static void vbuschannel_print_devinfo(struct visor_vbus_deviceinfo *devinfo, in vbuschannel_print_devinfo() argument
420 if (!isprint(devinfo->devtype[0])) in vbuschannel_print_devinfo()
431 seq_printf(seq, "%-*.*s ", (int)sizeof(devinfo->devtype), in vbuschannel_print_devinfo()
432 (int)sizeof(devinfo->devtype), devinfo->devtype); in vbuschannel_print_devinfo()
433 seq_printf(seq, "%-*.*s ", (int)sizeof(devinfo->drvname), in vbuschannel_print_devinfo()
434 (int)sizeof(devinfo->drvname), devinfo->drvname); in vbuschannel_print_devinfo()
435 seq_printf(seq, "%.*s\n", (int)sizeof(devinfo->infostrs), in vbuschannel_print_devinfo()
436 devinfo->infostrs); in vbuschannel_print_devinfo()
/drivers/cpufreq/
Dhighbank-cpufreq.c60 struct platform_device_info devinfo = { .name = "cpufreq-dt", }; in hb_cpufreq_driver_init() local
96 platform_device_register_full(&devinfo); in hb_cpufreq_driver_init()
/drivers/scsi/esas2r/
Desas2r_disc.c794 struct atto_vda_devinfo *devinfo; in esas2r_disc_passthru_dev_info() local
802 devinfo = &rq->vda_rsp_data->mgt_data.data.dev_info; in esas2r_disc_passthru_dev_info()
804 memset(devinfo, 0, sizeof(struct atto_vda_devinfo)); in esas2r_disc_passthru_dev_info()
831 struct atto_vda_devinfo *devinfo; in esas2r_disc_passthru_dev_info_cb() local
842 devinfo = &rq->vda_rsp_data->mgt_data.data.dev_info; in esas2r_disc_passthru_dev_info_cb()
846 dc->curr_virt_id = le16_to_cpu(devinfo->target_id); in esas2r_disc_passthru_dev_info_cb()
848 if (le16_to_cpu(devinfo->features) & VDADEVFEAT_PHYS_ID) { in esas2r_disc_passthru_dev_info_cb()
850 le16_to_cpu(devinfo->phys_target_id); in esas2r_disc_passthru_dev_info_cb()
/drivers/comedi/
Dcomedi_fops.c934 struct comedi_devinfo devinfo; in do_devinfo_ioctl() local
937 memset(&devinfo, 0, sizeof(devinfo)); in do_devinfo_ioctl()
940 devinfo.version_code = COMEDI_VERSION_CODE; in do_devinfo_ioctl()
941 devinfo.n_subdevs = dev->n_subdevices; in do_devinfo_ioctl()
942 strscpy(devinfo.driver_name, dev->driver->driver_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
943 strscpy(devinfo.board_name, dev->board_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
947 devinfo.read_subdevice = s->index; in do_devinfo_ioctl()
949 devinfo.read_subdevice = -1; in do_devinfo_ioctl()
953 devinfo.write_subdevice = s->index; in do_devinfo_ioctl()
955 devinfo.write_subdevice = -1; in do_devinfo_ioctl()
[all …]
/drivers/input/joystick/
Dmaplecontrol.c103 unsigned long data = be32_to_cpu(mdev->devinfo.function_data[0]); in probe_maple_controller()

12