Home
last modified time | relevance | path

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

12

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dusb.c179 static void brcmf_usb_rx_refill(struct brcmf_usbdev_info *devinfo,
190 return brcmf_usb_get_buspub(dev)->devinfo; in brcmf_usb_get_businfo()
193 static int brcmf_usb_ioctl_resp_wait(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wait() argument
195 return wait_event_timeout(devinfo->ioctl_resp_wait, in brcmf_usb_ioctl_resp_wait()
196 devinfo->ctl_completed, IOCTL_RESP_TIMEOUT); in brcmf_usb_ioctl_resp_wait()
199 static void brcmf_usb_ioctl_resp_wake(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wake() argument
201 wake_up(&devinfo->ioctl_resp_wait); in brcmf_usb_ioctl_resp_wake()
205 brcmf_usb_ctl_complete(struct brcmf_usbdev_info *devinfo, int type, int status) in brcmf_usb_ctl_complete() argument
209 if (unlikely(devinfo == NULL)) in brcmf_usb_ctl_complete()
214 devinfo->bus_pub.stats.rx_ctlpkts++; in brcmf_usb_ctl_complete()
[all …]
Dpcie.c272 u16 (*read_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset);
273 void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset,
283 struct brcmf_pciedev_info *devinfo; member
306 brcmf_pcie_read_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg32() argument
308 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32()
315 brcmf_pcie_write_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset, in brcmf_pcie_write_reg32() argument
318 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_write_reg32()
325 brcmf_pcie_read_tcm8(struct brcmf_pciedev_info *devinfo, u32 mem_offset) in brcmf_pcie_read_tcm8() argument
327 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8()
334 brcmf_pcie_read_tcm16(struct brcmf_pciedev_info *devinfo, u32 mem_offset) in brcmf_pcie_read_tcm16() argument
[all …]
Dusb.h36 struct brcmf_usbdev_info *devinfo; member
48 struct brcmf_usbdev_info *devinfo; member
Dpcie.h21 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);
86 struct uas_dev_info *devinfo = in uas_do_work() local
93 spin_lock_irqsave(&devinfo->lock, flags); in uas_do_work()
95 if (devinfo->resetting) in uas_do_work()
98 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work()
99 if (!devinfo->cmnd[i]) in uas_do_work()
102 cmnd = devinfo->cmnd[i]; in uas_do_work()
112 schedule_work(&devinfo->work); in uas_do_work()
115 spin_unlock_irqrestore(&devinfo->lock, flags); in uas_do_work()
[all …]
/drivers/scsi/
Dscsi_devinfo.c366 struct scsi_dev_info_list *devinfo; in scsi_dev_info_list_add_keyed() local
373 devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL); in scsi_dev_info_list_add_keyed()
374 if (!devinfo) { in scsi_dev_info_list_add_keyed()
379 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
381 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
385 devinfo->flags = simple_strtoul(strflags, NULL, 0); in scsi_dev_info_list_add_keyed()
387 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()
395 list_add(&devinfo->dev_info_list, in scsi_dev_info_list_add_keyed()
[all …]
Dscsi_dh.c161 struct scsi_device_handler *devinfo = NULL; in scsi_dh_add_device() local
167 devinfo = __scsi_dh_lookup(drv); in scsi_dh_add_device()
168 if (devinfo) in scsi_dh_add_device()
169 err = scsi_dh_handler_attach(sdev, devinfo); in scsi_dh_add_device()
/drivers/scsi/aic7xxx/
Daic7xxx_core.c142 struct ahc_devinfo *devinfo);
158 struct ahc_devinfo *devinfo);
160 struct ahc_devinfo *devinfo,
164 struct ahc_devinfo *devinfo,
167 struct ahc_devinfo *devinfo);
169 struct ahc_devinfo *devinfo,
172 struct ahc_devinfo *devinfo,
175 struct ahc_devinfo *devinfo,
189 struct ahc_devinfo *devinfo);
191 struct ahc_devinfo *devinfo);
[all …]
Daic79xx_core.c114 struct ahd_devinfo *devinfo);
129 struct ahd_devinfo *devinfo,
133 struct ahd_devinfo *devinfo);
135 struct ahd_devinfo *devinfo,
138 struct ahd_devinfo *devinfo,
141 struct ahd_devinfo *devinfo);
143 struct ahd_devinfo *devinfo,
146 struct ahd_devinfo *devinfo,
149 struct ahd_devinfo *devinfo,
162 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()
1304 struct ahd_devinfo devinfo; in ahd_linux_initialize_scsi_bus() local
1310 ahd_compile_devinfo(&devinfo, ahd->our_id, target_id, in ahd_linux_initialize_scsi_bus()
1312 ahd_update_neg_request(ahd, &devinfo, tstate, in ahd_linux_initialize_scsi_bus()
1404 struct ahd_devinfo *devinfo, ahd_queue_alg alg) in ahd_platform_set_tags() argument
1441 usertags = ahd_linux_user_tagdepth(ahd, devinfo); in ahd_platform_set_tags()
[all …]
Daic7xxx_osm.c371 struct ahc_devinfo *devinfo);
566 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
619 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
622 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
624 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1180 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1197 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1199 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1274 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1308 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
[all …]
Daic79xx.h1396 void ahd_compile_devinfo(struct ahd_devinfo *devinfo,
1418 struct ahd_devinfo *devinfo,
1421 struct ahd_devinfo *devinfo,
1469 struct ahd_devinfo *devinfo);
Daic7xxx_osm.h656 struct ahc_devinfo *devinfo) in ahc_notify_xfer_settings_change() argument
680 struct ahc_devinfo *devinfo, ahc_queue_alg);
Daic7xxx.h1200 void ahc_compile_devinfo(struct ahc_devinfo *devinfo,
1224 struct ahc_devinfo *devinfo,
1227 struct ahc_devinfo *devinfo,
Daic79xx_osm.h645 struct ahd_devinfo *devinfo) in ahd_notify_xfer_settings_change() argument
671 struct ahd_devinfo *devinfo, ahd_queue_alg);
/drivers/i2c/
Di2c-boardinfo.c70 struct i2c_devinfo *devinfo; in i2c_register_board_info() local
72 devinfo = kzalloc(sizeof(*devinfo), GFP_KERNEL); in i2c_register_board_info()
73 if (!devinfo) { in i2c_register_board_info()
79 devinfo->busnum = busnum; in i2c_register_board_info()
80 devinfo->board_info = *info; in i2c_register_board_info()
81 list_add_tail(&devinfo->list, &__i2c_board_list); in i2c_register_board_info()
/drivers/staging/unisys/visorbus/
Dvbuschannel.h210 vbuschannel_devinfo_to_string(struct ultra_vbus_deviceinfo *devinfo, in vbuschannel_devinfo_to_string() argument
217 psrc = &devinfo->devtype[0]; in vbuschannel_devinfo_to_string()
218 nsrc = sizeof(devinfo->devtype); in vbuschannel_devinfo_to_string()
247 psrc = &devinfo->drvname[0]; in vbuschannel_devinfo_to_string()
248 nsrc = sizeof(devinfo->drvname); in vbuschannel_devinfo_to_string()
259 psrc = &devinfo->infostrs[0]; in vbuschannel_devinfo_to_string()
260 nsrc = sizeof(devinfo->infostrs); in vbuschannel_devinfo_to_string()
/drivers/sh/maple/
Dmaple.c320 if (mdev->devinfo.function & cpu_to_be32(maple_drv->function)) in maple_check_matching_driver()
340 memcpy(&mdev->devinfo.function, recvbuf + 4, 4); in maple_attach_driver()
341 memcpy(&mdev->devinfo.function_data[0], recvbuf + 8, 12); in maple_attach_driver()
342 memcpy(&mdev->devinfo.area_code, recvbuf + 20, 1); in maple_attach_driver()
343 memcpy(&mdev->devinfo.connector_direction, recvbuf + 21, 1); in maple_attach_driver()
344 memcpy(&mdev->devinfo.product_name[0], recvbuf + 22, 30); in maple_attach_driver()
345 memcpy(&mdev->devinfo.standby_power, recvbuf + 112, 2); in maple_attach_driver()
346 memcpy(&mdev->devinfo.max_power, recvbuf + 114, 2); in maple_attach_driver()
347 memcpy(mdev->product_name, mdev->devinfo.product_name, 30); in maple_attach_driver()
349 memcpy(mdev->product_licence, mdev->devinfo.product_licence, 60); in maple_attach_driver()
[all …]
/drivers/ide/
Dide-cd.c734 cd->devinfo.media_written = 1; in cdrom_start_rw()
856 struct cdrom_device_info *cdi = &info->devinfo; in cdrom_check_status()
954 struct cdrom_device_info *cdi = &info->devinfo; in ide_cd_read_toc()
1121 struct cdrom_device_info *cdi = &info->devinfo; in ide_cdrom_get_capabilities()
1188 struct cdrom_device_info *devinfo = &info->devinfo; in ide_cdrom_register() local
1192 devinfo->ops = &ide_cdrom_dops; in ide_cdrom_register()
1193 devinfo->speed = info->current_speed; in ide_cdrom_register()
1194 devinfo->capacity = nslots; in ide_cdrom_register()
1195 devinfo->handle = drive; in ide_cdrom_register()
1196 strcpy(devinfo->name, drive->name); in ide_cdrom_register()
[all …]
Dide-cd.h94 struct cdrom_device_info devinfo; member
/drivers/cpufreq/
Dhighbank-cpufreq.c63 struct platform_device_info devinfo = { .name = "cpufreq-dt", }; in hb_cpufreq_driver_init() local
99 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/staging/comedi/
Dcomedi_fops.c934 struct comedi_devinfo devinfo; in do_devinfo_ioctl() local
936 memset(&devinfo, 0, sizeof(devinfo)); in do_devinfo_ioctl()
939 devinfo.version_code = COMEDI_VERSION_CODE; in do_devinfo_ioctl()
940 devinfo.n_subdevs = dev->n_subdevices; in do_devinfo_ioctl()
941 strlcpy(devinfo.driver_name, dev->driver->driver_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
942 strlcpy(devinfo.board_name, dev->board_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
946 devinfo.read_subdevice = s->index; in do_devinfo_ioctl()
948 devinfo.read_subdevice = -1; in do_devinfo_ioctl()
952 devinfo.write_subdevice = s->index; in do_devinfo_ioctl()
954 devinfo.write_subdevice = -1; in do_devinfo_ioctl()
[all …]
/drivers/input/joystick/
Dmaplecontrol.c102 unsigned long data = be32_to_cpu(mdev->devinfo.function_data[0]); in probe_maple_controller()
/drivers/usb/core/
Dhub.c711 hub_clear_tt_buffer(struct usb_device *hdev, u16 devinfo, u16 tt) in hub_clear_tt_buffer() argument
714 if (((devinfo >> 11) & USB_ENDPOINT_XFERTYPE_MASK) == in hub_clear_tt_buffer()
718 devinfo ^ 0x8000, tt, NULL, 0, 1000); in hub_clear_tt_buffer()
723 HUB_CLEAR_TT_BUFFER, USB_RT_PORT, devinfo, in hub_clear_tt_buffer()
753 status = hub_clear_tt_buffer(hdev, clear->devinfo, clear->tt); in hub_tt_work()
757 clear->tt, clear->devinfo, status); in hub_tt_work()
837 clear->devinfo = usb_pipeendpoint (pipe); in usb_hub_clear_tt_buffer()
838 clear->devinfo |= udev->devnum << 4; in usb_hub_clear_tt_buffer()
839 clear->devinfo |= usb_pipecontrol(pipe) in usb_hub_clear_tt_buffer()
843 clear->devinfo |= 1 << 15; in usb_hub_clear_tt_buffer()

12