Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/spi/
Dspi-pci1xxxx.c252 struct pci1xxxx_spi *spi_bus; in pci1xxxx_spi_probe() local
264 spi_bus = devm_kzalloc(&pdev->dev, in pci1xxxx_spi_probe()
265 struct_size(spi_bus, spi_int, hw_inst_cnt), in pci1xxxx_spi_probe()
267 if (!spi_bus) in pci1xxxx_spi_probe()
270 spi_bus->dev = pdev; in pci1xxxx_spi_probe()
271 spi_bus->total_hw_instances = hw_inst_cnt; in pci1xxxx_spi_probe()
275 spi_bus->spi_int[iter] = devm_kzalloc(&pdev->dev, in pci1xxxx_spi_probe()
278 spi_sub_ptr = spi_bus->spi_int[iter]; in pci1xxxx_spi_probe()
283 spi_sub_ptr->parent = spi_bus; in pci1xxxx_spi_probe()
295 spi_bus->reg_base = pcim_iomap(pdev, 0, pci_resource_len(pdev, 0)); in pci1xxxx_spi_probe()
[all …]
/Linux-v6.6/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-v6.6/scripts/dtc/
Dchecks.c1091 static const struct bus_type spi_bus = { variable
1100 node->bus = &spi_bus; in check_spi_bus_bridge()
1112 node->bus = &spi_bus; in check_spi_bus_bridge()
1116 if (node->bus == &spi_bus) in check_spi_bus_bridge()
1120 if (node->bus == &spi_bus && get_property(node, "reg")) in check_spi_bus_bridge()
1123 if (node->bus != &spi_bus || !node->children) in check_spi_bus_bridge()
1144 if (!node->parent || (node->parent->bus != &spi_bus)) in check_spi_bus_reg()
/Linux-v6.6/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()