Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nilfs2/
Dgcinode.c59 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()
92 bh->b_blocknr = pbn; in nilfs_gccache_submit_read_data()
126 int nilfs_gccache_submit_read_node(struct inode *inode, sector_t pbn, in nilfs_gccache_submit_read_node() argument
132 ret = nilfs_btnode_submit_block(btnc_inode->i_mapping, vbn ? : pbn, pbn, in nilfs_gccache_submit_read_node()
133 REQ_OP_READ, out_bh, &pbn); in nilfs_gccache_submit_read_node()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c671 params[i].timing->dsc_cfg.mst_pbn = vars[i + k].pbn; in set_dsc_configs_from_fairness_vars()
685 vars[i + k].pbn); in set_dsc_configs_from_fairness_vars()
689 static int bpp_x16_from_pbn(struct dsc_mst_fairness_params param, int pbn) in bpp_x16_from_pbn() argument
694 kbps = div_u64((u64)pbn * 994 * 8 * 54, 64); in bpp_x16_from_pbn()
726 kbps_to_peak_pbn(params[i].bw_range.max_kbps) - vars[i + k].pbn; in increase_dsc_bpp()
753 link_timeslots_used += DIV_ROUND_UP(vars[i + k].pbn, mst_state->pbn_div); in increase_dsc_bpp()
759 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp()
763 vars[next_index].pbn); in increase_dsc_bpp()
769 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
771 vars[next_index].pbn -= fair_pbn_alloc; in increase_dsc_bpp()
[all …]
Damdgpu_dm_mst_types.h50 int pbn; member
Damdgpu_dm.h711 uint64_t pbn; member
Damdgpu_dm.c6074 state->pbn = 0; in amdgpu_dm_connector_funcs_reset()
6104 new_state->pbn = state->pbn; in amdgpu_dm_connector_atomic_duplicate_state()
6487 dm_new_connector_state->pbn = drm_dp_calc_pbn_mode(clock, bpp, false); in dm_encoder_helper_atomic_check()
6492 dm_new_connector_state->pbn); in dm_encoder_helper_atomic_check()
6516 int vcpi, pbn_div, pbn, slot_num = 0; in dm_update_mst_vcpi_slots_for_dsc() local
6548 pbn = vars[j].pbn; in dm_update_mst_vcpi_slots_for_dsc()
6556 slot_num = DIV_ROUND_UP(pbn, pbn_div); in dm_update_mst_vcpi_slots_for_dsc()
6559 dm_conn_state->pbn = pbn; in dm_update_mst_vcpi_slots_for_dsc()
6563 dm_conn_state->pbn, false); in dm_update_mst_vcpi_slots_for_dsc()
6570 vcpi = drm_dp_mst_atomic_enable_dsc(state, aconnector->port, pbn, true); in dm_update_mst_vcpi_slots_for_dsc()
[all …]
/linux-6.1.9/drivers/bluetooth/
Dhci_ag6xx.c254 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-6.1.9/drivers/gpu/drm/tests/
Ddrm_dp_mst_helper_test.c21 int pbn, i; in drm_test_dp_mst_calc_pbn_mode() local
36 pbn = drm_dp_calc_pbn_mode(test_params[i].rate, in drm_test_dp_mst_calc_pbn_mode()
39 KUNIT_EXPECT_EQ_MSG(test, pbn, test_params[i].expected, in drm_test_dp_mst_calc_pbn_mode()
42 test_params[i].bpp, pbn); in drm_test_dp_mst_calc_pbn_mode()
207 in.u.allocate_payload.pbn = U16_MAX; in drm_test_dp_mst_sideband_msg_req_decode()
/linux-6.1.9/include/drm/display/
Ddrm_dp_mst_helper.h338 u16 pbn; member
565 int pbn; member
878 struct drm_dp_mst_port *port, int pbn);
881 int pbn, bool enable);
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dtu102.c33 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
38 nvkm_mask(device, 0x61657c + hoff, 0xffffffff, (aligned << 16) | pbn); in tu102_sor_dp_vcpi()
Drootnv50.c231 args->v0.num_slots, args->v0.pbn, in nv50_disp_root_mthd_()
238 args->v0.pbn, in nv50_disp_root_mthd_()
Dior.h81 u8 slot_nr, u16 pbn, u16 aligned);
Dgf119.c119 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()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvif/
Dcl5070.h89 __u16 pbn; member
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c354 buf[idx] = (req->u.allocate_payload.pbn >> 8); in drm_dp_encode_sideband_req()
356 buf[idx] = (req->u.allocate_payload.pbn & 0xff); in drm_dp_encode_sideband_req()
479 a->pbn = buf[++idx] << 8; in drm_dp_decode_sideband_req()
480 a->pbn |= buf[++idx]; in drm_dp_decode_sideband_req()
621 req->u.allocate_payload.vcpi, req->u.allocate_payload.pbn, in drm_dp_dump_sideband_msg_req_body()
1185 u8 vcpi, uint16_t pbn, in build_allocate_payload() argument
1195 req.u.allocate_payload.pbn = pbn; in build_allocate_payload()
3110 int pbn) in drm_dp_payload_send_msg() argument
3141 pbn, port->num_sdp_streams, sinks); in drm_dp_payload_send_msg()
3274 ret = drm_dp_payload_send_msg(mgr, port, payload->vcpi, payload->pbn); in drm_dp_create_payload_step2()
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/
Datom.h129 int pbn; member
Ddisp.c1006 args.vcpi.pbn = payload->pbn; in nv50_msto_prepare()
1013 args.vcpi.pbn, args.vcpi.aligned_pbn); in nv50_msto_prepare()
1049 asyh->dp.pbn = drm_dp_calc_pbn_mode(clock, asyh->or.bpc * 3, in nv50_msto_atomic_check()
1064 slots = drm_dp_atomic_find_time_slots(state, &mstm->mgr, mstc->port, asyh->dp.pbn); in nv50_msto_atomic_check()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c3718 struct fixed31_32 pbn; in dc_link_allocate_mst_payload() local
3798 pbn = get_pbn_from_timing(pipe_ctx); in dc_link_allocate_mst_payload()
3799 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_allocate_mst_payload()
3819 struct fixed31_32 pbn; in dc_link_reduce_mst_payload() local
3828 pbn = get_pbn_from_bw_in_kbps(bw_in_kbps); in dc_link_reduce_mst_payload()
3829 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_reduce_mst_payload()
3908 struct fixed31_32 pbn; in dc_link_increase_mst_payload() local
3976 pbn = get_pbn_from_bw_in_kbps(bw_in_kbps); in dc_link_increase_mst_payload()
3978 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_increase_mst_payload()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp_mst.c80 crtc_state->pbn = drm_dp_calc_pbn_mode(adjusted_mode->crtc_clock, in intel_dp_mst_compute_link_config()
84 connector->port, crtc_state->pbn); in intel_dp_mst_compute_link_config()
Dintel_display_types.h1192 int pbn; member