Home
last modified time | relevance | path

Searched refs:k (Results 76 – 100 of 2855) sorted by relevance

12345678910>>...115

/openbmc/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_93cx6.c153 u_int k = 0; in ahc_read_seeprom() local
161 for (k = start_addr; k < count + start_addr; k++) { in ahc_read_seeprom()
171 if ((k & (1 << i)) != 0) in ahc_read_seeprom()
177 if ((k & (1 << i)) != 0) in ahc_read_seeprom()
198 buf[k - start_addr] = v; in ahc_read_seeprom()
205 for (k = 0; k < count; k = k + 1) { in ahc_read_seeprom()
206 if (((k % 8) == 0) && (k != 0)) { in ahc_read_seeprom()
227 int i, k; in ahc_write_seeprom() local
247 for (k = start_addr; k < count + start_addr; k++) { in ahc_write_seeprom()
253 if ((k & (1 << i)) != 0) in ahc_write_seeprom()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dmonitordisk.py188 for k in self.devDict:
189 self.preFreeS[k] = 0
190 self.preFreeI[k] = 0
191 self.checked[k] = False
202 path, action = k
217 …if self.preFreeS[k] == 0 or self.preFreeS[k] - freeSpace > self.spaceInterval and not self.checked…
224 self.checked[k] = True
229 self.checked[k] = True
244 …if self.preFreeI[k] == 0 or self.preFreeI[k] - freeInode > self.inodeInterval and not self.checked…
251 self.checked[k] = True
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-bus.c149 VirtioDeviceClass *k; in virtio_bus_get_vdev_bad_features() local
153 if (k->bad_features != NULL) { in virtio_bus_get_vdev_bad_features()
164 VirtioDeviceClass *k; in virtio_bus_get_vdev_config() local
168 if (k->get_config != NULL) { in virtio_bus_get_vdev_config()
169 k->get_config(vdev, config); in virtio_bus_get_vdev_config()
177 VirtioDeviceClass *k; in virtio_bus_set_vdev_config() local
181 if (k->set_config != NULL) { in virtio_bus_set_vdev_config()
194 if (!k->ioeventfd_assign) { in virtio_bus_grab_ioeventfd()
227 if (!k->ioeventfd_assign || !k->ioeventfd_enabled(proxy)) { in virtio_bus_start_ioeventfd()
269 return k->ioeventfd_assign && k->ioeventfd_enabled(proxy); in virtio_bus_ioeventfd_enabled()
[all …]
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_nkm.c50 nkm->k = best_k; in ccu_nkm_find_best_with_parent_adj()
83 nkm->k = best_k; in ccu_nkm_find_best()
125 k = reg >> nkm->k.shift; in ccu_nkm_recalc_rate()
126 k &= (1 << nkm->k.width) - 1; in ccu_nkm_recalc_rate()
127 k += nkm->k.offset; in ccu_nkm_recalc_rate()
128 if (!k) in ccu_nkm_recalc_rate()
129 k++; in ccu_nkm_recalc_rate()
157 _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; in ccu_nkm_round_rate()
199 _nkm.max_k = nkm->k.max ?: 1 << nkm->k.width; in ccu_nkm_set_rate()
209 reg &= ~GENMASK(nkm->k.width + nkm->k.shift - 1, nkm->k.shift); in ccu_nkm_set_rate()
[all …]
/openbmc/linux/drivers/video/logo/
H A Dpnmtologo.c309 unsigned int i, j, k; in write_logo_vga16() local
315 for (k = 0; k < 16; k++) in write_logo_vga16()
318 if (k == 16) in write_logo_vga16()
330 for (k = 0; k < 16; k++) in write_logo_vga16()
333 val = k<<4; in write_logo_vga16()
335 for (k = 0; k < 16; k++) in write_logo_vga16()
338 val |= k; in write_logo_vga16()
349 unsigned int i, j, k; in write_logo_clut224() local
354 for (k = 0; k < logo_clutsize; k++) in write_logo_clut224()
372 for (k = 0; k < logo_clutsize; k++) in write_logo_clut224()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dpersist_data.py32 for k,v in self.items.items():
33 self.data[k] = v
46 for k, v in self.items.items():
54 for k, v in self.items.items():
55 self.data[k] += '-foo'
57 for k, v in self.items.items():
69 for k in self.items:
92 for k in self.items:
93 data[k]
98 data[k] = v + str(i)
[all …]
/openbmc/qemu/ui/
H A Dkeymaps.c85 static int parse_keyboard_layout(kbd_layout_t *k, in parse_keyboard_layout() argument
151 add_keysym(line, keysym, keycode, k); in parse_keyboard_layout()
179 kbd_layout_t *k; in init_keyboard_layout() local
181 k = g_new0(kbd_layout_t, 1); in init_keyboard_layout()
182 k->hash = g_hash_table_new(NULL, NULL); in init_keyboard_layout()
184 g_hash_table_unref(k->hash); in init_keyboard_layout()
185 g_free(k); in init_keyboard_layout()
188 return k; in init_keyboard_layout()
192 int keysym2scancode(kbd_layout_t *k, int keysym, in keysym2scancode() argument
255 int keycode_is_keypad(kbd_layout_t *k, int keycode) in keycode_is_keypad() argument
[all …]
/openbmc/linux/sound/pci/mixart/
H A Dmixart_hwdep.c131 u32 k; in mixart_enum_connectors() local
163 for(k=0; k < connector->uid_count; k++) { in mixart_enum_connectors()
171 if(k & 1) { in mixart_enum_connectors()
207 for(k=0; k < connector->uid_count; k++) { in mixart_enum_connectors()
215 if(k & 1) { in mixart_enum_connectors()
249 u32 k; in mixart_enum_physio() local
294 for(k=0; k<mgr->num_cards; k++) { in mixart_enum_physio()
295 mgr->chip[k]->uid_in_analog_physio = phys_io.uid[k]; in mixart_enum_physio()
296 mgr->chip[k]->uid_out_analog_physio = phys_io.uid[phys_io.nb_uid/2 + k]; in mixart_enum_physio()
305 u32 k; in mixart_first_init() local
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/wic/
H A Dcorstone1000-flash-firmware.wks.in10 part --source empty --size 3k --offset 17k --part-name="reserved_1" --uuid B1F2FC8C-A7A3-4485-87CB-…
12 part --source empty --size 4k --align 4 --offset 20k --part-name="FWU-Metadata" --uuid 3FDFFEE1-322…
13 part --source empty --size 4k --align 4 --offset 24k --part-name="Bkup-FWU-Metadata" --uuid B306831…
15 part --source empty --size 4k --align 4 --offset 28k --part-name="private_metadata_replica_2" --uui…
16 part --source empty --size 4k --align 4 --offset 32k --part-name="private_metadata_replica_2" --uui…
18 part --source rawcopy --size 100k --sourceparams="file=bl2_signed.bin" --offset 36k --align 4 --par…
20 part --source rawcopy --size 368k --sourceparams="file=tfm_s_signed.bin" --align 4 --part-name="tfm…
29 part --source empty --size 100k --offset 16488k --align 4 --part-name="bl2_secondary" --uuid 3F0C49…
30 part --source empty --size 368k --align 4 --part-name="tfm_secondary" --uuid 009A6A12-64A6-4F0F-988…
35 part --source empty --size 3k --offset 32748k --part-name="reserved_2" --uuid CCB18569-C0BA-42E0-A4…
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dclock_sun6i.c115 int k = 1; in clock_set_pll1() local
119 k = 2; in clock_set_pll1()
121 k = 3; in clock_set_pll1()
190 int k = 1, m = 2; in clock_set_pll5() local
204 if (clk > 24000000 * k * max_n / m) in clock_set_pll5()
205 k = 2; in clock_set_pll5()
221 unsigned int k, m, n, value, diff; in clock_set_mipi_pll() local
230 for (k = 1; k <= 4; k++) { in clock_set_mipi_pll()
233 value = src * n * k / m; in clock_set_mipi_pll()
240 best_k = k; in clock_set_mipi_pll()
[all …]
/openbmc/u-boot/drivers/gpio/
H A Dsh_pfc.c113 int k; in config_reg_helper() local
123 for (k = 0; k <= in_pos; k++) in config_reg_helper()
181 k = 0; in setup_data_reg()
199 k++; in setup_data_reg()
210 int k; in setup_data_regs() local
212 for (k = gpioc->first_gpio; k <= gpioc->last_gpio; k++) in setup_data_regs()
215 k = 0; in setup_data_regs()
224 k++; in setup_data_regs()
253 k = 0; in get_config_reg()
284 k++; in get_config_reg()
[all …]
/openbmc/phosphor-host-ipmid/test/message/
H A Dunpack.cpp30 uint8_t k = 0x04; in TEST() local
32 ASSERT_EQ(v, k); in TEST()
44 uint8_t k = 0x04; in TEST() local
46 ASSERT_EQ(v, k); in TEST()
73 ASSERT_EQ(v, k); in TEST()
87 ASSERT_EQ(v, k); in TEST()
114 ASSERT_EQ(v, k); in TEST()
128 ASSERT_EQ(v, k); in TEST()
155 ASSERT_EQ(v, k); in TEST()
170 ASSERT_EQ(v, k); in TEST()
[all …]
/openbmc/linux/arch/sh/kernel/cpu/shmobile/
H A Dcpuidle.c31 int k; in cpuidle_sleep_enter() local
34 for (k = ARRAY_SIZE(cpuidle_mode) - 1; k > 0; k--) in cpuidle_sleep_enter()
35 if (cpuidle_mode[k] == allowed_mode) in cpuidle_sleep_enter()
38 allowed_state = k; in cpuidle_sleep_enter()
44 k = min_t(int, allowed_state, requested_state); in cpuidle_sleep_enter()
46 sh_mobile_call_standby(cpuidle_mode[k]); in cpuidle_sleep_enter()
48 return k; in cpuidle_sleep_enter()
/openbmc/openbmc/meta-fii/meta-kudo/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.logrotate3 # Keep up to four 64k files for ipmi_sel (256k total)
7 size 64k
13 # Keep up to four 64k files for redfish (256k total)
17 size 64k
23 # Keep up to two 2k files for gpio log (4k total)
27 size 2k
/openbmc/openbmc/meta-fii/meta-mori/recipes-extended/rsyslog/rsyslog/
H A Drsyslog.logrotate3 # Keep up to four 64k files for ipmi_sel (256k total)
7 size 64k
13 # Keep up to four 64k files for redfish (256k total)
17 size 64k
23 # Keep up to two 2k files for gpio log (4k total)
27 size 2k
/openbmc/linux/drivers/ata/pata_parport/
H A Dktti.c49 int k, a, b; in ktti_read_block() local
51 for (k = 0; k < count / 2; k++) { in ktti_read_block()
54 buf[2*k] = j44(a, b); in ktti_read_block()
56 buf[2*k+1] = j44(a, b); in ktti_read_block()
62 int k; in ktti_write_block() local
64 for (k = 0; k < count / 2; k++) { in ktti_write_block()
66 w0(buf[2 * k]); w2(3); in ktti_write_block()
67 w0(buf[2 * k + 1]); w2(6); in ktti_write_block()
/openbmc/linux/arch/mips/kernel/
H A Dcevt-r4k.c51 unsigned int cnt, i, j, k, l; in calculate_min_delta() local
70 for (k = 0; k < j; ++k) { in calculate_min_delta()
71 if (cnt < buf1[k]) { in calculate_min_delta()
74 for (; l > k; --l) in calculate_min_delta()
79 if (k < ARRAY_SIZE(buf1)) in calculate_min_delta()
80 buf1[k] = cnt; in calculate_min_delta()
84 for (k = 0; k < i && k < ARRAY_SIZE(buf2); ++k) { in calculate_min_delta()
85 if (buf1[ARRAY_SIZE(buf1) - 1] < buf2[k]) { in calculate_min_delta()
88 for (; l > k; --l) in calculate_min_delta()
93 if (k < ARRAY_SIZE(buf2)) in calculate_min_delta()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp8.c53 u32 i, j, k; in hantro_vp8_prob_update() local
115 for (k = 0; k < 3; ++k) { in hantro_vp8_prob_update()
116 dst[0] = entropy->coeff_probs[i][j][k][0]; in hantro_vp8_prob_update()
117 dst[1] = entropy->coeff_probs[i][j][k][1]; in hantro_vp8_prob_update()
118 dst[2] = entropy->coeff_probs[i][j][k][2]; in hantro_vp8_prob_update()
119 dst[3] = entropy->coeff_probs[i][j][k][3]; in hantro_vp8_prob_update()
130 for (k = 0; k < 3; ++k) { in hantro_vp8_prob_update()
131 dst[0] = entropy->coeff_probs[i][j][k][4]; in hantro_vp8_prob_update()
132 dst[1] = entropy->coeff_probs[i][j][k][5]; in hantro_vp8_prob_update()
133 dst[2] = entropy->coeff_probs[i][j][k][6]; in hantro_vp8_prob_update()
[all …]
/openbmc/u-boot/arch/mips/mach-mt7620/
H A Dddr_calibrate.c103 (((k == 0) ? val : test_dqs) << 8), in test_loop()
108 (((k == 0) ? val : test_dqs) << 0), in test_loop()
141 int i, k; in ddr_calibrate() local
199 for (k = 0; k < 2; k++) { in ddr_calibrate()
202 if (k == 0) in ddr_calibrate()
208 flag = test_loop(k, dqs, test_dqs, max_coarse_dqs, in ddr_calibrate()
216 if (k == 0) { in ddr_calibrate()
230 for (k = 0; k < 2; k++) { in ddr_calibrate()
233 if (k == 0) in ddr_calibrate()
241 if (k == 0) { in ddr_calibrate()
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dmultiorder.c98 int k; in multiorder_tagged_iteration() local
101 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
103 if (j <= (index[k] | ((1 << order[k]) - 1))) in multiorder_tagged_iteration()
110 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
112 mask = (1UL << order[k]) - 1; in multiorder_tagged_iteration()
117 assert(item->order == order[k]); in multiorder_tagged_iteration()
126 int mask, k; in multiorder_tagged_iteration() local
129 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
131 if (j <= (index[k] | ((1 << order[k]) - 1))) in multiorder_tagged_iteration()
137 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dhists_link.c72 size_t i = 0, k; in add_hist_entries() local
83 for (k = 0; k < ARRAY_SIZE(fake_common_samples); k++) { in add_hist_entries()
87 sample.ip = fake_common_samples[k].ip; in add_hist_entries()
100 map__put(fake_common_samples[k].map); in add_hist_entries()
102 fake_common_samples[k].sym = al.sym; in add_hist_entries()
105 for (k = 0; k < ARRAY_SIZE(fake_samples[i]); k++) { in add_hist_entries()
106 sample.pid = fake_samples[i][k].pid; in add_hist_entries()
107 sample.tid = fake_samples[i][k].pid; in add_hist_entries()
108 sample.ip = fake_samples[i][k].ip; in add_hist_entries()
120 map__put(fake_samples[i][k].map); in add_hist_entries()
[all …]
H A Devent_groups.c81 static int run_test(int i, int j, int k) in run_test() argument
83 int erroneous = ((((1 << i) | (1 << j) | (1 << k)) & 5) == 5); in run_test()
96 sibling_fd2 = event_open(types[k], configs[k], group_fd); in run_test()
111 int i, j, k; in test__event_groups() local
122 for (k = 0; k < 3; k++) { in test__event_groups()
123 r = run_test(i, j, k); in test__event_groups()
129 types[k], configs[k], r ? "Fail" : "Pass"); in test__event_groups()
/openbmc/linux/lib/crypto/
H A Dchacha20poly1305.c26 k[0] = get_unaligned_le32(in); in chacha_load_key()
38 u32 k[CHACHA_KEY_WORDS]; in xchacha_init() local
44 chacha_load_key(k, key); in xchacha_init()
52 memzero_explicit(k, sizeof(k)); in xchacha_init()
96 u32 k[CHACHA_KEY_WORDS]; in chacha20poly1305_encrypt() local
99 chacha_load_key(k, key); in chacha20poly1305_encrypt()
108 memzero_explicit(k, sizeof(k)); in chacha20poly1305_encrypt()
174 u32 k[CHACHA_KEY_WORDS]; in chacha20poly1305_decrypt() local
178 chacha_load_key(k, key); in chacha20poly1305_decrypt()
189 memzero_explicit(k, sizeof(k)); in chacha20poly1305_decrypt()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dintel.c818 unsigned char k; in intel_tlb_lookup() local
823 for (k = 0; intel_tlb_table[k].descriptor != desc && in intel_tlb_lookup()
824 intel_tlb_table[k].descriptor != 0; k++) in intel_tlb_lookup()
827 if (intel_tlb_table[k].tlb_type == 0) in intel_tlb_lookup()
830 switch (intel_tlb_table[k].tlb_type) { in intel_tlb_lookup()
833 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
835 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
839 tlb_lli_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
841 tlb_lld_4k[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
843 tlb_lli_2m[ENTRIES] = intel_tlb_table[k].entries; in intel_tlb_lookup()
[all …]
/openbmc/linux/drivers/md/bcache/
H A Dbtree.c100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
372 SET_PTR_OFFSET(&k.key, 0, PTR_OFFSET(&k.key, 0) + in do_btree_node_write()
1411 k = bkey_next(k)) { in btree_gc_coalesce()
1621 if (k) { in btree_gc_recurse()
1797 for (k = ca->sb.d; k < ca->sb.d + ca->sb.keys; k++) in bch_btree_gc_finish()
1923 if (k) { in bch_btree_check_recurse()
1935 p = k; in bch_btree_check_recurse()
1960 BUG_ON(!k); in bch_btree_check_thread()
1962 p = k; in bch_btree_check_thread()
1980 if (k) in bch_btree_check_thread()
[all …]

12345678910>>...115