Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/fsl/
Dfsl_utils.c35 const __be32 *iprop; in fsl_asoc_get_dma_channel() local
63 iprop = of_get_property(dma_channel_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
64 if (!iprop) { in fsl_asoc_get_dma_channel()
68 *dma_channel_id = be32_to_cpup(iprop); in fsl_asoc_get_dma_channel()
71 iprop = of_get_property(dma_np, "cell-index", NULL); in fsl_asoc_get_dma_channel()
72 if (!iprop) { in fsl_asoc_get_dma_channel()
77 *dma_id = be32_to_cpup(iprop); in fsl_asoc_get_dma_channel()
Dmpc8610_hpcd.c195 const u32 *iprop; in mpc8610_hpcd_probe() local
249 iprop = of_get_property(np, "cell-index", NULL); in mpc8610_hpcd_probe()
250 if (!iprop) { in mpc8610_hpcd_probe()
255 machine_data->ssi_id = be32_to_cpup(iprop); in mpc8610_hpcd_probe()
275 iprop = of_get_property(codec_np, "clock-frequency", NULL); in mpc8610_hpcd_probe()
276 if (!iprop || !*iprop) { in mpc8610_hpcd_probe()
282 machine_data->clk_frequency = be32_to_cpup(iprop); in mpc8610_hpcd_probe()
Dp1022_ds.c205 const u32 *iprop; in p1022_ds_probe() local
260 iprop = of_get_property(np, "cell-index", NULL); in p1022_ds_probe()
261 if (!iprop) { in p1022_ds_probe()
266 mdata->ssi_id = be32_to_cpup(iprop); in p1022_ds_probe()
286 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_ds_probe()
287 if (!iprop || !*iprop) { in p1022_ds_probe()
293 mdata->clk_frequency = be32_to_cpup(iprop); in p1022_ds_probe()
Dp1022_rdk.c207 const u32 *iprop; in p1022_rdk_probe() local
277 iprop = of_get_property(codec_np, "clock-frequency", NULL); in p1022_rdk_probe()
278 if (!iprop || !*iprop) { in p1022_rdk_probe()
283 mdata->clk_frequency = be32_to_cpup(iprop); in p1022_rdk_probe()
Dfsl_dma.c879 const uint32_t *iprop; in fsl_soc_dma_probe() local
916 iprop = of_get_property(ssi_np, "fsl,fifo-depth", NULL); in fsl_soc_dma_probe()
917 if (iprop) in fsl_soc_dma_probe()
918 dma->ssi_fifo_depth = be32_to_cpup(iprop); in fsl_soc_dma_probe()
Dfsl_esai.c958 const __be32 *iprop; in fsl_esai_probe() local
1029 iprop = of_get_property(np, "fsl,fifo-depth", NULL); in fsl_esai_probe()
1030 if (iprop) in fsl_esai_probe()
1031 esai_priv->fifo_depth = be32_to_cpup(iprop); in fsl_esai_probe()
Dfsl_ssi.c1402 const __be32 *iprop; in fsl_ssi_probe_from_dt() local
1444 iprop = of_get_property(np, "fsl,fifo-depth", NULL); in fsl_ssi_probe_from_dt()
1445 if (iprop) in fsl_ssi_probe_from_dt()
1446 ssi->fifo_depth = be32_to_cpup(iprop); in fsl_ssi_probe_from_dt()
/Linux-v5.10/drivers/net/mdio/
Dmdio-mux-mmioreg.c102 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()
/Linux-v5.10/drivers/spi/
Dspi-fsl-cpm.c242 const u32 *iprop; in fsl_spi_cpm_get_pram() local
248 iprop = of_get_property(np, "reg", &size); in fsl_spi_cpm_get_pram()
251 if (mspi->flags & SPI_QE && iprop && size == sizeof(*iprop) * 4) in fsl_spi_cpm_get_pram()
252 return cpm_muram_alloc_fixed(iprop[2], SPI_PRAM_SIZE); in fsl_spi_cpm_get_pram()
279 const u32 *iprop; in fsl_spi_cpm_init() local
290 iprop = of_get_property(np, "cell-index", &size); in fsl_spi_cpm_init()
291 if (iprop && size == sizeof(*iprop)) in fsl_spi_cpm_init()
292 mspi->subblock = *iprop; in fsl_spi_cpm_init()
/Linux-v5.10/drivers/tty/
Dehv_bytechan.c111 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()
/Linux-v5.10/drivers/net/ethernet/freescale/
Dfsl_pq_mdio.c259 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()
/Linux-v5.10/drivers/usb/host/
Dfhci-hcd.c571 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()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dp1022_ds.c175 const __be32 *iprop; in p1022ds_set_monitor_port() local
216 iprop = of_get_property(law_node, "fsl,num-laws", NULL); in p1022ds_set_monitor_port()
217 if (!iprop) { in p1022ds_set_monitor_port()
221 num_laws = be32_to_cpup(iprop); in p1022ds_set_monitor_port()
/Linux-v5.10/drivers/iommu/
Dfsl_pamu.c840 const __be32 *iprop; in create_csd() local
854 iprop = of_get_property(np, "fsl,num-laws", NULL); in create_csd()
855 if (!iprop) { in create_csd()
860 num_laws = be32_to_cpup(iprop); in create_csd()
883 iprop = of_get_property(np, "fsl,ccf-num-csdids", NULL); in create_csd()
884 if (!iprop) { in create_csd()
889 num_csds = be32_to_cpup(iprop); in create_csd()