Home
last modified time | relevance | path

Searched refs:nums (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/media/common/videobuf2/
A Dframe_vector.c65 unsigned long *nums = frame_vector_pfns(vec); in get_vaddr_frames() local
72 err = follow_pfn(vma, start, &nums[ret]); in get_vaddr_frames()
138 unsigned long *nums; in frame_vector_to_pages() local
143 nums = frame_vector_pfns(vec); in frame_vector_to_pages()
145 if (!pfn_valid(nums[i])) in frame_vector_to_pages()
147 pages = (struct page **)nums; in frame_vector_to_pages()
149 pages[i] = pfn_to_page(nums[i]); in frame_vector_to_pages()
164 unsigned long *nums; in frame_vector_to_pfns() local
170 nums = (unsigned long *)pages; in frame_vector_to_pfns()
172 nums[i] = page_to_pfn(pages[i]); in frame_vector_to_pfns()
A Dvideobuf2-vmalloc.c96 unsigned long *nums = frame_vector_pfns(vec); in vb2_vmalloc_get_userptr() local
103 if (nums[i-1] + 1 != nums[i]) in vb2_vmalloc_get_userptr()
106 ioremap(__pfn_to_phys(nums[0]), size + offset); in vb2_vmalloc_get_userptr()
A Dvideobuf2-dma-contig.c615 unsigned long *nums = frame_vector_pfns(vec); in vb2_dc_get_userptr() local
622 if (nums[i-1] + 1 != nums[i]) in vb2_dc_get_userptr()
625 __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); in vb2_dc_get_userptr()
/linux/drivers/clk/hisilicon/
A Dclk.c92 int nums, struct hisi_clock_data *data) in hisi_clk_register_fixed_rate() argument
97 for (i = 0; i < nums; i++) { in hisi_clk_register_fixed_rate()
121 int nums, in hisi_clk_register_fixed_factor() argument
127 for (i = 0; i < nums; i++) { in hisi_clk_register_fixed_factor()
151 int nums, struct hisi_clock_data *data) in hisi_clk_register_mux() argument
157 for (i = 0; i < nums; i++) { in hisi_clk_register_mux()
196 for (i = 0; i < nums; i++) { in hisi_clk_register_phase()
219 for (i = 0; i < nums; i++) { in hisi_clk_register_divider()
257 for (i = 0; i < nums; i++) { in hisi_clk_register_gate()
294 for (i = 0; i < nums; i++) { in hisi_clk_register_gate_sep()
[all …]
A Dclk.h127 int nums, struct hisi_clock_data *data);
140 int nums, struct hisi_clock_data *data) \
144 for (i = 0; i < nums; i++) { \
A Dclk-hix5hd2.c253 hix5hd2_clk_register_complex(struct hix5hd2_complex_clock *clks, int nums, in hix5hd2_clk_register_complex() argument
259 for (i = 0; i < nums; i++) { in hix5hd2_clk_register_complex()
A Dclk-hi3559a.c456 int nums, struct hisi_clock_data *data, struct device *dev) in hisi_clk_register_pll() argument
464 p_clk = devm_kzalloc(dev, sizeof(*p_clk) * nums, GFP_KERNEL); in hisi_clk_register_pll()
469 for (i = 0; i < nums; i++) { in hisi_clk_register_pll()
/linux/net/sctp/
A Dstream.c528 __u16 i, nums; in sctp_process_strreset_outreq() local
589 if (nums) in sctp_process_strreset_outreq()
590 for (i = 0; i < nums; i++) in sctp_process_strreset_outreq()
617 __u16 i, nums; in sctp_process_strreset_inreq() local
661 if (nums) in sctp_process_strreset_inreq()
662 for (i = 0; i < nums; i++) in sctp_process_strreset_inreq()
924 __u16 i, nums, flags = 0; in sctp_process_strreset_resp() local
954 if (nums) { in sctp_process_strreset_resp()
975 nums, str_p, GFP_ATOMIC); in sctp_process_strreset_resp()
1058 0, nums, GFP_ATOMIC); in sctp_process_strreset_resp()
[all …]
/linux/drivers/clk/socfpga/
A Dclk-agilex.c339 int nums, struct stratix10_clock_data *data) in n5x_clk_register_c_perip() argument
345 for (i = 0; i < nums; i++) { in n5x_clk_register_c_perip()
364 for (i = 0; i < nums; i++) { in agilex_clk_register_c_perip()
377 int nums, struct stratix10_clock_data *data) in agilex_clk_register_cnt_perip() argument
383 for (i = 0; i < nums; i++) { in agilex_clk_register_cnt_perip()
397 int nums, struct stratix10_clock_data *data) in agilex_clk_register_gate() argument
403 for (i = 0; i < nums; i++) { in agilex_clk_register_gate()
417 int nums, struct stratix10_clock_data *data) in agilex_clk_register_pll() argument
423 for (i = 0; i < nums; i++) { in agilex_clk_register_pll()
437 int nums, struct stratix10_clock_data *data) in n5x_clk_register_pll() argument
[all …]
A Dclk-s10.c308 int nums, struct stratix10_clock_data *data) in s10_clk_register_c_perip() argument
314 for (i = 0; i < nums; i++) { in s10_clk_register_c_perip()
327 int nums, struct stratix10_clock_data *data) in s10_clk_register_cnt_perip() argument
333 for (i = 0; i < nums; i++) { in s10_clk_register_cnt_perip()
347 int nums, struct stratix10_clock_data *data) in s10_clk_register_gate() argument
353 for (i = 0; i < nums; i++) { in s10_clk_register_gate()
367 int nums, struct stratix10_clock_data *data) in s10_clk_register_pll() argument
373 for (i = 0; i < nums; i++) { in s10_clk_register_pll()
/linux/drivers/iio/pressure/
A Ddps310.c477 s64 nums[7]; in dps310_calculate_pressure() local
504 nums[0] = (s64)data->c00; in dps310_calculate_pressure()
506 nums[1] = p * (s64)data->c10; in dps310_calculate_pressure()
508 nums[2] = p * p * (s64)data->c20; in dps310_calculate_pressure()
510 nums[3] = p * p * p * (s64)data->c30; in dps310_calculate_pressure()
512 nums[4] = t * (s64)data->c01; in dps310_calculate_pressure()
514 nums[5] = t * p * (s64)data->c11; in dps310_calculate_pressure()
516 nums[6] = t * p * p * (s64)data->c21; in dps310_calculate_pressure()
523 if (nums[i] < 0LL) { in dps310_calculate_pressure()
524 pressure -= div64_u64_rem(-nums[i], denoms[i], &irem); in dps310_calculate_pressure()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dcsky,apb-intc.txt8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
10 - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
/linux/sound/pci/hda/
A Dhda_generic.c384 int i, nums; in __parse_nid_path() local
786 if (nums < 0) in activate_amp_in()
791 nums = 1; in activate_amp_in()
3182 nums = 0; in check_dyn_adc_switch()
3191 nums++; in check_dyn_adc_switch()
3210 nums = 0; in check_dyn_adc_switch()
3224 nums++; in check_dyn_adc_switch()
3762 nums = 1; in create_capture_mixers()
4015 nums = 0; in parse_digital()
4038 nums++; in parse_digital()
[all …]
A Dpatch_via.c816 int i, nums; in add_secret_dac_path() local
822 nums = snd_hda_get_connections(codec, spec->gen.mixer_nid, conn, in add_secret_dac_path()
824 for (i = 0; i < nums; i++) { in add_secret_dac_path()
834 conn[nums++] = nid; in add_secret_dac_path()
837 nums, conn); in add_secret_dac_path()
A Dhda_auto_parser.c93 static void reorder_outputs(unsigned int nums, hda_nid_t *pins) in reorder_outputs() argument
97 switch (nums) { in reorder_outputs()
593 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument
596 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
A Dhda_codec.c268 int i, nums; in snd_hda_get_conn_index() local
270 nums = snd_hda_get_conn_list(codec, mux, &conn); in snd_hda_get_conn_index()
271 for (i = 0; i < nums; i++) in snd_hda_get_conn_index()
281 for (i = 0; i < nums; i++) { in snd_hda_get_conn_index()
1589 int nums, step; in snd_hda_set_vmaster_tlv() local
1592 nums = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; in snd_hda_set_vmaster_tlv()
1597 tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = -nums * step; in snd_hda_set_vmaster_tlv()
/linux/sound/hda/
A Dhdac_device.c407 int nums, err = 0; in snd_hdac_refresh_widgets() local
414 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets()
415 if (!start_nid || nums <= 0 || nums >= 0xff) { in snd_hdac_refresh_widgets()
422 err = hda_widget_sysfs_reinit(codec, start_nid, nums); in snd_hdac_refresh_widgets()
426 codec->num_nodes = nums; in snd_hdac_refresh_widgets()
428 codec->end_nid = start_nid + nums; in snd_hdac_refresh_widgets()
/linux/drivers/usb/serial/
A Dsierra.c49 const u8 *nums; /* array of interface numbers */ member
111 if (list->nums[i] == ifnum) in is_listed()
158 .nums = hi_memory_typeA_ifaces,
164 .nums = hi_memory_typeB_ifaces,
171 .nums = direct_ip_non_serial_ifaces,
/linux/sound/pci/cs46xx/
A Dcs46xx_lib.c387 unsigned int nums, fwlen, fwsize; in load_firmware() local
413 nums = module->symbol_table.nsymbols = le32_to_cpu(fwdat[fwlen++]); in load_firmware()
414 if (nums >= 40) in load_firmware()
417 kcalloc(nums, sizeof(struct dsp_symbol_entry), GFP_KERNEL); in load_firmware()
420 for (i = 0; i < nums; i++) { in load_firmware()
433 nums = module->nsegments = le32_to_cpu(fwdat[fwlen++]); in load_firmware()
434 if (nums > 10) in load_firmware()
437 kcalloc(nums, sizeof(struct dsp_segment_desc), GFP_KERNEL); in load_firmware()
440 for (i = 0; i < nums; i++) { in load_firmware()
/linux/Documentation/vm/
A Dpage_owner.rst110 If you want to sort by the pages nums of buf, use the ``-m`` parameter.
/linux/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.c1325 static void ctr_iv_inc(__u8 *counter, __u8 bits, __u32 nums) in ctr_iv_inc() argument
1329 nums += counter[bits]; in ctr_iv_inc()
1330 counter[bits] = nums & BITS_MASK; in ctr_iv_inc()
1331 nums >>= BYTE_BITS; in ctr_iv_inc()
1332 } while (bits && nums); in ctr_iv_inc()
/linux/sound/ppc/
A Dawacs.c702 static int build_mixers(struct snd_pmac *chip, int nums, in build_mixers() argument
707 for (i = 0; i < nums; i++) { in build_mixers()
/linux/include/sound/
A Dhda_codec.h351 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums,
/linux/drivers/usb/gadget/function/
A Df_fs.c3418 short *nums = func->interfaces_nums; in ffs_func_revmap_intf() local
3421 for (; count; --count, ++nums) { in ffs_func_revmap_intf()
3422 if (*nums >= 0 && *nums == intf) in ffs_func_revmap_intf()
3423 return nums - func->interfaces_nums; in ffs_func_revmap_intf()
/linux/drivers/gpu/drm/amd/include/
A Dkgd_pp_interface.h174 uint32_t nums; member

Completed in 110 milliseconds

12