Searched refs:slot_nr (Results 1 – 5 of 5) sorted by relevance
/drivers/pci/ |
D | slot.c | 194 static struct pci_slot *get_slot(struct pci_bus *parent, int slot_nr) in get_slot() argument 201 if (slot->number == slot_nr) { in get_slot() 247 struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, in pci_create_slot() argument 258 if (slot_nr == -1) in pci_create_slot() 265 slot = get_slot(parent, slot_nr); in pci_create_slot() 286 slot->number = slot_nr; in pci_create_slot() 305 if (PCI_SLOT(dev->devfn) == slot_nr) in pci_create_slot() 309 slot_nr, pci_slot_name(slot)); in pci_create_slot() 331 void pci_renumber_slot(struct pci_slot *slot, int slot_nr) in pci_renumber_slot() argument 338 WARN_ON(tmp->number == slot_nr); in pci_renumber_slot() [all …]
|
/drivers/scsi/mvsas/ |
D | mv_init.c | 126 int slot_nr; in mvs_free() local 132 slot_nr = MVS_SOC_SLOTS; in mvs_free() 134 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_free() 152 sizeof(*mvi->slot) * slot_nr, in mvs_free() 240 int i = 0, slot_nr; in mvs_alloc() local 244 slot_nr = MVS_SOC_SLOTS; in mvs_alloc() 246 slot_nr = MVS_CHIP_SLOT_SZ; in mvs_alloc() 288 sizeof(*mvi->slot) * slot_nr, in mvs_alloc() 292 memset(mvi->slot, 0, sizeof(*mvi->slot) * slot_nr); in mvs_alloc() 312 mvi->tags_num = slot_nr; in mvs_alloc()
|
/drivers/ide/ |
D | ide-cd_ioctl.c | 41 int ide_cdrom_drive_status(struct cdrom_device_info *cdi, int slot_nr) in ide_cdrom_drive_status() argument 48 if (slot_nr != CDSL_CURRENT) in ide_cdrom_drive_status() 89 unsigned int clearing, int slot_nr) in ide_cdrom_check_events_real() argument 94 if (slot_nr == CDSL_CURRENT) { in ide_cdrom_check_events_real()
|
D | ide-cd.h | 115 unsigned int clearing, int slot_nr);
|
/drivers/block/paride/ |
D | pcd.c | 174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr); 176 unsigned int clearing, int slot_nr); 509 unsigned int clearing, int slot_nr) in pcd_check_events() argument 596 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr) in pcd_drive_status() argument
|