Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c271 u16 (*read_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset);
272 void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset,
282 struct brcmf_pciedev_info *devinfo; member
344 brcmf_pcie_prepare_fw_request(struct brcmf_pciedev_info *devinfo);
347 brcmf_pcie_read_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg32() argument
349 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32()
356 brcmf_pcie_write_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset, in brcmf_pcie_write_reg32() argument
359 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_write_reg32()
366 brcmf_pcie_read_tcm8(struct brcmf_pciedev_info *devinfo, u32 mem_offset) in brcmf_pcie_read_tcm8() argument
368 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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-boardinfo.c63 struct i2c_devinfo *devinfo; in i2c_register_board_info() local
65 devinfo = kzalloc(sizeof(*devinfo), GFP_KERNEL); in i2c_register_board_info()
66 if (!devinfo) { in i2c_register_board_info()
72 devinfo->busnum = busnum; in i2c_register_board_info()
73 devinfo->board_info = *info; in i2c_register_board_info()
76 devinfo->board_info.properties = in i2c_register_board_info()
78 if (IS_ERR(devinfo->board_info.properties)) { in i2c_register_board_info()
79 status = PTR_ERR(devinfo->board_info.properties); in i2c_register_board_info()
80 kfree(devinfo); in i2c_register_board_info()
86 devinfo->board_info.resources = in i2c_register_board_info()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_devinfo.c353 struct scsi_dev_info_list *devinfo; in scsi_dev_info_list_add_keyed() local
360 devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL); in scsi_dev_info_list_add_keyed()
361 if (!devinfo) { in scsi_dev_info_list_add_keyed()
366 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
368 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
376 kfree(devinfo); in scsi_dev_info_list_add_keyed()
384 kfree(devinfo); in scsi_dev_info_list_add_keyed()
387 devinfo->flags = flags; in scsi_dev_info_list_add_keyed()
388 devinfo->compatible = compatible; in scsi_dev_info_list_add_keyed()
391 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()
/kernel/linux/linux-5.10/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.c371 struct ahc_devinfo *devinfo);
566 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
614 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
617 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
619 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1161 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1178 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1180 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1255 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1289 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dpm33xx-core.c369 struct platform_device_info devinfo; in amx3_common_pm_init() local
373 memset(&devinfo, 0, sizeof(devinfo)); in amx3_common_pm_init()
374 devinfo.name = "pm33xx"; in amx3_common_pm_init()
375 devinfo.data = pdata; in amx3_common_pm_init()
376 devinfo.size_data = sizeof(*pdata); in amx3_common_pm_init()
377 devinfo.id = -1; in amx3_common_pm_init()
378 platform_device_register_full(&devinfo); in amx3_common_pm_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/ide/
Dide-cd.c834 cd->devinfo.media_written = 1; in cdrom_start_rw()
970 cdi = &info->devinfo; in cdrom_check_status()
1063 struct cdrom_device_info *cdi = &info->devinfo; in ide_cd_read_toc()
1228 struct cdrom_device_info *cdi = &info->devinfo; in ide_cdrom_get_capabilities()
1295 struct cdrom_device_info *devinfo = &info->devinfo; in ide_cdrom_register() local
1299 devinfo->ops = &ide_cdrom_dops; in ide_cdrom_register()
1300 devinfo->speed = info->current_speed; in ide_cdrom_register()
1301 devinfo->capacity = nslots; in ide_cdrom_register()
1302 devinfo->handle = drive; in ide_cdrom_register()
1303 strcpy(devinfo->name, drive->name); in ide_cdrom_register()
[all …]
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/
Dflexfilelayout.c39 struct nfs42_layoutstat_devinfo *devinfo,
42 const struct nfs42_layoutstat_devinfo *devinfo,
2032 const struct nfs42_layoutstat_devinfo *devinfo) in ff_layout_encode_ff_iostat_head() argument
2037 p = xdr_encode_hyper(p, devinfo->offset); in ff_layout_encode_ff_iostat_head()
2038 p = xdr_encode_hyper(p, devinfo->length); in ff_layout_encode_ff_iostat_head()
2041 p = xdr_encode_hyper(p, devinfo->read_count); in ff_layout_encode_ff_iostat_head()
2042 p = xdr_encode_hyper(p, devinfo->read_bytes); in ff_layout_encode_ff_iostat_head()
2043 p = xdr_encode_hyper(p, devinfo->write_count); in ff_layout_encode_ff_iostat_head()
2044 p = xdr_encode_hyper(p, devinfo->write_bytes); in ff_layout_encode_ff_iostat_head()
2045 encode_opaque_fixed(xdr, devinfo->dev_id.data, NFS4_DEVICEID4_SIZE); in ff_layout_encode_ff_iostat_head()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/fuse/
Dcuse.c271 static int cuse_parse_devinfo(char *p, size_t len, struct cuse_devinfo *devinfo) in cuse_parse_devinfo() argument
284 devinfo->name = val; in cuse_parse_devinfo()
289 if (!devinfo->name || !strlen(devinfo->name)) { in cuse_parse_devinfo()
326 struct cuse_devinfo devinfo = { }; in cuse_process_init_reply() local
343 &devinfo); in cuse_process_init_reply()
350 rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); in cuse_process_init_reply()
352 rc = register_chrdev_region(devt, 1, devinfo.name); in cuse_process_init_reply()
370 dev_set_name(dev, "%s", devinfo.name); in cuse_process_init_reply()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs42xdr.c366 struct nfs42_layoutstat_devinfo *devinfo, in encode_layoutstats() argument
373 p = xdr_encode_hyper(p, devinfo->offset); in encode_layoutstats()
374 p = xdr_encode_hyper(p, devinfo->length); in encode_layoutstats()
377 p = xdr_encode_hyper(p, devinfo->read_count); in encode_layoutstats()
378 p = xdr_encode_hyper(p, devinfo->read_bytes); in encode_layoutstats()
379 p = xdr_encode_hyper(p, devinfo->write_count); in encode_layoutstats()
380 p = xdr_encode_hyper(p, devinfo->write_bytes); in encode_layoutstats()
381 p = xdr_encode_opaque_fixed(p, devinfo->dev_id.data, in encode_layoutstats()
384 *p++ = cpu_to_be32(devinfo->layout_type); in encode_layoutstats()
385 if (devinfo->ld_private.ops) in encode_layoutstats()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Darmada-385-linksys-shelby.dts98 label = "devinfo";
134 * Unused area between "s_env" and "devinfo".
Darmada-385-linksys-cobra.dts98 label = "devinfo";
134 * Unused area between "s_env" and "devinfo".
Darmada-385-linksys-caiman.dts98 label = "devinfo";
134 * Unused area between "s_env" and "devinfo".

12