/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nv_local.h | 62 #define NV_WR08(p,i,d) (__raw_writeb((d), (void __iomem *)(p) + (i))) argument 63 #define NV_RD08(p,i) (__raw_readb((void __iomem *)(p) + (i))) argument 64 #define NV_WR16(p,i,d) (__raw_writew((d), (void __iomem *)(p) + (i))) argument 65 #define NV_RD16(p,i) (__raw_readw((void __iomem *)(p) + (i))) argument 66 #define NV_WR32(p,i,d) (__raw_writel((d), (void __iomem *)(p) + (i))) argument 67 #define NV_RD32(p,i) (__raw_readl((void __iomem *)(p) + (i))) argument 70 #define VGA_WR08(p,i,d) (writeb((d), (void __iomem *)(p) + (i))) argument 71 #define VGA_RD08(p,i) (readb((void __iomem *)(p) + (i))) argument
|
/openbmc/u-boot/include/asm-generic/ |
H A D | atomic.h | 13 #define ATOMIC_INIT(i) { (i) } argument 16 #define atomic_set(v, i) ((v)->counter = (i)) argument 18 #define atomic64_set(v, i) atomic_set(v, i) argument 20 static inline void atomic_add(int i, atomic_t *v) in atomic_add() 29 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub() 69 static inline int atomic_add_negative(int i, volatile atomic_t *v) in atomic_add_negative() 93 static inline void atomic64_add(long long i, volatile atomic64_t *v) in atomic64_add() 102 static inline void atomic64_sub(long long i, volatile atomic64_t *v) in atomic64_sub() 113 static inline void atomic64_add(long i, volatile atomic64_t *v) in atomic64_add() 122 static inline void atomic64_sub(long i, volatile atomic64_t *v) in atomic64_sub()
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | local.h | 17 #define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) } argument 20 #define local_set(l, i) atomic_long_set(&(l)->a, (i)) argument 22 #define local_add(i, l) atomic_long_add((i), (&(l)->a)) argument 23 #define local_sub(i, l) atomic_long_sub((i), (&(l)->a)) argument 30 static __inline__ long local_add_return(long i, local_t * l) in local_add_return() 63 static __inline__ long local_sub_return(long i, local_t * l) in local_sub_return() 141 #define local_sub_and_test(i, l) (local_sub_return((i), (l)) == 0) argument 172 #define local_add_negative(i, l) (local_add_return(i, (l)) < 0) argument 181 #define __local_add(i, l) ((l)->a.counter+=(i)) argument 182 #define __local_sub(i, l) ((l)->a.counter-=(i)) argument
|
/openbmc/linux/lib/ |
H A D | test_vmalloc.c | 84 int i; in random_size_align_alloc_test() local 117 int i; in align_shift_alloc_test() local 136 int i; in fix_align_alloc_test() local 155 int i; in random_size_alloc_test() local 176 int i; in long_busy_list_alloc_test() local 219 int i; in full_fit_alloc_test() local 268 int i; in fix_size_alloc_test() local 294 int i; in pcpu_alloc_test() local 330 int i; in kvfree_rcu_1_arg_vmalloc_test() local 348 int i; in kvfree_rcu_2_arg_vmalloc_test() local [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | map_perf_test_user.c | 85 int i; in test_hash_prealloc() local 226 int i; in test_percpu_hash_prealloc() local 238 int i; in test_hash_kmalloc() local 250 int i; in test_percpu_hash_kmalloc() local 262 int i; in test_lpm_kmalloc() local 274 int i; in test_hash_lookup() local 286 int i; in test_array_lookup() local 317 int i; in pre_test() local 334 int i; in loop() local 349 int i; in run_perf_test() local [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | maple.c | 97 int i, j, total; in check_new_node() local 499 for (int i = 0; i < 4; i++) in check_erase_testset() local 501 for (int i = 0; i < 4; i++) in check_erase_testset() local 508 for (int i = 2; i < 4; i++) in check_erase_testset() local 34349 int i; in rcu_reader_fwd() local 34459 int i; in rcu_reader_rev() local 34589 int i, j = 10000; in rcu_stress_rev() local 34648 int j, i; in rcu_stress_fwd() local 34715 unsigned int count, i; in rcu_stress() local 34935 int i; in run_check_rcu() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu_helper.c | 113 uint32_t i; in phm_wait_on_register() local 159 uint32_t i; in phm_wait_for_register_unequal() local 251 uint32_t i; in phm_get_svi2_mvdd_voltage_table() local 279 uint32_t i; in phm_get_svi2_vddci_voltage_table() local 307 int i = 0; in phm_get_svi2_vdd_voltage_table() local 349 int i; in phm_reset_single_dpm_table() local 374 int32_t i; in phm_get_dpm_level_enable_mask_value() local 393 uint8_t i; in phm_get_voltage_index() local 432 uint32_t i; in phm_find_closest_vddci() local 447 uint32_t i; in phm_find_boot_level() local [all …]
|
/openbmc/linux/drivers/net/ethernet/sunplus/ |
H A D | spl2sw_desc.c | 17 u32 i, j; in spl2sw_rx_descs_flush() local 35 u32 i; in spl2sw_tx_descs_clean() local 64 u32 i, j; in spl2sw_rx_descs_clean() local 100 u32 i; in spl2sw_descs_free() local 129 u32 i, j; in spl2sw_rx_descs_init() local 172 u32 i; in spl2sw_descs_alloc() local 199 u32 i, ret; in spl2sw_descs_init() local
|
/openbmc/qemu/target/i386/ |
H A D | ops_sse.h | 327 int i; in SSE_HELPER_B() local 336 int i; in glue() local 356 int i; in glue() local 376 int i; in glue() local 408 int i; in glue() local 418 int i; in glue() local 432 int i; in glue() local 537 int i; in SSE_HELPER_S() local 545 int i; in glue() local 554 int i; in helper_sqrtss() local [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 52 #define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \ argument 55 #define blk0(i) block->l[i] argument 59 #define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \ argument 63 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 64 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument 65 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 66 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument 67 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument 149 uint32_t i; in SHA1Update() local 174 unsigned i; in SHA1Final() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters_num.c | 16 __s64 sum = 0, i; in num_empty_zero() local 30 __s64 sum = 0, i; in num_empty_int_min() local 44 __s64 sum = 0, i; in num_empty_int_max() local 58 __s64 sum = 0, i; in num_empty_minus_one() local 72 __s64 sum = 0, i; in num_simple_sum() local 86 __s64 sum = 0, i; in num_neg_sum() local 100 __s64 sum = 0, i; in num_very_neg_sum() local 114 __s64 sum = 0, i; in num_very_big_sum() local 128 __s64 sum = 0, i; in num_neg_pos_sum() local 205 int cnt = 0, *v, i; in num_overfetched_elem_cnt() local [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_mctrl_gpio.c | 54 enum mctrl_gpio_idx i; in mctrl_gpio_set() local 99 enum mctrl_gpio_idx i; in mctrl_gpio_get() local 120 enum mctrl_gpio_idx i; in mctrl_gpio_get_outputs() local 141 enum mctrl_gpio_idx i; in mctrl_gpio_init_noauto() local 227 enum mctrl_gpio_idx i; in mctrl_gpio_init() local 280 enum mctrl_gpio_idx i; in mctrl_gpio_free() local 302 enum mctrl_gpio_idx i; in mctrl_gpio_enable_ms() local 331 enum mctrl_gpio_idx i; in mctrl_gpio_disable_ms() local 352 enum mctrl_gpio_idx i; in mctrl_gpio_enable_irq_wake() local 371 enum mctrl_gpio_idx i; in mctrl_gpio_disable_irq_wake() local
|
/openbmc/linux/kernel/trace/ |
H A D | tracing_map.c | 289 unsigned int i; in tracing_map_array_clear() local 300 unsigned int i; in tracing_map_array_free() local 325 unsigned int i; in tracing_map_array_alloc() local 360 unsigned i; in tracing_map_elt_clear() local 377 unsigned int i; in tracing_map_elt_init_fields() local 469 unsigned int i; in tracing_map_free_elts() local 485 unsigned int i; in tracing_map_alloc_elts() local 700 unsigned int i; in tracing_map_clear() local 774 unsigned int i; in tracing_map_create() local 943 unsigned int i; in tracing_map_destroy_sort_entries() local [all …]
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.c | 66 int i; in mthca_free_icm_pages() local 79 int i; in mthca_free_icm_coherent() local 259 int i; in mthca_table_put() local 347 int i; in mthca_table_put_range() local 365 int i; in mthca_alloc_icm_table() local 426 int i; in mthca_free_icm_table() local 451 int i; in mthca_map_user_db() local 529 int i; in mthca_init_user_db_tab() local 552 int i; in mthca_cleanup_user_db_tab() local 705 int i; in mthca_init_db_tab() local [all …]
|
/openbmc/qemu/tests/tcg/multiarch/system/ |
H A D | memory.c | 63 int i; in init_test_data_u8() local 88 int i; in init_test_data_s8() local 107 int i; in reset_start_data() local 118 int i; in init_test_data_u16() local 138 int i; in init_test_data_u32() local 160 int i; in init_test_data_u64() local 183 int i; in read_test_data_u16() local 208 int i; in read_test_data_u32() local 249 int i; in read_test_data_u64() local 307 int i; in do_unsigned_reads() local [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | a100u2w.c | 141 int i; in wait_chip_ready() local 153 int i; in wait_firmware_ready() local 166 int i; in wait_scsi_reset_done() local 179 int i; in wait_HDO_off() local 192 int i; in wait_hdi_set() local 293 int i; in se2_rd_all() local 321 int i; in se2_update_all() local 503 u8 i; in init_orchid() local 600 u8 i; in orc_device_reset() local 670 u8 i; in __orc_alloc_scb() local [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_binarydesc.c | 44 unsigned int i; in pipe_binarydesc_get_offline() local 87 unsigned int i; in ia_css_pipe_get_copy_binarydesc() local 114 unsigned int i; in ia_css_pipe_get_vfpp_binarydesc() local 161 unsigned int i; in binarydesc_calculate_bds_factor() local 208 unsigned int i; in ia_css_pipe_get_preview_binarydesc() local 326 unsigned int i; in ia_css_pipe_get_video_binarydesc() local 488 unsigned int i; in ia_css_pipe_get_capturepp_binarydesc() local 543 unsigned int i; in ia_css_pipe_get_primary_binarydesc() local 608 unsigned int i; in ia_css_pipe_get_pre_gdc_binarydesc() local 635 unsigned int i; in ia_css_pipe_get_gdc_binarydesc() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_link_enc_cfg.c | 36 int i; in is_dig_link_enc_stream() local 85 int i; in get_stream_using_link_enc() local 105 int i; in remove_link_enc_assignment() local 140 int i; in add_link_enc_assignment() local 176 int i; in find_first_avail_link_enc() local 243 int i; in get_link_enc_used_by_link() local 261 int i; in clear_enc_assignments() local 303 int i; in link_enc_cfg_link_encs_assign() local 477 int i; in link_enc_cfg_get_stream_using_link_enc() local 512 int i; in link_enc_cfg_get_link_enc_used_by_link() local [all …]
|
/openbmc/phosphor-inventory-manager/test/ |
H A D | interface_ops_test.cpp | 117 Interface i; in TEST() local 134 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST() local 151 Interface i; in TEST() local 168 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST() local 185 Interface i; in TEST() local 200 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST() local 215 Interface i; in TEST() local 245 Interface i; in TEST() local 277 Interface i; in TEST() local 309 Interface i; in TEST() local [all …]
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | core.c | 37 unsigned int i; in sh_pfc_map_resources() local 91 unsigned int i; in sh_pfc_phys_to_virt() local 113 unsigned int i; in sh_pfc_get_pin_index() local 402 unsigned int i; in sh_pfc_init_ranges() local 783 unsigned int i; in is0s() local 799 unsigned int i; in sh_pfc_check_reg() local 825 unsigned int i; in sh_pfc_check_enum() local 844 unsigned int i; in sh_pfc_check_reg_enums() local 857 unsigned int i; in sh_pfc_find_pin() local 927 unsigned int i; in sh_pfc_check_drive_reg() local [all …]
|
/openbmc/qemu/target/hexagon/ |
H A D | translate.c | 86 for (int i = 0; i < num; i++) { in ctx_future_vreg_off() local 108 for (int i = 0; i < num; i++) { in ctx_tmp_vreg_off() local 239 for (int i = 0; i < nwords; i++) { in read_packet_words() local 249 for (int i = 0; i < pkt->num_insns; i++) { in check_for_attrib() local 487 int i; in gen_start_packet() local 664 int i; in gen_reg_writes() local 834 int i; in pkt_has_hvx_store() local 846 int i; in gen_commit_hvx() local 896 for (int i = 0; i < num_insns; i++) { in update_exec_counters() local 1028 int i; in decode_and_translate_packet() local [all …]
|
/openbmc/u-boot/include/bedbug/ |
H A D | ppc.h | 59 #define GET_OPCD(i) (((unsigned long)(i) >> 26) & 0x3f) argument 60 #define MAKE_OPCODE(i) ((((unsigned long)(i)) & 0x3f) << 26) argument 96 #define SC_OPCODE(i) (MAKE_OPCODE(i) | 0x2) argument 116 #define D_OPCODE(i) MAKE_OPCODE(i) argument 128 #define DS_OPCODE(i,xo) (MAKE_OPCODE(i) | ((xo) & 0x3)) argument 171 #define X_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument 187 #define XL_OPCODE(i,xo,lk) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument 257 #define A_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x1f) << 1) | \ argument 270 #define M_OPCODE(i,rc) (MAKE_OPCODE(i) | ((rc) & 0x1)) argument 282 #define MD_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x7) << 2) | \ argument [all …]
|
/openbmc/linux/drivers/video/fbdev/geode/ |
H A D | suspend_gx.c | 16 int i; in gx_save_regs() local 44 int i; in gx_set_dotpll() local 66 int i; in gx_restore_gfx_proc() local 84 int i; in gx_restore_display_ctlr() local 134 int i; in gx_restore_video_proc() local 171 int i; in gx_restore_regs() local
|
/openbmc/linux/fs/ufs/ |
H A D | util.c | 23 unsigned i, j ; in _ubh_bread_() local 51 unsigned i, j; in ubh_bread_uspi() local 74 unsigned i; in ubh_brelse() local 84 unsigned i; in ubh_brelse_uspi() local 95 unsigned i; in ubh_mark_buffer_dirty() local 104 unsigned i; in ubh_mark_buffer_uptodate() local 119 unsigned i; in ubh_sync_block() local 131 unsigned i; in ubh_bforget() local 140 unsigned i; in ubh_buffer_dirty() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | mmhub_v9_4.c | 103 int i; in mmhub_v9_4_setup_vm_pt_regs() local 300 int i; in mmhub_v9_4_setup_vmid_config() local 367 unsigned i; in mmhub_v9_4_program_invalidation() local 385 int i; in mmhub_v9_4_gart_enable() local 409 u32 i, j; in mmhub_v9_4_gart_disable() local 453 int i; in mmhub_v9_4_set_fault_enable_default() local 512 int i; in mmhub_v9_4_init() local 563 int i, j; in mmhub_v9_4_update_medium_grain_clock_gating() local 620 int i; in mmhub_v9_4_update_medium_grain_light_sleep() local 1567 uint32_t i; in mmhub_v9_4_get_ras_error_count() local [all …]
|