Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c338 u16 (*read_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset);
339 void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset,
350 struct brcmf_pciedev_info *devinfo; member
442 brcmf_pcie_prepare_fw_request(struct brcmf_pciedev_info *devinfo);
445 brcmf_pcie_read_reg16(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg16() argument
447 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg16()
453 brcmf_pcie_read_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg32() argument
455 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32()
462 brcmf_pcie_write_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset, in brcmf_pcie_write_reg32() argument
465 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_write_reg32()
[all …]
Dusb.h25 struct brcmf_usbdev_info *devinfo; member
37 struct brcmf_usbdev_info *devinfo; member
Dpcie.h11 struct brcmf_pciedev_info *devinfo; member
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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);
613 struct ahd_devinfo devinfo; in ahd_linux_target_alloc() local
649 ahd_compile_devinfo(&devinfo, ahd->our_id, starget->id, in ahd_linux_target_alloc()
652 ahd_set_syncrate(ahd, &devinfo, 0, 0, 0, in ahd_linux_target_alloc()
654 ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahd_linux_target_alloc()
1283 struct ahd_devinfo devinfo; in ahd_linux_initialize_scsi_bus() local
1289 ahd_compile_devinfo(&devinfo, ahd->our_id, target_id, in ahd_linux_initialize_scsi_bus()
1291 ahd_update_neg_request(ahd, &devinfo, tstate, in ahd_linux_initialize_scsi_bus()
1383 struct ahd_devinfo *devinfo, ahd_queue_alg alg) in ahd_platform_set_tags() argument
1420 usertags = ahd_linux_user_tagdepth(ahd, devinfo); in ahd_platform_set_tags()
[all …]
Daic7xxx_osm.c372 struct ahc_devinfo *devinfo);
565 struct ahc_devinfo devinfo; in ahc_linux_target_alloc() local
613 ahc_compile_devinfo(&devinfo, our_id, starget->id, in ahc_linux_target_alloc()
616 ahc_set_syncrate(ahc, &devinfo, NULL, 0, 0, 0, in ahc_linux_target_alloc()
618 ahc_set_width(ahc, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahc_linux_target_alloc()
1160 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local
1177 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus()
1179 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus()
1254 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument
1288 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.c45 struct nfs42_layoutstat_devinfo *devinfo,
48 const struct nfs42_layoutstat_devinfo *devinfo,
2105 const struct nfs42_layoutstat_devinfo *devinfo) in ff_layout_encode_ff_iostat_head() argument
2110 p = xdr_encode_hyper(p, devinfo->offset); in ff_layout_encode_ff_iostat_head()
2111 p = xdr_encode_hyper(p, devinfo->length); in ff_layout_encode_ff_iostat_head()
2114 p = xdr_encode_hyper(p, devinfo->read_count); in ff_layout_encode_ff_iostat_head()
2115 p = xdr_encode_hyper(p, devinfo->read_bytes); in ff_layout_encode_ff_iostat_head()
2116 p = xdr_encode_hyper(p, devinfo->write_count); in ff_layout_encode_ff_iostat_head()
2117 p = xdr_encode_hyper(p, devinfo->write_bytes); in ff_layout_encode_ff_iostat_head()
2118 encode_opaque_fixed(xdr, devinfo->dev_id.data, NFS4_DEVICEID4_SIZE); in ff_layout_encode_ff_iostat_head()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/drivers/firmware/xilinx/
Dzynqmp.c1617 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_id_show() local
1619 return sysfs_emit(buf, "%d\n", devinfo->feature_conf_id); in feature_config_id_show()
1628 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_id_store() local
1637 devinfo->feature_conf_id = config_id; in feature_config_id_store()
1650 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_value_show() local
1652 ret = zynqmp_pm_get_feature_config(devinfo->feature_conf_id, in feature_config_value_show()
1666 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_value_store() local
1675 ret = zynqmp_pm_set_feature_config(devinfo->feature_conf_id, in feature_config_value_store()
1707 struct zynqmp_devinfo *devinfo; in zynqmp_firmware_probe() local
1731 devinfo = devm_kzalloc(dev, sizeof(*devinfo), GFP_KERNEL); in zynqmp_firmware_probe()
[all …]
/linux-6.1.9/drivers/mfd/
Dmt6370.c160 unsigned int devinfo; in mt6370_check_vendor_info() local
163 ret = regmap_read(rmap, MT6370_REG_DEV_INFO, &devinfo); in mt6370_check_vendor_info()
167 *vid = FIELD_GET(MT6370_VENID_MASK, devinfo); in mt6370_check_vendor_info()
177 dev_err(dev, "Unknown Vendor ID 0x%02x\n", devinfo); in mt6370_check_vendor_info()
/linux-6.1.9/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()
/linux-6.1.9/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 …]
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/boot/dts/
Darmada-385-linksys-caiman.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-shelby.dts98 label = "devinfo";
134 * Unused area between "s_env" and "devinfo".

12