Home
last modified time | relevance | path

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

/drivers/gpu/drm/udl/
Dudl_modeset.c74 static char *udl_set_base16bpp(char *wrptr, u32 base) in udl_set_base16bpp() argument
77 wrptr = udl_set_register(wrptr, 0x20, base >> 16); in udl_set_base16bpp()
78 wrptr = udl_set_register(wrptr, 0x21, base >> 8); in udl_set_base16bpp()
79 return udl_set_register(wrptr, 0x22, base); in udl_set_base16bpp()
86 static char *udl_set_base8bpp(char *wrptr, u32 base) in udl_set_base8bpp() argument
88 wrptr = udl_set_register(wrptr, 0x26, base >> 16); in udl_set_base8bpp()
89 wrptr = udl_set_register(wrptr, 0x27, base >> 8); in udl_set_base8bpp()
90 return udl_set_register(wrptr, 0x28, base); in udl_set_base8bpp()
93 static char *udl_set_register_16(char *wrptr, u8 reg, u16 value) in udl_set_register_16() argument
95 wrptr = udl_set_register(wrptr, reg, value >> 8); in udl_set_register_16()
[all …]
/drivers/video/fbdev/
Dudlfb.c148 static char *dlfb_set_base16bpp(char *wrptr, u32 base) in dlfb_set_base16bpp() argument
151 wrptr = dlfb_set_register(wrptr, 0x20, base >> 16); in dlfb_set_base16bpp()
152 wrptr = dlfb_set_register(wrptr, 0x21, base >> 8); in dlfb_set_base16bpp()
153 return dlfb_set_register(wrptr, 0x22, base); in dlfb_set_base16bpp()
160 static char *dlfb_set_base8bpp(char *wrptr, u32 base) in dlfb_set_base8bpp() argument
162 wrptr = dlfb_set_register(wrptr, 0x26, base >> 16); in dlfb_set_base8bpp()
163 wrptr = dlfb_set_register(wrptr, 0x27, base >> 8); in dlfb_set_base8bpp()
164 return dlfb_set_register(wrptr, 0x28, base); in dlfb_set_base8bpp()
167 static char *dlfb_set_register_16(char *wrptr, u8 reg, u16 value) in dlfb_set_register_16() argument
169 wrptr = dlfb_set_register(wrptr, reg, value >> 8); in dlfb_set_register_16()
[all …]
/drivers/net/wireless/mwifiex/
Dpcie.c1235 u32 wrptr, rd_index, tx_val; in mwifiex_pcie_process_recv_data() local
1246 if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { in mwifiex_pcie_process_recv_data()
1252 card->rxbd_wrptr = wrptr; in mwifiex_pcie_process_recv_data()
1254 while (((wrptr & reg->rx_mask) != in mwifiex_pcie_process_recv_data()
1256 ((wrptr & reg->rx_rollover_ind) == in mwifiex_pcie_process_recv_data()
1283 rx_len, card->rxbd_rdptr, wrptr); in mwifiex_pcie_process_recv_data()
1289 card->rxbd_rdptr, wrptr, rx_len); in mwifiex_pcie_process_recv_data()
1340 card->rxbd_rdptr, wrptr); in mwifiex_pcie_process_recv_data()
1353 if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { in mwifiex_pcie_process_recv_data()
1361 card->rxbd_wrptr = wrptr; in mwifiex_pcie_process_recv_data()
[all …]