Home
last modified time | relevance | path

Searched refs:iprop (Results 1 – 7 of 7) sorted by relevance

/drivers/net/phy/
Dmdio-mux-mmioreg.c74 const __be32 *iprop; in mdio_mux_mmioreg_probe() local
96 iprop = of_get_property(np, "mux-mask", &len); in mdio_mux_mmioreg_probe()
97 if (!iprop || len != sizeof(uint32_t)) { in mdio_mux_mmioreg_probe()
101 if (be32_to_cpup(iprop) > 255) { in mdio_mux_mmioreg_probe()
105 s->mask = be32_to_cpup(iprop); in mdio_mux_mmioreg_probe()
112 iprop = of_get_property(np2, "reg", &len); in mdio_mux_mmioreg_probe()
113 if (!iprop || len != sizeof(uint32_t)) { in mdio_mux_mmioreg_probe()
118 if (be32_to_cpup(iprop) & ~s->mask) { in mdio_mux_mmioreg_probe()
/drivers/spi/
Dspi-fsl-cpm.c237 const u32 *iprop; in fsl_spi_cpm_get_pram() local
243 iprop = of_get_property(np, "reg", &size); in fsl_spi_cpm_get_pram()
246 if (mspi->flags & SPI_QE && iprop && size == sizeof(*iprop) * 4) in fsl_spi_cpm_get_pram()
247 return cpm_muram_alloc_fixed(iprop[2], SPI_PRAM_SIZE); in fsl_spi_cpm_get_pram()
285 const u32 *iprop; in fsl_spi_cpm_init() local
297 iprop = of_get_property(np, "cell-index", &size); in fsl_spi_cpm_init()
298 if (iprop && size == sizeof(*iprop)) in fsl_spi_cpm_init()
299 mspi->subblock = *iprop; in fsl_spi_cpm_init()
/drivers/tty/serial/
Ducc_uart.c1196 const unsigned int *iprop; /* Integer OF properties */ in ucc_uart_probe() local
1279 iprop = of_get_property(np, "cell-index", NULL); in ucc_uart_probe()
1280 if (!iprop) { in ucc_uart_probe()
1281 iprop = of_get_property(np, "device-id", NULL); in ucc_uart_probe()
1282 if (!iprop) { in ucc_uart_probe()
1290 if ((*iprop < 1) || (*iprop > UCC_MAX_NUM)) { in ucc_uart_probe()
1291 dev_err(&ofdev->dev, "no support for UCC%u\n", *iprop); in ucc_uart_probe()
1295 qe_port->ucc_num = *iprop - 1; in ucc_uart_probe()
1339 iprop = of_get_property(np, "port-number", NULL); in ucc_uart_probe()
1340 if (!iprop) { in ucc_uart_probe()
[all …]
/drivers/tty/
Dehv_bytechan.c116 const uint32_t *iprop; in find_console_handle() local
134 iprop = of_get_property(np, "hv-handle", NULL); in find_console_handle()
135 if (!iprop) { in find_console_handle()
140 stdout_bc = be32_to_cpu(*iprop); in find_console_handle()
661 const uint32_t *iprop; in ehv_bc_tty_probe() local
667 iprop = of_get_property(np, "hv-handle", NULL); in ehv_bc_tty_probe()
668 if (!iprop) { in ehv_bc_tty_probe()
678 handle = be32_to_cpu(*iprop); in ehv_bc_tty_probe()
/drivers/net/ethernet/freescale/
Dfsl_pq_mdio.c253 const uint32_t *iprop; in ucc_configure() local
268 iprop = of_get_property(np, "cell-index", NULL); in ucc_configure()
269 if (!iprop) { in ucc_configure()
270 iprop = of_get_property(np, "device-id", NULL); in ucc_configure()
271 if (!iprop) { in ucc_configure()
278 id = be32_to_cpup(iprop); in ucc_configure()
/drivers/usb/host/
Dfhci-hcd.c576 const u32 *iprop; in of_fhci_probe() local
599 iprop = of_get_property(node, "hub-power-budget", &size); in of_fhci_probe()
600 if (iprop && size == sizeof(*iprop)) in of_fhci_probe()
601 hcd->power_budget = *iprop; in of_fhci_probe()
619 iprop = of_get_property(node, "reg", &size); in of_fhci_probe()
620 if (!iprop || size < sizeof(*iprop) * 4) { in of_fhci_probe()
/drivers/iommu/
Dfsl_pamu.c862 const __be32 *iprop; in create_csd() local
876 iprop = of_get_property(np, "fsl,num-laws", NULL); in create_csd()
877 if (!iprop) { in create_csd()
882 num_laws = be32_to_cpup(iprop); in create_csd()
905 iprop = of_get_property(np, "fsl,ccf-num-csdids", NULL); in create_csd()
906 if (!iprop) { in create_csd()
911 num_csds = be32_to_cpup(iprop); in create_csd()