Home
last modified time | relevance | path

Searched refs:start_reg (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/radeon/
Dr600_cs.c1634 unsigned start_reg, end_reg, reg; in r600_packet3_check() local
1909 start_reg = (idx_value << 2) + PACKET3_SET_CONFIG_REG_OFFSET; in r600_packet3_check()
1910 end_reg = 4 * pkt->count + start_reg - 4; in r600_packet3_check()
1911 if ((start_reg < PACKET3_SET_CONFIG_REG_OFFSET) || in r600_packet3_check()
1912 (start_reg >= PACKET3_SET_CONFIG_REG_END) || in r600_packet3_check()
1918 reg = start_reg + (4 * i); in r600_packet3_check()
1925 start_reg = (idx_value << 2) + PACKET3_SET_CONTEXT_REG_OFFSET; in r600_packet3_check()
1926 end_reg = 4 * pkt->count + start_reg - 4; in r600_packet3_check()
1927 if ((start_reg < PACKET3_SET_CONTEXT_REG_OFFSET) || in r600_packet3_check()
1928 (start_reg >= PACKET3_SET_CONTEXT_REG_END) || in r600_packet3_check()
[all …]
Devergreen_cs.c1779 unsigned start_reg, end_reg, reg; in evergreen_packet3_check() local
2300 start_reg = (idx_value << 2) + PACKET3_SET_CONFIG_REG_START; in evergreen_packet3_check()
2301 end_reg = 4 * pkt->count + start_reg - 4; in evergreen_packet3_check()
2302 if ((start_reg < PACKET3_SET_CONFIG_REG_START) || in evergreen_packet3_check()
2303 (start_reg >= PACKET3_SET_CONFIG_REG_END) || in evergreen_packet3_check()
2308 for (reg = start_reg, idx++; reg <= end_reg; reg += 4, idx++) { in evergreen_packet3_check()
2317 start_reg = (idx_value << 2) + PACKET3_SET_CONTEXT_REG_START; in evergreen_packet3_check()
2318 end_reg = 4 * pkt->count + start_reg - 4; in evergreen_packet3_check()
2319 if ((start_reg < PACKET3_SET_CONTEXT_REG_START) || in evergreen_packet3_check()
2320 (start_reg >= PACKET3_SET_CONTEXT_REG_END) || in evergreen_packet3_check()
[all …]
Dsi.c4473 u32 start_reg, reg, i; in si_vm_packet3_cp_dma_check() local
4480 start_reg = idx_value << 2; in si_vm_packet3_cp_dma_check()
4482 reg = start_reg; in si_vm_packet3_cp_dma_check()
4489 reg = start_reg + (4 * i); in si_vm_packet3_cp_dma_check()
4501 start_reg = ib[idx + 2]; in si_vm_packet3_cp_dma_check()
4503 reg = start_reg; in si_vm_packet3_cp_dma_check()
4510 reg = start_reg + (4 * i); in si_vm_packet3_cp_dma_check()
4528 u32 start_reg, end_reg, reg, i; in si_vm_packet3_gfx_check() local
4586 start_reg = ib[idx + 1] * 4; in si_vm_packet3_gfx_check()
4588 if (!si_vm_reg_valid(start_reg)) in si_vm_packet3_gfx_check()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init_ops.h713 u32 start_reg = 0; in bnx2x_ilt_boundry_init_op() local
723 start_reg = PXP2_REG_PSWRQ_CDU0_L2P; in bnx2x_ilt_boundry_init_op()
726 start_reg = PXP2_REG_PSWRQ_QM0_L2P; in bnx2x_ilt_boundry_init_op()
729 start_reg = PXP2_REG_PSWRQ_SRC0_L2P; in bnx2x_ilt_boundry_init_op()
732 start_reg = PXP2_REG_PSWRQ_TM0_L2P; in bnx2x_ilt_boundry_init_op()
735 REG_WR(bp, start_reg + BP_FUNC(bp)*4, in bnx2x_ilt_boundry_init_op()
741 start_reg = PXP2_REG_RQ_CDU_FIRST_ILT; in bnx2x_ilt_boundry_init_op()
745 start_reg = PXP2_REG_RQ_QM_FIRST_ILT; in bnx2x_ilt_boundry_init_op()
749 start_reg = PXP2_REG_RQ_SRC_FIRST_ILT; in bnx2x_ilt_boundry_init_op()
753 start_reg = PXP2_REG_RQ_TM_FIRST_ILT; in bnx2x_ilt_boundry_init_op()
[all …]
/drivers/mfd/
Dwm8350-core.c104 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_read() argument
109 err = regmap_bulk_read(wm8350->regmap, start_reg, dest, regs); in wm8350_block_read()
112 start_reg); in wm8350_block_read()
118 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_write() argument
123 ret = regmap_bulk_write(wm8350->regmap, start_reg, src, regs); in wm8350_block_write()
126 start_reg); in wm8350_block_write()
/drivers/input/touchscreen/
Dst1232.c64 u8 start_reg; in st1232_ts_read_data() local
71 msg[0].buf = &start_reg; in st1232_ts_read_data()
72 start_reg = 0x10; in st1232_ts_read_data()
/drivers/i2c/busses/
Di2c-mt65xx.c385 u16 start_reg; in mtk_i2c_do_transfer() local
508 start_reg = I2C_TRANSAC_START; in mtk_i2c_do_transfer()
510 start_reg = I2C_TRANSAC_START | I2C_RS_MUL_TRIG; in mtk_i2c_do_transfer()
512 start_reg |= I2C_RS_MUL_CNFG; in mtk_i2c_do_transfer()
514 writew(start_reg, i2c->base + OFFSET_START); in mtk_i2c_do_transfer()
/drivers/base/regmap/
Dregmap-debugfs.c202 unsigned int val, start_reg; in regmap_read_debugfs() local
214 start_reg = regmap_debugfs_get_dump_start(map, from, *ppos, &p); in regmap_read_debugfs()
216 for (i = start_reg; i <= to; i += map->reg_stride) { in regmap_read_debugfs()
/drivers/hwmon/
Df71882fg.c2350 u8 start_reg, reg; in f71882fg_probe() local
2365 start_reg = f71882fg_read8(data, F71882FG_REG_START); in f71882fg_probe()
2366 if (start_reg & 0x04) { in f71882fg_probe()
2370 if (!(start_reg & 0x03)) { in f71882fg_probe()
2380 if (start_reg & 0x01) { in f71882fg_probe()
2450 if (start_reg & 0x02) { in f71882fg_probe()
2521 u8 start_reg = f71882fg_read8(data, F71882FG_REG_START); in f71882fg_remove() local
2528 if (start_reg & 0x01) { in f71882fg_remove()
2581 if (start_reg & 0x02) { in f71882fg_remove()