Home
last modified time | relevance | path

Searched refs:start_reg (Results 1 – 11 of 11) 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.c1780 unsigned start_reg, end_reg, reg; in evergreen_packet3_check() local
2301 start_reg = (idx_value << 2) + PACKET3_SET_CONFIG_REG_START; in evergreen_packet3_check()
2302 end_reg = 4 * pkt->count + start_reg - 4; in evergreen_packet3_check()
2303 if ((start_reg < PACKET3_SET_CONFIG_REG_START) || in evergreen_packet3_check()
2304 (start_reg >= PACKET3_SET_CONFIG_REG_END) || in evergreen_packet3_check()
2309 for (reg = start_reg, idx++; reg <= end_reg; reg += 4, idx++) { in evergreen_packet3_check()
2318 start_reg = (idx_value << 2) + PACKET3_SET_CONTEXT_REG_START; in evergreen_packet3_check()
2319 end_reg = 4 * pkt->count + start_reg - 4; in evergreen_packet3_check()
2320 if ((start_reg < PACKET3_SET_CONTEXT_REG_START) || in evergreen_packet3_check()
2321 (start_reg >= PACKET3_SET_CONTEXT_REG_END) || in evergreen_packet3_check()
[all …]
Dsi.c4481 u32 start_reg, reg, i; in si_vm_packet3_cp_dma_check() local
4488 start_reg = idx_value << 2; in si_vm_packet3_cp_dma_check()
4490 reg = start_reg; in si_vm_packet3_cp_dma_check()
4497 reg = start_reg + (4 * i); in si_vm_packet3_cp_dma_check()
4509 start_reg = ib[idx + 2]; in si_vm_packet3_cp_dma_check()
4511 reg = start_reg; in si_vm_packet3_cp_dma_check()
4518 reg = start_reg + (4 * i); in si_vm_packet3_cp_dma_check()
4536 u32 start_reg, end_reg, reg, i; in si_vm_packet3_gfx_check() local
4594 start_reg = ib[idx + 1] * 4; in si_vm_packet3_gfx_check()
4596 if (!si_vm_reg_valid(start_reg)) in si_vm_packet3_gfx_check()
[all …]
/drivers/input/touchscreen/
Dst1232.c41 u8 start_reg; member
63 u8 start_reg = ts->chip_info->start_reg; in st1232_ts_read_data() local
70 msg[0].buf = &start_reg; in st1232_ts_read_data()
163 .start_reg = 0x12,
172 .start_reg = 0x12,
/drivers/mfd/
Dwm8350-core.c100 int wm8350_block_read(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_read() argument
105 err = regmap_bulk_read(wm8350->regmap, start_reg, dest, regs); in wm8350_block_read()
108 start_reg); in wm8350_block_read()
114 int wm8350_block_write(struct wm8350 *wm8350, int start_reg, int regs, in wm8350_block_write() argument
119 ret = regmap_bulk_write(wm8350->regmap, start_reg, src, regs); in wm8350_block_write()
122 start_reg); in wm8350_block_write()
/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/iio/light/
Dvl6180.c102 u16 start_reg, value_reg; member
109 .start_reg = VL6180_ALS_START,
115 .start_reg = VL6180_RANGE_START,
121 .start_reg = VL6180_RANGE_START,
216 vl6180_chan_regs_table[addr].start_reg, VL6180_STARTSTOP); in vl6180_measure()
Dsi1133.c599 static int si1133_bulk_read(struct si1133_data *data, u8 start_reg, u8 length, in si1133_bulk_read() argument
608 return regmap_bulk_read(data->regmap, start_reg, buffer, length); in si1133_bulk_read()
/drivers/i2c/busses/
Di2c-mt65xx.c565 u16 start_reg; in mtk_i2c_do_transfer() local
730 start_reg = I2C_TRANSAC_START; in mtk_i2c_do_transfer()
732 start_reg = I2C_TRANSAC_START | I2C_RS_MUL_TRIG; in mtk_i2c_do_transfer()
734 start_reg |= I2C_RS_MUL_CNFG; in mtk_i2c_do_transfer()
736 mtk_i2c_writew(i2c, start_reg, OFFSET_START); in mtk_i2c_do_transfer()
/drivers/base/regmap/
Dregmap-debugfs.c225 unsigned int val, start_reg; in regmap_read_debugfs() local
237 start_reg = regmap_debugfs_get_dump_start(map, from, *ppos, &p); in regmap_read_debugfs()
239 for (i = start_reg; i >= 0 && i <= to; in regmap_read_debugfs()
/drivers/hwmon/
Df71882fg.c2337 u8 start_reg, reg; in f71882fg_probe() local
2352 start_reg = f71882fg_read8(data, F71882FG_REG_START); in f71882fg_probe()
2353 if (start_reg & 0x04) { in f71882fg_probe()
2357 if (!(start_reg & 0x03)) { in f71882fg_probe()
2367 if (start_reg & 0x01) { in f71882fg_probe()
2437 if (start_reg & 0x02) { in f71882fg_probe()
2508 u8 start_reg = f71882fg_read8(data, F71882FG_REG_START); in f71882fg_remove() local
2515 if (start_reg & 0x01) { in f71882fg_remove()
2568 if (start_reg & 0x02) { in f71882fg_remove()