wrptr 73 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_base16bpp(char *wrptr, u32 base) wrptr 76 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, 0x20, base >> 16); wrptr 77 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, 0x21, base >> 8); wrptr 78 drivers/gpu/drm/udl/udl_modeset.c return udl_set_register(wrptr, 0x22, base); wrptr 85 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_base8bpp(char *wrptr, u32 base) wrptr 87 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, 0x26, base >> 16); wrptr 88 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, 0x27, base >> 8); wrptr 89 drivers/gpu/drm/udl/udl_modeset.c return udl_set_register(wrptr, 0x28, base); wrptr 92 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_register_16(char *wrptr, u8 reg, u16 value) wrptr 94 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, reg, value >> 8); wrptr 95 drivers/gpu/drm/udl/udl_modeset.c return udl_set_register(wrptr, reg+1, value); wrptr 102 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_register_16be(char *wrptr, u8 reg, u16 value) wrptr 104 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register(wrptr, reg, value); wrptr 105 drivers/gpu/drm/udl/udl_modeset.c return udl_set_register(wrptr, reg+1, value >> 8); wrptr 134 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_register_lfsr16(char *wrptr, u8 reg, u16 value) wrptr 136 drivers/gpu/drm/udl/udl_modeset.c return udl_set_register_16(wrptr, reg, udl_lfsr16(value)); wrptr 161 drivers/gpu/drm/udl/udl_modeset.c static char *udl_set_vid_cmds(char *wrptr, struct drm_display_mode *mode) wrptr 169 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x01, xds); wrptr 172 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x03, xde); wrptr 176 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x05, yds); wrptr 179 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x07, yde); wrptr 182 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x09, wrptr 186 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x0B, 1); wrptr 189 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x0D, wrptr 193 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_16(wrptr, 0x0F, mode->hdisplay); wrptr 197 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x11, yec); wrptr 200 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x13, 0); wrptr 203 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_lfsr16(wrptr, 0x15, mode->crtc_vsync_end - mode->crtc_vsync_start); wrptr 206 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_16(wrptr, 0x17, mode->crtc_vdisplay); wrptr 208 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_register_16be(wrptr, 0x1B, wrptr 211 drivers/gpu/drm/udl/udl_modeset.c return wrptr; wrptr 214 drivers/gpu/drm/udl/udl_modeset.c static char *udl_dummy_render(char *wrptr) wrptr 216 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0xAF; wrptr 217 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x6A; /* copy */ wrptr 218 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; /* from addr */ wrptr 219 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; wrptr 220 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; wrptr 221 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x01; /* one pixel */ wrptr 222 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; /* to address */ wrptr 223 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; wrptr 224 drivers/gpu/drm/udl/udl_modeset.c *wrptr++ = 0x00; wrptr 225 drivers/gpu/drm/udl/udl_modeset.c return wrptr; wrptr 307 drivers/gpu/drm/udl/udl_modeset.c char *wrptr; wrptr 322 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_vidreg_lock(buf); wrptr 323 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_color_depth(wrptr, color_depth); wrptr 325 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_base16bpp(wrptr, 0); wrptr 327 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_base8bpp(wrptr, 2 * mode->vdisplay * mode->hdisplay); wrptr 329 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_vid_cmds(wrptr, adjusted_mode); wrptr 330 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_set_blank(wrptr, DRM_MODE_DPMS_ON); wrptr 331 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_vidreg_unlock(wrptr); wrptr 333 drivers/gpu/drm/udl/udl_modeset.c wrptr = udl_dummy_render(wrptr); wrptr 340 drivers/gpu/drm/udl/udl_modeset.c udl->mode_buf_len = wrptr - buf; wrptr 705 drivers/infiniband/hw/bnxt_re/ib_verbs.c u32 *wrptr; wrptr 708 drivers/infiniband/hw/bnxt_re/ib_verbs.c wrptr = (u32 *)(uctx->shpg + BNXT_RE_AVID_OFFT); wrptr 709 drivers/infiniband/hw/bnxt_re/ib_verbs.c *wrptr = ah->qplib_ah.id; wrptr 284 drivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h u32 wrptr[CUDBG_NUM_ULPTX]; wrptr 2645 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c ulptx_la_buff->wrptr[i] = t4_read_reg(padap, wrptr 1716 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr); wrptr 1732 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr); wrptr 9899 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) wrptr 9919 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (wrptr) wrptr 9920 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *wrptr = idx; wrptr 9968 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) wrptr 9983 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c if (wrptr) wrptr 9984 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c *wrptr = idx; wrptr 433 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 wrptr : 20; wrptr 453 drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h u64 wrptr : 20; wrptr 1380 drivers/net/wireless/marvell/mwifiex/pcie.c u32 wrptr, rd_index, tx_val; wrptr 1391 drivers/net/wireless/marvell/mwifiex/pcie.c if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { wrptr 1397 drivers/net/wireless/marvell/mwifiex/pcie.c card->rxbd_wrptr = wrptr; wrptr 1399 drivers/net/wireless/marvell/mwifiex/pcie.c while (((wrptr & reg->rx_mask) != wrptr 1401 drivers/net/wireless/marvell/mwifiex/pcie.c ((wrptr & reg->rx_rollover_ind) == wrptr 1426 drivers/net/wireless/marvell/mwifiex/pcie.c rx_len, card->rxbd_rdptr, wrptr); wrptr 1432 drivers/net/wireless/marvell/mwifiex/pcie.c card->rxbd_rdptr, wrptr, rx_len); wrptr 1485 drivers/net/wireless/marvell/mwifiex/pcie.c card->rxbd_rdptr, wrptr); wrptr 1498 drivers/net/wireless/marvell/mwifiex/pcie.c if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { wrptr 1506 drivers/net/wireless/marvell/mwifiex/pcie.c card->rxbd_wrptr = wrptr; wrptr 1839 drivers/net/wireless/marvell/mwifiex/pcie.c u32 wrptr, event; wrptr 1859 drivers/net/wireless/marvell/mwifiex/pcie.c if (mwifiex_read_reg(adapter, reg->evt_wrptr, &wrptr)) { wrptr 1867 drivers/net/wireless/marvell/mwifiex/pcie.c card->evtbd_rdptr, wrptr); wrptr 1868 drivers/net/wireless/marvell/mwifiex/pcie.c if (((wrptr & MWIFIEX_EVTBD_MASK) != (card->evtbd_rdptr wrptr 1870 drivers/net/wireless/marvell/mwifiex/pcie.c ((wrptr & reg->evt_rollover_ind) == wrptr 1934 drivers/net/wireless/marvell/mwifiex/pcie.c u32 wrptr; wrptr 1948 drivers/net/wireless/marvell/mwifiex/pcie.c if (mwifiex_read_reg(adapter, reg->evt_wrptr, &wrptr)) { wrptr 1981 drivers/net/wireless/marvell/mwifiex/pcie.c card->evtbd_rdptr, wrptr); wrptr 150 drivers/video/fbdev/udlfb.c static char *dlfb_set_base16bpp(char *wrptr, u32 base) wrptr 153 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, 0x20, base >> 16); wrptr 154 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, 0x21, base >> 8); wrptr 155 drivers/video/fbdev/udlfb.c return dlfb_set_register(wrptr, 0x22, base); wrptr 162 drivers/video/fbdev/udlfb.c static char *dlfb_set_base8bpp(char *wrptr, u32 base) wrptr 164 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, 0x26, base >> 16); wrptr 165 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, 0x27, base >> 8); wrptr 166 drivers/video/fbdev/udlfb.c return dlfb_set_register(wrptr, 0x28, base); wrptr 169 drivers/video/fbdev/udlfb.c static char *dlfb_set_register_16(char *wrptr, u8 reg, u16 value) wrptr 171 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, reg, value >> 8); wrptr 172 drivers/video/fbdev/udlfb.c return dlfb_set_register(wrptr, reg+1, value); wrptr 179 drivers/video/fbdev/udlfb.c static char *dlfb_set_register_16be(char *wrptr, u8 reg, u16 value) wrptr 181 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register(wrptr, reg, value); wrptr 182 drivers/video/fbdev/udlfb.c return dlfb_set_register(wrptr, reg+1, value >> 8); wrptr 211 drivers/video/fbdev/udlfb.c static char *dlfb_set_register_lfsr16(char *wrptr, u8 reg, u16 value) wrptr 213 drivers/video/fbdev/udlfb.c return dlfb_set_register_16(wrptr, reg, dlfb_lfsr16(value)); wrptr 220 drivers/video/fbdev/udlfb.c static char *dlfb_set_vid_cmds(char *wrptr, struct fb_var_screeninfo *var) wrptr 228 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x01, xds); wrptr 231 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x03, xde); wrptr 235 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x05, yds); wrptr 238 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x07, yde); wrptr 241 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x09, wrptr 245 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x0B, 1); wrptr 248 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x0D, var->hsync_len + 1); wrptr 251 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_16(wrptr, 0x0F, var->xres); wrptr 256 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x11, yec); wrptr 259 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x13, 0); wrptr 262 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_lfsr16(wrptr, 0x15, var->vsync_len); wrptr 265 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_16(wrptr, 0x17, var->yres); wrptr 268 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_register_16be(wrptr, 0x1B, wrptr 271 drivers/video/fbdev/udlfb.c return wrptr; wrptr 283 drivers/video/fbdev/udlfb.c char *wrptr; wrptr 302 drivers/video/fbdev/udlfb.c wrptr = dlfb_vidreg_lock(buf); wrptr 303 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_color_depth(wrptr, 0x00); wrptr 305 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_base16bpp(wrptr, 0); wrptr 307 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_base8bpp(wrptr, dlfb->info->fix.smem_len); wrptr 309 drivers/video/fbdev/udlfb.c wrptr = dlfb_set_vid_cmds(wrptr, var); wrptr 310 drivers/video/fbdev/udlfb.c wrptr = dlfb_blanking(wrptr, FB_BLANK_UNBLANK); wrptr 311 drivers/video/fbdev/udlfb.c wrptr = dlfb_vidreg_unlock(wrptr); wrptr 313 drivers/video/fbdev/udlfb.c writesize = wrptr - buf;