Home
last modified time | relevance | path

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

123456

/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/drivers/of/
H A Dirq.c155 out_irq->args_count = intsize; in of_irq_parse_imap_parent()
279 if (out_irq->args_count != intsize) in of_irq_parse_raw()
386 intsize = out_irq->args_count; in of_irq_parse_raw()
468 out_irq->args_count = intsize; in of_irq_parse_one()
563 of_phandle_args_to_fwspec(oirq.np, oirq.args, oirq.args_count, in of_irq_get_affinity()
787 if ((*msi_node && *msi_node != msi_spec.np) || msi_spec.args_count != 0) in of_check_msi_parent()
830 if (msi_spec.args_count > 0) in of_msi_xlate()
H A Dbase.c1312 for (i = 0; i < args->args_count; i++) { in of_phandle_iterator_init()
1487 out_args->args_count = c; in __of_parse_phandle_with_args()
1672 out_args->args_count = list_size = new_size; in of_parse_phandle_with_args_map()
2178 * @arg->args_count will be set to the number of output specifier cells
2180 * @arg->args[0..args_count-1] will contain the translated output
2212 arg->args_count = 1; in of_map_id()
2311 arg->args_count = cells; in of_map_id()
2326 arg->args_count = 1;
2341 * @arg->args_count will be set to the number of output specifier cells
2342 * and @arg->args[0..args_count
[all...]
/linux/drivers/thermal/
H A Dthermal_of.c164 if ((sensor == sensor_specs.np) && id == (sensor_specs.args_count ? in of_thermal_zone_find()
271 if (cooling_spec.args_count < 2 || cooling_spec.args_count > 3) { in thermal_of_get_cooling_spec()
279 if (cooling_spec.args_count == 3 && in thermal_of_get_cooling_spec()
283 if (cooling_spec.args_count != 3) { in thermal_of_get_cooling_spec()
/linux/drivers/cpuidle/
H A Ddt_idle_genpd.c141 child.args_count = 0; in dt_idle_pd_init_topology()
162 child.args_count = 0; in dt_idle_pd_remove_topology()
/linux/drivers/gpio/
H A Dgpiolib-of.c143 if (chip->of_gpio_n_cells != gpiospec->args_count) in of_xlate_and_get_gpiod_flags()
733 args.args_count = gpiospec->nargs; in of_gpiochip_get_lflags()
735 for (int i = 0; i < args.args_count; i++) in of_gpiochip_get_lflags()
856 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) in of_gpio_twocell_xlate()
892 if (WARN_ON(gpiospec->args_count != 3)) in of_gpio_threecell_xlate()
/linux/drivers/pci/
H A Dof_property.c243 out_irq[i].args_count = 1; in of_pci_prop_intr_map()
260 map_sz += 5 + addr_sz[i] + out_irq[i].args_count; in of_pci_prop_intr_map()
306 out_irq[i].args_count * sizeof(u32)); in of_pci_prop_intr_map()
307 mapp += out_irq[i].args_count; in of_pci_prop_intr_map()
/linux/drivers/dma/
H A Dlpc32xx-dmamux.c101 if (dma_spec->args_count != 3) { in lpc32xx_dmamux_reserve()
148 dma_spec->args_count = 2; in lpc32xx_dmamux_reserve()
H A Dlpc18xx-dmamux.c62 if (dma_spec->args_count != 3) { in lpc18xx_dmamux_reserve()
106 dma_spec->args_count = 2; in lpc18xx_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/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/soc/renesas/
H A Drzn1_irqmux.c38 if (parent_args->args_count != 3 || parent_args->args[0] != GIC_SPI) { in rzn1_irqmux_parent_args_to_line_index()
/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/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c1505 if (clkspec->args_count == 0) in qmp_usbc_clks_hw_get()
1918 int ret, args_count; in qmp_usbc_parse_tcsr() local
1920 args_count = of_property_count_u32_elems(dev->of_node, "qcom,tcsr-reg"); in qmp_usbc_parse_tcsr()
1921 args_count = args_count - 1; in qmp_usbc_parse_tcsr()
1923 args_count, 0, &tcsr_args); in qmp_usbc_parse_tcsr()
1936 if (args_count > 1) in qmp_usbc_parse_tcsr()
1946 if (args->args_count == 0) in qmp_usbc_phy_xlate()
/linux/drivers/dma/stm32/
H A Dstm32-dmamux.c96 if (dma_spec->args_count != 3) { in stm32_dmamux_route_allocate()
157 dma_spec->args_count = 4; in stm32_dmamux_route_allocate()
/linux/drivers/clk/renesas/
H A Dr8a78000-cpg.c72 if (spec->args_count != 1) in r8a78000_clk_get()
/linux/tools/perf/util/
H A Dprobe-file.c814 int i, args_count, err; in synthesize_sdt_probe_command()
837 char **args = argv_split(note->args, &args_count); in synthesize_sdt_probe_command()
842 for (i = 0; i < args_count; ) { in synthesize_sdt_probe_command()
857 if (strstr(args[i], "[sp,") && (i+1) < args_count) { in synthesize_sdt_probe_command()
812 int i, args_count, err; synthesize_sdt_probe_command() local
/linux/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c148 child.args_count = 0; in exynos_pd_probe()
/linux/drivers/clk/ux500/
H A Dreset-prcc.c141 if (reset_spec->args_count != 2) in u8500_prcc_reset_xlate()
/linux/drivers/clk/sunxi/
H A Dclk-a10-ve.c74 if (WARN_ON(reset_spec->args_count != 0)) in sunxi_ve_of_xlate()

123456