Home
last modified time | relevance | path

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

/drivers/clk/hisilicon/
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()
190 int nums, struct hisi_clock_data *data) in hisi_clk_register_phase() argument
196 for (i = 0; i < nums; i++) { in hisi_clk_register_phase()
213 int nums, struct hisi_clock_data *data) in hisi_clk_register_divider() argument
219 for (i = 0; i < nums; i++) { in hisi_clk_register_divider()
[all …]
Dclk.h127 int nums, struct hisi_clock_data *data);
140 int nums, struct hisi_clock_data *data) \
144 for (i = 0; i < nums; i++) { \
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()
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()
/drivers/media/common/videobuf2/
Dframe_vector.c109 unsigned long *nums; in frame_vector_to_pages() local
114 nums = frame_vector_pfns(vec); in frame_vector_to_pages()
116 if (!pfn_valid(nums[i])) in frame_vector_to_pages()
118 pages = (struct page **)nums; in frame_vector_to_pages()
120 pages[i] = pfn_to_page(nums[i]); in frame_vector_to_pages()
135 unsigned long *nums; in frame_vector_to_pfns() local
141 nums = (unsigned long *)pages; in frame_vector_to_pfns()
143 nums[i] = page_to_pfn(pages[i]); in frame_vector_to_pfns()
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()
Dvideobuf2-dma-contig.c512 unsigned long *nums = frame_vector_pfns(vec); in vb2_dc_get_userptr() local
519 if (nums[i-1] + 1 != nums[i]) in vb2_dc_get_userptr()
522 __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); in vb2_dc_get_userptr()
/drivers/clk/socfpga/
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()
358 int nums, struct stratix10_clock_data *data) in agilex_clk_register_c_perip() argument
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()
[all …]
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()
/drivers/iio/pressure/
Ddps310.c627 s64 nums[7]; in dps310_calculate_pressure() local
654 nums[0] = (s64)data->c00; in dps310_calculate_pressure()
656 nums[1] = p * (s64)data->c10; in dps310_calculate_pressure()
658 nums[2] = p * p * (s64)data->c20; in dps310_calculate_pressure()
660 nums[3] = p * p * p * (s64)data->c30; in dps310_calculate_pressure()
662 nums[4] = t * (s64)data->c01; in dps310_calculate_pressure()
664 nums[5] = t * p * (s64)data->c11; in dps310_calculate_pressure()
666 nums[6] = t * p * p * (s64)data->c21; in dps310_calculate_pressure()
673 if (nums[i] < 0LL) { in dps310_calculate_pressure()
674 pressure -= div64_u64_rem(-nums[i], denoms[i], &irem); in dps310_calculate_pressure()
[all …]
/drivers/usb/serial/
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,
/drivers/crypto/hisilicon/sec2/
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()
/drivers/usb/gadget/function/
Df_fs.c3465 short *nums = func->interfaces_nums; in ffs_func_revmap_intf() local
3468 for (; count; --count, ++nums) { in ffs_func_revmap_intf()
3469 if (*nums >= 0 && *nums == intf) in ffs_func_revmap_intf()
3470 return nums - func->interfaces_nums; in ffs_func_revmap_intf()
/drivers/gpu/drm/amd/include/
Dkgd_pp_interface.h174 uint32_t nums; member
/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c437 buf_len = sysfs_emit(buf, "states: %d\n", data.nums); in amdgpu_get_pp_num_states()
438 for (i = 0; i < data.nums; i++) in amdgpu_get_pp_num_states()
479 for (i = 0; i < data.nums; i++) { in amdgpu_get_pp_cur_state()
484 if (i == data.nums) in amdgpu_get_pp_cur_state()
/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c621 data->nums = hwmgr->num_ps; in pp_dpm_get_pp_num_states()
/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c450 state_info->nums = 1; in smu_get_power_num_states()