/linux-4.19.296/drivers/clk/mmp/ |
D | clk.c | 30 int i; in mmp_register_fixed_rate_clks() local 33 for (i = 0; i < size; i++) { in mmp_register_fixed_rate_clks() 34 clk = clk_register_fixed_rate(NULL, clks[i].name, in mmp_register_fixed_rate_clks() 35 clks[i].parent_name, in mmp_register_fixed_rate_clks() 36 clks[i].flags, in mmp_register_fixed_rate_clks() 37 clks[i].fixed_rate); in mmp_register_fixed_rate_clks() 40 __func__, clks[i].name); in mmp_register_fixed_rate_clks() 43 if (clks[i].id) in mmp_register_fixed_rate_clks() 44 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks() 53 int i; in mmp_register_fixed_factor_clks() local [all …]
|
/linux-4.19.296/drivers/clk/hisilicon/ |
D | clk.c | 109 int i; in hisi_clk_register_fixed_rate() local 111 for (i = 0; i < nums; i++) { in hisi_clk_register_fixed_rate() 112 clk = clk_register_fixed_rate(NULL, clks[i].name, in hisi_clk_register_fixed_rate() 113 clks[i].parent_name, in hisi_clk_register_fixed_rate() 114 clks[i].flags, in hisi_clk_register_fixed_rate() 115 clks[i].fixed_rate); in hisi_clk_register_fixed_rate() 118 __func__, clks[i].name); in hisi_clk_register_fixed_rate() 121 data->clk_data.clks[clks[i].id] = clk; in hisi_clk_register_fixed_rate() 127 while (i--) in hisi_clk_register_fixed_rate() 128 clk_unregister_fixed_rate(data->clk_data.clks[clks[i].id]); in hisi_clk_register_fixed_rate() [all …]
|
/linux-4.19.296/drivers/isdn/mISDN/ |
D | dsp_audio.c | 77 int i; in alaw2linear() local 81 i = ((alaw & 0x0F) << 4) + 8 /* rounding error */; in alaw2linear() 84 i = (i + 0x100) << (seg - 1); in alaw2linear() 85 return (short int) ((alaw & 0x80) ? i : -i); in alaw2linear() 143 int i; in dsp_audio_generate_law_tables() local 144 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables() 145 dsp_audio_alaw_to_s32[i] = alaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables() 147 for (i = 0; i < 256; i++) in dsp_audio_generate_law_tables() 148 dsp_audio_ulaw_to_s32[i] = ulaw2linear(bitrev8((u8)i)); in dsp_audio_generate_law_tables() 150 for (i = 0; i < 256; i++) { in dsp_audio_generate_law_tables() [all …]
|
/linux-4.19.296/include/sound/ |
D | pcm_params.h | 38 #define MASK_OFS(i) ((i) >> 5) argument 39 #define MASK_BIT(i) (1U << ((i) & 31)) argument 58 int i; in snd_mask_empty() local 59 for (i = 0; i < SNDRV_MASK_SIZE; i++) in snd_mask_empty() 60 if (mask->bits[i]) in snd_mask_empty() 67 int i; in snd_mask_min() local 68 for (i = 0; i < SNDRV_MASK_SIZE; i++) { in snd_mask_min() 69 if (mask->bits[i]) in snd_mask_min() 70 return __ffs(mask->bits[i]) + (i << 5); in snd_mask_min() 77 int i; in snd_mask_max() local [all …]
|
/linux-4.19.296/fs/hpfs/ |
D | inode.c | 14 void hpfs_init_inode(struct inode *i) in hpfs_init_inode() argument 16 struct super_block *sb = i->i_sb; in hpfs_init_inode() 17 struct hpfs_inode_info *hpfs_inode = hpfs_i(i); in hpfs_init_inode() 19 i->i_uid = hpfs_sb(sb)->sb_uid; in hpfs_init_inode() 20 i->i_gid = hpfs_sb(sb)->sb_gid; in hpfs_init_inode() 21 i->i_mode = hpfs_sb(sb)->sb_mode; in hpfs_init_inode() 22 i->i_size = -1; in hpfs_init_inode() 23 i->i_blocks = -1; in hpfs_init_inode() 39 i->i_ctime.tv_sec = i->i_ctime.tv_nsec = 0; in hpfs_init_inode() 40 i->i_mtime.tv_sec = i->i_mtime.tv_nsec = 0; in hpfs_init_inode() [all …]
|
D | name.c | 44 int i; in hpfs_chk_name() local 48 for (i = 0; i < *len; i++) if (not_allowed_char(name[i])) return -EINVAL; in hpfs_chk_name() 58 int i; in hpfs_translate_name() local 61 for (i = 0; i < len; i++) in hpfs_translate_name() 62 pr_cont("%c", from[i]); in hpfs_translate_name() 71 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]); in hpfs_translate_name() 80 unsigned i; in hpfs_compare_names() local 82 for (i = 0; i < l; i++) { in hpfs_compare_names() 83 unsigned char c1 = upcase(hpfs_sb(s)->sb_cp_table,n1[i]); in hpfs_compare_names() 84 unsigned char c2 = upcase(hpfs_sb(s)->sb_cp_table,n2[i]); in hpfs_compare_names() [all …]
|
/linux-4.19.296/lib/reed_solomon/ |
D | decode_rs.c | 15 int i, j, r, k, pad; variable 46 for (i = 0; i < nroots; i++) { 50 if (s[i] != nn) 60 for (i = 0; i < nroots; i++) 61 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk; 64 for (i = 0; i < nroots; i++) { 65 if (syn[i] == 0) { 66 syn[i] = (((uint16_t) data[j]) ^ 69 syn[i] = ((((uint16_t) data[j]) ^ 71 alpha_to[rs_modnn(rs, index_of[syn[i]] + [all …]
|
/linux-4.19.296/lib/ |
D | crc32test.c | 666 int i; in crc32c_test() local 677 for (i = 0; i < 100; i++) { in crc32c_test() 678 bytes += 2*test[i].length; in crc32c_test() 680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test() 681 test[i].start, test[i].length); in crc32c_test() 688 for (i = 0; i < 100; i++) { in crc32c_test() 689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test() 690 test[i].start, test[i].length)) in crc32c_test() 711 int i, j; in crc32c_combine_test() local 714 for (i = 0; i < 10; i++) { in crc32c_combine_test() [all …]
|
D | test_ida.c | 33 int i, id; in ida_check_alloc() local 35 for (i = 0; i < 10000; i++) in ida_check_alloc() 36 IDA_BUG_ON(ida, ida_alloc(ida, GFP_KERNEL) != i); in ida_check_alloc() 40 for (i = 0; i < 3; i++) { in ida_check_alloc() 43 if (i == 2) in ida_check_alloc() 47 for (i = 0; i < 5000; i++) in ida_check_alloc() 48 ida_free(ida, i); in ida_check_alloc() 86 unsigned long i; in ida_check_leaf() local 88 for (i = 0; i < IDA_BITMAP_BITS; i++) { in ida_check_leaf() 90 base + i); in ida_check_leaf() [all …]
|
D | build_OID_registry | 53 for (my $i = 0; $i <= $#names; $i++) { 54 my $name = $names[$i]; 55 my $oid = $oids[$i]; 83 for (my $i = 0; $i <= $#names; $i++) { 84 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n" 94 for (my $i = 0; $i <= $#names; $i++) { 97 my @components = split(/[.]/, $oids[$i]); 121 for (my $i = 0; $i <= $#names; $i++) { 122 my @octets = @{$encoded_oids[$i]}; 139 for (my $i = 0; $i <= $#names; $i++) { [all …]
|
D | decompress_bunzip2.c | 162 i, j, k, t, runPos, symCount, symTotal, nSelectors, *byteCount; in get_next_block() local 175 i = get_bits(bd, 24); in get_next_block() 178 if ((i == 0x177245) && (j == 0x385090)) in get_next_block() 180 if ((i != 0x314159) || (j != 0x265359)) in get_next_block() 197 for (i = 0; i < 16; i++) { in get_next_block() 198 if (t&(1 << (15-i))) { in get_next_block() 202 symToByte[symTotal++] = (16*i)+j; in get_next_block() 217 for (i = 0; i < groupCount; i++) in get_next_block() 218 mtfSymbol[i] = i; in get_next_block() 219 for (i = 0; i < nSelectors; i++) { in get_next_block() [all …]
|
D | test_rhashtable.c | 143 unsigned int i; in test_rht_lookup() local 145 for (i = 0; i < entries; i++) { in test_rht_lookup() 147 bool expected = !(i % 2); in test_rht_lookup() 149 .id = i, in test_rht_lookup() 152 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup() 165 if (obj->value.id != i) { in test_rht_lookup() 167 obj->value.id, i); in test_rht_lookup() 221 unsigned int i, insert_retries = 0; in test_rhashtable() local 230 for (i = 0; i < entries; i++) { in test_rhashtable() 231 struct test_obj *obj = &array[i]; in test_rhashtable() [all …]
|
D | btree.c | 107 size_t i; in longcmp() local 109 for (i = 0; i < n; i++) { in longcmp() 110 if (l1[i] < l2[i]) in longcmp() 112 if (l1[i] > l2[i]) in longcmp() 121 size_t i; in longcpy() local 123 for (i = 0; i < n; i++) in longcpy() 124 dest[i] = src[i]; in longcpy() 130 size_t i; in longset() local 132 for (i = 0; i < n; i++) in longset() 133 s[i] = c; in longset() [all …]
|
D | ts_bm.c | 65 unsigned int i, text_len, consumed = state->offset; in bm_find() local 81 for (i = 0; i < bm->patlen; i++) in bm_find() 82 if ((icase ? toupper(text[shift-i]) in bm_find() 83 : text[shift-i]) in bm_find() 84 != bm->pattern[bm->patlen-1-i]) in bm_find() 91 next: bs = bm->bad_shift[text[shift-i]]; in bm_find() 94 shift = max_t(int, shift-i+bs, shift+bm->good_shift[i]); in bm_find() 102 static int subpattern(u8 *pattern, int i, int j, int g) in subpattern() argument 104 int x = i+g-1, y = j+g-1, ret = 0; in subpattern() 112 ret = pattern[i-1] != pattern[j-1]; in subpattern() [all …]
|
D | iov_iter.c | 12 #define iterate_iovec(i, n, __v, __p, skip, STEP) { \ argument 15 __p = i->iov; \ 40 #define iterate_kvec(i, n, __v, __p, skip, STEP) { \ argument 42 __p = i->kvec; \ 63 #define iterate_bvec(i, n, __v, __bi, skip, STEP) { \ argument 68 for_each_bvec(__v, i->bvec, __bi, __start) { \ 75 #define iterate_all_kinds(i, n, v, I, B, K) { \ argument 77 size_t skip = i->iov_offset; \ 78 if (unlikely(i->type & ITER_BVEC)) { \ 81 iterate_bvec(i, n, v, __bi, skip, (B)) \ [all …]
|
/linux-4.19.296/drivers/clk/pistachio/ |
D | clk.c | 49 unsigned int i; in pistachio_clk_register_provider() local 51 for (i = 0; i < p->clk_data.clk_num; i++) { in pistachio_clk_register_provider() 52 if (IS_ERR(p->clk_data.clks[i])) in pistachio_clk_register_provider() 53 pr_warn("Failed to register clock %d: %ld\n", i, in pistachio_clk_register_provider() 54 PTR_ERR(p->clk_data.clks[i])); in pistachio_clk_register_provider() 65 unsigned int i; in pistachio_clk_register_gate() local 67 for (i = 0; i < num; i++) { in pistachio_clk_register_gate() 68 clk = clk_register_gate(NULL, gate[i].name, gate[i].parent, in pistachio_clk_register_gate() 70 p->base + gate[i].reg, gate[i].shift, in pistachio_clk_register_gate() 72 p->clk_data.clks[gate[i].id] = clk; in pistachio_clk_register_gate() [all …]
|
/linux-4.19.296/fs/ufs/ |
D | util.c | 23 unsigned i, j ; in _ubh_bread_() local 35 for (i = 0; i < count; i++) in _ubh_bread_() 36 if (!(ubh->bh[i] = sb_bread(sb, fragment + i))) in _ubh_bread_() 38 for (; i < UFS_MAXFRAG; i++) in _ubh_bread_() 39 ubh->bh[i] = NULL; in _ubh_bread_() 42 for (j = 0; j < i; j++) in _ubh_bread_() 51 unsigned i, j; in ubh_bread_uspi() local 60 for (i = 0; i < count; i++) in ubh_bread_uspi() 61 if (!(USPI_UBH(uspi)->bh[i] = sb_bread(sb, fragment + i))) in ubh_bread_uspi() 63 for (; i < UFS_MAXFRAG; i++) in ubh_bread_uspi() [all …]
|
/linux-4.19.296/crypto/ |
D | twofish_common.c | 481 #define CALC_S(a, b, c, d, i, w, x, y, z) \ argument 482 if (key[i]) { \ 483 tmp = poly_to_exp[key[i] - 1]; \ 496 #define CALC_SB_2(i, a, b) \ argument 497 ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ 498 ctx->s[1][i] = mds[1][q0[(b) ^ sb] ^ sf]; \ 499 ctx->s[2][i] = mds[2][q1[(a) ^ sc] ^ sg]; \ 500 ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh] 504 #define CALC_SB192_2(i, a, b) \ argument 505 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ [all …]
|
/linux-4.19.296/drivers/clk/ |
D | clk-bulk.c | 36 int i; in clk_bulk_get() local 38 for (i = 0; i < num_clks; i++) in clk_bulk_get() 39 clks[i].clk = NULL; in clk_bulk_get() 41 for (i = 0; i < num_clks; i++) { in clk_bulk_get() 42 clks[i].clk = clk_get(dev, clks[i].id); in clk_bulk_get() 43 if (IS_ERR(clks[i].clk)) { in clk_bulk_get() 44 ret = PTR_ERR(clks[i].clk); in clk_bulk_get() 47 clks[i].id, ret); in clk_bulk_get() 48 clks[i].clk = NULL; in clk_bulk_get() 56 clk_bulk_put(i, clks); in clk_bulk_get() [all …]
|
/linux-4.19.296/drivers/s390/block/ |
D | xpram.c | 266 int i; in xpram_setup_sizes() local 281 for (i = 0; i < xpram_devs; i++) { in xpram_setup_sizes() 282 if (sizes[i]) { in xpram_setup_sizes() 283 size = simple_strtoull(sizes[i], &sizes_end, 0); in xpram_setup_sizes() 293 xpram_sizes[i] = (size + 3) & -4UL; in xpram_setup_sizes() 295 if (xpram_sizes[i]) in xpram_setup_sizes() 296 mem_needed += xpram_sizes[i]; in xpram_setup_sizes() 302 for (i = 0; i < xpram_devs; i++) { in xpram_setup_sizes() 303 if (xpram_sizes[i]) in xpram_setup_sizes() 305 i, xpram_sizes[i]); in xpram_setup_sizes() [all …]
|
/linux-4.19.296/drivers/thunderbolt/ |
D | path.c | 66 int i, res; in __tb_path_deallocate_nfc() local 67 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deallocate_nfc() 68 res = tb_port_add_nfc_credits(path->hops[i].in_port, in __tb_path_deallocate_nfc() 71 tb_port_warn(path->hops[i].in_port, in __tb_path_deallocate_nfc() 73 i); in __tb_path_deallocate_nfc() 79 int i, res; in __tb_path_deactivate_hops() local 81 for (i = first_hop; i < path->path_length; i++) { in __tb_path_deactivate_hops() 82 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in __tb_path_deactivate_hops() 83 2 * path->hops[i].in_hop_index, 2); in __tb_path_deactivate_hops() 85 tb_port_warn(path->hops[i].in_port, in __tb_path_deactivate_hops() [all …]
|
/linux-4.19.296/include/asm-generic/ |
D | local64.h | 28 #define LOCAL64_INIT(i) { LOCAL_INIT(i) } argument 31 #define local64_set(l,i) local_set((&(l)->a),(i)) argument 34 #define local64_add(i,l) local_add((i),(&(l)->a)) argument 35 #define local64_sub(i,l) local_sub((i),(&(l)->a)) argument 37 #define local64_sub_and_test(i, l) local_sub_and_test((i), (&(l)->a)) argument 40 #define local64_add_negative(i, l) local_add_negative((i), (&(l)->a)) argument 41 #define local64_add_return(i, l) local_add_return((i), (&(l)->a)) argument 42 #define local64_sub_return(i, l) local_sub_return((i), (&(l)->a)) argument 54 #define __local64_add(i,l) local64_set((l), local64_read(l) + (i)) argument 55 #define __local64_sub(i,l) local64_set((l), local64_read(l) - (i)) argument [all …]
|
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf-i2c.c | 34 int i, ret; in mxl111sf_i2c_bitbang_sendbyte() local 43 for (i = 0; i < 8; i++) { in mxl111sf_i2c_bitbang_sendbyte() 45 data = (byte & (0x80 >> i)) ? SW_SDA_OUT : 0; in mxl111sf_i2c_bitbang_sendbyte() 96 int i, ret; in mxl111sf_i2c_bitbang_recvbyte() local 109 for (i = 0; i < 8; i++) { in mxl111sf_i2c_bitbang_recvbyte() 121 byte |= (0x80 >> i); in mxl111sf_i2c_bitbang_recvbyte() 237 int i, ret; in mxl111sf_i2c_sw_xfer_msg() local 254 for (i = 0; i < msg->len; i++) { in mxl111sf_i2c_sw_xfer_msg() 256 &msg->buf[i]); in mxl111sf_i2c_sw_xfer_msg() 262 if (i < msg->len - 1) in mxl111sf_i2c_sw_xfer_msg() [all …]
|
/linux-4.19.296/drivers/char/ipmi/ |
D | ipmi_si_hardcode.c | 78 unsigned int i, in ipmi_hardcode_init_one() argument 111 i, si_type_str); in ipmi_hardcode_init_one() 115 regsize = regsizes[i]; in ipmi_hardcode_init_one() 120 p[1] = PROPERTY_ENTRY_U8("slave-addr", slave_addrs[i]); in ipmi_hardcode_init_one() 122 p[3] = PROPERTY_ENTRY_U8("reg-shift", regshifts[i]); in ipmi_hardcode_init_one() 130 regspacing = regspacings[i]; in ipmi_hardcode_init_one() 155 if (irqs[i]) { in ipmi_hardcode_init_one() 156 r[num_r].start = irqs[i]; in ipmi_hardcode_init_one() 157 r[num_r].end = irqs[i]; in ipmi_hardcode_init_one() 163 pdev = platform_device_alloc("hardcode-ipmi-si", i); in ipmi_hardcode_init_one() [all …]
|
/linux-4.19.296/fs/jfs/ |
D | jfs_unicode.c | 35 int i; in jfs_strfromUCS_le() local 41 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 44 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 53 for (i = 0; (i < len) && from[i]; i++) { in jfs_strfromUCS_le() 54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { in jfs_strfromUCS_le() 55 to[i] = '?'; in jfs_strfromUCS_le() 61 le16_to_cpu(from[i])); in jfs_strfromUCS_le() 68 to[i] = (char) (le16_to_cpu(from[i])); in jfs_strfromUCS_le() 70 outlen = i; in jfs_strfromUCS_le() 86 int i; in jfs_strtoUCS() local [all …]
|