Home
last modified time | relevance | path

Searched refs:k (Results 26 – 50 of 2693) sorted by relevance

12345678910>>...108

/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/
H A Dsharp_xml2json_v3.cpp73 for(int k = 0; k < 8; k++) { in sharpV3_calibdb_to_calibdbV2() local
74 pLumaParaV2->luma_point[k] = pSharpParamsV1->luma_point[k]; in sharpV3_calibdb_to_calibdbV2()
75 pLumaParaV2->luma_sigma[k] = pSharpParamsV1->luma_sigma[j][k]; in sharpV3_calibdb_to_calibdbV2()
76 pLumaParaV2->hf_clip[k] = pSharpParamsV1->lum_clip_h[j][k]; in sharpV3_calibdb_to_calibdbV2()
77 pLumaParaV2->local_sharp_strength[k] = pSharpParamsV1->ehf_th[j][k]; in sharpV3_calibdb_to_calibdbV2()
80 for(int k = 0; k < 3; k++) { in sharpV3_calibdb_to_calibdbV2() local
81 pKernelCoeffV2->prefilter_coeff[k] = pSharpParamsV1->kernel_pre_bila_filter[k][j]; in sharpV3_calibdb_to_calibdbV2()
82 pKernelCoeffV2->GaussianFilter_coeff[k] = pSharpParamsV1->kernel_range_filter[k][j]; in sharpV3_calibdb_to_calibdbV2()
83 … pKernelCoeffV2->hfBilateralFilter_coeff[k] = pSharpParamsV1->kernel_bila_filter[k][j]; in sharpV3_calibdb_to_calibdbV2()
145 for(int k = 0; k < 8; k++) { in sharpV3_calibdbV2_to_calibdb() local
[all …]
H A Dedgefilter_xml2json_v1.cpp63 for(int k = 0; k < 5; k++) { in edgefilterV1_calibdb_to_calibdbV2() local
64 pTuningISOV2->direct_filter_coeff[k] = pISO->direct_filter_coeff[k]; in edgefilterV1_calibdb_to_calibdbV2()
68 for(int k = 0; k < 8; k++) { in edgefilterV1_calibdb_to_calibdbV2() local
69 pLuma_para->luma_point[k] = pCalibdb->luma_point[k]; in edgefilterV1_calibdb_to_calibdbV2()
70 pLuma_para->noise_clip[k] = pISO->noise_clip[k]; in edgefilterV1_calibdb_to_calibdbV2()
71 pLuma_para->dog_clip_pos[k] = pISO->dog_clip_pos[k]; in edgefilterV1_calibdb_to_calibdbV2()
72 pLuma_para->dog_clip_neg[k] = pISO->dog_clip_neg[k]; in edgefilterV1_calibdb_to_calibdbV2()
73 pLuma_para->dog_alpha[k] = pISO->dog_alpha[k]; in edgefilterV1_calibdb_to_calibdbV2()
134 for(int k = 0; k < 5; k++) { in edgefilterV1_calibdbV2_to_calibdb() local
135 pISO->direct_filter_coeff[k] = pTuningISOV2->direct_filter_coeff[k]; in edgefilterV1_calibdbV2_to_calibdb()
[all …]
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dbset.c23 struct bkey *k, *next; in bch_dump_bset() local
25 for (k = i->start; k < bset_bkey_last(i); k = next) { in bch_dump_bset()
26 next = bkey_next(k); in bch_dump_bset()
29 (unsigned int) ((u64 *) k - i->d), i->keys); in bch_dump_bset()
32 b->ops->key_dump(b, k); in bch_dump_bset()
34 pr_cont("%llu:%llu\n", KEY_INODE(k), KEY_OFFSET(k)); in bch_dump_bset()
37 bkey_cmp(k, b->ops->is_extents ? in bch_dump_bset()
58 struct bkey *k; in __bch_count_data() local
61 for_each_key(b, k, &iter) in __bch_count_data()
62 ret += KEY_SIZE(k); in __bch_count_data()
[all …]
H A Dbset.h199 const struct bkey *k);
201 const struct bkey *k);
206 const struct bkey *k);
208 const struct bkey *k);
244 static inline bool bkey_written(struct btree_keys *b, struct bkey *k) in bkey_written() argument
246 return !b->last_set_unwritten || k < b->set[b->nsets].data->start; in bkey_written()
261 #define __set_bytes(i, k) (sizeof(*(i)) + (k) * sizeof(uint64_t)) argument
264 #define __set_blocks(i, k, block_bytes) \ argument
265 DIV_ROUND_UP(__set_bytes(i, k), block_bytes)
300 void bch_bset_fix_invalidated_key(struct btree_keys *b, struct bkey *k);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_ethtool.c425 int rc, i, k = 0; in sja1105_get_ethtool_stats() local
438 data[k++] = status->mac.n_runt; in sja1105_get_ethtool_stats()
439 data[k++] = status->mac.n_soferr; in sja1105_get_ethtool_stats()
440 data[k++] = status->mac.n_alignerr; in sja1105_get_ethtool_stats()
441 data[k++] = status->mac.n_miierr; in sja1105_get_ethtool_stats()
442 data[k++] = status->mac.typeerr; in sja1105_get_ethtool_stats()
443 data[k++] = status->mac.sizeerr; in sja1105_get_ethtool_stats()
444 data[k++] = status->mac.tctimeout; in sja1105_get_ethtool_stats()
445 data[k++] = status->mac.priorerr; in sja1105_get_ethtool_stats()
446 data[k++] = status->mac.nomaster; in sja1105_get_ethtool_stats()
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dserpent_generic.c30 ({ b ^= d; b ^= c; b ^= a; b ^= PHI ^ i; b = rol32(b, 11); k[j] = b; })
33 ({ x0 = k[i]; x1 = k[i+1]; x2 = k[i+2]; x3 = k[i+3]; })
36 ({ k[i] = x0; k[i+1] = x1; k[i+2] = x2; k[i+3] = x3; })
42 x3 ^= k[4*(i)+3]; x2 ^= k[4*(i)+2]; \
43 x1 ^= k[4*(i)+1]; x0 ^= k[4*(i)+0]; \
53 x0 ^= x3; x2 ^= x4; x3 ^= k[4*i+3]; \
54 x1 ^= k[4*i+1]; x0 = rol32(x0, 5); x2 = rol32(x2, 22);\
55 x0 ^= k[4*i+0]; x2 ^= k[4*i+2]; \
59 x0 ^= k[4*i+0]; x1 ^= k[4*i+1]; x2 ^= k[4*i+2]; \
60 x3 ^= k[4*i+3]; x0 = ror32(x0, 5); x2 = ror32(x2, 22);\
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Dbitbake-whatchanged82 for k in dict_in.keys():
85 pn_task = "%s_%s" % (dict_in.get(k).get('pn'), dict_in.get(k).get('task'))
89 full_path_cur = dict_in.get(k).get('path')
92 subdict['pv'] = dict_in.get(k).get('pv')
93 subdict['pr'] = dict_in.get(k).get('pr')
94 subdict['path'] = dict_in.get(k).get('path')
112 for k in list(d_new.keys()):
113 if k not in d_old:
116 added[k] = d_new.get(k)
117 del(d_new[k])
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/neterion/vxge/
H A Dvxge-ethtool.c232 int j, k; in vxge_get_ethtool_stats() local
298 for (k = 0; k < vdev->no_of_vpath; k++) { in vxge_get_ethtool_stats()
301 vpath = &vdev->vpaths[k]; in vxge_get_ethtool_stats()
375 for (k = 0; k < vdev->max_config_port; k++) { in vxge_get_ethtool_stats()
376 *ptr++ = xmac_stats->aggr_stats[k].tx_frms; in vxge_get_ethtool_stats()
377 *ptr++ = xmac_stats->aggr_stats[k].tx_data_octets; in vxge_get_ethtool_stats()
378 *ptr++ = xmac_stats->aggr_stats[k].tx_mcast_frms; in vxge_get_ethtool_stats()
379 *ptr++ = xmac_stats->aggr_stats[k].tx_bcast_frms; in vxge_get_ethtool_stats()
380 *ptr++ = xmac_stats->aggr_stats[k].tx_discarded_frms; in vxge_get_ethtool_stats()
381 *ptr++ = xmac_stats->aggr_stats[k].tx_errored_frms; in vxge_get_ethtool_stats()
[all …]
/OK3568_Linux_fs/kernel/net/ceph/
H A Dceph_hash.c25 const unsigned char *k = (const unsigned char *)str; in ceph_str_hash_rjenkins() local
37 a = a + (k[0] + ((__u32)k[1] << 8) + ((__u32)k[2] << 16) + in ceph_str_hash_rjenkins()
38 ((__u32)k[3] << 24)); in ceph_str_hash_rjenkins()
39 b = b + (k[4] + ((__u32)k[5] << 8) + ((__u32)k[6] << 16) + in ceph_str_hash_rjenkins()
40 ((__u32)k[7] << 24)); in ceph_str_hash_rjenkins()
41 c = c + (k[8] + ((__u32)k[9] << 8) + ((__u32)k[10] << 16) + in ceph_str_hash_rjenkins()
42 ((__u32)k[11] << 24)); in ceph_str_hash_rjenkins()
44 k = k + 12; in ceph_str_hash_rjenkins()
52 c = c + ((__u32)k[10] << 24); in ceph_str_hash_rjenkins()
55 c = c + ((__u32)k[9] << 16); in ceph_str_hash_rjenkins()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dklist.c84 void klist_init(struct klist *k, void (*get)(struct klist_node *), in klist_init() argument
87 INIT_LIST_HEAD(&k->k_list); in klist_init()
88 spin_lock_init(&k->k_lock); in klist_init()
89 k->get = get; in klist_init()
90 k->put = put; in klist_init()
94 static void add_head(struct klist *k, struct klist_node *n) in add_head() argument
96 spin_lock(&k->k_lock); in add_head()
97 list_add(&n->n_node, &k->k_list); in add_head()
98 spin_unlock(&k->k_lock); in add_head()
101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail() argument
[all …]
H A Dtest_string.c9 unsigned i, j, k; in memset16_selftest() local
20 for (k = 0; k < 512; k++) { in memset16_selftest()
21 v = p[k]; in memset16_selftest()
22 if (k < i) { in memset16_selftest()
25 } else if (k < i + j) { in memset16_selftest()
39 return (i << 24) | (j << 16) | k | 0x8000; in memset16_selftest()
45 unsigned i, j, k; in memset32_selftest() local
56 for (k = 0; k < 512; k++) { in memset32_selftest()
57 v = p[k]; in memset32_selftest()
58 if (k < i) { in memset32_selftest()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Don26.c188 { int k, a, b; in on26_read_block() local
194 for (k=0;k<count;k++) { in on26_read_block()
197 buf[k] = j44(a,b); in on26_read_block()
204 for (k=0;k<count/2;k++) { in on26_read_block()
205 w2(0x26); buf[2*k] = r0(); in on26_read_block()
206 w2(0x24); buf[2*k+1] = r0(); in on26_read_block()
214 for (k=0;k<count;k++) buf[k] = r4(); in on26_read_block()
221 for (k=0;k<count/2;k++) ((u16 *)buf)[k] = r4w(); in on26_read_block()
228 for (k=0;k<count/4;k++) ((u32 *)buf)[k] = r4l(); in on26_read_block()
237 { int k; in on26_write_block() local
[all …]
H A Dfit3.c97 { int k, a, b, c, d; in fit3_read_block() local
102 for (k=0;k<count/2;k++) { in fit3_read_block()
107 buf[2*k ] = j44(a,b); in fit3_read_block()
108 buf[2*k+1] = j44(c,d); in fit3_read_block()
115 for (k=0;k<count/2;k++) { in fit3_read_block()
118 buf[2*k ] = a; in fit3_read_block()
119 buf[2*k+1] = b; in fit3_read_block()
127 for (k=0;k<count;k++) buf[k] = r4(); in fit3_read_block()
136 { int k; in fit3_write_block() local
142 for (k=0;k<count/2;k++) { in fit3_write_block()
[all …]
/OK3568_Linux_fs/external/xserver/include/
H A Dxkbstr.h330 #define XkbSMKeyActionsPtr(m, k) (&(m)->acts[(m)->key_acts[(k)]]) argument
356 #define XkbCMKeyGroupInfo(m, k) ((m)->key_sym_map[(k)].group_info) argument
357 #define XkbCMKeyNumGroups(m, k) (XkbNumGroups((m)->key_sym_map[(k)].group_info)) argument
358 #define XkbCMKeyGroupWidth(m, k, g) (XkbCMKeyType((m), (k), (g))->num_levels) argument
359 #define XkbCMKeyGroupsWidth(m, k) ((m)->key_sym_map[(k)].width) argument
360 #define XkbCMKeyTypeIndex(m, k, g) ((m)->key_sym_map[(k)].kt_index[(g) & 0x3]) argument
361 #define XkbCMKeyType(m, k, g) (&(m)->types[XkbCMKeyTypeIndex((m), (k), (g))]) argument
362 #define XkbCMKeyNumSyms(m, k) (XkbCMKeyGroupsWidth((m), (k)) * \ argument
363 XkbCMKeyNumGroups((m), (k)))
364 #define XkbCMKeySymsOffset(m, k) ((m)->key_sym_map[(k)].offset) argument
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/crypto/
H A Dcamellia_asm.S36 ld [%o0 + 0x00], %f0 ! i0, k[0]
37 ld [%o0 + 0x04], %f1 ! i1, k[1]
38 ld [%o0 + 0x08], %f2 ! i2, k[2]
39 ld [%o0 + 0x0c], %f3 ! i3, k[3]
40 std %f0, [%o1 + 0x00] ! k[0, 1]
42 std %f2, [%o1 + 0x08] ! k[2, 3]
49 std %f0, [%o1 + 0x20] ! k[8, 9]
57 std %f2, [%o1 + 0x28] ! k[10, 11]
89 std %f0, [%o1 + 0x10] ! k[ 4, 5]
90 std %f2, [%o1 + 0x18] ! k[ 6, 7]
[all …]
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Djhash.h73 const u8 *k = key; in jhash() local
80 a += __get_unaligned_cpu32(k); in jhash()
81 b += __get_unaligned_cpu32(k + 4); in jhash()
82 c += __get_unaligned_cpu32(k + 8); in jhash()
85 k += 12; in jhash()
90 case 12: c += (u32)k[11]<<24; in jhash()
91 case 11: c += (u32)k[10]<<16; in jhash()
92 case 10: c += (u32)k[9]<<8; in jhash()
93 case 9: c += k[8]; in jhash()
94 case 8: b += (u32)k[7]<<24; in jhash()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Djhash.h73 const u8 *k = key; in jhash() local
80 a += __get_unaligned_cpu32(k); in jhash()
81 b += __get_unaligned_cpu32(k + 4); in jhash()
82 c += __get_unaligned_cpu32(k + 8); in jhash()
85 k += 12; in jhash()
89 case 12: c += (u32)k[11]<<24; fallthrough; in jhash()
90 case 11: c += (u32)k[10]<<16; fallthrough; in jhash()
91 case 10: c += (u32)k[9]<<8; fallthrough; in jhash()
92 case 9: c += k[8]; fallthrough; in jhash()
93 case 8: b += (u32)k[7]<<24; fallthrough; in jhash()
[all …]
/OK3568_Linux_fs/kernel/lib/raid6/
H A Dmktables.c55 int i, j, k; in main() local
70 for (k = 0; k < 8; k++) in main()
71 printf("0x%02x,%c", gfmul(i, j + k), in main()
72 (k == 7) ? '\n' : ' '); in main()
89 for (k = 0; k < 8; k++) in main()
90 printf("0x%02x,%c", gfmul(i, j + k), in main()
91 (k == 7) ? '\n' : ' '); in main()
95 for (k = 0; k < 8; k++) in main()
96 printf("0x%02x,%c", gfmul(i, (j + k) << 4), in main()
97 (k == 7) ? '\n' : ' '); in main()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/udev/eudev/
H A Dudev.rules7 # %k the kernel name for the device
18 ENV{ID_MODEL}=="IOMEGA_ZIP*", NAME="%k", OPTIONS+="all_partitions"
26 SUBSYSTEMS=="usb", KERNEL=="auer[0-9]*", NAME="usb/%k"
27 SUBSYSTEMS=="usb", KERNEL=="cpad[0-9]*", NAME="usb/%k"
28 SUBSYSTEMS=="usb", KERNEL=="dabusb*", NAME="usb/%k"
29 SUBSYSTEMS=="usb", KERNEL=="hiddev*", NAME="usb/%k"
30 SUBSYSTEMS=="usb", KERNEL=="legousbtower*", NAME="usb/%k"
31 SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*", NAME="usb/%k"
37 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K…
46 KERNEL=="dvb*", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${…
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Dusb-common.c169 int j, k; in usbPrint() local
192 for (k = 0; k < REL_MAX; k++) { in usbPrint()
193 if (test_bits(k)) in usbPrint()
194 switch (k) { in usbPrint()
223 for (k = 0; k < ABS_MAX; k++) { in usbPrint()
224 if (test_bits(k)) in usbPrint()
225 switch (k) { in usbPrint()
308 for (k = 0; k < LED_MAX; k++) { in usbPrint()
309 if (test_bits(k)) in usbPrint()
310 switch (k) { in usbPrint()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/
H A DReplace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch26 -#define _HASH_MIX(h,k,m) { k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; }
60 - uint32_t k = *(uint32_t *)data; /* We don't care about the byte order */
62 - _HASH_MIX(hash, k, m);
100 - uint32_t k;
103 - k = (t >> sr) | (d << sl);
105 - _HASH_MIX(hash, k, m);
117 - uint32_t k;
126 - k = (t >> sr) | (d << sl);
127 - _HASH_MIX(hash, k, m);
154 + const unsigned char *k = (const unsigned char *)str;
[all …]
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-renesas-intc-irqpin.c305 int k; in intc_irqpin_shared_irq_handler() local
307 for (k = 0; k < 8; k++) { in intc_irqpin_shared_irq_handler()
308 if (reg_source & BIT(7 - k)) { in intc_irqpin_shared_irq_handler()
309 if (BIT(k) & p->shared_irq_mask) in intc_irqpin_shared_irq_handler()
312 status |= intc_irqpin_irq_handler(irq, &p->irq[k]); in intc_irqpin_shared_irq_handler()
387 int k; in intc_irqpin_probe() local
410 for (k = 0; k < INTC_IRQPIN_REG_NR; k++) { in intc_irqpin_probe()
411 io[k] = platform_get_resource(pdev, IORESOURCE_MEM, k); in intc_irqpin_probe()
412 if (!io[k] && k < INTC_IRQPIN_REG_NR_MANDATORY) { in intc_irqpin_probe()
420 for (k = 0; k < INTC_IRQPIN_MAX; k++) { in intc_irqpin_probe()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/
H A Dinterpolation.cpp8 float k; in interpolation() local
11 k = y[0]; in interpolation()
15 k = y[Num - 1]; in interpolation()
27 k = (float)y[index]; in interpolation()
29 k = ((float)x0 - (float)x[index]) / ((float)x[index + 1] - (float)x[index]) in interpolation()
34 *y0 = k; in interpolation()
40 float k; in interpolation() local
43 k = y[0]; in interpolation()
47 k = y[Num - 1]; in interpolation()
59 k = (float)y[index]; in interpolation()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/ptrace/
H A Dvmaccess.c48 int s, k, pid = fork(); in TEST() local
59 k = ptrace(PTRACE_ATTACH, pid, 0L, 0L); in TEST()
61 ASSERT_EQ(k, -1); in TEST()
62 k = waitpid(-1, &s, WNOHANG); in TEST()
63 ASSERT_NE(k, -1); in TEST()
64 ASSERT_NE(k, 0); in TEST()
65 ASSERT_NE(k, pid); in TEST()
69 k = ptrace(PTRACE_ATTACH, pid, 0L, 0L); in TEST()
70 ASSERT_EQ(k, 0); in TEST()
71 k = waitpid(-1, &s, 0); in TEST()
[all …]
/OK3568_Linux_fs/u-boot/board/gdsys/mpc8308/
H A Dstrider.c129 unsigned int k; in last_stage_init() local
151 for (k = 0; k < ARRAY_SIZE(mclink_controllers_dvi); ++k) { in last_stage_init()
156 if (i2c_probe(mclink_controllers[k])) { in last_stage_init()
158 if (i2c_probe(mclink_controllers[k])) in last_stage_init()
162 if (i2c_probe(mclink_controllers[k])) in last_stage_init()
165 while (!(pca953x_get_val(mclink_controllers[k]) in last_stage_init()
169 printf("no done for mclink_controller %d\n", k); in last_stage_init()
174 pca953x_set_dir(mclink_controllers[k], MCFPGA_RESET_N, 0); in last_stage_init()
175 pca953x_set_val(mclink_controllers[k], MCFPGA_RESET_N, 0); in last_stage_init()
177 pca953x_set_val(mclink_controllers[k], MCFPGA_RESET_N, in last_stage_init()
[all …]

12345678910>>...108