Home
last modified time | relevance | path

Searched refs:page_num (Results 1 – 25 of 32) sorted by relevance

12

/linux/tools/mm/
H A Dpage_owner_sort.c38 int page_num; member
151 return l1->page_num - l2->page_num; in compare_page_num()
492 list[list_size].page_num = get_page_num(buf); in add_list()
836 list[count-1].page_num += list[i].page_num; in main()
844 fprintf(fout, "%d times, %d pages, ", list[i].num, list[i].page_num); in main()
850 list[i].num, list[i].page_num); in main()
/linux/drivers/mfd/
H A Dda9063-i2c.c52 u8 page_num, paged_addr; in da9063_i2c_blockreg_read() local
56 page_num = (addr / DA9063_REG_PAGE_SIZE); in da9063_i2c_blockreg_read()
57 if (page_num > 1) { in da9063_i2c_blockreg_read()
65 (page_num << DA9063_I2C_PAGE_SEL_SHIFT) & DA9063_REG_PAGE_MASK; in da9063_i2c_blockreg_read()
/linux/drivers/gpu/drm/i915/gvt/
H A Ddmabuf.c55 unsigned int page_num; /* limited by sg_alloc_table */ in vgpu_gem_get_pages() local
57 if (overflows_type(obj->base.size >> PAGE_SHIFT, page_num)) in vgpu_gem_get_pages()
60 page_num = obj->base.size >> PAGE_SHIFT; in vgpu_gem_get_pages()
73 ret = sg_alloc_table(st, page_num, GFP_KERNEL); in vgpu_gem_get_pages()
80 for_each_sg(st->sgl, sg, page_num, i) { in vgpu_gem_get_pages()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_bus.h13 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num);
H A Dionic_bus_pci.c99 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num) in ionic_bus_map_dbpage() argument
103 (u64)page_num << PAGE_SHIFT, PAGE_SIZE); in ionic_bus_map_dbpage()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dport.c342 static int mlx5_qsfp_eeprom_high_page_offset(int page_num) in mlx5_qsfp_eeprom_high_page_offset() argument
344 if (!page_num) /* Page 0 always start from low page */ in mlx5_qsfp_eeprom_high_page_offset()
348 return page_num * MLX5_EEPROM_HIGH_PAGE_LENGTH; in mlx5_qsfp_eeprom_high_page_offset()
351 static void mlx5_qsfp_eeprom_params_set(u16 *i2c_addr, int *page_num, u16 *offset) in mlx5_qsfp_eeprom_params_set() argument
354 *page_num = mlx5_qsfp_eeprom_page(*offset); in mlx5_qsfp_eeprom_params_set()
355 *offset -= mlx5_qsfp_eeprom_high_page_offset(*page_num); in mlx5_qsfp_eeprom_params_set()
358 static void mlx5_sfp_eeprom_params_set(u16 *i2c_addr, int *page_num, u16 *offset) in mlx5_sfp_eeprom_params_set() argument
361 *page_num = 0; in mlx5_sfp_eeprom_params_set()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1981 u8 page_num; member
2058 cable_info->page_num = 0; in mlx4_get_module_id()
2086 static void mlx4_sfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset) in mlx4_sfp_eeprom_params_set() argument
2089 *page_num = 0; in mlx4_sfp_eeprom_params_set()
2105 *page_num = 0; in mlx4_qsfp_eeprom_params_set()
2107 *page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()
2109 *offset -= *page_num * I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set()
2131 u8 module_id, i2c_addr, page_num; in mlx4_get_module_info() local
2143 mlx4_sfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info()
2148 mlx4_qsfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info()
[all …]
/linux/drivers/gpu/drm/gma500/
H A Dfbdev.c30 unsigned long page_num = vma_pages(vma); in psb_fbdev_vm_fault() local
35 for (i = 0; i < page_num; ++i) { in psb_fbdev_vm_fault()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_uclo.h326 unsigned int page_num; member
337 unsigned int page_num; member
/linux/drivers/net/wireless/realtek/rtw88/
H A Ddebug.c29 u32 page_num; member
312 u32 buf_size = debugfs_priv->rsvd_page.page_num * page_size; in rtw_debugfs_get_rsvd_page()
348 u32 offset, page_num; in rtw_debugfs_set_rsvd_page() local
356 num = sscanf(tmp, "%d %d", &offset, &page_num); in rtw_debugfs_set_rsvd_page()
364 debugfs_priv->rsvd_page.page_num = page_num; in rtw_debugfs_set_rsvd_page()
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Derror-dump.h316 __le32 page_num __packed;
/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c135 void __iomem *pdsc_map_dbpage(struct pdsc *pdsc, int page_num) in pdsc_map_dbpage() argument
139 (u64)page_num << PAGE_SHIFT, PAGE_SIZE); in pdsc_map_dbpage()
H A Dcore.h265 void __iomem *pdsc_map_dbpage(struct pdsc *pdsc, int page_num);
/linux/drivers/gpu/drm/i915/selftests/
H A Dintel_memory_region.c61 unsigned long page_num; in igt_mock_fill() local
69 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_fill()
70 resource_size_t size = page_num * page_size; in igt_mock_fill()
92 if (page_num * page_size <= rem) { in igt_mock_fill()
/linux/drivers/infiniband/hw/efa/
H A Defa_com_cmd.h189 u32 page_num; member
H A Defa_verbs.c1539 params->page_num, params->page_shift); in efa_create_inline_pbl()
1544 "inline_pbl_array - pages[%u]\n", params->page_num); in efa_create_inline_pbl()
1556 err = pbl_create(dev, pbl, mr->umem, params->page_num, in efa_create_pbl()
1643 params.page_num = ib_umem_num_dma_blocks(mr->umem, pg_sz); in efa_register_mr()
1647 start, length, params.page_shift, params.page_num); in efa_register_mr()
1650 if (params.page_num <= inline_size) { in efa_register_mr()
H A Defa_admin_cmds_defs.h396 u32 page_num; member
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys.c533 u32 iwake_threshold, iwake_critical_threshold, page_num; in update_watermark_setting() local
615 page_num = (DEFAULT_MEM_OPEN_TIME * isys_pb_datarate_mbs) / in update_watermark_setting()
617 page_num += ((DEFAULT_MEM_OPEN_TIME * isys_pb_datarate_mbs) % in update_watermark_setting()
620 mem_open_threshold = max_t(u32, mem_open_threshold, page_num); in update_watermark_setting()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c522 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_busy_txwd()
599 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_pending_txwd_skb()
3146 u32 page_num = wd_ring->page_num; in rtw89_pci_free_tx_wd_ring() local
3147 u32 ring_sz = page_size * page_num; in rtw89_pci_free_tx_wd_ring()
3277 u32 page_num = RTW89_PCI_TXWD_NUM_MAX; in rtw89_pci_alloc_tx_wd_ring() local
3278 u32 ring_sz = page_size * page_num; in rtw89_pci_alloc_tx_wd_ring()
3294 wd_ring->page_num = page_num; in rtw89_pci_alloc_tx_wd_ring()
3297 for (i = 0; i < page_num; i++) { in rtw89_pci_alloc_tx_wd_ring()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_pages.c720 unsigned long page_num; in igt_ppgtt_huge_fill() local
742 for_each_prime_number_from(page_num, 1, max_pages) { in igt_ppgtt_huge_fill()
744 u64 size = page_num << PAGE_SHIFT; in igt_ppgtt_huge_fill()
/linux/arch/x86/kvm/
H A Dxen.c1234 u32 page_num = data & ~PAGE_MASK; in kvm_xen_write_hypercall_page() local
1266 if (page_num) in kvm_xen_write_hypercall_page()
1300 if (page_num >= blob_size) in kvm_xen_write_hypercall_page()
1303 blob_addr += page_num * PAGE_SIZE; in kvm_xen_write_hypercall_page()
/linux/drivers/staging/rts5208/
H A Dms.c1252 u16 block_addr, u8 page_num, u8 *buf, int buf_len) argument
1274 data[5] = page_num;
1333 u8 page_num, u8 *buf, int buf_len) argument
1356 data[5] = page_num;
1389 static int ms_read_page(struct rtsx_chip *chip, u16 block_addr, u8 page_num) argument
1409 data[5] = page_num;
/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu.h644 u8 page_num; member
716 u8 page_num; member
800 u8 page_num; member
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h1094 __le32 page_num; member
1119 u32 page_num; member
2428 u8 page_num, u32 off, u32 len, u8 *data);
H A Dbe_cmds.c2291 u8 page_num, u32 off, u32 len, u8 *data) in be_cmd_read_port_transceiver_data() argument
2298 if (page_num > TR_PAGE_A2) in be_cmd_read_port_transceiver_data()
2323 req->page_num = cpu_to_le32(page_num); in be_cmd_read_port_transceiver_data()

12