Home
last modified time | relevance | path

Searched refs:devid (Results 1 – 25 of 64) sorted by relevance

123

/linux-4.19.296/drivers/xen/xen-pciback/
Dconf_space_quirks.c35 if (match_one_device(&tmp_quirk->devid, dev) != NULL) in xen_pcibk_find_quirk()
104 quirk->devid.vendor = dev->vendor; in xen_pcibk_config_quirks_init()
105 quirk->devid.device = dev->device; in xen_pcibk_config_quirks_init()
106 quirk->devid.subvendor = dev->subsystem_vendor; in xen_pcibk_config_quirks_init()
107 quirk->devid.subdevice = dev->subsystem_device; in xen_pcibk_config_quirks_init()
108 quirk->devid.class = 0; in xen_pcibk_config_quirks_init()
109 quirk->devid.class_mask = 0; in xen_pcibk_config_quirks_init()
110 quirk->devid.driver_data = 0UL; in xen_pcibk_config_quirks_init()
Dpciback.h90 unsigned int devfn, unsigned int devid);
109 int devid, publish_pci_dev_cb publish_cb);
121 int devid, in xen_pcibk_add_pci_dev() argument
125 return xen_pcibk_backend->add(pdev, dev, devid, publish_cb); in xen_pcibk_add_pci_dev()
Dconf_space_quirks.h17 struct pci_device_id devid; member
Dpassthrough.c47 int devid, publish_pci_dev_cb publish_cb) in __xen_pcibk_add_pci_dev() argument
67 err = publish_cb(pdev, domain, bus, devfn, devid); in __xen_pcibk_add_pci_dev()
/linux-4.19.296/drivers/char/
Dscx200_gpio.c78 dev_t devid; in scx200_gpio_init() local
98 devid = MKDEV(major, 0); in scx200_gpio_init()
99 rc = register_chrdev_region(devid, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
101 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
102 major = MAJOR(devid); in scx200_gpio_init()
110 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
Dpc8736x_gpio.c257 dev_t devid; in pc8736x_gpio_init() local
306 devid = MKDEV(major, 0); in pc8736x_gpio_init()
307 rc = register_chrdev_region(devid, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
309 rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
310 major = MAJOR(devid); in pc8736x_gpio_init()
326 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
/linux-4.19.296/drivers/iio/potentiometer/
Dtpl0102.c40 unsigned long devid; member
75 *val = 1000 * tpl0102_cfg[data->devid].kohms; in tpl0102_read_raw()
76 *val2 = tpl0102_cfg[data->devid].max_pos; in tpl0102_read_raw()
92 if (val >= tpl0102_cfg[data->devid].max_pos || val < 0) in tpl0102_write_raw()
116 data->devid = id->driver_data; in tpl0102_probe()
126 indio_dev->num_channels = tpl0102_cfg[data->devid].wipers; in tpl0102_probe()
/linux-4.19.296/fs/autofs/
Ddev-ioctl.c244 static int autofs_dev_ioctl_open_mountpoint(const char *name, dev_t devid) in autofs_dev_ioctl_open_mountpoint() argument
253 err = find_autofs_mount(name, &path, test_by_dev, &devid); in autofs_dev_ioctl_open_mountpoint()
280 dev_t devid; in autofs_dev_ioctl_openmount() local
285 if (!param->openmount.devid) in autofs_dev_ioctl_openmount()
291 devid = new_decode_dev(param->openmount.devid); in autofs_dev_ioctl_openmount()
294 fd = autofs_dev_ioctl_open_mountpoint(path, devid); in autofs_dev_ioctl_openmount()
443 dev_t devid; in autofs_dev_ioctl_requester() local
448 devid = sbi->sb->s_dev; in autofs_dev_ioctl_requester()
452 err = find_autofs_mount(param->path, &path, test_by_dev, &devid); in autofs_dev_ioctl_requester()
528 unsigned int devid, magic; in autofs_dev_ioctl_ismountpoint() local
[all …]
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c187 struct nfs4_deviceid_node *devid) in ff_layout_mark_devid_invalid() argument
189 nfs4_delete_deviceid(devid->ld, devid->nfs_client, &devid->deviceid); in ff_layout_mark_devid_invalid()
208 &mirror->devid, lh->plh_lc_cred, in ff_layout_mirror_valid()
225 struct nfs4_deviceid_node *devid; in ff_layout_mirror_valid() local
226 devid = &mirror->mirror_ds->id_node; in ff_layout_mirror_valid()
227 ff_layout_mark_devid_invalid(lseg, devid); in ff_layout_mirror_valid()
415 struct nfs4_deviceid_node *devid; in nfs4_ff_layout_prepare_ds() local
427 devid = &mirror->mirror_ds->id_node; in nfs4_ff_layout_prepare_ds()
428 if (ff_layout_test_devid_unavailable(devid)) in nfs4_ff_layout_prepare_ds()
440 status = nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, in nfs4_ff_layout_prepare_ds()
[all …]
/linux-4.19.296/drivers/base/
Dplatform-msi.c28 int devid; member
41 u32 devid; in platform_msi_calc_hwirq() local
43 devid = desc->platform.msi_priv_data->devid; in platform_msi_calc_hwirq()
45 return (devid << (32 - DEV_ID_SHIFT)) | desc->platform.msi_index; in platform_msi_calc_hwirq()
222 datap->devid = ida_simple_get(&platform_msi_devid_ida, in platform_msi_alloc_priv_data()
224 if (datap->devid < 0) { in platform_msi_alloc_priv_data()
225 int err = datap->devid; in platform_msi_alloc_priv_data()
238 ida_simple_remove(&platform_msi_devid_ida, data->devid); in platform_msi_free_priv_data()
/linux-4.19.296/virt/kvm/arm/vgic/
Dvgic-irqfd.c70 e->msi.devid = ue->u.msi.devid; in kvm_set_routing_entry()
97 msi.devid = e->msi.devid; in kvm_set_msi()
Dvgic-v4.c253 .devid = irq_entry->msi.devid, in vgic_get_its()
281 ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, in kvm_vgic_v4_set_forwarding()
334 ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, in kvm_vgic_v4_unset_forwarding()
/linux-4.19.296/fs/btrfs/
Dvolumes.c679 u64 devid; in btrfs_open_one_device() local
693 devid = btrfs_stack_device_id(&disk_super->dev_item); in btrfs_open_one_device()
694 if (devid != device->devid) in btrfs_open_one_device()
722 device->devid != BTRFS_DEV_REPLACE_DEVID) { in btrfs_open_one_device()
752 u64 devid = btrfs_stack_device_id(&disk_super->dev_item); in device_list_add() local
766 device = btrfs_find_device(fs_devices, devid, in device_list_add()
776 device = btrfs_alloc_device(NULL, &devid, in device_list_add()
800 disk_super->label, devid, found_transid, path); in device_list_add()
803 disk_super->fsid, devid, found_transid, path); in device_list_add()
868 path, devid, found_transid, in device_list_add()
[all …]
Ddev-replace.c211 u64 devid = BTRFS_DEV_REPLACE_DEVID; in btrfs_init_dev_replace_tgtdev() local
249 device = btrfs_alloc_device(NULL, &devid, NULL); in btrfs_init_dev_replace_tgtdev()
377 dev_replace->srcdev->devid); in btrfs_run_dev_replace()
478 src_device->devid, in btrfs_dev_replace_start()
519 ret = btrfs_scrub_dev(fs_info, src_device->devid, 0, in btrfs_dev_replace_start()
661 src_device->devid, in btrfs_dev_replace_finishing()
678 src_device->devid, in btrfs_dev_replace_finishing()
681 tgt_device->devid = src_device->devid; in btrfs_dev_replace_finishing()
682 src_device->devid = BTRFS_DEV_REPLACE_DEVID; in btrfs_dev_replace_finishing()
849 btrfs_dev_name(src_device), src_device->devid, in btrfs_dev_replace_cancel()
[all …]
Dvolumes.h81 u64 devid; member
429 int btrfs_find_device_by_devspec(struct btrfs_fs_info *fs_info, u64 devid,
433 const u64 *devid,
437 const char *device_path, u64 devid);
443 u64 devid, u8 *uuid, u8 *fsid, bool seed);
/linux-4.19.296/drivers/misc/
Dad525x_dpot.c89 unsigned long devid; member
250 DPOT_MAX_POS(dpot->devid)) | in dpot_write_spi()
255 DPOT_MAX_POS(dpot->devid)) | in dpot_write_spi()
683 struct ad_dpot_bus_data *bdata, unsigned long devid, in ad_dpot_probe() argument
700 data->devid = devid; in ad_dpot_probe()
702 data->max_pos = 1 << DPOT_MAX_POS(devid); in ad_dpot_probe()
704 data->feat = DPOT_FEAT(devid); in ad_dpot_probe()
705 data->uid = DPOT_UID(devid); in ad_dpot_probe()
706 data->wipers = DPOT_WIPERS(devid); in ad_dpot_probe()
741 name, devid); in ad_dpot_probe()
/linux-4.19.296/fs/nfs/filelayout/
Dfilelayoutdev.c266 struct nfs4_deviceid_node *devid = FILELAYOUT_DEVID_NODE(lseg); in nfs4_fl_prepare_ds() local
274 pnfs_generic_mark_devid_invalid(devid); in nfs4_fl_prepare_ds()
281 status = nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, in nfs4_fl_prepare_ds()
285 nfs4_mark_deviceid_unavailable(devid); in nfs4_fl_prepare_ds()
292 filelayout_test_devid_unavailable(devid)) in nfs4_fl_prepare_ds()
/linux-4.19.296/drivers/gpio/
Dgpio-f7188x.c439 u16 devid; in f7188x_find() local
446 devid = superio_inw(addr, SIO_MANID); in f7188x_find()
447 if (devid != SIO_FINTEK_ID) { in f7188x_find()
452 devid = superio_inw(addr, SIO_DEVID); in f7188x_find()
453 switch (devid) { in f7188x_find()
473 pr_info(DRVNAME ": Unsupported Fintek device 0x%04x\n", devid); in f7188x_find()
Dgpio-mxs.c54 enum mxs_gpio_id devid; member
60 return port->devid == IMX23_GPIO; in is_imx23_gpio()
65 return port->devid == IMX28_GPIO; in is_imx28_gpio()
290 port->devid = (enum mxs_gpio_id)of_device_get_match_data(&pdev->dev); in mxs_gpio_probe()
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_probe_backend.c62 const char *devid, *type, *frontend; in backend_bus_id() local
73 devid = strrchr(nodename, '/') + 1; in backend_bus_id()
90 typelen, type, domid, devid) >= XEN_BUS_ID_SIZE) in backend_bus_id()
/linux-4.19.296/include/linux/spi/
Dmxs-spi.h25 #define ssp_is_old(host) ((host)->devid == IMX23_SSP)
134 enum mxs_ssp_id devid; member
/linux-4.19.296/include/uapi/linux/
Dauto_dev-ioctl.h37 __u32 devid; member
76 __u32 devid; member
Dbtrfs.h123 __u64 devid; member
167 __u64 devid; /* in */ member
220 __u64 devid; /* in/out */ member
297 __u64 devid; member
661 __u64 devid; /* in */ member
/linux-4.19.296/include/linux/mtd/
Dspinand.h261 u8 devid; member
295 .devid = __id, \
416 unsigned int table_size, u8 devid);
/linux-4.19.296/drivers/parport/
Dparport_pc.c1109 static void decode_winbond(int efer, int key, int devid, int devrev, int oldid) in decode_winbond() argument
1114 if (devid == devrev) in decode_winbond()
1119 id = (devid << 8) | devrev; in decode_winbond()
1155 efer, key, devid, devrev, oldid, type); in decode_winbond()
1161 static void decode_smsc(int efer, int key, int devid, int devrev) in decode_smsc() argument
1167 if (devid == devrev) in decode_smsc()
1173 id = (devid << 8) | devrev; in decode_smsc()
1180 else if (devid == 0x65) in decode_smsc()
1182 else if (devid == 0x66) in decode_smsc()
1188 efer, key, devid, devrev, type); in decode_smsc()
[all …]

123