Home
last modified time | relevance | path

Searched refs:offset_tmp (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/intc/
H A Dloongarch_pch_pic.c269 int64_t offset_tmp; in loongarch_pch_pic_readb() local
273 offset_tmp = offset - PCH_PIC_HTMSI_VEC_OFFSET; in loongarch_pch_pic_readb()
274 if (offset_tmp >= 0 && offset_tmp < 64) { in loongarch_pch_pic_readb()
275 val = s->htmsi_vector[offset_tmp]; in loongarch_pch_pic_readb()
279 offset_tmp = offset - PCH_PIC_ROUTE_ENTRY_OFFSET; in loongarch_pch_pic_readb()
280 if (offset_tmp >= 0 && offset_tmp < 64) { in loongarch_pch_pic_readb()
281 val = s->route_entry[offset_tmp]; in loongarch_pch_pic_readb()
296 int32_t offset_tmp; in loongarch_pch_pic_writeb() local
303 offset_tmp = offset - PCH_PIC_HTMSI_VEC_OFFSET; in loongarch_pch_pic_writeb()
304 if (offset_tmp >= 0 && offset_tmp < 64) { in loongarch_pch_pic_writeb()
[all …]
/openbmc/linux/arch/riscv/kernel/probes/
H A Dsimulate-insn.c155 s32 offset_tmp; in simulate_branch() local
163 offset_tmp = branch_offset(opcode); in simulate_branch()
166 offset = (rs1_val == rs2_val) ? offset_tmp : 4; in simulate_branch()
169 offset = (rs1_val != rs2_val) ? offset_tmp : 4; in simulate_branch()
172 offset = ((long)rs1_val < (long)rs2_val) ? offset_tmp : 4; in simulate_branch()
175 offset = ((long)rs1_val >= (long)rs2_val) ? offset_tmp : 4; in simulate_branch()
178 offset = (rs1_val < rs2_val) ? offset_tmp : 4; in simulate_branch()
181 offset = (rs1_val >= rs2_val) ? offset_tmp : 4; in simulate_branch()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Drtw8822c.c1657 s8 offset_tmp[RF_GAIN_NUM] = {0}; in rtw8822c_txgapk_write_tx_gain() local
1681 offset_tmp[i] = 0; in rtw8822c_txgapk_write_tx_gain()
1687 offset_tmp[i] += txgapk->offset[j][path]; in rtw8822c_txgapk_write_tx_gain()
1688 txgapk->fianl_offset[i][path] = offset_tmp[i]; in rtw8822c_txgapk_write_tx_gain()
1697 txgapk->rf3f_fs[path][i] = offset_tmp[i]; in rtw8822c_txgapk_write_tx_gain()
1700 offset_tmp[i], i); in rtw8822c_txgapk_write_tx_gain()
1711 offset_tmp[i]); in rtw8822c_txgapk_write_tx_gain()