/drivers/clk/hisilicon/ |
D | clk.c | 92 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 …]
|
D | clk.h | 127 int nums, struct hisi_clock_data *data); 140 int nums, struct hisi_clock_data *data) \ 144 for (i = 0; i < nums; i++) { \
|
D | clk-hix5hd2.c | 253 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()
|
D | clk-hi3559a.c | 456 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/ |
D | frame_vector.c | 109 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()
|
D | videobuf2-vmalloc.c | 96 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()
|
D | videobuf2-dma-contig.c | 615 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()
|
/drivers/clk/socfpga/ |
D | clk-agilex.c | 339 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 …]
|
D | clk-s10.c | 308 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/ |
D | dps310.c | 627 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/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 49 u32 *data, u8 nums) in qm_read_regs() argument 53 if (nums < 1 || nums > QM_REGS_MAX_LEN) in qm_read_regs() 56 for (i = 0; i < nums; i++) { in qm_read_regs() 65 u32 *data, u8 nums) in qm_write_regs() argument 69 if (nums < 1 || nums > QM_REGS_MAX_LEN) in qm_write_regs() 72 for (i = 0; i < nums; i++) in qm_write_regs()
|
/drivers/usb/serial/ |
D | sierra.c | 49 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/ |
D | sec_crypto.c | 1378 static void ctr_iv_inc(__u8 *counter, __u8 bits, __u32 nums) in ctr_iv_inc() argument 1382 nums += counter[bits]; in ctr_iv_inc() 1383 counter[bits] = nums & BITS_MASK; in ctr_iv_inc() 1384 nums >>= BYTE_BITS; in ctr_iv_inc() 1385 } while (bits && nums); in ctr_iv_inc()
|
/drivers/usb/gadget/function/ |
D | f_fs.c | 3465 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/ |
D | kgd_pp_interface.h | 188 uint32_t nums; member
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 385 buf_len = sysfs_emit(buf, "states: %d\n", data.nums); in amdgpu_get_pp_num_states() 386 for (i = 0; i < data.nums; i++) in amdgpu_get_pp_num_states() 427 for (i = 0; i < data.nums; i++) { in amdgpu_get_pp_cur_state() 432 if (i == data.nums) in amdgpu_get_pp_cur_state()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 619 data->nums = hwmgr->num_ps; in pp_dpm_get_pp_num_states()
|
/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 453 state_info->nums = 1; in smu_get_power_num_states()
|