Searched refs:cxt_buf (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/staging/vt6655/ |
D | mac.c | 184 static void vt6655_mac_save_context(struct vnt_private *priv, u8 *cxt_buf) in vt6655_mac_save_context() argument 189 memcpy_fromio(cxt_buf, io_base, MAC_MAX_CONTEXT_SIZE_PAGE0); in vt6655_mac_save_context() 194 memcpy_fromio(cxt_buf + MAC_MAX_CONTEXT_SIZE_PAGE0, io_base, in vt6655_mac_save_context() 214 static void vt6655_mac_restore_context(struct vnt_private *priv, u8 *cxt_buf) in vt6655_mac_restore_context() argument 220 memcpy_toio(io_base, cxt_buf + MAC_MAX_CONTEXT_SIZE_PAGE0, in vt6655_mac_restore_context() 226 memcpy_toio(io_base + MAC_REG_RCR, cxt_buf + MAC_REG_RCR, in vt6655_mac_restore_context() 230 memcpy_toio(io_base + MAC_REG_LRT, cxt_buf + MAC_REG_LRT, in vt6655_mac_restore_context() 233 iowrite8(*(cxt_buf + MAC_REG_CFG), io_base + MAC_REG_CFG); in vt6655_mac_restore_context() 236 memcpy_toio(io_base + MAC_REG_PSCFG, cxt_buf + MAC_REG_PSCFG, in vt6655_mac_restore_context() 240 iowrite32(*(u32 *)(cxt_buf + MAC_REG_TXDMAPTR0), in vt6655_mac_restore_context() [all …]
|