Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/udl/
Dudl_modeset.c58 static char *udl_set_base16bpp(char *wrptr, u32 base) in udl_set_base16bpp() argument
61 wrptr = udl_set_register(wrptr, 0x20, base >> 16); in udl_set_base16bpp()
62 wrptr = udl_set_register(wrptr, 0x21, base >> 8); in udl_set_base16bpp()
63 return udl_set_register(wrptr, 0x22, base); in udl_set_base16bpp()
70 static char *udl_set_base8bpp(char *wrptr, u32 base) in udl_set_base8bpp() argument
72 wrptr = udl_set_register(wrptr, 0x26, base >> 16); in udl_set_base8bpp()
73 wrptr = udl_set_register(wrptr, 0x27, base >> 8); in udl_set_base8bpp()
74 return udl_set_register(wrptr, 0x28, base); in udl_set_base8bpp()
77 static char *udl_set_register_16(char *wrptr, u8 reg, u16 value) in udl_set_register_16() argument
79 wrptr = udl_set_register(wrptr, reg, value >> 8); in udl_set_register_16()
[all …]
/linux-6.1.9/drivers/video/fbdev/
Dudlfb.c150 static char *dlfb_set_base16bpp(char *wrptr, u32 base) in dlfb_set_base16bpp() argument
153 wrptr = dlfb_set_register(wrptr, 0x20, base >> 16); in dlfb_set_base16bpp()
154 wrptr = dlfb_set_register(wrptr, 0x21, base >> 8); in dlfb_set_base16bpp()
155 return dlfb_set_register(wrptr, 0x22, base); in dlfb_set_base16bpp()
162 static char *dlfb_set_base8bpp(char *wrptr, u32 base) in dlfb_set_base8bpp() argument
164 wrptr = dlfb_set_register(wrptr, 0x26, base >> 16); in dlfb_set_base8bpp()
165 wrptr = dlfb_set_register(wrptr, 0x27, base >> 8); in dlfb_set_base8bpp()
166 return dlfb_set_register(wrptr, 0x28, base); in dlfb_set_base8bpp()
169 static char *dlfb_set_register_16(char *wrptr, u8 reg, u16 value) in dlfb_set_register_16() argument
171 wrptr = dlfb_set_register(wrptr, reg, value >> 8); in dlfb_set_register_16()
[all …]
/linux-6.1.9/drivers/misc/habanalabs/common/
Dstate_dump.c26 char *wrptr = buf; in hl_format_as_binary() local
29 *wrptr = '\0'; in hl_format_as_binary()
33 wrptr[0] = '0'; in hl_format_as_binary()
34 wrptr[1] = 'b'; in hl_format_as_binary()
35 wrptr += 2; in hl_format_as_binary()
47 *wrptr = '0' + bit; in hl_format_as_binary()
48 ++wrptr; in hl_format_as_binary()
52 *wrptr = '\0'; in hl_format_as_binary()
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dpcie.c1560 u32 wrptr, rd_index, tx_val; in mwifiex_pcie_process_recv_data() local
1571 if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { in mwifiex_pcie_process_recv_data()
1577 card->rxbd_wrptr = wrptr; in mwifiex_pcie_process_recv_data()
1579 while (((wrptr & reg->rx_mask) != in mwifiex_pcie_process_recv_data()
1581 ((wrptr & reg->rx_rollover_ind) == in mwifiex_pcie_process_recv_data()
1606 rx_len, card->rxbd_rdptr, wrptr); in mwifiex_pcie_process_recv_data()
1612 card->rxbd_rdptr, wrptr, rx_len); in mwifiex_pcie_process_recv_data()
1665 card->rxbd_rdptr, wrptr); in mwifiex_pcie_process_recv_data()
1678 if (mwifiex_read_reg(adapter, reg->rx_wrptr, &wrptr)) { in mwifiex_pcie_process_recv_data()
1686 card->rxbd_wrptr = wrptr; in mwifiex_pcie_process_recv_data()
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_entity.h281 u32 wrptr[CUDBG_NUM_ULPTX]; member
Dcxgb4.h1926 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr);
1942 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr);
Dt4_hw.c9920 int t4_cim_read_la(struct adapter *adap, u32 *la_buf, unsigned int *wrptr) in t4_cim_read_la() argument
9940 if (wrptr) in t4_cim_read_la()
9941 *wrptr = idx; in t4_cim_read_la()
9989 void t4_tp_read_la(struct adapter *adap, u64 *la_buf, unsigned int *wrptr) in t4_tp_read_la() argument
10004 if (wrptr) in t4_tp_read_la()
10005 *wrptr = idx; in t4_tp_read_la()
Dcudbg_lib.c3046 ulptx_la_buff->wrptr[i] = t4_read_reg(padap, in cudbg_collect_ulptx_la()
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_struct.h352 u64 wrptr : 20; member
Drvu_debugfs.c1826 seq_printf(m, "W1: wrptr \t\t\t%llx\n", (u64)cq_ctx->wrptr); in print_nix_cq_ctx()
Drvu_nix.c1086 aq_req.cq_mask.wrptr = 0; in rvu_nix_verify_aq_ctx()
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c697 u32 *wrptr; in bnxt_re_create_ah() local
700 wrptr = (u32 *)(uctx->shpg + BNXT_RE_AVID_OFFT); in bnxt_re_create_ah()
701 *wrptr = ah->qplib_ah.id; in bnxt_re_create_ah()