Searched refs:iprop (Results 1 – 6 of 6) sorted by relevance
/drivers/net/mdio/ |
D | mdio-mux-mmioreg.c | 102 const __be32 *iprop; in mdio_mux_mmioreg_probe() local 127 iprop = of_get_property(np, "mux-mask", &len); in mdio_mux_mmioreg_probe() 128 if (!iprop || len != sizeof(uint32_t)) { in mdio_mux_mmioreg_probe() 132 if (be32_to_cpup(iprop) >= BIT(s->iosize * 8)) { in mdio_mux_mmioreg_probe() 136 s->mask = be32_to_cpup(iprop); in mdio_mux_mmioreg_probe() 143 iprop = of_get_property(np2, "reg", &len); in mdio_mux_mmioreg_probe() 144 if (!iprop || len != sizeof(uint32_t)) { in mdio_mux_mmioreg_probe() 150 if (be32_to_cpup(iprop) & ~s->mask) { in mdio_mux_mmioreg_probe()
|
/drivers/spi/ |
D | spi-fsl-cpm.c | 265 const u32 *iprop; in fsl_spi_cpm_get_pram() local 271 iprop = of_get_property(np, "reg", &size); in fsl_spi_cpm_get_pram() 274 if (mspi->flags & SPI_QE && iprop && size == sizeof(*iprop) * 4) in fsl_spi_cpm_get_pram() 275 return cpm_muram_alloc_fixed(iprop[2], SPI_PRAM_SIZE); in fsl_spi_cpm_get_pram() 302 const u32 *iprop; in fsl_spi_cpm_init() local 313 iprop = of_get_property(np, "cell-index", &size); in fsl_spi_cpm_init() 314 if (iprop && size == sizeof(*iprop)) in fsl_spi_cpm_init() 315 mspi->subblock = *iprop; in fsl_spi_cpm_init()
|
/drivers/tty/ |
D | ehv_bytechan.c | 111 const uint32_t *iprop; in find_console_handle() local 129 iprop = of_get_property(np, "hv-handle", NULL); in find_console_handle() 130 if (!iprop) { in find_console_handle() 135 stdout_bc = be32_to_cpu(*iprop); in find_console_handle() 671 const uint32_t *iprop; in ehv_bc_tty_probe() local 677 iprop = of_get_property(np, "hv-handle", NULL); in ehv_bc_tty_probe() 678 if (!iprop) { in ehv_bc_tty_probe() 688 handle = be32_to_cpu(*iprop); in ehv_bc_tty_probe()
|
/drivers/net/ethernet/freescale/ |
D | fsl_pq_mdio.c | 259 const uint32_t *iprop; in ucc_configure() local 274 iprop = of_get_property(np, "cell-index", NULL); in ucc_configure() 275 if (!iprop) { in ucc_configure() 276 iprop = of_get_property(np, "device-id", NULL); in ucc_configure() 277 if (!iprop) { in ucc_configure() 284 id = be32_to_cpup(iprop); in ucc_configure()
|
/drivers/usb/host/ |
D | fhci-hcd.c | 571 const u32 *iprop; in of_fhci_probe() local 594 iprop = of_get_property(node, "hub-power-budget", &size); in of_fhci_probe() 595 if (iprop && size == sizeof(*iprop)) in of_fhci_probe() 596 hcd->power_budget = *iprop; in of_fhci_probe() 614 iprop = of_get_property(node, "reg", &size); in of_fhci_probe() 615 if (!iprop || size < sizeof(*iprop) * 4) { in of_fhci_probe()
|
/drivers/iommu/ |
D | fsl_pamu.c | 583 const __be32 *iprop; in create_csd() local 597 iprop = of_get_property(np, "fsl,num-laws", NULL); in create_csd() 598 if (!iprop) { in create_csd() 603 num_laws = be32_to_cpup(iprop); in create_csd() 626 iprop = of_get_property(np, "fsl,ccf-num-csdids", NULL); in create_csd() 627 if (!iprop) { in create_csd() 632 num_csds = be32_to_cpup(iprop); in create_csd()
|