| /linux/drivers/bus/ |
| A D | stm32_firewall.c | 62 provider_args.args_count = of_phandle_iterator_args(&it, provider_args.args, in stm32_firewall_get_firewall() 88 if (provider_args.args_count < 0 || in stm32_firewall_get_firewall() 89 provider_args.args_count > STM32_FIREWALL_MAX_ARGS) { in stm32_firewall_get_firewall() 92 } else if (provider_args.args_count == 0) { in stm32_firewall_get_firewall() 103 for (i = 0; i < provider_args.args_count - 1; i++) in stm32_firewall_get_firewall() 107 firewall[j].extra_args_size = provider_args.args_count - 1; in stm32_firewall_get_firewall()
|
| /linux/drivers/interconnect/qcom/ |
| A D | icc-common.c | 28 if (spec->args_count == 2) in qcom_icc_xlate_extended() 31 if (spec->args_count > 2) in qcom_icc_xlate_extended()
|
| /linux/drivers/mux/ |
| A D | core.c | 574 if (args.args_count > 2 || args.args_count == 0 || in mux_get() 575 (args.args_count < 2 && mux_chip->controllers > 1)) { in mux_get() 582 if (args.args_count == 2) { in mux_get() 590 if (args.args_count > 1 || in mux_get() 591 (!args.args_count && mux_chip->controllers > 1)) { in mux_get() 598 if (args.args_count) in mux_get()
|
| /linux/drivers/dma/dw/ |
| A D | of.c | 25 if (dma_spec->args_count < 3 || dma_spec->args_count > 4) in dw_dma_of_xlate() 32 if (dma_spec->args_count >= 4) in dw_dma_of_xlate()
|
| A D | rzn1-dmamux.c | 51 if (dma_spec->args_count != RNZ1_DMAMUX_NCELLS) in rzn1_dmamux_route_allocate() 61 dma_spec->args_count -= 2; in rzn1_dmamux_route_allocate()
|
| /linux/drivers/pmdomain/ti/ |
| A D | ti_sci_pm_domains.c | 94 if (genpdspec->args_count != 1 && genpdspec->args_count != 2) in ti_sci_pd_xlate() 163 if (args.args_count >= 1 && args.np == dev->of_node) { in ti_sci_pm_domain_probe()
|
| /linux/arch/arm/mach-shmobile/ |
| A D | regulator-quirk-rcar-gen2.c | 191 if (argsa->args_count != argsb->args_count) in rcar_gen2_regulator_quirk() 195 argsa->args_count * in rcar_gen2_regulator_quirk()
|
| /linux/drivers/pci/ |
| A D | of_property.c | 232 out_irq[i].args_count = 1; in of_pci_prop_intr_map() 249 map_sz += 5 + addr_sz[i] + out_irq[i].args_count; in of_pci_prop_intr_map() 287 out_irq[i].args_count * sizeof(u32)); in of_pci_prop_intr_map() 288 mapp += out_irq[i].args_count; in of_pci_prop_intr_map()
|
| /linux/drivers/of/ |
| A D | unittest.c | 417 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args() 422 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args() 431 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args() 438 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args() 444 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args() 448 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args() 592 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map() 598 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map() 609 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map() 614 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map() [all …]
|
| A D | irq.c | 149 out_irq->args_count = intsize; in of_irq_parse_imap_parent() 201 if (out_irq->args_count != intsize) in of_irq_parse_raw() 308 intsize = out_irq->args_count; in of_irq_parse_raw() 386 out_irq->args_count = intsize; in of_irq_parse_one()
|
| /linux/drivers/cpuidle/ |
| A D | dt_idle_genpd.c | 142 child.args_count = 0; in dt_idle_pd_init_topology() 163 child.args_count = 0; in dt_idle_pd_remove_topology()
|
| /linux/drivers/dma/ |
| A D | lpc18xx-dmamux.c | 61 if (dma_spec->args_count != 3) { in lpc18xx_dmamux_reserve() 104 dma_spec->args_count = 2; in lpc18xx_dmamux_reserve()
|
| A D | lpc32xx-dmamux.c | 100 if (dma_spec->args_count != 3) { in lpc32xx_dmamux_reserve() 146 dma_spec->args_count = 2; in lpc32xx_dmamux_reserve()
|
| A D | of-dma.c | 324 int count = dma_spec->args_count; in of_dma_simple_xlate() 357 if (!dev || dma_spec->args_count != 1) in of_dma_xlate_by_chan_id()
|
| /linux/arch/mips/ralink/ |
| A D | clk.c | 77 clkspec.args_count = 1; in plat_time_init()
|
| /linux/drivers/usb/common/ |
| A D | common.c | 292 args.args_count = 0; in of_usb_get_dr_mode_by_phy() 302 if (args.np == np && (args.args_count == 0 || in of_usb_get_dr_mode_by_phy()
|
| /linux/drivers/irqchip/ |
| A D | irq-renesas-rza1.c | 118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc() 180 priv->map[i].args_count = intsize; in rza1_irqc_parse_map()
|
| /linux/arch/powerpc/sysdev/ |
| A D | mpic_msi.c | 64 oirq.args_count, &hwirq, &flags); in mpic_msi_reserve_u3_hwirqs()
|
| /linux/drivers/phy/mediatek/ |
| A D | phy-mtk-mipi-csi-0-5.c | 177 if (args->args_count != 1) { in mtk_mipi_cdphy_xlate() 194 if (args->args_count) { in mtk_mipi_cdphy_xlate()
|
| /linux/drivers/clk/mmp/ |
| A D | reset.c | 19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
|
| /linux/drivers/pmdomain/apple/ |
| A D | pmgr-pwrstate.c | 268 parent.args_count = of_phandle_iterator_args(&it, parent.args, MAX_PHANDLE_ARGS); in apple_pmgr_ps_probe() 270 child.args_count = 0; in apple_pmgr_ps_probe()
|
| /linux/drivers/mailbox/ |
| A D | imx-mailbox.c | 667 if (sp->args_count != 2) { in imx_mu_specific_xlate() 668 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_specific_xlate() 704 if (sp->args_count != 2) { in imx_mu_xlate() 705 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_xlate() 737 if (sp->args_count < 1) { in imx_mu_seco_xlate() 738 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_seco_xlate()
|
| /linux/drivers/dma/stm32/ |
| A D | stm32-dmamux.c | 96 if (dma_spec->args_count != 3) { in stm32_dmamux_route_allocate() 156 dma_spec->args_count = 4; in stm32_dmamux_route_allocate()
|
| /linux/drivers/xen/ |
| A D | grant-dma-ops.c | 318 struct of_phandle_args iommu_spec = { .args_count = 1 }; in xen_dt_grant_init_backend_domid() 338 iommu_spec.args_count != 1) { in xen_dt_grant_init_backend_domid()
|
| /linux/drivers/thermal/ |
| A D | thermal_of.c | 179 if ((sensor == sensor_specs.np) && id == (sensor_specs.args_count ? in of_thermal_zone_find() 280 if (cooling_spec.args_count < 2) { in thermal_of_get_cooling_spec()
|