Home
last modified time | relevance | path

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

/drivers/net/wireless/brcm80211/brcmfmac/
Dusb.c160 static void brcmf_usb_rx_refill(struct brcmf_usbdev_info *devinfo,
176 return brcmf_usb_get_buspub(dev)->devinfo; in brcmf_usb_get_businfo()
181 brcmf_usb_txflowcontrol(struct brcmf_usbdev_info *devinfo, bool onoff)
183 dhd_txflowcontrol(devinfo->bus_pub.netdev, 0, onoff);
187 static int brcmf_usb_ioctl_resp_wait(struct brcmf_usbdev_info *devinfo, in brcmf_usb_ioctl_resp_wait() argument
196 add_wait_queue(&devinfo->ioctl_resp_wait, &wait); in brcmf_usb_ioctl_resp_wait()
210 remove_wait_queue(&devinfo->ioctl_resp_wait, &wait); in brcmf_usb_ioctl_resp_wait()
215 static int brcmf_usb_ioctl_resp_wake(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wake() argument
217 if (waitqueue_active(&devinfo->ioctl_resp_wait)) in brcmf_usb_ioctl_resp_wake()
218 wake_up_interruptible(&devinfo->ioctl_resp_wait); in brcmf_usb_ioctl_resp_wake()
[all …]
Dusb.h44 struct brcmf_usbdev_info *devinfo; member
56 struct brcmf_usbdev_info *devinfo; member
/drivers/usb/storage/
Duas.c77 struct uas_dev_info *devinfo, gfp_t gfp);
178 struct uas_dev_info *devinfo = (void *)shost->hostdata[0]; in uas_stat_cmplt() local
185 if (devinfo->use_streams) in uas_stat_cmplt()
192 cmnd = devinfo->cmnd; in uas_stat_cmplt()
196 if (devinfo->use_streams) { in uas_stat_cmplt()
208 if (devinfo->cmnd == cmnd) in uas_stat_cmplt()
209 devinfo->cmnd = NULL; in uas_stat_cmplt()
212 devinfo->uas_sense_old = 1; in uas_stat_cmplt()
213 if (devinfo->uas_sense_old) in uas_stat_cmplt()
229 if (devinfo->use_streams) { in uas_stat_cmplt()
[all …]
/drivers/scsi/
Dscsi_devinfo.c350 struct scsi_dev_info_list *devinfo; in scsi_dev_info_list_add_keyed() local
357 devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL); in scsi_dev_info_list_add_keyed()
358 if (!devinfo) { in scsi_dev_info_list_add_keyed()
363 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
365 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
369 devinfo->flags = simple_strtoul(strflags, NULL, 0); in scsi_dev_info_list_add_keyed()
371 devinfo->flags = flags; in scsi_dev_info_list_add_keyed()
373 devinfo->compatible = compatible; in scsi_dev_info_list_add_keyed()
376 list_add_tail(&devinfo->dev_info_list, in scsi_dev_info_list_add_keyed()
379 list_add(&devinfo->dev_info_list, in scsi_dev_info_list_add_keyed()
[all …]
/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()
1303 struct ahd_devinfo devinfo; in ahd_linux_initialize_scsi_bus() local
1309 ahd_compile_devinfo(&devinfo, ahd->our_id, target_id, in ahd_linux_initialize_scsi_bus()
1311 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.c381 struct ahc_devinfo *devinfo);
576 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
629 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
632 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
634 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1189 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1206 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1208 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1284 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1318 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.h1200 void ahc_compile_devinfo(struct ahc_devinfo *devinfo,
1224 struct ahc_devinfo *devinfo,
1227 struct ahc_devinfo *devinfo,
Daic7xxx_osm.h669 struct ahc_devinfo *devinfo) in ahc_notify_xfer_settings_change() argument
693 struct ahc_devinfo *devinfo, ahc_queue_alg);
Daic79xx_osm.h658 struct ahd_devinfo *devinfo) in ahd_notify_xfer_settings_change() argument
684 struct ahd_devinfo *devinfo, ahd_queue_alg);
/drivers/i2c/
Di2c-boardinfo.c77 struct i2c_devinfo *devinfo; in i2c_register_board_info() local
79 devinfo = kzalloc(sizeof(*devinfo), GFP_KERNEL); in i2c_register_board_info()
80 if (!devinfo) { in i2c_register_board_info()
86 devinfo->busnum = busnum; in i2c_register_board_info()
87 devinfo->board_info = *info; in i2c_register_board_info()
88 list_add_tail(&devinfo->list, &__i2c_board_list); in i2c_register_board_info()
Di2c-core.c781 struct i2c_devinfo *devinfo; in i2c_scan_static_board_info() local
784 list_for_each_entry(devinfo, &__i2c_board_list, list) { in i2c_scan_static_board_info()
785 if (devinfo->busnum == adapter->nr in i2c_scan_static_board_info()
787 &devinfo->board_info)) in i2c_scan_static_board_info()
790 devinfo->board_info.addr); in i2c_scan_static_board_info()
/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
Dide-cd_ioctl.c111 struct cdrom_device_info *cdi = &cd->devinfo; in cdrom_eject()
/drivers/scsi/device_handler/
Dscsi_dh.c253 struct scsi_device_handler *devinfo = NULL; in scsi_dh_notifier() local
263 devinfo = device_handler_match(NULL, sdev); in scsi_dh_notifier()
264 if (devinfo) in scsi_dh_notifier()
265 err = scsi_dh_handler_attach(sdev, devinfo); in scsi_dh_notifier()
/drivers/staging/comedi/
Dcomedi_fops.c380 struct comedi_devinfo devinfo; in do_devinfo_ioctl() local
389 memset(&devinfo, 0, sizeof(devinfo)); in do_devinfo_ioctl()
392 devinfo.version_code = COMEDI_VERSION_CODE; in do_devinfo_ioctl()
393 devinfo.n_subdevs = dev->n_subdevices; in do_devinfo_ioctl()
394 strlcpy(devinfo.driver_name, dev->driver->driver_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
395 strlcpy(devinfo.board_name, dev->board_name, COMEDI_NAMELEN); in do_devinfo_ioctl()
398 devinfo.read_subdevice = read_subdev - dev->subdevices; in do_devinfo_ioctl()
400 devinfo.read_subdevice = -1; in do_devinfo_ioctl()
403 devinfo.write_subdevice = write_subdev - dev->subdevices; in do_devinfo_ioctl()
405 devinfo.write_subdevice = -1; in do_devinfo_ioctl()
[all …]
/drivers/usb/core/
Dhub.c489 hub_clear_tt_buffer (struct usb_device *hdev, u16 devinfo, u16 tt) in hub_clear_tt_buffer() argument
492 if (((devinfo >> 11) & USB_ENDPOINT_XFERTYPE_MASK) == in hub_clear_tt_buffer()
496 devinfo ^ 0x8000, tt, NULL, 0, 1000); in hub_clear_tt_buffer()
501 HUB_CLEAR_TT_BUFFER, USB_RT_PORT, devinfo, in hub_clear_tt_buffer()
535 status = hub_clear_tt_buffer (hdev, clear->devinfo, clear->tt); in hub_tt_work()
539 clear->tt, clear->devinfo, status); in hub_tt_work()
584 clear->devinfo = usb_pipeendpoint (pipe); in usb_hub_clear_tt_buffer()
585 clear->devinfo |= udev->devnum << 4; in usb_hub_clear_tt_buffer()
586 clear->devinfo |= usb_pipecontrol (pipe) in usb_hub_clear_tt_buffer()
590 clear->devinfo |= 1 << 15; in usb_hub_clear_tt_buffer()
/drivers/input/joystick/
Dmaplecontrol.c102 unsigned long data = be32_to_cpu(mdev->devinfo.function_data[0]); in probe_maple_controller()
/drivers/mtd/maps/
Dvmu-flash.c606 test_flash_data = be32_to_cpu(mdev->devinfo.function); in vmu_connect()
612 basic_flash_data = be32_to_cpu(mdev->devinfo.function_data[c - 1]); in vmu_connect()