Home
last modified time | relevance | path

Searched refs:spi_bus (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/spi/
Dspi-pci1xxxx.c215 static int pci1xxxx_check_spi_can_dma(struct pci1xxxx_spi *spi_bus, int irq) in pci1xxxx_check_spi_can_dma() argument
217 struct pci_dev *pdev = spi_bus->dev; in pci1xxxx_check_spi_can_dma()
226 ret = pci1xxxx_acquire_sys_lock(spi_bus); in pci1xxxx_check_spi_can_dma()
232 regval = readl(spi_bus->reg_base + DEV_REV_REG); in pci1xxxx_check_spi_can_dma()
233 spi_bus->dev_rev = regval & DEV_REV_MASK; in pci1xxxx_check_spi_can_dma()
234 if (spi_bus->dev_rev >= 0xC0) { in pci1xxxx_check_spi_can_dma()
235 regval = readl(spi_bus->reg_base + in pci1xxxx_check_spi_can_dma()
240 pci1xxxx_release_sys_lock(spi_bus); in pci1xxxx_check_spi_can_dma()
246 if (spi_bus->dev_rev < 0xC0 || pf_num) in pci1xxxx_check_spi_can_dma()
259 spi_bus->dma_offset_bar = pcim_iomap(pdev, 2, pci_resource_len(pdev, 2)); in pci1xxxx_check_spi_can_dma()
[all …]
/linux-6.12.1/arch/sh/boards/mach-r2d/
Dsetup.c59 static struct spi_board_info spi_bus[] = { variable
253 spi_register_board_info(spi_bus, ARRAY_SIZE(spi_bus)); in rts7751r2d_devices_setup()
/linux-6.12.1/scripts/dtc/
Dchecks.c1093 static const struct bus_type spi_bus = { variable
1102 node->bus = &spi_bus; in check_spi_bus_bridge()
1114 node->bus = &spi_bus; in check_spi_bus_bridge()
1118 if (node->bus == &spi_bus) in check_spi_bus_bridge()
1122 if (node->bus == &spi_bus && get_property(node, "reg")) in check_spi_bus_bridge()
1125 if (node->bus != &spi_bus || !node->children) in check_spi_bus_bridge()
1146 if (!node->parent || (node->parent->bus != &spi_bus)) in check_spi_bus_reg()
/linux-6.12.1/arch/sh/boards/mach-ecovec24/
Dsetup.c816 static struct spi_board_info spi_bus[] = { variable
1323 spi_register_board_info(spi_bus, ARRAY_SIZE(spi_bus)); in arch_setup()