Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dshm_ipc.c23 struct qtnf_shm_ipc_region_header __iomem *shm_reg_hdr; in qtnf_shm_handle_new_data() local
25 shm_reg_hdr = &ipc->shm_region->headroom.hdr; in qtnf_shm_handle_new_data()
27 size = readw(&shm_reg_hdr->data_len); in qtnf_shm_handle_new_data()
40 writel(QTNF_SHM_IPC_ACK, &shm_reg_hdr->flags); in qtnf_shm_handle_new_data()
41 readl(&shm_reg_hdr->flags); /* flush PCIe write */ in qtnf_shm_handle_new_data()
126 struct qtnf_shm_ipc_region_header __iomem *shm_reg_hdr; in qtnf_shm_ipc_send() local
128 shm_reg_hdr = &ipc->shm_region->headroom.hdr; in qtnf_shm_ipc_send()
135 writew(size, &shm_reg_hdr->data_len); in qtnf_shm_ipc_send()
146 writel(QTNF_SHM_IPC_NEW_DATA, &shm_reg_hdr->flags); in qtnf_shm_ipc_send()
147 readl(&shm_reg_hdr->flags); /* flush PCIe write */ in qtnf_shm_ipc_send()