/linux/drivers/media/common/videobuf2/ |
H A D | frame_vector.c | 113 unsigned long *nums; in frame_vector_to_pages() local 118 nums = frame_vector_pfns(vec); in frame_vector_to_pages() 120 if (!pfn_valid(nums[i])) in frame_vector_to_pages() 122 pages = (struct page **)nums; in frame_vector_to_pages() 124 pages[i] = pfn_to_page(nums[i]); in frame_vector_to_pages() 139 unsigned long *nums; in frame_vector_to_pfns() local 145 nums = (unsigned long *)pages; in frame_vector_to_pfns() 147 nums[i] = page_to_pfn(pages[i]); in frame_vector_to_pfns()
|
H A D | videobuf2-vmalloc.c | 98 unsigned long *nums = frame_vector_pfns(vec); in vb2_vmalloc_get_userptr() local 105 if (nums[i-1] + 1 != nums[i]) in vb2_vmalloc_get_userptr() 108 ioremap(__pfn_to_phys(nums[0]), size + offset); in vb2_vmalloc_get_userptr()
|
H A D | videobuf2-dma-contig.c | 608 unsigned long *nums = frame_vector_pfns(vec); in vb2_dc_get_userptr() local 615 if (nums[i-1] + 1 != nums[i]) in vb2_dc_get_userptr() 618 __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); in vb2_dc_get_userptr()
|
/linux/drivers/clk/hisilicon/ |
H A 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 …]
|
H A 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++) { \
|
H A 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()
|
H A D | clk-hi3559a.c | 455 int nums, struct hisi_clock_data *data, struct device *dev) in hisi_clk_register_pll() argument 463 p_clk = devm_kcalloc(dev, nums, sizeof(*p_clk), GFP_KERNEL); in hisi_clk_register_pll() 467 for (i = 0; i < nums; i++) { in hisi_clk_register_pll()
|
/linux/net/sctp/ |
H A D | stream.c | 526 __u16 i, nums; in sctp_process_strreset_outreq() local 554 nums = (ntohs(param.p->length) - sizeof(*outreq)) / sizeof(__u16); in sctp_process_strreset_outreq() 556 for (i = 0; i < nums; i++) { in sctp_process_strreset_outreq() 587 if (nums) in sctp_process_strreset_outreq() 588 for (i = 0; i < nums; i++) in sctp_process_strreset_outreq() 597 SCTP_STREAM_RESET_INCOMING_SSN, nums, str_p, GFP_ATOMIC); in sctp_process_strreset_outreq() 615 __u16 i, nums; in sctp_process_strreset_inreq() local 640 nums = (ntohs(param.p->length) - sizeof(*inreq)) / sizeof(__u16); in sctp_process_strreset_inreq() 642 for (i = 0; i < nums; i++) { in sctp_process_strreset_inreq() 649 if (!sctp_stream_outq_is_empty(stream, nums, str_p)) { in sctp_process_strreset_inreq() [all …]
|
/linux/drivers/clk/socfpga/ |
H A D | clk-agilex.c | 338 int nums, struct stratix10_clock_data *data) in n5x_clk_register_c_perip() argument 344 for (i = 0; i < nums; i++) { in n5x_clk_register_c_perip() 357 int nums, struct stratix10_clock_data *data) in agilex_clk_register_c_perip() argument 363 for (i = 0; i < nums; i++) { in agilex_clk_register_c_perip() 376 int nums, struct stratix10_clock_data *data) in agilex_clk_register_cnt_perip() argument 382 for (i = 0; i < nums; i++) { in agilex_clk_register_cnt_perip() 396 int nums, struct stratix10_clock_data *data) in agilex_clk_register_gate() argument 402 for (i = 0; i < nums; i++) { in agilex_clk_register_gate() 416 int nums, struct stratix10_clock_data *data) in agilex_clk_register_pll() argument 422 for (i = 0; i < nums; i++) { in agilex_clk_register_pll() [all …]
|
H A D | clk-s10.c | 307 int nums, struct stratix10_clock_data *data) in s10_clk_register_c_perip() argument 313 for (i = 0; i < nums; i++) { in s10_clk_register_c_perip() 326 int nums, struct stratix10_clock_data *data) in s10_clk_register_cnt_perip() argument 332 for (i = 0; i < nums; i++) { in s10_clk_register_cnt_perip() 346 int nums, struct stratix10_clock_data *data) in s10_clk_register_gate() argument 352 for (i = 0; i < nums; i++) { in s10_clk_register_gate() 366 int nums, struct stratix10_clock_data *data) in s10_clk_register_pll() argument 372 for (i = 0; i < nums; i++) { in s10_clk_register_pll()
|
/linux/drivers/iio/pressure/ |
H A D | dps310.c | 643 s64 nums[7]; in dps310_calculate_pressure() local 672 nums[0] = (s64)data->c00; in dps310_calculate_pressure() 674 nums[1] = p * (s64)data->c10; in dps310_calculate_pressure() 676 nums[2] = p * p * (s64)data->c20; in dps310_calculate_pressure() 678 nums[3] = p * p * p * (s64)data->c30; in dps310_calculate_pressure() 680 nums[4] = t * (s64)data->c01; in dps310_calculate_pressure() 682 nums[5] = t * p * (s64)data->c11; in dps310_calculate_pressure() 684 nums[6] = t * p * p * (s64)data->c21; in dps310_calculate_pressure() 691 if (nums[i] < 0LL) { in dps310_calculate_pressure() 692 pressure -= div64_u64_rem(-nums[i], denoms[i], &irem); in dps310_calculate_pressure() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | usdt.c | 15 static volatile short nums[] = {-1, -2, -3, -4}; variable 38 y / 7, bla, &bla, -9, nums[x], in trigger_func() 39 nums[idx], t1.y); in trigger_func() 103 ASSERT_EQ(bss->usdt12_args[9], nums[1], "usdt12_arg10"); in subtest_basic_usdt() 104 ASSERT_EQ(bss->usdt12_args[10], nums[idx], "usdt12_arg11"); in subtest_basic_usdt() 125 ASSERT_EQ(bss->usdt12_args[9], nums[2], "usdt12_arg10"); in subtest_basic_usdt()
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | csky,apb-intc.txt | 8 - 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/ |
H A D | hda_generic.c | 241 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 244 for (i = 0; i < nums; i++) in find_idx_in_nid_list() 390 int i, nums; in __parse_nid_path() local 397 nums = snd_hda_get_conn_list(codec, to_nid, &conn); in __parse_nid_path() 398 for (i = 0; i < nums; i++) { in __parse_nid_path() 414 for (i = 0; i < nums; i++) { in __parse_nid_path() 429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path() 787 int n, nums, idx; in activate_amp_in() local 791 nums = snd_hda_get_conn_list(codec, nid, &conn); in activate_amp_in() 792 if (nums < in activate_amp_in() 1070 int nums = snd_hda_get_num_conns(codec, nid); add_sw_ctl() local 3162 int nums = 0; fill_adc_nids() local 3191 int i, n, nums; check_dyn_adc_switch() local 3770 int i, n, nums, err; create_capture_mixers() local 4028 int i, nums; parse_digital() local 4927 int i, nums; mute_all_mixer_nid() local 5973 int i, c, nums; init_input_src() local [all...] |
H A D | patch_via.c | 808 int i, nums; in add_secret_dac_path() local 814 nums = snd_hda_get_connections(codec, spec->gen.mixer_nid, conn, in add_secret_dac_path() 816 if (nums < 0) in add_secret_dac_path() 817 return nums; in add_secret_dac_path() 819 for (i = 0; i < nums; i++) { in add_secret_dac_path() 829 conn[nums++] = nid; in add_secret_dac_path() 832 nums, conn); in add_secret_dac_path()
|
H A D | hda_auto_parser.c | 93 static void reorder_outputs(unsigned int nums, hda_nid_t *pins) in reorder_outputs() argument 95 switch (nums) { in reorder_outputs() 589 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 592 for (i = 0; i < nums; i++) in find_idx_in_nid_list()
|
H A D | hda_codec.c | 268 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() 1632 int nums, step; in snd_hda_set_vmaster_tlv() local 1635 nums = (caps & AC_AMPCAP_NUM_STEPS) >> AC_AMPCAP_NUM_STEPS_SHIFT; in snd_hda_set_vmaster_tlv() 1640 tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = -nums * step; in snd_hda_set_vmaster_tlv()
|
/linux/sound/hda/ |
H A D | hdac_device.c | 408 int nums, err = 0; in snd_hdac_refresh_widgets() local 415 nums = snd_hdac_get_sub_nodes(codec, codec->afg, &start_nid); in snd_hdac_refresh_widgets() 416 if (!start_nid || nums <= 0 || nums >= 0xff) { in snd_hdac_refresh_widgets() 423 err = hda_widget_sysfs_reinit(codec, start_nid, nums); in snd_hdac_refresh_widgets() 427 codec->num_nodes = nums; in snd_hdac_refresh_widgets() 429 codec->end_nid = start_nid + nums; in snd_hdac_refresh_widgets()
|
/linux/drivers/usb/serial/ |
H A 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,
|
/linux/arch/x86/kernel/apic/ |
H A D | x2apic_uv_x.c | 1483 int nums, numn, nump; in build_socket_tables() local 1502 nums = maxsock - minsock + 1; in build_socket_tables() 1506 || (alloc_conv_table(nums, &_socket_to_pnode) < 0) in build_socket_tables() 1508 || (alloc_conv_table(nums, &_socket_to_node) < 0)) { in build_socket_tables() 1563 FREE_1_TO_1_TABLE(_socket_to_node, _min_socket, nums, numn); in build_socket_tables() 1564 FREE_1_TO_1_TABLE(_node_to_socket, _min_socket, nums, numn); in build_socket_tables() 1565 FREE_1_TO_1_TABLE(_socket_to_pnode, _min_pnode, nums, nump); in build_socket_tables() 1566 FREE_1_TO_1_TABLE(_pnode_to_socket, _min_pnode, nums, nump); in build_socket_tables()
|
/linux/sound/pci/cs46xx/ |
H A D | cs46xx_lib.c | 387 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/drivers/crypto/tegra/ |
H A D | tegra-se-aes.c | 88 static void ctr_iv_inc(__u8 *counter, __u8 bits, __u32 nums) in ctr_iv_inc() argument 92 nums += counter[bits]; in ctr_iv_inc() 93 counter[bits] = nums & 0xff; in ctr_iv_inc() 94 nums >>= 8; in ctr_iv_inc() 95 } while (bits && nums); in ctr_iv_inc()
|
/linux/sound/ppc/ |
H A D | awacs.c | 703 static int build_mixers(struct snd_pmac *chip, int nums, in build_mixers() argument 708 for (i = 0; i < nums; i++) { in build_mixers()
|
/linux/drivers/crypto/hisilicon/sec2/ |
H A 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()
|
/linux/include/sound/ |
H A D | hda_codec.h | 355 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int nums,
|