/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | usb.c | 163 static void brcmf_usb_rx_refill(struct brcmf_usbdev_info *devinfo, 174 return brcmf_usb_get_buspub(dev)->devinfo; in brcmf_usb_get_businfo() 177 static int brcmf_usb_ioctl_resp_wait(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wait() argument 179 return wait_event_timeout(devinfo->ioctl_resp_wait, in brcmf_usb_ioctl_resp_wait() 180 devinfo->ctl_completed, IOCTL_RESP_TIMEOUT); in brcmf_usb_ioctl_resp_wait() 183 static void brcmf_usb_ioctl_resp_wake(struct brcmf_usbdev_info *devinfo) in brcmf_usb_ioctl_resp_wake() argument 185 wake_up(&devinfo->ioctl_resp_wait); in brcmf_usb_ioctl_resp_wake() 189 brcmf_usb_ctl_complete(struct brcmf_usbdev_info *devinfo, int type, int status) in brcmf_usb_ctl_complete() argument 193 if (unlikely(devinfo == NULL)) in brcmf_usb_ctl_complete() 198 devinfo->bus_pub.stats.rx_ctlpkts++; in brcmf_usb_ctl_complete() [all …]
|
H A D | pcie.c | 351 u16 (*read_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset); 352 void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset, 368 struct brcmf_pciedev_info *devinfo; member 460 brcmf_pcie_prepare_fw_request(struct brcmf_pciedev_info *devinfo); 462 brcmf_pcie_fwcon_timer(struct brcmf_pciedev_info *devinfo, bool active); 466 brcmf_pcie_read_reg16(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg16() argument 468 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg16() 474 brcmf_pcie_read_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset) in brcmf_pcie_read_reg32() argument 476 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32() 483 brcmf_pcie_write_reg32(struct brcmf_pciedev_info *devinfo, u32 reg_offset, in brcmf_pcie_write_reg32() argument [all …]
|
H A D | usb.h | 25 struct brcmf_usbdev_info *devinfo; member 37 struct brcmf_usbdev_info *devinfo; member
|
H A D | pcie.h | 11 struct brcmf_pciedev_info *devinfo; member
|
/linux/drivers/usb/storage/ |
H A D | uas.c | 78 struct uas_dev_info *devinfo); 81 static void uas_free_streams(struct uas_dev_info *devinfo); 100 struct uas_dev_info *devinfo = in uas_do_work() local 107 spin_lock_irqsave(&devinfo->lock, flags); in uas_do_work() 109 if (devinfo->resetting) in uas_do_work() 112 for (i = 0; i < devinfo->qdepth; i++) { in uas_do_work() 113 if (!devinfo->cmnd[i]) in uas_do_work() 116 cmnd = devinfo->cmnd[i]; in uas_do_work() 126 queue_work(workqueue, &devinfo->work); in uas_do_work() 129 spin_unlock_irqrestore(&devinfo->lock, flags); in uas_do_work() [all …]
|
/linux/drivers/i2c/ |
H A D | i2c-boardinfo.c | 62 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/drivers/scsi/ |
H A D | scsi_devinfo.c | 356 struct scsi_dev_info_list *devinfo; in scsi_dev_info_list_add_keyed() local 363 devinfo = kmalloc(sizeof(*devinfo), GFP_KERNEL); in scsi_dev_info_list_add_keyed() 364 if (!devinfo) { in scsi_dev_info_list_add_keyed() 369 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed() 371 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed() 379 kfree(devinfo); in scsi_dev_info_list_add_keyed() 387 kfree(devinfo); in scsi_dev_info_list_add_keyed() 390 devinfo->flags = flags; in scsi_dev_info_list_add_keyed() 391 devinfo->compatible = compatible; in scsi_dev_info_list_add_keyed() 394 list_add_tail(&devinfo->dev_info_list, in scsi_dev_info_list_add_keyed() [all …]
|
H A D | scsi_dh.c | 172 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/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 135 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 …]
|
H A D | aic79xx_core.c | 106 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 …]
|
H A D | aic79xx_osm.c | 360 struct ahd_devinfo *devinfo); 618 struct ahd_devinfo devinfo; in ahd_linux_target_alloc() local 654 ahd_compile_devinfo(&devinfo, ahd->our_id, starget->id, in ahd_linux_target_alloc() 657 ahd_set_syncrate(ahd, &devinfo, 0, 0, 0, in ahd_linux_target_alloc() 659 ahd_set_width(ahd, &devinfo, MSG_EXT_WDTR_BUS_8_BIT, in ahd_linux_target_alloc() 1288 struct ahd_devinfo devinfo; in ahd_linux_initialize_scsi_bus() local 1294 ahd_compile_devinfo(&devinfo, ahd->our_id, target_id, in ahd_linux_initialize_scsi_bus() 1296 ahd_update_neg_request(ahd, &devinfo, tstate, in ahd_linux_initialize_scsi_bus() 1388 struct ahd_devinfo *devinfo, ahd_queue_alg alg) in ahd_platform_set_tags() argument 1425 usertags = ahd_linux_user_tagdepth(ahd, devinfo); in ahd_platform_set_tags() [all …]
|
H A D | aic7xxx_osm.c | 373 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() 1168 struct ahc_devinfo devinfo; in ahc_linux_initialize_scsi_bus() local 1185 ahc_compile_devinfo(&devinfo, our_id, target_id, in ahc_linux_initialize_scsi_bus() 1187 ahc_update_neg_request(ahc, &devinfo, tstate, in ahc_linux_initialize_scsi_bus() 1262 struct ahc_devinfo *devinfo, ahc_queue_alg alg) in ahc_platform_set_tags() argument 1296 usertags = ahc_linux_user_tagdepth(ahc, devinfo); in ahc_platform_set_tags() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | pm33xx-core.c | 364 struct platform_device_info devinfo; in amx3_common_pm_init() local 368 memset(&devinfo, 0, sizeof(devinfo)); in amx3_common_pm_init() 369 devinfo.name = "pm33xx"; in amx3_common_pm_init() 370 devinfo.data = pdata; in amx3_common_pm_init() 371 devinfo.size_data = sizeof(*pdata); in amx3_common_pm_init() 372 devinfo.id = -1; in amx3_common_pm_init() 373 platform_device_register_full(&devinfo); in amx3_common_pm_init()
|
/linux/drivers/sh/maple/ |
H A D | maple.c | 320 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 …]
|
/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 46 struct nfs42_layoutstat_devinfo *devinfo, 49 const struct nfs42_layoutstat_devinfo *devinfo, 2134 const struct nfs42_layoutstat_devinfo *devinfo) in ff_layout_encode_ff_iostat_head() argument 2139 p = xdr_encode_hyper(p, devinfo->offset); in ff_layout_encode_ff_iostat_head() 2140 p = xdr_encode_hyper(p, devinfo->length); in ff_layout_encode_ff_iostat_head() 2143 p = xdr_encode_hyper(p, devinfo->read_count); in ff_layout_encode_ff_iostat_head() 2144 p = xdr_encode_hyper(p, devinfo->read_bytes); in ff_layout_encode_ff_iostat_head() 2145 p = xdr_encode_hyper(p, devinfo->write_count); in ff_layout_encode_ff_iostat_head() 2146 p = xdr_encode_hyper(p, devinfo->write_bytes); in ff_layout_encode_ff_iostat_head() 2147 encode_opaque_fixed(xdr, devinfo->dev_id.data, NFS4_DEVICEID4_SIZE); in ff_layout_encode_ff_iostat_head() [all …]
|
/linux/fs/fuse/ |
H A D | cuse.c | 271 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() 330 struct cuse_devinfo devinfo = { }; in cuse_process_init_reply() local 347 &devinfo); in cuse_process_init_reply() 354 rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); in cuse_process_init_reply() 356 rc = register_chrdev_region(devt, 1, devinfo.name); in cuse_process_init_reply() 374 dev_set_name(dev, "%s", devinfo.name); in cuse_process_init_reply()
|
/linux/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 1794 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_id_show() local 1796 return sysfs_emit(buf, "%d\n", devinfo->feature_conf_id); in feature_config_id_show() 1805 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_id_store() local 1814 devinfo->feature_conf_id = config_id; in feature_config_id_store() 1827 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_value_show() local 1829 ret = zynqmp_pm_get_feature_config(devinfo->feature_conf_id, in feature_config_value_show() 1843 struct zynqmp_devinfo *devinfo = dev_get_drvdata(device); in feature_config_value_store() local 1852 ret = zynqmp_pm_set_feature_config(devinfo->feature_conf_id, in feature_config_value_store() 1883 struct zynqmp_devinfo *devinfo; in zynqmp_firmware_probe() local 1894 devinfo = devm_kzalloc(dev, sizeof(*devinfo), GFP_KERNEL); in zynqmp_firmware_probe() [all …]
|
/linux/drivers/mfd/ |
H A D | mt6370.c | 160 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/drivers/cpufreq/ |
H A D | highbank-cpufreq.c | 60 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/fs/nfs/ |
H A D | nfs42xdr.c | 385 struct nfs42_layoutstat_devinfo *devinfo, in encode_layoutstats() argument 392 p = xdr_encode_hyper(p, devinfo->offset); in encode_layoutstats() 393 p = xdr_encode_hyper(p, devinfo->length); in encode_layoutstats() 396 p = xdr_encode_hyper(p, devinfo->read_count); in encode_layoutstats() 397 p = xdr_encode_hyper(p, devinfo->read_bytes); in encode_layoutstats() 398 p = xdr_encode_hyper(p, devinfo->write_count); in encode_layoutstats() 399 p = xdr_encode_hyper(p, devinfo->write_bytes); in encode_layoutstats() 400 p = xdr_encode_opaque_fixed(p, devinfo->dev_id.data, in encode_layoutstats() 403 *p++ = cpu_to_be32(devinfo->layout_type); in encode_layoutstats() 404 if (devinfo->ld_private.ops) in encode_layoutstats() [all …]
|
/linux/drivers/scsi/esas2r/ |
H A D | esas2r_disc.c | 794 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/arch/arm/boot/dts/marvell/ |
H A D | armada-385-linksys-caiman.dts | 98 label = "devinfo"; 134 * Unused area between "s_env" and "devinfo".
|
H A D | armada-385-linksys-cobra.dts | 98 label = "devinfo"; 134 * Unused area between "s_env" and "devinfo".
|
H A D | armada-385-linksys-shelby.dts | 98 label = "devinfo"; 134 * Unused area between "s_env" and "devinfo".
|
/linux/drivers/net/wireless/intel/iwlwifi/tests/ |
H A D | Makefile | 3 iwlwifi-tests-y += module.o devinfo.o
|