Home
last modified time | relevance | path

Searched refs:addrc (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/sparc/kernel/
Dof_device_common.c76 static void get_cells(struct device_node *dp, int *addrc, int *sizec) in get_cells() argument
78 if (addrc) in get_cells()
79 *addrc = of_n_addr_cells(dp); in get_cells()
88 void of_bus_default_count_cells(struct device_node *dev, int *addrc, int *sizec) in of_bus_default_count_cells() argument
90 get_cells(dev, addrc, sizec); in of_bus_default_count_cells()
173 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec) in of_bus_sbus_count_cells() argument
175 if (addrc) in of_bus_sbus_count_cells()
176 *addrc = 2; in of_bus_sbus_count_cells()
Dof_device_common.h13 void of_bus_default_count_cells(struct device_node *dev, int *addrc,
21 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec);
31 int *addrc, int *sizec);
Dof_device_32.c42 int *addrc, int *sizec) in of_bus_pci_count_cells() argument
44 if (addrc) in of_bus_pci_count_cells()
45 *addrc = 3; in of_bus_pci_count_cells()
114 int *addrc, int *sizec) in of_bus_ambapp_count_cells() argument
116 if (addrc) in of_bus_ambapp_count_cells()
117 *addrc = 1; in of_bus_ambapp_count_cells()
Dof_device_64.c95 int *addrc, int *sizec) in of_bus_pci_count_cells() argument
97 if (addrc) in of_bus_pci_count_cells()
98 *addrc = 3; in of_bus_pci_count_cells()
/Linux-v5.4/drivers/of/
Dfdt_address.c41 int *addrc, int *sizec);
49 int *addrc, int *sizec) in fdt_bus_default_count_cells() argument
53 if (addrc) { in fdt_bus_default_count_cells()
56 *addrc = be32_to_cpup(prop); in fdt_bus_default_count_cells()
58 *addrc = dt_root_addr_cells; in fdt_bus_default_count_cells()
Daddress.c46 int *addrc, int *sizec);
58 int *addrc, int *sizec) in of_bus_default_count_cells() argument
60 if (addrc) in of_bus_default_count_cells()
61 *addrc = of_n_addr_cells(dev); in of_bus_default_count_cells()
118 int *addrc, int *sizec) in of_bus_pci_count_cells() argument
120 if (addrc) in of_bus_pci_count_cells()
121 *addrc = 3; in of_bus_pci_count_cells()
378 int *addrc, int *sizec) in of_bus_isa_count_cells() argument
380 if (addrc) in of_bus_isa_count_cells()
381 *addrc = 2; in of_bus_isa_count_cells()