/Linux-v6.6/include/trace/events/ |
D | spi.h | 18 __field( int, bus_num ) 22 __entry->bus_num = controller->bus_num; 25 TP_printk("spi%d", (int)__entry->bus_num) 50 __field(int, bus_num) 59 __entry->bus_num = spi->controller->bus_num; 68 __entry->bus_num, __entry->chip_select, 83 __field(int, bus_num) 90 __entry->bus_num = spi->controller->bus_num; 97 __entry->bus_num, __entry->chip_select, 109 __field( int, bus_num ) [all …]
|
/Linux-v6.6/drivers/cdx/controller/ |
D | cdx_controller.c | 50 u8 bus_num, u8 dev_num, in cdx_configure_device() argument 57 ret = cdx_mcdi_reset_device(cdx->priv, bus_num, dev_num); in cdx_configure_device() 69 u8 bus_num, dev_num, num_cdx_bus; in cdx_scan_devices() local 81 for (bus_num = 0; bus_num < num_cdx_bus; bus_num++) { in cdx_scan_devices() 85 ret = cdx_mcdi_get_num_devs(cdx_mcdi, bus_num); in cdx_scan_devices() 88 "Get devices on CDX bus %d failed: %d\n", bus_num, ret); in cdx_scan_devices() 97 ret = cdx_mcdi_get_dev_config(cdx_mcdi, bus_num, in cdx_scan_devices() 102 bus_num, dev_num, ret); in cdx_scan_devices() 116 dev_num, bus_num); in cdx_scan_devices()
|
D | mcdi_functions.c | 28 int cdx_mcdi_get_num_devs(struct cdx_mcdi *cdx, int bus_num) in cdx_mcdi_get_num_devs() argument 35 MCDI_SET_DWORD(inbuf, CDX_BUS_ENUM_DEVICES_IN_BUS, bus_num); in cdx_mcdi_get_num_devs() 49 u8 bus_num, u8 dev_num, in cdx_mcdi_get_dev_config() argument 59 MCDI_SET_DWORD(inbuf, CDX_BUS_GET_DEVICE_CONFIG_IN_BUS, bus_num); in cdx_mcdi_get_dev_config() 70 dev_params->bus_num = bus_num; in cdx_mcdi_get_dev_config() 127 int cdx_mcdi_reset_device(struct cdx_mcdi *cdx, u8 bus_num, u8 dev_num) in cdx_mcdi_reset_device() argument 132 MCDI_SET_DWORD(inbuf, CDX_DEVICE_RESET_IN_BUS, bus_num); in cdx_mcdi_reset_device()
|
D | mcdi_functions.h | 32 int cdx_mcdi_get_num_devs(struct cdx_mcdi *cdx, int bus_num); 47 u8 bus_num, u8 dev_num, 59 u8 bus_num, u8 dev_num);
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-designware-pcidrv.c | 58 u32 bus_num; member 113 c->bus_num = pdev->device - 0x817 + 3; in mfld_setup() 118 c->bus_num = pdev->device - 0x82C + 0; in mfld_setup() 134 c->bus_num = PCI_FUNC(pdev->devfn) + 0 + 1; in mrfld_setup() 137 c->bus_num = PCI_FUNC(pdev->devfn) + 4 + 1; in mrfld_setup() 164 .bus_num = -1, 169 .bus_num = -1, 174 .bus_num = -1, 178 .bus_num = -1, 182 .bus_num = -1, [all …]
|
D | i2c-cros-ec-tunnel.c | 74 int num, u16 bus_num) in ec_i2c_construct_message() argument 84 params->port = bus_num; in ec_i2c_construct_message() 179 const u16 bus_num = bus->remote_bus; in ec_i2c_xfer() local 204 result = ec_i2c_construct_message(msg->data, i2c_msgs, num, bus_num); in ec_i2c_xfer()
|
/Linux-v6.6/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_i2c.c | 296 static int netup_i2c_init(struct netup_unidvb_dev *ndev, int bus_num) in netup_i2c_init() argument 301 if (bus_num < 0 || bus_num > 1) { in netup_i2c_init() 303 "%s(): invalid bus_num %d\n", __func__, bus_num); in netup_i2c_init() 306 i2c = &ndev->i2c[bus_num]; in netup_i2c_init() 310 (bus_num == 0 ? NETUP_I2C_BUS0_ADDR : NETUP_I2C_BUS1_ADDR)); in netup_i2c_init() 321 bus_num, (bus_num == 0 ? in netup_i2c_init() 327 static void netup_i2c_remove(struct netup_unidvb_dev *ndev, int bus_num) in netup_i2c_remove() argument 331 if (bus_num < 0 || bus_num > 1) { in netup_i2c_remove() 333 "%s(): invalid bus number %d\n", __func__, bus_num); in netup_i2c_remove() 336 i2c = &ndev->i2c[bus_num]; in netup_i2c_remove() [all …]
|
/Linux-v6.6/drivers/spi/ |
D | spi-dw-pci.c | 30 u16 bus_num; member 44 clk_cdiv = readl(clk_reg + dws->bus_num * sizeof(u32)); in dw_spi_pci_mid_init() 66 .bus_num = 0, 72 .bus_num = 1, 78 .bus_num = -1, 118 dws->bus_num = desc->bus_num; in dw_spi_pci_probe()
|
D | spi-mpc52xx-psc.c | 299 u32 bus_num; in mpc52xx_psc_spi_of_probe() local 312 ret = device_property_read_u32(dev, "cell-index", &bus_num); in mpc52xx_psc_spi_of_probe() 313 if (ret || bus_num > 5) in mpc52xx_psc_spi_of_probe() 315 master->bus_num = bus_num + 1; in mpc52xx_psc_spi_of_probe() 340 ret = mpc52xx_psc_spi_port_config(master->bus_num, mps); in mpc52xx_psc_spi_of_probe()
|
D | spi-fsl-lib.c | 107 master->bus_num = pdata->bus_num; in mpc8xxx_spi_probe() 131 pdata->bus_num = -1; in of_mpc8xxx_spi_probe()
|
D | spi-bcm63xx.c | 481 int irq, bus_num; in bcm63xx_spi_probe() local 504 bus_num = -1; in bcm63xx_spi_probe() 509 bus_num = BCM63XX_SPI_BUS_NUM; in bcm63xx_spi_probe() 559 host->bus_num = bus_num; in bcm63xx_spi_probe()
|
D | spi-altera-dfl.c | 137 host->bus_num = -1; in dfl_spi_altera_probe() 172 board_info.bus_num = 0; in dfl_spi_altera_probe()
|
/Linux-v6.6/drivers/pci/hotplug/ |
D | ibmphp_ebda.c | 166 __func__, ptr->rsrc_type, ptr->bus_num, ptr->dev_fun, ptr->start_addr, ptr->end_addr); in print_ebda_pci_rsrc() 205 …ug("%s - bus# of each bus controlled by this ctlr: %x\n", __func__, hpc_ptr->buses[index].bus_num); in print_ebda_hpc() 686 u16 slot_num, bus_num, index; in ebda_rsrc_controller() local 706 bus_num = readb(io_mem + addr); in ebda_rsrc_controller() 710 addr += (bus_num * 9); /* offset of ctlr_type */ in ebda_rsrc_controller() 715 hpc_ptr = alloc_ebda_hpc(slot_num, bus_num); in ebda_rsrc_controller() 722 hpc_ptr->bus_count = bus_num; in ebda_rsrc_controller() 727 debug("count of buses controlled by this ctlr: %x\n", bus_num); in ebda_rsrc_controller() 773 for (bus = 0; bus < bus_num; bus++) { in ebda_rsrc_controller() 774 bus_ptr->bus_num = readb(io_mem + addr_bus + bus); in ebda_rsrc_controller() [all …]
|
D | cpqphp_pci.c | 154 int cpqhp_set_irq(u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num) in cpqhp_set_irq() argument 173 fakebus->number = bus_num; in cpqhp_set_irq() 175 __func__, dev_num, bus_num, int_pin, irq_num); in cpqhp_set_irq() 201 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 *dev_num) in PCI_ScanBusForNonBridge() argument 207 ctrl->pci_bus->number = bus_num; in PCI_ScanBusForNonBridge() 213 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 225 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 239 static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobri… in PCI_GetBusDevHelper() argument 252 *bus_num = tbus; in PCI_GetBusDevHelper() 259 dbg("bus_num %d devfn %d\n", *bus_num, *dev_num); in PCI_GetBusDevHelper() [all …]
|
/Linux-v6.6/arch/powerpc/platforms/83xx/ |
D | mpc832x_rdb.c | 67 pdata.bus_num = *(u32 *)prop; in of_fsl_spi_probe() 78 if (board_infos[j].bus_num == pdata.bus_num) in of_fsl_spi_probe() 158 .bus_num = 0x4c0,
|
/Linux-v6.6/drivers/pci/controller/ |
D | pci-ixp4xx.c | 186 static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where) in ixp4xx_config_addr() argument 189 if (bus_num == 0) { in ixp4xx_config_addr() 195 return (PCI_CONF1_ADDRESS(bus_num, PCI_SLOT(devfn), in ixp4xx_config_addr() 298 u8 bus_num = bus->number; in ixp4xx_pci_read_config() local 307 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_read_config() 310 where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_read_config() 345 u8 bus_num = bus->number; in ixp4xx_pci_write_config() local 353 addr = ixp4xx_config_addr(bus_num, devfn, where); in ixp4xx_pci_write_config() 358 value, where, size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn), addr, cmd); in ixp4xx_pci_write_config()
|
/Linux-v6.6/arch/arm/mach-s3c/ |
D | mach-crag6410-module.c | 44 .bus_num = 0, 56 .bus_num = 0, 230 .bus_num = 0, 262 .bus_num = 0, 284 .bus_num = 0,
|
/Linux-v6.6/drivers/parisc/ |
D | lba_pci.c | 1073 lba_dev->hba.bus_num.start = p->start; in lba_pat_resources() 1074 lba_dev->hba.bus_num.end = p->end; in lba_pat_resources() 1075 lba_dev->hba.bus_num.flags = IORESOURCE_BUS; in lba_pat_resources() 1091 (int)lba_dev->hba.bus_num.start); in lba_pat_resources() 1099 (int)lba_dev->hba.bus_num.start); in lba_pat_resources() 1117 (int)lba_dev->hba.bus_num.start); in lba_pat_resources() 1140 (int)lba_dev->hba.bus_num.start); in lba_pat_resources() 1183 r = &(lba_dev->hba.bus_num); in lba_legacy_resources() 1194 (int)lba_dev->hba.bus_num.start); in lba_legacy_resources() 1303 (int)lba_dev->hba.bus_num.start); in lba_legacy_resources() [all …]
|
/Linux-v6.6/arch/arm/mach-ep93xx/ |
D | vision_ep9307.c | 224 .bus_num = 0, 231 .bus_num = 0, 238 .bus_num = 0,
|
/Linux-v6.6/arch/m68k/coldfire/ |
D | stmark2.c | 49 .bus_num = 0, 59 .bus_num = 0,
|
/Linux-v6.6/include/linux/cdx/ |
D | cdx_bus.h | 34 u8 bus_num, u8 dev_num, 98 u8 bus_num; member
|
/Linux-v6.6/drivers/staging/vme_user/ |
D | vme_user.c | 43 static unsigned int bus_num; variable 508 for (i = 0; i < bus_num; i++) in vme_user_match() 735 if (bus_num == 0) { in vme_user_init() 744 if (bus_num > VME_USER_BUS_MAX) { in vme_user_init() 747 bus_num = VME_USER_BUS_MAX; in vme_user_init() 773 module_param_array(bus, int, &bus_num, 0000);
|
/Linux-v6.6/drivers/cdx/ |
D | cdx.c | 96 ret = cdx->ops->dev_configure(cdx, cdx_dev->bus_num, in cdx_dev_reset() 483 cdx_dev->bus_num = dev_params->bus_num; in cdx_device_add() 497 ((cdx->id << CDX_CONTROLLER_ID_SHIFT) | (cdx_dev->bus_num & CDX_BUS_NUM_MASK)), in cdx_device_add()
|
/Linux-v6.6/include/linux/spi/ |
D | spi-fsl-dspi.h | 18 u32 bus_num; member
|
/Linux-v6.6/arch/sh/include/asm/ |
D | spi.h | 8 int bus_num; member
|