/linux/drivers/md/dm-vdo/ |
H A D | repair.c | 107 physical_block_number_t pbn; member 147 if (mapping1->block_map_slot.pbn != mapping2->block_map_slot.pbn) in mapping_is_less_than() 148 return mapping1->block_map_slot.pbn < mapping2->block_map_slot.pbn; in mapping_is_less_than() 437 if (mapping.pbn == VDO_ZERO_BLOCK) in process_slot() 440 if (!vdo_is_physical_data_block(depot, mapping.pbn)) { in process_slot() 449 result = vdo_adjust_reference_count_for_rebuild(depot, mapping.pbn, in process_slot() 457 slot, (unsigned long long) mapping.pbn); in process_slot() 484 if (vdo_get_block_map_page_pbn(page) == repair->last_slot.pbn) { in rebuild_reference_counts_from_page() 519 physical_block_number_t pbn = VDO_ZERO_BLOCK; in get_pbn_to_fetch() local 524 while ((pbn == VDO_ZERO_BLOCK) && (repair->page_to_fetch < repair->leaf_pages)) in get_pbn_to_fetch() [all …]
|
H A D | dump.c | 163 wait_on, data_vio, data_vio->allocation.pbn, data_vio->logical.lbn, in dump_vio_waiters() 164 data_vio->duplicate.pbn, get_data_vio_operation_name(data_vio)); in dump_vio_waiters() 169 data_vio, data_vio->allocation.pbn, data_vio->logical.lbn, in dump_vio_waiters() 170 data_vio->duplicate.pbn, in dump_vio_waiters() 239 data_vio->allocation.pbn, data_vio->logical.lbn, in dump_data_vio() 240 data_vio->duplicate.pbn); in dump_data_vio() 244 data_vio->allocation.pbn, data_vio->logical.lbn); in dump_data_vio()
|
H A D | block-map.h | 139 physical_block_number_t pbn; member 173 physical_block_number_t pbn; member 290 typedef int (*vdo_entry_callback_fn)(physical_block_number_t pbn, 302 struct block_map_zone *zone, physical_block_number_t pbn, 320 physical_block_number_t pbn, 364 physical_block_number_t pbn,
|
H A D | slab-depot.h | 507 physical_block_number_t pbn, 514 physical_block_number_t pbn, 524 physical_block_number_t pbn, 537 physical_block_number_t pbn); 555 physical_block_number_t pbn); 558 physical_block_number_t pbn); 561 physical_block_number_t pbn);
|
H A D | encodings.h | 155 __le64 pbn; member 840 vdo_pack_block_map_entry(physical_block_number_t pbn, enum block_mapping_state mapping_state) in vdo_pack_block_map_entry() argument 844 .pbn_high_nibble = ((pbn >> 32) & 0x0F), in vdo_pack_block_map_entry() 845 .pbn_low_word = __cpu_to_le32(pbn & UINT_MAX), in vdo_pack_block_map_entry() 855 .pbn = ((high4 << 32) | low32), in vdo_unpack_block_map_entry() 867 if (location->pbn == VDO_ZERO_BLOCK) in vdo_is_valid_location() 876 return __le64_to_cpu(page->header.pbn); in vdo_get_block_map_page_pbn() 880 physical_block_number_t pbn, 885 physical_block_number_t pbn); 911 .pbn_high_nibble = (entry->slot.pbn >> 32) & 0x0F, in vdo_pack_recovery_journal_entry() [all …]
|
H A D | physical-zone.h | 100 physical_block_number_t pbn); 103 physical_block_number_t pbn,
|
H A D | types.h | 141 physical_block_number_t pbn; member 166 physical_block_number_t pbn; member
|
H A D | vio.h | 122 blk_opf_t bi_opf, physical_block_number_t pbn); 125 blk_opf_t bi_opf, physical_block_number_t pbn);
|
H A D | vdo.h | 357 int __must_check vdo_get_physical_zone(const struct vdo *vdo, physical_block_number_t pbn,
|
/linux/fs/nilfs2/ |
H A D | gcinode.c | 59 sector_t pbn, __u64 vbn, in nilfs_gccache_submit_read_data() argument 72 if (pbn == 0) { in nilfs_gccache_submit_read_data() 75 err = nilfs_dat_translate(nilfs->ns_dat, vbn, &pbn); in nilfs_gccache_submit_read_data() 88 bh->b_blocknr = pbn; in nilfs_gccache_submit_read_data() 124 int nilfs_gccache_submit_read_node(struct inode *inode, sector_t pbn, in nilfs_gccache_submit_read_node() argument 130 ret = nilfs_btnode_submit_block(btnc_inode->i_mapping, vbn ? : pbn, pbn, in nilfs_gccache_submit_read_node() 131 REQ_OP_READ, out_bh, &pbn); in nilfs_gccache_submit_read_node()
|
/linux/drivers/bluetooth/ |
H A D | hci_ag6xx.c | 254 struct pbn_entry *pbn = (void *)fw_ptr; in ag6xx_setup() local 257 if (pbn->addr == 0xffffffff) { in ag6xx_setup() 263 addr = le32_to_cpu(pbn->addr); in ag6xx_setup() 264 plen = le32_to_cpu(pbn->plen); in ag6xx_setup() 266 if (fw->data + fw->size <= pbn->data + plen) { in ag6xx_setup() 274 err = intel_mem_write(hdev, addr, plen, pbn->data); in ag6xx_setup() 280 fw_ptr = pbn->data + plen; in ag6xx_setup()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 874 params[i].timing->dsc_cfg.mst_pbn = vars[i + k].pbn; in set_dsc_configs_from_fairness_vars() 888 vars[i + k].pbn); in set_dsc_configs_from_fairness_vars() 892 static int bpp_x16_from_pbn(struct dsc_mst_fairness_params param, int pbn) in bpp_x16_from_pbn() argument 903 kbps = div_u64((u64)pbn * 994 * 8 * 54, 64); in bpp_x16_from_pbn() 937 kbps_to_peak_pbn(params[i].bw_range.max_kbps, fec_overhead_multiplier_x1000) - vars[i + k].pbn; in increase_dsc_bpp() 964 link_timeslots_used += DIV_ROUND_UP(vars[i + k].pbn, dfixed_trunc(mst_state->pbn_div)); in increase_dsc_bpp() 970 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp() 974 vars[next_index].pbn); in increase_dsc_bpp() 980 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp() 982 vars[next_index].pbn -= fair_pbn_alloc; in increase_dsc_bpp() [all …]
|
H A D | amdgpu_dm_mst_types.h | 76 int pbn; member
|
H A D | amdgpu_dm.h | 920 uint64_t pbn; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | tu102.c | 34 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in tu102_sor_dp_vcpi() argument 39 nvkm_mask(device, 0x61657c + hoff, 0xffffffff, (aligned << 16) | pbn); in tu102_sor_dp_vcpi()
|
H A D | ior.h | 90 u8 slot_nr, u16 pbn, u16 aligned);
|
H A D | gf119.c | 119 gf119_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in gf119_sor_dp_vcpi() argument 125 nvkm_mask(device, 0x61658c + hoff, 0xffffffff, (aligned << 16) | pbn); in gf119_sor_dp_vcpi()
|
H A D | uoutp.c | 44 args->v0.pbn, args->v0.aligned_pbn); in nvkm_uoutp_mthd_dp_mst_vcpi()
|
/linux/drivers/gpu/drm/nouveau/nvif/ |
H A D | outp.c | 30 u8 start_slot, u8 num_slots, u16 pbn, u16 aligned_pbn) in nvif_outp_dp_mst_vcpi() argument 39 args.pbn = pbn; in nvif_outp_dp_mst_vcpi() 45 args.head, args.start_slot, args.num_slots, args.pbn, args.aligned_pbn); in nvif_outp_dp_mst_vcpi()
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | outp.h | 115 u8 start_slot, u8 num_slots, u16 pbn, u16 aligned_pbn);
|
H A D | if0012.h | 290 __u16 pbn; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_mst.c | 229 fixed20_12 pbn; in intel_dp_mst_find_vcpi_slots_for_bpp() local 260 pbn.full = dfixed_const(intel_dp_mst_calc_pbn(adjusted_mode->crtc_clock, in intel_dp_mst_find_vcpi_slots_for_bpp() 263 remote_tu = DIV_ROUND_UP(pbn.full, mst_state->pbn_div.full); in intel_dp_mst_find_vcpi_slots_for_bpp() 281 pbn.full = remote_tu * mst_state->pbn_div.full; in intel_dp_mst_find_vcpi_slots_for_bpp() 282 crtc_state->pbn = dfixed_trunc(pbn); in intel_dp_mst_find_vcpi_slots_for_bpp() 289 crtc_state->pbn); in intel_dp_mst_find_vcpi_slots_for_bpp()
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
H A D | atom.h | 129 int pbn; member
|
H A D | disp.c | 947 payload->pbn, in nv50_msto_prepare() 985 asyh->dp.pbn = drm_dp_calc_pbn_mode(clock, asyh->or.bpc * 3 << 4); in nv50_msto_atomic_check() 999 slots = drm_dp_atomic_find_time_slots(state, &mstm->mgr, mstc->port, asyh->dp.pbn); in nv50_msto_atomic_check()
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_dp_mst_helper_test.c | 272 .u.allocate_payload.pbn = U16_MAX,
|