/Linux-v6.6/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 170 struct hns_roce_buf_attr buf_attr = {}; in alloc_srq_idx() local 175 buf_attr.page_shift = hr_dev->caps.idx_buf_pg_sz + PAGE_SHIFT; in alloc_srq_idx() 176 buf_attr.region[0].size = to_hr_hem_entries_size(srq->wqe_cnt, in alloc_srq_idx() 178 buf_attr.region[0].hopnum = hr_dev->caps.idx_hop_num; in alloc_srq_idx() 179 buf_attr.region_count = 1; in alloc_srq_idx() 181 ret = hns_roce_mtr_create(hr_dev, &idx_que->mtr, &buf_attr, in alloc_srq_idx() 223 struct hns_roce_buf_attr buf_attr = {}; in alloc_srq_wqe_buf() local 230 buf_attr.page_shift = hr_dev->caps.srqwqe_buf_pg_sz + PAGE_SHIFT; in alloc_srq_wqe_buf() 231 buf_attr.region[0].size = to_hr_hem_entries_size(srq->wqe_cnt, in alloc_srq_wqe_buf() 233 buf_attr.region[0].hopnum = hr_dev->caps.srqwqe_hop_num; in alloc_srq_wqe_buf() [all …]
|
D | hns_roce_mr.c | 94 struct hns_roce_buf_attr buf_attr = {}; in alloc_mr_pbl() local 98 buf_attr.page_shift = is_fast ? PAGE_SHIFT : in alloc_mr_pbl() 100 buf_attr.region[0].size = mr->size; in alloc_mr_pbl() 101 buf_attr.region[0].hopnum = mr->pbl_hop_num; in alloc_mr_pbl() 102 buf_attr.region_count = 1; in alloc_mr_pbl() 103 buf_attr.user_access = mr->access; in alloc_mr_pbl() 105 buf_attr.mtt_only = is_fast; in alloc_mr_pbl() 107 err = hns_roce_mtr_create(hr_dev, &mr->pbl_mtr, &buf_attr, in alloc_mr_pbl() 665 struct hns_roce_buf_attr *buf_attr, in mtr_alloc_bufs() argument 671 total_size = mtr_bufs_size(buf_attr); in mtr_alloc_bufs() [all …]
|
D | hns_roce_qp.c | 646 struct hns_roce_buf_attr *buf_attr) in set_wqe_buf_attr() argument 657 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) { in set_wqe_buf_attr() 658 buf_attr->region[idx].size = buf_size; in set_wqe_buf_attr() 659 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sq_hop_num; in set_wqe_buf_attr() 668 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) { in set_wqe_buf_attr() 669 buf_attr->region[idx].size = buf_size; in set_wqe_buf_attr() 670 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_sge_hop_num; in set_wqe_buf_attr() 679 if (buf_size > 0 && idx < ARRAY_SIZE(buf_attr->region)) { in set_wqe_buf_attr() 680 buf_attr->region[idx].size = buf_size; in set_wqe_buf_attr() 681 buf_attr->region[idx].hopnum = hr_dev->caps.wqe_rq_hop_num; in set_wqe_buf_attr() [all …]
|
D | hns_roce_cq.c | 203 struct hns_roce_buf_attr buf_attr = {}; in alloc_cq_buf() local 206 buf_attr.page_shift = hr_dev->caps.cqe_buf_pg_sz + PAGE_SHIFT; in alloc_cq_buf() 207 buf_attr.region[0].size = hr_cq->cq_depth * hr_cq->cqe_size; in alloc_cq_buf() 208 buf_attr.region[0].hopnum = hr_dev->caps.cqe_hop_num; in alloc_cq_buf() 209 buf_attr.region_count = 1; in alloc_cq_buf() 211 ret = hns_roce_mtr_create(hr_dev, &hr_cq->mtr, &buf_attr, in alloc_cq_buf()
|
D | hns_roce_device.h | 1128 struct hns_roce_buf_attr *buf_attr,
|
D | hns_roce_hw_v2.c | 6333 struct hns_roce_buf_attr buf_attr = {}; in alloc_eq_buf() local 6341 buf_attr.page_shift = hr_dev->caps.eqe_buf_pg_sz + PAGE_SHIFT; in alloc_eq_buf() 6342 buf_attr.region[0].size = eq->entries * eq->eqe_size; in alloc_eq_buf() 6343 buf_attr.region[0].hopnum = eq->hop_num; in alloc_eq_buf() 6344 buf_attr.region_count = 1; in alloc_eq_buf() 6346 err = hns_roce_mtr_create(hr_dev, &eq->mtr, &buf_attr, in alloc_eq_buf()
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
D | ia_css_frame_comm.h | 95 struct ia_css_buffer_sp buf_attr; member
|
/Linux-v6.6/drivers/staging/media/atomisp/pci/ |
D | sh_css_sp.c | 89 initialize_frame_buffer_attribute(struct ia_css_buffer_sp *buf_attr); 450 sh_css_copy_buffer_attr_to_spbuffer(&sp_frame_out->buf_attr, in sh_css_copy_frame_to_spframe() 887 initialize_frame_buffer_attribute(struct ia_css_buffer_sp *buf_attr) in initialize_frame_buffer_attribute() argument 889 buf_attr->buf_src.queue_id = SH_CSS_INVALID_QUEUE_ID; in initialize_frame_buffer_attribute() 890 buf_attr->buf_type = IA_CSS_BUFFER_TYPE_INVALID; in initialize_frame_buffer_attribute() 898 initialize_frame_buffer_attribute(&frames->in.buf_attr); in initialize_stage_frames() 900 initialize_frame_buffer_attribute(&frames->out[i].buf_attr); in initialize_stage_frames() 902 initialize_frame_buffer_attribute(&frames->out_vf.buf_attr); in initialize_stage_frames()
|
/Linux-v6.6/drivers/staging/media/ipu3/ |
D | ipu3-css.c | 898 frames_sp->in.buf_attr = buffer_sp_init; in imgu_css_pipeline_init() 900 frames_sp->out[i].buf_attr = buffer_sp_init; in imgu_css_pipeline_init() 901 frames_sp->out_vf.buf_attr = buffer_sp_init; in imgu_css_pipeline_init() 926 frame_sp->buf_attr.buf_src.queue_id = IMGU_ABI_QUEUE_C_ID; in imgu_css_pipeline_init() 927 frame_sp->buf_attr.buf_type = IMGU_ABI_BUFFER_TYPE_INPUT_FRAME; in imgu_css_pipeline_init() 939 frame_sp->buf_attr.buf_src.queue_id = IMGU_ABI_QUEUE_D_ID; in imgu_css_pipeline_init() 940 frame_sp->buf_attr.buf_type = IMGU_ABI_BUFFER_TYPE_OUTPUT_FRAME; in imgu_css_pipeline_init() 943 frame_sp->buf_attr.buf_src.queue_id = IMGU_ABI_QUEUE_EVENT_ID; in imgu_css_pipeline_init() 966 frame_sp->buf_attr.buf_src.queue_id = IMGU_ABI_QUEUE_E_ID; in imgu_css_pipeline_init() 967 frame_sp->buf_attr.buf_type = IMGU_ABI_BUFFER_TYPE_VF_OUTPUT_FRAME; in imgu_css_pipeline_init()
|
D | ipu3-abi.h | 1412 struct imgu_abi_buffer_sp buf_attr; member
|
/Linux-v6.6/drivers/staging/rtl8723bs/core/ |
D | rtw_ieee80211.c | 692 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr) in rtw_get_wps_attr() argument 718 if (buf_attr) in rtw_get_wps_attr() 719 memcpy(buf_attr, attr_ptr, attr_len); in rtw_get_wps_attr()
|
/Linux-v6.6/drivers/staging/rtl8723bs/include/ |
D | ieee80211.h | 753 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr);
|