/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | loop2.c | 17 int i = 0; in while_true() local 21 i += 3; in while_true() 23 i += 7; in while_true() 24 if (i > 40) in while_true() 28 return i; in while_true()
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/ |
H A D | rcK | 6 for i in /etc/rc6.d/K??*; do 9 [ ! -f "$i" ] && continue 11 case "$i" in 17 . $i 22 $i stop
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/toybox/toybox-inittab/ |
H A D | rcK | 6 for i in /etc/rc6.d/K??*; do 9 [ ! -f "$i" ] && continue 11 case "$i" in 17 . $i 22 $i stop
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_jpu.c | 492 for (i = 0; i < len; i++) in jpu_set_tbl() 542 for (i = 0; i < ARRAY_SIZE(zigzag); i++) in put_qtbl() 550 for (i = 0; i < len; i += 4) in put_htbl() 684 for (i = 0; i < ARRAY_SIZE(jpu_formats); i++) { in jpu_find_format() 698 for (i = 0; i < ARRAY_SIZE(jpu_formats); ++i) { in jpu_enum_fmt() 806 for (i = 0; i < pix->num_planes; ++i) in __jpu_try_fmt() 812 for (i = 0; i < pix->num_planes; ++i) { in __jpu_try_fmt() 1010 for (i = 0; i < *nplanes; i++) { in jpu_queue_setup() 1021 for (i = 0; i < *nplanes; i++) in jpu_queue_setup() 1046 for (i = 0; i < q_data->format.num_planes; i++) { in jpu_buf_prepare() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_sprite.c | 56 for (i = 0; i < 8; i++) in i9xx_plane_linear_gamma() 57 gamma[i] = (in[i] << 8) / 32; in i9xx_plane_linear_gamma() 354 for (i = 1; i < 8 - 1; i++) in vlv_sprite_update_gamma() 356 gamma[i] << 16 | gamma[i] << 8 | gamma[i]); in vlv_sprite_update_gamma() 735 for (i = 0; i < 16; i++) in ivb_sprite_linear_gamma() 759 for (i = 0; i < 16; i++) in ivb_sprite_update_gamma() 761 gamma[i] << 20 | gamma[i] << 10 | gamma[i]); in ivb_sprite_update_gamma() 1062 for (i = 1; i < 8 - 1; i++) in g4x_sprite_update_gamma() 1064 gamma[i] << 16 | gamma[i] << 8 | gamma[i]); in g4x_sprite_update_gamma() 1071 for (i = 0; i < 17; i++) in ilk_sprite_linear_gamma() [all …]
|
/openbmc/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 329 for (i = 0; i < NR_POWER_LIMITS; i++) { in find_nr_power_limit() 424 for (i = POWER_LIMIT1, j = 0; i < NR_POWER_LIMITS; i++) { in contraint_to_pl() 574 for (i = 0; i < RAPL_DOMAIN_MAX; i++) { in rapl_init_domains() 1040 int i; in set_floor_freq_default() local 1047 for (i = POWER_LIMIT2; i < NR_POWER_LIMITS; i++) { in set_floor_freq_default() 1455 int i; in rapl_detect_powerlimit() local 1457 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in rapl_detect_powerlimit() 1479 for (i = 0; i < RAPL_DOMAIN_MAX; i++) { in rapl_detect_domains() 1518 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in rapl_remove_package_cpuslocked() 1643 for (i = POWER_LIMIT1; i < NR_POWER_LIMITS; i++) { in power_limit_state_save() [all …]
|
/openbmc/linux/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 314 int i; in svc_i3c_master_dev_from_addr() local 316 for (i = 0; i < SVC_I3C_MAX_DEVS; i++) in svc_i3c_master_dev_from_addr() 755 for (i = 0; i < len; i++) { in svc_i3c_master_readb() 809 for (i = 0; i < 6; i++) in svc_i3c_master_do_daa_locked() 956 for (i = 0; i < dev_nb; i++) { in svc_i3c_master_do_daa() 999 for (i = 0; i < count; i++) in svc_i3c_master_read() 1198 for (i = 0; i < xfer->ncmds; i++) { in svc_i3c_master_start_xfer_locked() 1393 for (i = 0; i < nxfers; i++) { in svc_i3c_master_priv_xfers() 1399 cmd->in = xfers[i].rnw ? xfers[i].data.in : NULL; in svc_i3c_master_priv_xfers() 1434 for (i = 0; i < nxfers; i++) { in svc_i3c_master_i2c_xfers() [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | set-tz.c | 60 int i, ret; in main() local 69 for (i = -15*60; i < 15*60; i += 30) { in main() 70 ret = set_tz(i, dst); in main() 72 if (ret != i) { in main() 73 printf("[FAILED] expected: %i got %i\n", i, ret); in main()
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | simpleboot.c | 30 int node, size, i; in platform_init() local 57 for (i = 0; i < *na; i++) in platform_init() 63 for (i = 0; i < *ns; i++) in platform_init()
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | pkey_alloc.c | 14 int i, printed = 0; in strarray__scnprintf_flags() local 23 for (i = 1; i < sa->nr_entries; ++i) { in strarray__scnprintf_flags() 24 unsigned long bit = 1UL << (i - 1); in strarray__scnprintf_flags() 32 if (sa->entries[i] != NULL) in strarray__scnprintf_flags() 33 … += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); in strarray__scnprintf_flags()
|
/openbmc/linux/Documentation/usb/ |
H A D | usbdevfs-drop-permissions.c | 44 int i, res; in claim_some_intf() local 46 for (i = 0; i < 4; i++) { in claim_some_intf() 47 res = ioctl(fd, USBDEVFS_CLAIMINTERFACE, &i); in claim_some_intf() 49 printf("OK: claimed if %d\n", i); in claim_some_intf() 52 i, -res, strerror(-res)); in claim_some_intf()
|
/openbmc/u-boot/board/nvidia/cardhu/ |
H A D | cardhu.c | 45 int i; in board_sdmmc_voltage_init() local 57 for (i = 0; i < MAX_I2C_RETRY; ++i) { in board_sdmmc_voltage_init() 66 for (i = 0; i < MAX_I2C_RETRY; ++i) { in board_sdmmc_voltage_init()
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | e820.c | 43 unsigned int i, num; in efi_add_known_memory() local 49 for (i = 0; i < num; ++i) { in efi_add_known_memory() 50 start = e820[i].addr; in efi_add_known_memory() 51 pages = ALIGN(e820[i].size, EFI_PAGE_SIZE) >> EFI_PAGE_SHIFT; in efi_add_known_memory() 53 switch (e820[i].type) { in efi_add_known_memory()
|
/openbmc/u-boot/board/freescale/mpc8349emds/ |
H A D | ddr.c | 47 unsigned int i; in fsl_ddr_board_options() local 52 for (i = 0; i < CONFIG_DIMM_SLOTS_PER_CTLR; i++) { in fsl_ddr_board_options() 53 if (pdimm[i].n_ranks) in fsl_ddr_board_options() 56 if (i >= CONFIG_DIMM_SLOTS_PER_CTLR) /* no DIMM */ in fsl_ddr_board_options() 66 if (pbsp->n_ranks == pdimm[i].n_ranks) { in fsl_ddr_board_options()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | isys_stream2mmio_rmgr.c | 45 stream2mmio_sid_ID_t i; in ia_css_isys_stream2mmio_sid_rmgr_acquire() local 55 for (i = STREAM2MMIO_SID0_ID; i < max_sid; i++) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 56 if (bitop_getbit(cur_rsrc->active_table, i) == 0) { in ia_css_isys_stream2mmio_sid_rmgr_acquire() 57 bitop_setbit(cur_rsrc->active_table, i); in ia_css_isys_stream2mmio_sid_rmgr_acquire() 58 *sid = i; in ia_css_isys_stream2mmio_sid_rmgr_acquire()
|
/openbmc/openbmc/meta-security/meta-hardening/recipes-connectivity/openssh/ |
H A D | openssh_%.bbappend | 3 sed -i -e 's:#AllowTcpForwarding yes:AllowTcpForwarding no:' ${D}${sysconfdir}/ssh/sshd_config 4 sed -i -e 's:ClientAliveCountMax 4:ClientAliveCountMax 2:' ${D}${sysconfdir}/ssh/sshd_config 5 sed -i -e 's:#LogLevel INFO:LogLevel VERBOSE:' ${D}${sysconfdir}/ssh/sshd_config 6 sed -i -e 's:#MaxSessions.*:MaxSessions 2:' ${D}${sysconfdir}/ssh/sshd_config 7 sed -i -e 's:#TCPKeepAlive yes:TCPKeepAlive no:' ${D}${sysconfdir}/ssh/sshd_config 8 sed -i -e 's:#AllowAgentForwarding yes:AllowAgentForwarding no:' ${D}${sysconfdir}/ssh/sshd_config 11 …sed -i -e 's:#PermitRootLogin.*:PermitRootLogin prohibit-password:' ${D}${sysconfdir}/ssh/sshd_con…
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | nv10.c | 30 nv10_fb_tile_init(struct nvkm_fb *fb, int i, u32 addr, u32 size, u32 pitch, in nv10_fb_tile_init() argument 39 nv10_fb_tile_fini(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv10_fb_tile_fini() argument 48 nv10_fb_tile_prog(struct nvkm_fb *fb, int i, struct nvkm_fb_tile *tile) in nv10_fb_tile_prog() argument 51 nvkm_wr32(device, 0x100244 + (i * 0x10), tile->limit); in nv10_fb_tile_prog() 52 nvkm_wr32(device, 0x100248 + (i * 0x10), tile->pitch); in nv10_fb_tile_prog() 53 nvkm_wr32(device, 0x100240 + (i * 0x10), tile->addr); in nv10_fb_tile_prog() 54 nvkm_rd32(device, 0x100240 + (i * 0x10)); in nv10_fb_tile_prog()
|
/openbmc/qemu/target/i386/hvf/ |
H A D | hvf-cpu.c | 37 int i; in hvf_cpu_xsave_init() local 48 for (i = XSTATE_SSE_BIT + 1; i < XSAVE_STATE_AREA_COUNT; i++) { in hvf_cpu_xsave_init() 49 ExtSaveArea *esa = &x86_ext_save_areas[i]; in hvf_cpu_xsave_init() 52 int sz = hvf_get_supported_cpuid(0xd, i, R_EAX); in hvf_cpu_xsave_init() 55 esa->offset = hvf_get_supported_cpuid(0xd, i, R_EBX); in hvf_cpu_xsave_init()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | bootparam_utils.h | 55 int i; in sanitize_boot_params() local 82 for (i = 0; i < ARRAY_SIZE(to_save); i++) { in sanitize_boot_params() 83 memcpy(save_base + to_save[i].start, in sanitize_boot_params() 84 bp_base + to_save[i].start, to_save[i].len); in sanitize_boot_params()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | util.h | 67 int i; in ether_addr_copy_mask() local 70 for (i = 0; i < ETH_ALEN; i++) { in ether_addr_copy_mask() 71 if (mask & BIT(i)) in ether_addr_copy_mask() 72 dst[i] = src[i]; in ether_addr_copy_mask()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-sched.c | 330 for (i = 0; i < 10; i++) { in calibrate_run_measurement_overhead() 347 for (i = 0; i < 10; i++) { in calibrate_sleep_measurement_overhead() 499 for (i = 0; i < sched->nr_tasks; i++) { in print_task_traces() 1370 for (i = 0; i < 24 - ret; i++) in output_lat_thread() 1650 for (i = 0; i < cpus_nr; i++) { in map_switch_event() 1932 for (i = r->ncpu; i < n; ++i) in evsel__save_time() 2074 for (i = 0; i < max_cpus; ++i) { in timehist_print_sample() 2277 for (i = 0; i < ncpu; ++i) { in init_idle_threads() 2534 for (i = 0; i < max_cpus; ++i) { in timehist_print_migration_event() 3228 for (i = 0; i < MAX_CPUS; i++) in setup_cpus_switch_event() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ethtool.c | 664 for (i = 0; i < 8; i++, j++) { in bnxt_get_ethtool_stats() 670 for (i = 0; i < 8; i++, j++) { in bnxt_get_ethtool_stats() 676 for (i = 0; i < 8; i++, j++) { in bnxt_get_ethtool_stats() 682 for (i = 0; i < 8; i++, j++) { in bnxt_get_ethtool_stats() 768 for (i = 0; i < 8; i++) { in bnxt_get_strings() 773 for (i = 0; i < 8; i++) { in bnxt_get_strings() 778 for (i = 0; i < 8; i++) { in bnxt_get_strings() 783 for (i = 0; i < 8; i++) { in bnxt_get_strings() 1078 for (i = 0; i < 4; i++) { in bnxt_grxclsrule() 1325 for (i = 0; i < tbl_size; i++) in bnxt_get_rxfh() [all …]
|
/openbmc/linux/drivers/pnp/isapnp/ |
H A D | core.c | 145 int i; in isapnp_key() local 153 for (i = 1; i < 32; i++) { in isapnp_key() 192 int i, j; in isapnp_peek() local 195 for (i = 1; i <= bytes; i++) { in isapnp_peek() 287 int i; in isapnp_isolate() local 295 for (i = 1; i <= 64; i++) { in isapnp_isolate() 307 for (i = 65; i <= 72; i++) { in isapnp_isolate() 859 for (i = 0; i < ISAPNP_MAX_PORT; i++) { in isapnp_get_resources() 864 for (i = 0; i < ISAPNP_MAX_MEM; i++) { in isapnp_get_resources() 869 for (i = 0; i < ISAPNP_MAX_IRQ; i++) { in isapnp_get_resources() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | dwc2_udc_otg.c | 179 unsigned int i; in udc_reinit() local 189 for (i = 0; i < DWC2_MAX_ENDPOINTS; i++) { in udc_reinit() 192 if (i != 0) in udc_reinit() 335 for (i = 0; i < len; i++) { in done() 371 int i; in stop_activity() local 379 for (i = 0; i < DWC2_MAX_ENDPOINTS; i++) { in stop_activity() 399 int i; in reconfig_usbd() local 452 for (i = 1; i < DWC2_MAX_ENDPOINTS; i++) { in reconfig_usbd() 485 for (i = 1; i < DWC2_MAX_HW_ENDPOINTS; i++) in reconfig_usbd() 513 int i; in set_max_pktsize() local [all …]
|
/openbmc/qemu/tests/fp/ |
H A D | fp-test.c | 762 unsigned int i; in test_name_to_op() local 765 for (i = 1; i < NUM_FUNCTIONS; i++) { in test_name_to_op() 777 int i; in round_name_to_mode() local 780 for (i = 1; i < NUM_ROUNDINGMODES; i++) { in round_name_to_mode() 839 unsigned int i; in parse_args() local 900 for (i = 0; i < n_round_modes; i++) { in parse_args() 901 round_modes[i] = i + 1; in parse_args() 914 for (i = 0; i < n_test_ops; i++) { in parse_args() 915 test_ops[i] = i + 1; in parse_args() 920 for (i = 0; i < n_test_ops; i++) { in parse_args() [all …]
|