/openbmc/u-boot/drivers/rtc/ |
H A D | ds164x.c | 57 uchar reg_a; in rtc_get() local 59 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get() 61 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get() 72 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get() 103 uchar reg_a; in rtc_set() local 111 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set() 112 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set() 126 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set() 133 uchar reg_a, reg_b; in rtc_reset() local 135 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset() [all …]
|
H A D | ds174x.c | 54 uchar reg_a; in rtc_get() local 56 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get() 58 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get() 70 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get() 101 uchar reg_a; in rtc_set() local 108 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set() 109 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set() 124 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set() 131 uchar reg_a, reg_b, reg_c; in rtc_reset() local 133 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset() [all …]
|
H A D | ds1556.c | 59 uchar reg_a; in rtc_get() local 61 reg_a = rtc_read( RTC_CONTROLA ); in rtc_get() 63 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_READ )); in rtc_get() 75 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_READ )); in rtc_get() 106 uchar reg_a; in rtc_set() local 113 reg_a = rtc_read( RTC_CONTROLA ); in rtc_set() 114 rtc_write( RTC_CONTROLA, ( reg_a | RTC_CA_WRITE )); in rtc_set() 129 rtc_write( RTC_CONTROLA, ( reg_a & ~RTC_CA_WRITE )); in rtc_set() 136 uchar reg_a, reg_b, reg_c; in rtc_reset() local 138 reg_a = rtc_read( RTC_CONTROLA ); in rtc_reset() [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | jit.c | 720 *rega = reg_a(src_gpr); in addr40_offset() 725 emit_alu(nfp_prog, imm_a(nfp_prog), reg_a(src_gpr), ALU_OP_ADD, offset); in addr40_offset() 744 src_base = reg_a(meta->insn.src_reg * 2); in nfp_cpp_memcpy() 770 reg_a(meta->paired_st->dst_reg * 2), off, len - 1, in nfp_cpp_memcpy() 775 reg_a(meta->paired_st->dst_reg * 2), off, xfer_num - 1, in nfp_cpp_memcpy() 782 reg_a(meta->paired_st->dst_reg * 2), off, in nfp_cpp_memcpy() 789 reg_a(meta->paired_st->dst_reg * 2), off, in nfp_cpp_memcpy() 796 reg_a(meta->paired_st->dst_reg * 2), off, 7, in nfp_cpp_memcpy() 802 reg_a(meta->paired_st->dst_reg * 2), off, len - 33, in nfp_cpp_memcpy() 813 reg_a(meta->paired_st->dst_reg * 2), off, in nfp_cpp_memcpy() [all …]
|
H A D | main.h | 71 #define stack_reg(np) reg_a(STATIC_REG_STACK) 75 #define imm_a(np) reg_a(STATIC_REG_IMM) 77 #define imma_a(np) reg_a(STATIC_REG_IMMA)
|
/openbmc/u-boot/drivers/clk/ |
H A D | ics8n3qv01.c | 34 u8 reg_a, reg_b, reg_c, reg_d, reg_f; in ics8n3qv01_get_fout_calc() local 53 reg_a = val[0]; /* Register 0 + index */ in ics8n3qv01_get_fout_calc() 59 mint = ((reg_a >> 1) & 0x1f) | /* MINTi[4-0]*/ in ics8n3qv01_get_fout_calc() 61 mfrac = ((reg_a & 0x01) << 17) | /* MFRACi[17] */ in ics8n3qv01_get_fout_calc()
|
/openbmc/linux/drivers/regulator/ |
H A D | da9055-regulator.c | 56 int reg_a; member 188 ret = da9055_reg_read(regulator->da9055, volt.reg_a); in da9055_regulator_get_voltage_sel() 218 return da9055_reg_update(regulator->da9055, info->volt.reg_a, in da9055_regulator_set_voltage_sel() 235 return da9055_reg_update(regulator->da9055, info->volt.reg_a, in da9055_regulator_set_voltage_sel() 354 .reg_a = DA9055_REG_VBCORE_A + DA9055_ID_##_id, \ 388 .reg_a = DA9055_REG_VBCORE_A + DA9055_ID_##_id, \
|
/openbmc/u-boot/board/gdsys/common/ |
H A D | osd.c | 137 u8 reg_a, reg_b, reg_c, reg_d, reg_f; in ics8n3qv01_get_fout_calc() local 143 reg_a = i2c_reg_read(ICS8N3QV01_I2C_ADDR, 0 + index); in ics8n3qv01_get_fout_calc() 149 mint = ((reg_a >> 1) & 0x1f) | (reg_f & 0x20); in ics8n3qv01_get_fout_calc() 150 mfrac = ((reg_a & 0x01) << 17) | (reg_b << 9) | (reg_c << 1) in ics8n3qv01_get_fout_calc()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_asm.h | 311 #define reg_a(x) __enc_swreg((x), NN_REG_GPR_A) macro
|
/openbmc/qemu/target/i386/tcg/ |
H A D | emit.c.inc | 46 typedef void (*SSEFunc_0_epp)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b); 47 typedef void (*SSEFunc_0_eppp)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 49 typedef void (*SSEFunc_0_epppp)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 51 typedef void (*SSEFunc_0_eppi)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 53 typedef void (*SSEFunc_0_epppi)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 55 typedef void (*SSEFunc_0_ppi)(TCGv_ptr reg_a, TCGv_ptr reg_b, TCGv_i32 val); 56 typedef void (*SSEFunc_0_pppi)(TCGv_ptr reg_a, TCGv_ptr reg_b, TCGv_ptr reg_c, 58 typedef void (*SSEFunc_0_eppt)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 60 typedef void (*SSEFunc_0_epppti)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, 62 typedef void (*SSEFunc_0_eppppi)(TCGv_ptr env, TCGv_ptr reg_a, TCGv_ptr reg_b, [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_reg.h | 3524 #define _VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument 3525 _PIPE((pipe) * 2 + (plane_id) - PLANE_SPRITE0, (reg_a), (reg_b)) 3526 #define _MMIO_VLV_SPR(pipe, plane_id, reg_a, reg_b) \ argument 3527 _MMIO(_VLV_SPR((pipe), (plane_id), (reg_a), (reg_b)))
|
/openbmc/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | rtw8822c.c | 3326 u8 reg_a, reg_b; in rtw8822c_dpk_tx_pause() local 3333 reg_a = (u8)rtw_read_rf(rtwdev, RF_PATH_A, 0x00, 0xf0000); in rtw8822c_dpk_tx_pause() 3337 } while ((reg_a == 2 || reg_b == 2) && count < 2500); in rtw8822c_dpk_tx_pause()
|