Home
last modified time | relevance | path

Searched refs:args_count (Results 1 – 25 of 140) sorted by relevance

123456

/linux/drivers/bus/
H A Dstm32_firewall.c62 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/mux/
H A Dcore.c573 if (args.args_count > 2 || args.args_count == 0 || in mux_get()
574 (args.args_count < 2 && mux_chip->controllers > 1)) { in mux_get()
581 if (args.args_count == 2) { in mux_get()
589 if (args.args_count > 1 || in mux_get()
590 (!args.args_count && mux_chip->controllers > 1)) { in mux_get()
597 if (args.args_count) in mux_get()
/linux/drivers/interconnect/qcom/
H A Dicc-common.c28 if (spec->args_count == 2) in qcom_icc_xlate_extended()
31 if (spec->args_count > 2) in qcom_icc_xlate_extended()
/linux/drivers/dma/dw/
H A Dof.c25 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()
H A Drzn1-dmamux.c51 if (dma_spec->args_count != RNZ1_DMAMUX_NCELLS) { in rzn1_dmamux_route_allocate()
65 dma_spec->args_count -= 2; in rzn1_dmamux_route_allocate()
/linux/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c191 if (argsa->args_count != argsb->args_count) in rcar_gen2_regulator_quirk()
195 argsa->args_count * in rcar_gen2_regulator_quirk()
/linux/drivers/of/
H A Dirq.c155 out_irq->args_count = intsize; in of_irq_parse_imap_parent()
209 if (out_irq->args_count != intsize) in of_irq_parse_raw()
316 intsize = out_irq->args_count; in of_irq_parse_raw()
398 out_irq->args_count = intsize; in of_irq_parse_one()
493 of_phandle_args_to_fwspec(oirq.np, oirq.args, oirq.args_count, in of_irq_get_affinity()
713 if ((*msi_node && *msi_node != msi_spec.np) || msi_spec.args_count != 0) in of_check_msi_parent()
H A Dunittest.c426 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
431 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
440 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
447 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
453 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
457 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
601 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
607 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
618 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
623 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
[all …]
/linux/drivers/cpuidle/
H A Ddt_idle_genpd.c142 child.args_count = 0; in dt_idle_pd_init_topology()
163 child.args_count = 0; in dt_idle_pd_remove_topology()
/linux/drivers/pci/
H A Dof_property.c236 out_irq[i].args_count = 1; in of_pci_prop_intr_map()
253 map_sz += 5 + addr_sz[i] + out_irq[i].args_count; in of_pci_prop_intr_map()
299 out_irq[i].args_count * sizeof(u32)); in of_pci_prop_intr_map()
300 mapp += out_irq[i].args_count; in of_pci_prop_intr_map()
/linux/drivers/dma/
H A Dlpc18xx-dmamux.c61 if (dma_spec->args_count != 3) { in lpc18xx_dmamux_reserve()
104 dma_spec->args_count = 2; in lpc18xx_dmamux_reserve()
H A Dlpc32xx-dmamux.c100 if (dma_spec->args_count != 3) { in lpc32xx_dmamux_reserve()
146 dma_spec->args_count = 2; in lpc32xx_dmamux_reserve()
H A Dof-dma.c324 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()
H A Dcv1800b-dmamux.c107 if (dma_spec->args_count != DMAMUX_NCELLS) { in cv1800_dmamux_route_allocate()
114 dma_spec->args_count = 1; in cv1800_dmamux_route_allocate()
/linux/arch/mips/ralink/
H A Dclk.c77 clkspec.args_count = 1; in plat_time_init()
/linux/drivers/irqchip/
H A Dirq-renesas-rza1.c118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc()
181 priv->map[i].args_count = intsize; in rza1_irqc_parse_map()
/linux/drivers/phy/mediatek/
H A Dphy-mtk-mipi-csi-0-5.c177 if (args->args_count != 1) { in mtk_mipi_cdphy_xlate()
194 if (args->args_count) { in mtk_mipi_cdphy_xlate()
/linux/arch/powerpc/sysdev/
H A Dmpic_msi.c64 oirq.args_count, &hwirq, &flags); in mpic_msi_reserve_u3_hwirqs()
/linux/drivers/clk/mmp/
H A Dreset.c19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
/linux/drivers/hwmon/
H A Demc2305.c556 if (args.args_count > 0) { in emc2305_of_parse_pwm_child()
563 if (args.args_count > 1) { in emc2305_of_parse_pwm_child()
572 if (args.args_count > 2) { in emc2305_of_parse_pwm_child()
/linux/drivers/dma/stm32/
H A Dstm32-dmamux.c96 if (dma_spec->args_count != 3) { in stm32_dmamux_route_allocate()
156 dma_spec->args_count = 4; in stm32_dmamux_route_allocate()
/linux/drivers/thermal/
H A Dthermal_of.c164 if ((sensor == sensor_specs.np) && id == (sensor_specs.args_count ? in of_thermal_zone_find()
262 if (cooling_spec.args_count < 2) { in thermal_of_get_cooling_spec()
/linux/drivers/xen/
H A Dgrant-dma-ops.c322 struct of_phandle_args iommu_spec = { .args_count = 1 }; in xen_dt_grant_init_backend_domid()
342 iommu_spec.args_count != 1) { in xen_dt_grant_init_backend_domid()
/linux/tools/perf/util/
H A Dprobe-file.c811 int i, args_count, err; in synthesize_sdt_probe_command() local
834 char **args = argv_split(note->args, &args_count); in synthesize_sdt_probe_command()
839 for (i = 0; i < args_count; ) { in synthesize_sdt_probe_command()
854 if (strstr(args[i], "[sp,") && (i+1) < args_count) { in synthesize_sdt_probe_command()
/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c148 child.args_count = 0; in exynos_pd_probe()

123456