Home
last modified time | relevance | path

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

1234567

/Linux-v6.6/drivers/interconnect/qcom/
Dicc-common.c27 if (spec->args_count == 2) in qcom_icc_xlate_extended()
30 if (spec->args_count > 2) in qcom_icc_xlate_extended()
/Linux-v6.6/drivers/mux/
Dcore.c574 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-v6.6/drivers/dma/dw/
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()
Drzn1-dmamux.c51 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-v6.6/drivers/pmdomain/ti/
Dti_sci_pm_domains.c94 if (genpdspec->args_count != 1 && genpdspec->args_count != 2) in ti_sci_pd_xlate()
151 if (args.args_count >= 1 && args.np == dev->of_node) { in ti_sci_pm_domain_probe()
/Linux-v6.6/arch/arm/mach-shmobile/
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-v6.6/drivers/of/
Dunittest.c416 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
421 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
430 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
437 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
443 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
447 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
597 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
603 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
614 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
619 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
[all …]
Dirq.c146 if (out_irq->args_count != intsize) in of_irq_parse_raw()
293 out_irq->args_count = intsize = newintsize; in of_irq_parse_raw()
366 out_irq->args_count = intsize; in of_irq_parse_one()
/Linux-v6.6/drivers/pci/
Dof_property.c212 out_irq[i].args_count = 1; in of_pci_prop_intr_map()
229 map_sz += 5 + addr_sz[i] + out_irq[i].args_count; in of_pci_prop_intr_map()
265 out_irq[i].args_count * sizeof(u32)); in of_pci_prop_intr_map()
266 mapp += out_irq[i].args_count; in of_pci_prop_intr_map()
/Linux-v6.6/drivers/cpuidle/
Ddt_idle_genpd.c143 child.args_count = 0; in dt_idle_pd_init_topology()
167 child.args_count = 0; in dt_idle_pd_remove_topology()
/Linux-v6.6/drivers/staging/board/
Dboard.c84 irq_data.args_count = 3; in gic_fixup_resource()
150 pd_args.args_count = 0; in board_staging_add_dev_domain()
/Linux-v6.6/drivers/dma/
Dlpc18xx-dmamux.c61 if (dma_spec->args_count != 3) { in lpc18xx_dmamux_reserve()
104 dma_spec->args_count = 2; in lpc18xx_dmamux_reserve()
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()
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-v6.6/arch/mips/ralink/
Dclk.c77 clkspec.args_count = 1; in plat_time_init()
/Linux-v6.6/drivers/usb/common/
Dcommon.c294 args.args_count = 0; in of_usb_get_dr_mode_by_phy()
304 if (args.np == np && (args.args_count == 0 || in of_usb_get_dr_mode_by_phy()
/Linux-v6.6/drivers/irqchip/
Dirq-renesas-rza1.c118 spec.param_count = priv->map[hwirq].args_count; in rza1_irqc_alloc()
180 priv->map[i].args_count = intsize; in rza1_irqc_parse_map()
Dirq-gic-v3-its-platform-msi.c30 if (WARN_ON(args.args_count != 1)) in of_pmsi_get_dev_id()
/Linux-v6.6/drivers/thermal/
Dthermal_of.c210 if ((sensor == sensor_specs.np) && id == (sensor_specs.args_count ? in of_thermal_zone_find()
303 if (cooling_spec.args_count < 2) { in __thermal_of_unbind()
336 if (cooling_spec.args_count < 2) { in __thermal_of_bind()
/Linux-v6.6/drivers/pwm/
Dcore.c138 if (args->args_count < 2) in of_pwm_xlate_with_flags()
152 if (args->args_count > 2 && args->args[2] & PWM_POLARITY_INVERTED) in of_pwm_xlate_with_flags()
169 if (args->args_count != 1 && args->args_count != 2) in of_pwm_single_xlate()
179 if (args->args_count == 2 && args->args[2] & PWM_POLARITY_INVERTED) in of_pwm_single_xlate()
/Linux-v6.6/arch/powerpc/sysdev/
Dmpic_msi.c64 oirq.args_count, &hwirq, &flags); in mpic_msi_reserve_u3_hwirqs()
/Linux-v6.6/drivers/mailbox/
Dimx-mailbox.c640 if (sp->args_count != 2) { in imx_mu_specific_xlate()
641 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_specific_xlate()
676 if (sp->args_count != 2) { in imx_mu_xlate()
677 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_xlate()
698 if (sp->args_count < 1) { in imx_mu_seco_xlate()
699 dev_err(mbox->dev, "Invalid argument count %d\n", sp->args_count); in imx_mu_seco_xlate()
/Linux-v6.6/drivers/clk/mmp/
Dreset.c19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()
/Linux-v6.6/drivers/pmdomain/apple/
Dpmgr-pwrstate.c268 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-v6.6/drivers/xen/
Dgrant-dma-ops.c318 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()

1234567