/kernel/linux/linux-5.10/drivers/char/agp/ |
D | isoch.c | 36 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | comedi_bond.c | 57 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 60 void *reg_base, int direction, int ndevs) in otx2_mbox_init() argument 127 mbox->dev = kcalloc(ndevs, sizeof(struct otx2_mbox_dev), GFP_KERNEL); in otx2_mbox_init() 133 mbox->ndevs = ndevs; in otx2_mbox_init() 134 for (devid = 0; devid < ndevs; devid++) { in otx2_mbox_init()
|
D | mbox.h | 72 u16 ndevs; /* The number of peers */ member 100 int direction, int ndevs);
|
/kernel/linux/linux-5.10/drivers/staging/board/ |
D | board.c | 198 unsigned int ndevs) in board_staging_register_devices() argument 202 for (i = 0; i < ndevs; i++) in board_staging_register_devices()
|
D | board.h | 33 unsigned int ndevs);
|
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
D | usbip_host_driver.c | 31 hdriver->ndevs = 0; in usbip_host_driver_open()
|
D | usbip_host_common.c | 148 hdriver->ndevs++; in refresh_exported_devices() 202 hdriver->ndevs = 0; in usbip_generic_refresh_device_list()
|
D | usbip_host_common.h | 39 int ndevs; member
|
D | usbip_device_driver.c | 136 hdriver->ndevs = 0; in usbip_device_driver_open()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | reada.c | 74 int ndevs; member 277 zone->ndevs = bbio->num_stripes; in reada_find_zone() 587 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock() 867 for (j = 0; j < zone->ndevs; ++j) { in dump_devs() 894 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs() 926 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
|
D | volumes.c | 4872 int ndevs; member 4920 ctl->ndevs = 0; in init_alloc_chunk_ctl() 4940 int ndevs = 0; in gather_device_info() local 4986 if (ndevs == fs_devices->rw_devices) { in gather_device_info() 4991 devices_info[ndevs].dev_offset = dev_offset; in gather_device_info() 4992 devices_info[ndevs].max_avail = max_avail; in gather_device_info() 4993 devices_info[ndevs].total_avail = total_avail; in gather_device_info() 4994 devices_info[ndevs].dev = device; in gather_device_info() 4995 ++ndevs; in gather_device_info() 4997 ctl->ndevs = ndevs; in gather_device_info() [all …]
|
/kernel/linux/linux-5.10/drivers/vme/ |
D | vme.c | 1853 struct vme_bridge *bridge, unsigned int ndevs) in __vme_register_driver_bus() argument 1860 for (i = 0; i < ndevs; i++) { in __vme_register_driver_bus() 1898 static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in __vme_register_driver() argument 1912 err = __vme_register_driver_bus(drv, bridge, ndevs); in __vme_register_driver() 1929 int vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in vme_register_driver() argument 1941 err = __vme_register_driver(drv, ndevs); in vme_register_driver()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | callback.h | 173 int ndevs; member
|
D | callback_xdr.c | 266 args->ndevs = 0; in decode_devicenotify_args() 334 args->ndevs++; in decode_devicenotify_args() 342 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
|
D | callback_proc.c | 366 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | nozomi.c | 376 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable 386 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty() 1326 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init() 1327 if (!ndevs[ndev_idx]) in nozomi_card_init() 1330 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init() 1405 ndevs[ndev_idx] = dc; in nozomi_card_init() 1517 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
|
/kernel/linux/linux-5.10/drivers/i3c/ |
D | master.c | 907 int ndevs = 0, ret; in i3c_master_defslvs_locked() local 914 ndevs++; in i3c_master_defslvs_locked() 929 ndevs++; in i3c_master_defslvs_locked() 933 ndevs - 1)); in i3c_master_defslvs_locked() 937 defslvs->count = ndevs; in i3c_master_defslvs_locked()
|
/kernel/linux/linux-5.10/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 219 What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
|