Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_csr.h88 #define HINIC_CSR_AEQ_HI_PHYS_ADDR_REG(q_id, pg_num) \ argument
90 (pg_num) * HINIC_CSR_EQ_PAGE_OFF_STRIDE)
92 #define HINIC_CSR_CEQ_HI_PHYS_ADDR_REG(q_id, pg_num) \ argument
94 (pg_num) * HINIC_CSR_EQ_PAGE_OFF_STRIDE)
96 #define HINIC_CSR_AEQ_LO_PHYS_ADDR_REG(q_id, pg_num) \ argument
98 (pg_num) * HINIC_CSR_EQ_PAGE_OFF_STRIDE + 4)
100 #define HINIC_CSR_CEQ_LO_PHYS_ADDR_REG(q_id, pg_num) \ argument
102 (pg_num) * HINIC_CSR_EQ_PAGE_OFF_STRIDE + 4)
Dhinic_hw_eqs.c40 #define EQ_HI_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
41 HINIC_CSR_AEQ_HI_PHYS_ADDR_REG((eq)->q_id, pg_num) : \
42 HINIC_CSR_CEQ_HI_PHYS_ADDR_REG((eq)->q_id, pg_num))
44 #define EQ_LO_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
45 HINIC_CSR_AEQ_LO_PHYS_ADDR_REG((eq)->q_id, pg_num) : \
46 HINIC_CSR_CEQ_LO_PHYS_ADDR_REG((eq)->q_id, pg_num))
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h327 u32 pg_num, pg_idx; in bnxt_qplib_get_qe() local
329 pg_num = (indx / hwq->qe_ppg); in bnxt_qplib_get_qe()
332 *pg = (u64)&hwq->pbl_ptr[pg_num]; in bnxt_qplib_get_qe()
333 return (void *)(hwq->pbl_ptr[pg_num] + hwq->element_size * pg_idx); in bnxt_qplib_get_qe()
Dqplib_fp.c1677 u32 pg_num, pg_indx; in bnxt_qplib_pull_psn_buff() local
1685 pg_num = (tail + hwq->pad_pgofft) / (PAGE_SIZE / hwq->pad_stride); in bnxt_qplib_pull_psn_buff()
1687 buff = (void *)(hwq->pad_pg[pg_num] + pg_indx * hwq->pad_stride); in bnxt_qplib_pull_psn_buff()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c88 if (!rtw_hal_sdio_query_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num)) { in rtl8723_dequeue_writeport()
120 rtw_hal_sdio_update_tx_freepage(pri_padapter, PageIdx, pxmitbuf->pg_num); in rtl8723_dequeue_writeport()
358 pxmitframe->pg_num = (txlen + 127) / 128; in xmit_xmitframes()
359 pxmitbuf->pg_num += (txlen + 127) / 128; in xmit_xmitframes()
524 pxmitbuf->pg_num = (pxmitbuf->len + 127) / 128; /* 128 is tx page size */ in rtl8723bs_mgnt_xmit()
/kernel/linux/linux-5.10/drivers/md/
Ddm-mpath.c62 unsigned pg_num; /* Reference number */ member
1239 pg->pg_num = pg_count; in multipath_ctr()
1798 unsigned pg_num; in multipath_status() local
1842 pg_num = m->next_pg->pg_num; in multipath_status()
1844 pg_num = m->current_pg->pg_num; in multipath_status()
1846 pg_num = (m->nr_priority_groups ? 1 : 0); in multipath_status()
1848 DMEMIT("%u ", pg_num); in multipath_status()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_xmit.h272 u8 pg_num; member
297 u8 pg_num; member
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-fpa-defs.h1162 uint64_t pg_num:25; member
1164 uint64_t pg_num:25;
1175 uint64_t pg_num:25; member
1177 uint64_t pg_num:25;
/kernel/linux/linux-5.10/include/linux/ceph/
Dosdmap.h53 u32 pg_num, pgp_num; member
Dosd_client.h159 u32 pg_num; member
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_alua.c86 int pg_num; in target_emulate_report_referrals() local
96 pg_num = 0; in target_emulate_report_referrals()
112 pg_num++; in target_emulate_report_referrals()
115 buf[desc_num] = pg_num; in target_emulate_report_referrals()
Dtarget_core_configfs.c2423 int pg_num = -1, pg; in target_dev_lba_map_store() local
2509 if (pg_num == -1) in target_dev_lba_map_store()
2510 pg_num = pg; in target_dev_lba_map_store()
2511 else if (pg != pg_num) { in target_dev_lba_map_store()
2513 "at line %d\n", pg, pg_num, num); in target_dev_lba_map_store()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dfw.c1168 u32 pg_num = 0; in rtw_download_drv_rsvd_page() local
1172 pg_num = size / pg_size + ((size & (pg_size - 1)) ? 1 : 0); in rtw_download_drv_rsvd_page()
1173 if (pg_num > rtwdev->fifo.rsvd_drv_pg_num) in rtw_download_drv_rsvd_page()
/kernel/linux/linux-5.10/net/ceph/
Dosd_client.c441 dest->pg_num = src->pg_num; in target_copy()
1579 last_pgid.seed = ceph_stable_mod(pgid.seed, t->pg_num, t->pg_num_mask); in calc_target()
1591 t->pg_num, in calc_target()
1592 pi->pg_num, in calc_target()
1607 if (t->pg_num) in calc_target()
1608 split = ceph_pg_is_split(&last_pgid, t->pg_num, pi->pg_num); in calc_target()
1617 t->pg_num = pi->pg_num; in calc_target()
Ddebugfs.c75 pi->pg_num, pi->pg_num_mask, pi->flags, in osdmap_show()
Dosdmap.c48 pi->pg_num_mask = (1 << calc_bits_of(pi->pg_num-1)) - 1; in calc_pg_masks()
798 pi->pg_num = ceph_decode_32(p); in decode_pool()
2416 pgid->seed = ceph_stable_mod(raw_pgid->seed, pi->pg_num, in raw_pg_to_pg()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c1506 pxmitbuf->pg_num = 0; in __rtw_alloc_cmd_xmitbuf()
1647 pxmitbuf->pg_num = 0; in rtw_alloc_xmitbuf()
1707 pxframe->pg_num = 1; in rtw_init_xmitframe()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2387 int pg_num; in hns_roce_init_link_table() local
2408 pg_num = max(pg_num_a, pg_num_b); in hns_roce_init_link_table()
2409 size = pg_num * sizeof(struct hns_roce_link_table_entry); in hns_roce_init_link_table()
2417 link_tbl->pg_list = kcalloc(pg_num, sizeof(*link_tbl->pg_list), in hns_roce_init_link_table()
2423 for (i = 0; i < pg_num; ++i) { in hns_roce_init_link_table()
2434 if (i < (pg_num - 1)) in hns_roce_init_link_table()
2439 link_tbl->npages = pg_num; in hns_roce_init_link_table()
/kernel/linux/linux-5.10/net/packet/
Daf_packet.c4540 int pg_num; in packet_mmap() local
4542 for (pg_num = 0; pg_num < rb->pg_vec_pages; pg_num++) { in packet_mmap()