Home
last modified time | relevance | path

Searched refs:ndevs (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/char/agp/
Disoch.c36 static void agp_3_5_dev_list_sort(struct agp_3_5_dev *list, unsigned int ndevs) in agp_3_5_dev_list_sort() argument
65 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument
95 master = kmalloc_array(ndevs, sizeof(*master), GFP_KERNEL); in agp_3_5_isochronous_node_enable()
117 agp_3_5_dev_list_sort(dev_list, ndevs); in agp_3_5_isochronous_node_enable()
180 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
207 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
221 master[ndevs-1].n += rem; in agp_3_5_isochronous_node_enable()
241 step = rq_async / ndevs; in agp_3_5_isochronous_node_enable()
242 rem_async = step + (rq_async % ndevs); in agp_3_5_isochronous_node_enable()
247 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c57 void *reg_base, int direction, int ndevs) in otx2_mbox_setup() argument
120 mbox->dev = kcalloc(ndevs, sizeof(struct otx2_mbox_dev), GFP_KERNEL); in otx2_mbox_setup()
125 mbox->ndevs = ndevs; in otx2_mbox_setup()
131 void *reg_base, int direction, int ndevs) in otx2_mbox_init() argument
136 err = otx2_mbox_setup(mbox, pdev, reg_base, direction, ndevs); in otx2_mbox_init()
142 for (devid = 0; devid < ndevs; devid++) { in otx2_mbox_init()
160 int direction, int ndevs) in otx2_mbox_regions_init() argument
165 err = otx2_mbox_setup(mbox, pdev, reg_base, direction, ndevs); in otx2_mbox_regions_init()
171 for (devid = 0; devid < ndevs; devid++) { in otx2_mbox_regions_init()
Dmbox.h70 u16 ndevs; /* The number of peers */ member
98 int direction, int ndevs);
101 int direction, int ndevs);
Drvu.c2433 for (devid = 0; devid < mbox->ndevs; devid++) { in rvu_mbox_destroy()
/linux-6.1.9/drivers/mfd/
Docelot-core.c147 int i, ndevs; in ocelot_core_init() local
149 ndevs = ARRAY_SIZE(vsc7512_devs); in ocelot_core_init()
151 for (i = 0; i < ndevs; i++) in ocelot_core_init()
154 return devm_mfd_add_devices(dev, PLATFORM_DEVID_AUTO, vsc7512_devs, ndevs, NULL, 0, NULL); in ocelot_core_init()
/linux-6.1.9/drivers/comedi/drivers/
Dcomedi_bond.c57 unsigned int ndevs; member
243 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config()
252 devpriv->devs[devpriv->ndevs++] = bdev; in do_dev_config()
309 devpriv->nchans, devpriv->ndevs); in bonding_attach()
322 while (devpriv->ndevs--) { in bonding_detach()
325 bdev = devpriv->devs[devpriv->ndevs]; in bonding_detach()
/linux-6.1.9/drivers/staging/board/
Dboard.c198 unsigned int ndevs) in board_staging_register_devices() argument
202 for (i = 0; i < ndevs; i++) in board_staging_register_devices()
Dboard.h33 unsigned int ndevs);
/linux-6.1.9/tools/usb/usbip/libsrc/
Dusbip_host_driver.c31 hdriver->ndevs = 0; in usbip_host_driver_open()
Dusbip_host_common.c148 hdriver->ndevs++; in refresh_exported_devices()
202 hdriver->ndevs = 0; in usbip_generic_refresh_device_list()
Dusbip_host_common.h39 int ndevs; member
Dusbip_device_driver.c136 hdriver->ndevs = 0; in usbip_device_driver_open()
/linux-6.1.9/drivers/staging/vme_user/
Dvme.c1844 struct vme_bridge *bridge, unsigned int ndevs) in __vme_register_driver_bus() argument
1851 for (i = 0; i < ndevs; i++) { in __vme_register_driver_bus()
1889 static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in __vme_register_driver() argument
1903 err = __vme_register_driver_bus(drv, bridge, ndevs); in __vme_register_driver()
1920 int vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in vme_register_driver() argument
1932 err = __vme_register_driver(drv, ndevs); in vme_register_driver()
/linux-6.1.9/fs/nfs/
Dcallback.h173 uint32_t ndevs; member
Dcallback_xdr.c331 args->ndevs = n; in decode_devicenotify_args()
332 dprintk("%s: ndevs %d\n", __func__, args->ndevs); in decode_devicenotify_args()
338 args->ndevs = 0; in decode_devicenotify_args()
340 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
Dcallback_proc.c371 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()
/linux-6.1.9/drivers/tty/
Dnozomi.c366 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable
376 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()
1310 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init()
1311 if (!ndevs[ndev_idx]) in nozomi_card_init()
1314 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init()
1389 ndevs[ndev_idx] = dc; in nozomi_card_init()
1499 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
/linux-6.1.9/fs/btrfs/
Dvolumes.c5094 int ndevs; member
5165 ctl->ndevs = 0; in init_alloc_chunk_ctl()
5188 int ndevs = 0; in gather_device_info() local
5234 if (ndevs == fs_devices->rw_devices) { in gather_device_info()
5239 devices_info[ndevs].dev_offset = dev_offset; in gather_device_info()
5240 devices_info[ndevs].max_avail = max_avail; in gather_device_info()
5241 devices_info[ndevs].total_avail = total_avail; in gather_device_info()
5242 devices_info[ndevs].dev = device; in gather_device_info()
5243 ++ndevs; in gather_device_info()
5245 ctl->ndevs = ndevs; in gather_device_info()
[all …]
/linux-6.1.9/drivers/i3c/
Dmaster.c903 int ndevs = 0, ret; in i3c_master_defslvs_locked() local
910 ndevs++; in i3c_master_defslvs_locked()
925 ndevs++; in i3c_master_defslvs_locked()
929 ndevs - 1)); in i3c_master_defslvs_locked()
933 defslvs->count = ndevs; in i3c_master_defslvs_locked()
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-class-infiniband219 What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>