Home
last modified time | relevance | path

Searched refs:k (Results 101 – 125 of 2855) sorted by relevance

12345678910>>...115

/openbmc/qemu/qga/
H A Dcommands-posix-ssh.c99 strList *k; in check_openssh_pub_keys() local
101 for (k = keys; k != NULL; k = k->next) { in check_openssh_pub_keys()
166 strList *k; in qmp_guest_ssh_add_authorized_keys() local
197 for (k = keys; k != NULL; k = k->next) { in qmp_guest_ssh_add_authorized_keys()
201 authkeys[nauthkeys++] = g_strdup(k->value); in qmp_guest_ssh_add_authorized_keys()
239 strList *k; in qmp_guest_ssh_remove_authorized_keys() local
241 for (k = keys; k != NULL; k = k->next) { in qmp_guest_ssh_remove_authorized_keys()
242 if (g_str_equal(k->value, *a)) { in qmp_guest_ssh_remove_authorized_keys()
246 if (k != NULL) { in qmp_guest_ssh_remove_authorized_keys()
456 strList *k; in test_get_keys() local
[all …]
/openbmc/u-boot/board/gdsys/mpc8308/
H A Dhrcon.c123 unsigned int k; in last_stage_init() local
139 for (k = 0; k < ARRAY_SIZE(mclink_controllers); ++k) { in last_stage_init()
142 if (i2c_probe(mclink_controllers[k])) in last_stage_init()
199 for (k = 1; k <= slaves; ++k) { in last_stage_init()
202 ioep_fpga_print_info(k); in last_stage_init()
203 osd_probe(k); in last_stage_init()
205 osd_probe(k + 4); in last_stage_init()
220 setup_88e1514(bb_miiphy_buses[k].name, 0); in last_stage_init()
224 for (k = 0; k < ARRAY_SIZE(hrcon_fans); ++k) { in last_stage_init()
225 i2c_set_bus_num(hrcon_fans[k].bus); in last_stage_init()
[all …]
/openbmc/linux/lib/
H A Dtest_hash.c87 params->h2 = hash_64_generic(*params->h64, *k); in test_int_hash_64()
91 *params->h64, *k, params->h1, params->h2); in test_int_hash_64()
95 *params->h64, *k, params->h1, *m); in test_int_hash_64()
112 int k; in test_int_hash() local
122 for (k = 1; k <= 32; k++) { in test_int_hash()
123 u32 const m = ((u32)2 << (k-1)) - 1; /* Low k bits set */ in test_int_hash()
126 hash_or[0][k] |= params.h1 = hash_32(params.h0, k); in test_int_hash()
129 params.h0, k, params.h1, m); in test_int_hash()
132 hash_or[1][k] |= params.h1 = hash_64(h64, k); in test_int_hash()
135 h64, k, params.h1, m); in test_int_hash()
[all …]
/openbmc/qemu/hw/ipack/
H A Dipack.c47 IPackDeviceClass *k = IPACK_DEVICE_GET_CLASS(dev); in ipack_device_realize() local
60 k->realize(dev, errp); in ipack_device_realize()
66 IPackDeviceClass *k = IPACK_DEVICE_GET_CLASS(dev); in ipack_device_unrealize() local
68 if (k->unrealize) { in ipack_device_unrealize()
69 k->unrealize(dev); in ipack_device_unrealize()
83 DeviceClass *k = DEVICE_CLASS(klass); in ipack_device_class_init() local
85 set_bit(DEVICE_CATEGORY_INPUT, k->categories); in ipack_device_class_init()
86 k->bus_type = TYPE_IPACK_BUS; in ipack_device_class_init()
87 k->realize = ipack_device_realize; in ipack_device_class_init()
88 k->unrealize = ipack_device_unrealize; in ipack_device_class_init()
[all …]
H A Dtpci200.c333 if (k->id_read) { in tpci200_read_las1()
351 if (k->int_read) { in tpci200_read_las1()
358 if (k->io_read) { in tpci200_read_las1()
395 if (k->id_write) { in tpci200_write_las1()
402 if (k->int_write) { in tpci200_write_las1()
409 if (k->io_write) { in tpci200_write_las1()
439 if (k->mem_read16) { in tpci200_read_las2()
470 if (k->mem_write16) { in tpci200_write_las2()
494 if (k->mem_read8) { in tpci200_read_las3()
520 if (k->mem_write8) { in tpci200_write_las3()
[all …]
/openbmc/linux/drivers/mtd/tests/
H A Dsubpagetest.c81 int err = 0, k; in write_eraseblock2() local
84 for (k = 1; k < 33; ++k) { in write_eraseblock2()
89 if (unlikely(err || written != subpgsize * k)) { in write_eraseblock2()
92 if (written != subpgsize * k) { in write_eraseblock2()
94 subpgsize * k); in write_eraseblock2()
100 addr += subpgsize * k; in write_eraseblock2()
181 int err = 0, k; in verify_eraseblock2() local
184 for (k = 1; k < 33; ++k) { in verify_eraseblock2()
188 clear_data(readbuf, subpgsize * k); in verify_eraseblock2()
190 if (unlikely(err || read != subpgsize * k)) { in verify_eraseblock2()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_cm_common.c167 for (k = 0; k < MAX_REGIONS_NUMBER; k++) { in cm3_helper_translate_curve_to_hw_format()
173 for (k = 0; k < (region_end - region_start); k++) { in cm3_helper_translate_curve_to_hw_format()
252 k = 0; in cm3_helper_translate_curve_to_hw_format()
256 seg_distr[k]; in cm3_helper_translate_curve_to_hw_format()
260 k++; in cm3_helper_translate_curve_to_hw_format()
264 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm3_helper_translate_curve_to_hw_format()
344 for (k = 0; k < MAX_REGIONS_NUMBER; k++) { in cm3_helper_translate_curve_to_degamma_hw_format()
350 for (k = 0; k < (region_end - region_start); k++) { in cm3_helper_translate_curve_to_degamma_hw_format()
414 k = 0; in cm3_helper_translate_curve_to_degamma_hw_format()
422 k++; in cm3_helper_translate_curve_to_degamma_hw_format()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_cm_common.c371 for (k = 0; k < MAX_REGIONS_NUMBER; k++) { in cm_helper_translate_curve_to_hw_format()
377 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_hw_format()
459 k = 0; in cm_helper_translate_curve_to_hw_format()
463 seg_distr[k]; in cm_helper_translate_curve_to_hw_format()
467 k++; in cm_helper_translate_curve_to_hw_format()
471 lut_params->arr_curve_points[k].segments_num = seg_distr[k]; in cm_helper_translate_curve_to_hw_format()
560 for (k = 0; k < MAX_REGIONS_NUMBER; k++) { in cm_helper_translate_curve_to_degamma_hw_format()
566 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_degamma_hw_format()
634 k = 0; in cm_helper_translate_curve_to_degamma_hw_format()
642 k++; in cm_helper_translate_curve_to_degamma_hw_format()
[all …]
/openbmc/u-boot/board/nokia/rx51/
H A Drx51.c554 if (!(mods & 2) && (k == 18 || k == 31 || k == 33 || k == 34)) { in rx51_kp_fill()
572 k = keymap[k+64]; in rx51_kp_fill()
574 k = keymap[k]; in rx51_kp_fill()
576 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
577 k -= 'a' - 1; in rx51_kp_fill()
580 if (k >= 'a' && k <= 'z') in rx51_kp_fill()
581 k += 'A' - 'a'; in rx51_kp_fill()
582 else if (k == '.') in rx51_kp_fill()
583 k = ':'; in rx51_kp_fill()
584 else if (k == ',') in rx51_kp_fill()
[all …]
/openbmc/linux/include/linux/platform_data/
H A Dsh_mmcif.h126 int k; in sh_mmcif_boot_do_read_single() local
139 for (k = 0; k < (SH_MMCIF_BBS / 4); k++) in sh_mmcif_boot_do_read_single()
140 buf[k] = sh_mmcif_readl(base, MMCIF_CE_DATA); in sh_mmcif_boot_do_read_single()
150 unsigned long k; in sh_mmcif_boot_do_read() local
167 for (k = 0; !ret && k < nr_blocks; k++) in sh_mmcif_boot_do_read()
168 ret = sh_mmcif_boot_do_read_single(base, first_block + k, in sh_mmcif_boot_do_read()
169 buf + (k * SH_MMCIF_BBS)); in sh_mmcif_boot_do_read()
/openbmc/linux/drivers/spi/
H A Dspi-sh-msiof.c419 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_8()
429 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16()
439 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_16u()
449 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32()
459 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_32u()
469 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_s32()
479 for (k = 0; k < words; k++) in sh_msiof_spi_write_fifo_s32u()
489 for (k = 0; k < words; k++) in sh_msiof_spi_read_fifo_8()
499 for (k = 0; k < words; k++) in sh_msiof_spi_read_fifo_16()
509 for (k = 0; k < words; k++) in sh_msiof_spi_read_fifo_16u()
[all …]
/openbmc/u-boot/board/gdsys/common/
H A Dosd.c241 unsigned int k; in osd_write_videomem() local
243 for (k = 0; k < charcount; ++k) { in osd_write_videomem()
244 if (offset + k >= bufsize) in osd_write_videomem()
249 videomem1[offset + k], data[k]); in osd_write_videomem()
251 FPGA_SET_REG(screen, videomem0[offset + k], data[k]); in osd_write_videomem()
253 FPGA_SET_REG(screen, videomem0[offset + k], data[k]); in osd_write_videomem()
275 unsigned int k; in osd_print() local
289 for (k = 0; k < len; ++k) in osd_print()
290 buf[k] = (text[k] << 8) | color; in osd_print()
409 unsigned k; in osd_write() local
[all …]
H A Dcmd_ioloop.c90 unsigned int k; in io_send() local
98 for (k = 0; k < sizeof(packet) / 2; ++k) in io_send()
101 for (k = 0; k < (size + 1) / 2; ++k) in io_send()
102 FPGA_SET_REG(fpga, ep.transmit_data, k); in io_send()
112 unsigned int k = 0; in io_receive() local
127 ++k; in io_receive()
135 unsigned int k = 0; in io_reflect() local
142 FPGA_GET_REG(fpga, ep.receive_data, &buffer[k++]); in io_reflect()
149 if (!k) in io_reflect()
152 for (n = 0; n < k; ++n) in io_reflect()
H A Dmclink.c25 unsigned int k; in mclink_probe() local
28 for (k = 0; k < CONFIG_SYS_MCLINK_MAX; ++k) { in mclink_probe()
33 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
38 FPGA_SET_REG(k, mc_control, 0x8000); in mclink_probe()
40 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
47 FPGA_GET_REG(k, mc_status, &mc_status); in mclink_probe()
52 printf("waited %d us for mclink %d to come up\n", ctr * 100, k); in mclink_probe()
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c415 u32 k = 0; in mwifiex_get_supported_rates() local
425 k = mwifiex_copy_rates(rates, k, supported_rates_b, in mwifiex_get_supported_rates()
433 k = mwifiex_copy_rates(rates, k, supported_rates_g, in mwifiex_get_supported_rates()
453 k = mwifiex_copy_rates(rates, k, supported_rates_a, in mwifiex_get_supported_rates()
464 k = mwifiex_copy_rates(rates, k, supported_rates_a, in mwifiex_get_supported_rates()
471 k = mwifiex_copy_rates(rates, k, supported_rates_n, in mwifiex_get_supported_rates()
480 k = mwifiex_copy_rates(rates, k, adhoc_rates_b, in mwifiex_get_supported_rates()
486 k = mwifiex_copy_rates(rates, k, adhoc_rates_g, in mwifiex_get_supported_rates()
492 k = mwifiex_copy_rates(rates, k, adhoc_rates_bg, in mwifiex_get_supported_rates()
498 k = mwifiex_copy_rates(rates, k, adhoc_rates_a, in mwifiex_get_supported_rates()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c165 k.int_id = wvif->id; in wfx_add_key()
166 k.entry_index = idx; in wfx_add_key()
170 k.type = fill_wep_pair(&k.key.wep_pairwise_key, key, sta->addr); in wfx_add_key()
172 k.type = fill_wep_group(&k.key.wep_group_key, key); in wfx_add_key()
175 k.type = fill_tkip_pair(&k.key.tkip_pairwise_key, key, sta->addr); in wfx_add_key()
177 k.type = fill_tkip_group(&k.key.tkip_group_key, key, &seq, in wfx_add_key()
181 k.type = fill_ccmp_pair(&k.key.aes_pairwise_key, key, sta->addr); in wfx_add_key()
183 k.type = fill_ccmp_group(&k.key.aes_group_key, key, &seq); in wfx_add_key()
186 k.type = fill_sms4_pair(&k.key.wapi_pairwise_key, key, sta->addr); in wfx_add_key()
188 k.type = fill_sms4_group(&k.key.wapi_group_key, key); in wfx_add_key()
[all …]
/openbmc/docs/
H A DREST-cheatsheet.md40 $ curl -k -X GET https://root:0penBmc@${bmc}/xyz/openbmc_project/list
48 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/...
62 $ curl -k -H "X-Auth-Token: $token" https://$bmc/xyz/openbmc_project/...
68 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/list
69 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/enumerate
75 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/
76 $ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/state/
154 …$ curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/control/host0/boot/enumera…
223 …$ curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/xyz/openbmc_project/time/owner/attr/Time…
224 …$ curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/xyz/openbmc_project/time/sync_method/att…
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py64 for k in tcase.keys():
65 if (isinstance(tcase[k], list)):
66 print(k + ":")
67 print_list(tcase[k])
69 if not ((k == 'id') or (k == 'name')):
70 print(k + ": " + str(tcase[k]))
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp9.c74 return &cnts->count_coeffs[j][k][l][m]; in get_coeffs_arr()
77 return &cnts->count_coeffs8x8[j][k][l][m]; in get_coeffs_arr()
91 return &cnts->count_coeffs[j][k][l][m][3]; in get_eobs1()
108 vp9_ctx->cnts.coeff[i][j][k][l][m] = \
109 get_coeffs_arr(cnts, i, j, k, l, m); \
110 vp9_ctx->cnts.eob[i][j][k][l][m][0] = \
111 &cnts->count_eobs[i][j][k][l][m]; \
112 vp9_ctx->cnts.eob[i][j][k][l][m][1] = \
113 get_eobs1(cnts, i, j, k, l, m); \
121 int i, j, k, l, m; in init_v4l2_vp9_count_tbl() local
[all …]
/openbmc/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h5-cpu-opp.dtsi12 clock-latency-ns = <244144>; /* 8 32k periods */
18 clock-latency-ns = <244144>; /* 8 32k periods */
24 clock-latency-ns = <244144>; /* 8 32k periods */
30 clock-latency-ns = <244144>; /* 8 32k periods */
36 clock-latency-ns = <244144>; /* 8 32k periods */
42 clock-latency-ns = <244144>; /* 8 32k periods */
48 clock-latency-ns = <244144>; /* 8 32k periods */
54 clock-latency-ns = <244144>; /* 8 32k periods */
60 clock-latency-ns = <244144>; /* 8 32k periods */
/openbmc/linux/crypto/
H A Dfcrypt.c66 #define ror56_64(k, n) (k = (k >> n) | ((k & ((1 << n) - 1)) << (56 - n))) argument
312 k <<= 7; in fcrypt_setkey()
314 k <<= 7; in fcrypt_setkey()
316 k <<= 7; in fcrypt_setkey()
318 k <<= 7; in fcrypt_setkey()
320 k <<= 7; in fcrypt_setkey()
322 k <<= 7; in fcrypt_setkey()
324 k <<= 7; in fcrypt_setkey()
328 ctx->sched[0x0] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
329 ctx->sched[0x1] = cpu_to_be32(k); ror56_64(k, 11); in fcrypt_setkey()
[all …]
/openbmc/linux/drivers/ata/pata_parport/
H A Don20.c91 int k, l, h; in on20_read_block() local
95 for (k = 0; k < count; k++) { in on20_read_block()
97 w2(4); w2(0x26); buf[k] = r0(); in on20_read_block()
101 buf[k] = j44(l, h); in on20_read_block()
109 int k; in on20_write_block() local
113 for (k = 0; k < count; k++) { in on20_write_block()
114 w2(5); w0(buf[k]); w2(7); in on20_write_block()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_vba.c224 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) in get_total_immediate_flip_bw()
238 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; ++k) in get_total_prefetch_bw()
251 for (k = 0; k < mode_lib->vba.NumberOfActiveSurfaces; ++k) in get_total_surface_size_in_mall_bytes()
526 for (k = 0; k < mode_lib->vba.cache_num_pipes; ++k) in fetch_pipe_params()
742 for (k = 0; k < DC__NUM_CURSOR__MAX; ++k) { in fetch_pipe_params()
865 for (k = 0; k < mode_lib->vba.cache_num_pipes; ++k) { in fetch_pipe_params()
872 for (k = 1; k < mode_lib->vba.cache_num_pipes; ++k) { in fetch_pipe_params()
881 for (k = 0; k < mode_lib->vba.cache_num_pipes; ++k) { in fetch_pipe_params()
908 for (k = 0; k < mode_lib->vba.cache_num_pipes; ++k) { in fetch_pipe_params()
951 for (k = 0; k < mode_lib->vba.NumberOfActivePlanes; k++) in cache_debug_params()
[all …]
/openbmc/qemu/hw/misc/
H A Dpca9552.c64 PCA955xClass *k = PCA955X_GET_CLASS(s); in pca955x_display_pins_status() local
76 for (i = 0; i < k->pin_count; i++) { in pca955x_display_pins_status()
87 for (i = 0; i < k->pin_count; i++) { in pca955x_display_pins_status()
105 PCA955xClass *k = PCA955X_GET_CLASS(s); in pca955x_update_pin_input() local
108 for (i = 0; i < k->pin_count; i++) { in pca955x_update_pin_input()
189 PCA955xClass *k = PCA955X_GET_CLASS(s); in pca955x_autoinc() local
265 if (led < 0 || led > k->pin_count) { in pca955x_get_led()
306 if (led < 0 || led > k->pin_count) { in pca955x_set_led()
397 k->event = pca955x_event; in pca955x_class_init()
398 k->recv = pca955x_recv; in pca955x_class_init()
[all …]
/openbmc/linux/sound/pci/emu10k1/
H A Dvoice.c28 int i, j, k, skip; in voice_alloc() local
42 for (k = 0; k < number; k++) { in voice_alloc()
43 voice = &emu->voices[i + k]; in voice_alloc()
45 skip = k + 1; in voice_alloc()
50 for (k = 0; k < number; k++) { in voice_alloc()
51 voice = &emu->voices[i + k]; in voice_alloc()

12345678910>>...115