Home
last modified time | relevance | path

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

/openbmc/linux/fs/nilfs2/
H A 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()
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()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c855 params[i].timing->dsc_cfg.mst_pbn = vars[i + k].pbn; in set_dsc_configs_from_fairness_vars()
869 vars[i + k].pbn); in set_dsc_configs_from_fairness_vars()
873 static int bpp_x16_from_pbn(struct dsc_mst_fairness_params param, int pbn) in bpp_x16_from_pbn() argument
884 kbps = div_u64((u64)pbn * 994 * 8 * 54, 64); in bpp_x16_from_pbn()
918 kbps_to_peak_pbn(params[i].bw_range.max_kbps, fec_overhead_multiplier_x1000) - vars[i + k].pbn; in increase_dsc_bpp()
945 link_timeslots_used += DIV_ROUND_UP(vars[i + k].pbn, mst_state->pbn_div); in increase_dsc_bpp()
951 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp()
955 vars[next_index].pbn); in increase_dsc_bpp()
961 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
963 vars[next_index].pbn -= fair_pbn_alloc; in increase_dsc_bpp()
[all …]
H A Damdgpu_dm_mst_types.h76 int pbn; member
H A Damdgpu_dm.h769 uint64_t pbn; member
H A Damdgpu_dm.c6380 state->pbn = 0; in amdgpu_dm_connector_funcs_reset()
6411 new_state->pbn = state->pbn; in amdgpu_dm_connector_atomic_duplicate_state()
6906 dm_new_connector_state->pbn = drm_dp_calc_pbn_mode(clock, bpp << 4); in dm_encoder_helper_atomic_check()
6911 dm_new_connector_state->pbn); in dm_encoder_helper_atomic_check()
6934 int vcpi, pbn_div, pbn = 0, slot_num = 0; in dm_update_mst_vcpi_slots_for_dsc() local
6966 pbn = vars[j].pbn; in dm_update_mst_vcpi_slots_for_dsc()
6974 slot_num = DIV_ROUND_UP(pbn, pbn_div); in dm_update_mst_vcpi_slots_for_dsc()
6977 dm_conn_state->pbn = pbn; in dm_update_mst_vcpi_slots_for_dsc()
6981 dm_conn_state->pbn, false); in dm_update_mst_vcpi_slots_for_dsc()
6988 vcpi = drm_dp_mst_atomic_enable_dsc(state, aconnector->mst_output_port, pbn, true); in dm_update_mst_vcpi_slots_for_dsc()
[all …]
H A Damdgpu_dm_helpers.c242 old_payload->pbn = dc_alloc->slot_count * pbn_per_slot; in dm_helpers_construct_old_payload()
/openbmc/linux/drivers/bluetooth/
H A 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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/
H A Doutp.c30 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()
/openbmc/linux/include/drm/display/
H A Ddrm_dp_mst_helper.h333 u16 pbn; member
560 int pbn; member
892 struct drm_dp_mst_port *port, int pbn);
895 int pbn, bool enable);
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A 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()
H A Dior.h81 u8 slot_nr, u16 pbn, u16 aligned);
H A 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()
H A Duoutp.c42 args->v0.pbn, args->v0.aligned_pbn); in nvkm_uoutp_mthd_dp_mst_vcpi()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Doutp.h33 u8 start_slot, u8 num_slots, u16 pbn, u16 aligned_pbn);
H A Dif0012.h119 __u16 pbn; member
/openbmc/linux/drivers/gpu/drm/display/
H A Ddrm_dp_mst_topology.c357 buf[idx] = (req->u.allocate_payload.pbn >> 8); in drm_dp_encode_sideband_req()
359 buf[idx] = (req->u.allocate_payload.pbn & 0xff); in drm_dp_encode_sideband_req()
482 a->pbn = buf[++idx] << 8; in drm_dp_decode_sideband_req()
483 a->pbn |= buf[++idx]; in drm_dp_decode_sideband_req()
624 req->u.allocate_payload.vcpi, req->u.allocate_payload.pbn, in drm_dp_dump_sideband_msg_req_body()
1188 u8 vcpi, uint16_t pbn, in build_allocate_payload() argument
1198 req.u.allocate_payload.pbn = pbn; in build_allocate_payload()
3113 int pbn) in drm_dp_payload_send_msg() argument
3144 pbn, port->num_sdp_streams, sinks); in drm_dp_payload_send_msg()
3277 ret = drm_dp_payload_send_msg(mgr, port, payload->vcpi, payload->pbn); in drm_dp_create_payload_step2()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c1445 struct fixed31_32 pbn; in allocate_mst_payload() local
1525 pbn = get_pbn_from_timing(pipe_ctx); in allocate_mst_payload()
1526 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in allocate_mst_payload()
1755 struct fixed31_32 pbn; in link_reduce_mst_payload() local
1764 pbn = get_pbn_from_bw_in_kbps(bw_in_kbps); in link_reduce_mst_payload()
1765 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_reduce_mst_payload()
1844 struct fixed31_32 pbn; in link_increase_mst_payload() local
1912 pbn = get_pbn_from_bw_in_kbps(bw_in_kbps); in link_increase_mst_payload()
1914 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_increase_mst_payload()
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Datom.h129 int pbn; member
H A Ddisp.c934 payload->pbn, payload->time_slots * mst_state->pbn_div); in nv50_msto_prepare()
969 asyh->dp.pbn = drm_dp_calc_pbn_mode(clock, asyh->or.bpc * 3 << 4); in nv50_msto_atomic_check()
983 slots = drm_dp_atomic_find_time_slots(state, &mstm->mgr, mstc->port, asyh->dp.pbn); in nv50_msto_atomic_check()
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_dp_mst_helper_test.c126 .u.allocate_payload.pbn = U16_MAX,
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp_mst.c111 crtc_state->pbn = drm_dp_calc_pbn_mode(adjusted_mode->crtc_clock, in intel_dp_mst_find_vcpi_slots_for_bpp()
116 crtc_state->pbn); in intel_dp_mst_find_vcpi_slots_for_bpp()
H A Dintel_display_types.h1259 int pbn; member