Searched refs:pg_tbl (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/staging/gasket/ |
D | gasket_page_table.c | 232 struct gasket_page_table *pg_tbl; in gasket_page_table_init() local 260 pg_tbl = *ppg_tbl; in gasket_page_table_init() 263 pg_tbl->entries = vzalloc(bytes); in gasket_page_table_init() 264 if (!pg_tbl->entries) { in gasket_page_table_init() 267 kfree(pg_tbl); in gasket_page_table_init() 273 mutex_init(&pg_tbl->mutex); in gasket_page_table_init() 274 memcpy(&pg_tbl->config, page_table_config, sizeof(*page_table_config)); in gasket_page_table_init() 275 if (pg_tbl->config.mode == GASKET_PAGE_TABLE_MODE_NORMAL || in gasket_page_table_init() 276 pg_tbl->config.mode == GASKET_PAGE_TABLE_MODE_SIMPLE) { in gasket_page_table_init() 277 pg_tbl->num_simple_entries = total_entries; in gasket_page_table_init() [all …]
|
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/ |
D | mac.c | 1073 const struct rtw_page_table *pg_tbl, in __priority_queue_cfg() argument 1079 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_1, pg_tbl->hq_num); in __priority_queue_cfg() 1080 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_2, pg_tbl->lq_num); in __priority_queue_cfg() 1081 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_3, pg_tbl->nq_num); in __priority_queue_cfg() 1082 rtw_write16(rtwdev, REG_FIFOPAGE_INFO_4, pg_tbl->exq_num); in __priority_queue_cfg() 1104 const struct rtw_page_table *pg_tbl, in __priority_queue_cfg_legacy() argument 1111 val32 = BIT_RQPN_NE(pg_tbl->nq_num, pg_tbl->exq_num); in __priority_queue_cfg_legacy() 1113 val32 = BIT_RQPN_HLP(pg_tbl->hq_num, pg_tbl->lq_num, pubq_num); in __priority_queue_cfg_legacy() 1135 const struct rtw_page_table *pg_tbl = NULL; in priority_queue_cfg() local 1145 pg_tbl = &chip->page_table[1]; in priority_queue_cfg() [all …]
|
/Linux-v5.10/drivers/target/sbp/ |
D | sbp_target.c | 1141 struct sbp_page_table_entry *pg_tbl; in sbp_fetch_page_table() local 1149 pg_tbl = kmalloc(pg_tbl_sz, GFP_KERNEL); in sbp_fetch_page_table() 1150 if (!pg_tbl) in sbp_fetch_page_table() 1155 pg_tbl, pg_tbl_sz); in sbp_fetch_page_table() 1157 kfree(pg_tbl); in sbp_fetch_page_table() 1161 req->pg_tbl = pg_tbl; in sbp_fetch_page_table() 1181 if (req->pg_tbl) { in sbp_calc_data_length_direction() 1185 req->pg_tbl[idx].segment_length); in sbp_calc_data_length_direction() 1275 if (req->pg_tbl) { in sbp_rw_data() 1276 pte = req->pg_tbl; in sbp_rw_data() [all …]
|
D | sbp_target.h | 218 struct sbp_page_table_entry *pg_tbl; member
|
/Linux-v5.10/drivers/net/ethernet/brocade/bna/ |
D | bfi_enet.h | 158 union bfi_addr_u pg_tbl; member
|
D | bna_tx_rx.c | 1293 (bfi_q)->pg_tbl.a32.addr_lo = (bna_qpt)->hw_qpt_ptr.lsb; \ 1294 (bfi_q)->pg_tbl.a32.addr_hi = (bna_qpt)->hw_qpt_ptr.msb; \
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 2692 if (rmem->pg_tbl) { in bnxt_free_ring() 2698 rmem->pg_tbl, rmem->pg_tbl_map); in bnxt_free_ring() 2699 rmem->pg_tbl = NULL; in bnxt_free_ring() 2715 if ((rmem->nr_pages > 1 || rmem->depth > 0) && !rmem->pg_tbl) { in bnxt_alloc_ring() 2720 rmem->pg_tbl = dma_alloc_coherent(&pdev->dev, pg_tbl_size, in bnxt_alloc_ring() 2723 if (!rmem->pg_tbl) in bnxt_alloc_ring() 2747 rmem->pg_tbl[i] = in bnxt_alloc_ring() 6984 struct bnxt_ctx_pg_info *pg_tbl; in bnxt_alloc_ctx_pg_tbls() local 6986 pg_tbl = kzalloc(sizeof(*pg_tbl), GFP_KERNEL); in bnxt_alloc_ctx_pg_tbls() 6987 if (!pg_tbl) in bnxt_alloc_ctx_pg_tbls() [all …]
|
D | bnxt.h | 729 __le64 *pg_tbl; member
|