Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 25 of 1018) sorted by relevance

12345678910>>...41

/Linux-v6.1/drivers/media/platform/qcom/venus/
Dvdec.c99 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() argument
114 !venus_helper_check_codec(inst, fmt[i].pixfmt)) in find_format()
118 !venus_helper_check_format(inst, fmt[i].pixfmt)) in find_format()
122 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format()
129 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() argument
145 valid = venus_helper_check_codec(inst, fmt[i].pixfmt); in find_format_by_index()
147 valid = venus_helper_check_format(inst, fmt[i].pixfmt); in find_format_by_index()
150 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format_by_index()
167 vdec_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in vdec_try_fmt_common() argument
177 fmt = find_format(inst, pixmp->pixelformat, f->type); in vdec_try_fmt_common()
[all …]
Dvenc.c63 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() argument
78 !venus_helper_check_codec(inst, fmt[i].pixfmt)) in find_format()
85 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() argument
100 venus_helper_check_codec(inst, fmt[i].pixfmt); in find_format_by_index()
151 struct venus_inst *inst = to_inst(file); in venc_enum_fmt() local
154 fmt = find_format_by_index(inst, f->index, f->type); in venc_enum_fmt()
167 venc_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in venc_try_fmt_common() argument
177 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common()
185 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common()
190 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in venc_try_fmt_common()
[all …]
Dhfi.c164 static int wait_session_msg(struct venus_inst *inst) in wait_session_msg() argument
168 ret = wait_for_completion_timeout(&inst->done, TIMEOUT); in wait_session_msg()
172 if (inst->error != HFI_ERR_NONE) in wait_session_msg()
178 int hfi_session_create(struct venus_inst *inst, const struct hfi_inst_ops *ops) in hfi_session_create() argument
180 struct venus_core *core = inst->core; in hfi_session_create()
187 inst->state = INST_UNINIT; in hfi_session_create()
188 init_completion(&inst->done); in hfi_session_create()
189 inst->ops = ops; in hfi_session_create()
193 if (test_bit(0, &inst->core->sys_error)) { in hfi_session_create()
203 list_add_tail(&inst->list, &core->instances); in hfi_session_create()
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_h264_if.c227 static inline u32 h264_read_reg(struct venc_h264_inst *inst, u32 addr) in h264_read_reg() argument
229 return readl(inst->hw_base + addr); in h264_read_reg()
232 static unsigned int h264_get_profile(struct venc_h264_inst *inst, in h264_get_profile() argument
243 mtk_vcodec_err(inst, "unsupported CONSTRAINED_BASELINE"); in h264_get_profile()
246 mtk_vcodec_err(inst, "unsupported EXTENDED"); in h264_get_profile()
249 mtk_vcodec_debug(inst, "unsupported profile %d", profile); in h264_get_profile()
254 static unsigned int h264_get_level(struct venc_h264_inst *inst, in h264_get_level() argument
259 mtk_vcodec_err(inst, "unsupported 1B"); in h264_get_level()
292 mtk_vcodec_debug(inst, "unsupported level %d", level); in h264_get_level()
297 static void h264_enc_free_work_buf(struct venc_h264_inst *inst) in h264_enc_free_work_buf() argument
[all …]
Dvenc_vp8_if.c135 static inline u32 vp8_enc_read_reg(struct venc_vp8_inst *inst, u32 addr) in vp8_enc_read_reg() argument
137 return readl(inst->hw_base + addr); in vp8_enc_read_reg()
140 static void vp8_enc_free_work_buf(struct venc_vp8_inst *inst) in vp8_enc_free_work_buf() argument
144 mtk_vcodec_debug_enter(inst); in vp8_enc_free_work_buf()
148 if (inst->work_bufs[i].size == 0) in vp8_enc_free_work_buf()
150 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in vp8_enc_free_work_buf()
153 mtk_vcodec_debug_leave(inst); in vp8_enc_free_work_buf()
156 static int vp8_enc_alloc_work_buf(struct venc_vp8_inst *inst) in vp8_enc_alloc_work_buf() argument
160 struct venc_vp8_vpu_buf *wb = inst->vsi->work_bufs; in vp8_enc_alloc_work_buf()
162 mtk_vcodec_debug_enter(inst); in vp8_enc_alloc_work_buf()
[all …]
/Linux-v6.1/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_vp9_if.c206 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() argument
209 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb()
219 *inst, void *addr) in vp9_rm_from_fb_use_list()
224 list_for_each_entry(node, &inst->fb_use_list, list) { in vp9_rm_from_fb_use_list()
228 &inst->available_fb_node_list); in vp9_rm_from_fb_use_list()
235 static void vp9_add_to_fb_free_list(struct vdec_vp9_inst *inst, in vp9_add_to_fb_free_list() argument
241 node = list_first_entry_or_null(&inst->available_fb_node_list, in vp9_add_to_fb_free_list()
246 list_move_tail(&node->list, &inst->fb_free_list); in vp9_add_to_fb_free_list()
249 mtk_vcodec_debug(inst, "No free fb node"); in vp9_add_to_fb_free_list()
261 static void vp9_ref_cnt_fb(struct vdec_vp9_inst *inst, int *idx, in vp9_ref_cnt_fb() argument
[all …]
Dvdec_vp8_req_if.c119 static void vdec_vp8_slice_get_pic_info(struct vdec_vp8_slice_inst *inst) in vdec_vp8_slice_get_pic_info() argument
121 struct mtk_vcodec_ctx *ctx = inst->ctx; in vdec_vp8_slice_get_pic_info()
127 vpu_dec_get_param(&inst->vpu, data, 3, GET_PARAM_PIC_INFO); in vdec_vp8_slice_get_pic_info()
131 ctx->picinfo.fb_sz[0] = inst->vpu.fb_sz[0]; in vdec_vp8_slice_get_pic_info()
132 ctx->picinfo.fb_sz[1] = inst->vpu.fb_sz[1]; in vdec_vp8_slice_get_pic_info()
134 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info()
135 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info()
136 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info()
137 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info()
138 inst->vsi->pic.fb_sz[0] = ctx->picinfo.fb_sz[0]; in vdec_vp8_slice_get_pic_info()
[all …]
Dvdec_h264_req_multi_if.c174 static int vdec_h264_slice_fill_decode_parameters(struct vdec_h264_slice_inst *inst, in vdec_h264_slice_fill_decode_parameters() argument
177 struct vdec_h264_slice_lat_dec_param *slice_param = &inst->vsi->h264_slice_params; in vdec_h264_slice_fill_decode_parameters()
184 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS); in vdec_h264_slice_fill_decode_parameters()
189 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SCALING_MATRIX); in vdec_h264_slice_fill_decode_parameters()
193 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS); in vdec_h264_slice_fill_decode_parameters()
197 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PPS); in vdec_h264_slice_fill_decode_parameters()
202 mtk_vcodec_err(inst, "No support for H.264 field decoding."); in vdec_h264_slice_fill_decode_parameters()
203 inst->is_field_bitstream = true; in vdec_h264_slice_fill_decode_parameters()
217 static int get_vdec_sig_decode_parameters(struct vdec_h264_slice_inst *inst) in get_vdec_sig_decode_parameters() argument
223 struct vdec_h264_slice_lat_dec_param *slice_param = &inst->h264_slice_param; in get_vdec_sig_decode_parameters()
[all …]
Dvdec_vp8_if.c168 static void get_hw_reg_base(struct vdec_vp8_inst *inst) in get_hw_reg_base() argument
170 inst->reg_base.top = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_TOP); in get_hw_reg_base()
171 inst->reg_base.cm = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_CM); in get_hw_reg_base()
172 inst->reg_base.hwd = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_HWD); in get_hw_reg_base()
173 inst->reg_base.sys = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_SYS); in get_hw_reg_base()
174 inst->reg_base.misc = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_MISC); in get_hw_reg_base()
175 inst->reg_base.ld = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_LD); in get_hw_reg_base()
176 inst->reg_base.hwb = mtk_vcodec_get_reg_addr(inst->ctx, VDEC_HWB); in get_hw_reg_base()
179 static void write_hw_segmentation_data(struct vdec_vp8_inst *inst) in write_hw_segmentation_data() argument
184 void __iomem *cm = inst->reg_base.cm; in write_hw_segmentation_data()
[all …]
Dvdec_h264_req_if.c97 static int get_vdec_decode_parameters(struct vdec_h264_slice_inst *inst) in get_vdec_decode_parameters() argument
103 struct mtk_h264_dec_slice_param *slice_param = &inst->h264_slice_param; in get_vdec_decode_parameters()
113 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_DECODE_PARAMS); in get_vdec_decode_parameters()
117 sps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SPS); in get_vdec_decode_parameters()
121 pps = mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_PPS); in get_vdec_decode_parameters()
126 mtk_vdec_h264_get_ctrl_ptr(inst->ctx, V4L2_CID_STATELESS_H264_SCALING_MATRIX); in get_vdec_decode_parameters()
130 mtk_vdec_h264_update_dpb(dec_params, inst->dpb); in get_vdec_decode_parameters()
136 dec_params, inst->dpb); in get_vdec_decode_parameters()
137 mtk_vdec_h264_fill_dpb_info(inst->ctx, &slice_param->decode_params, in get_vdec_decode_parameters()
142 inst->dpb); in get_vdec_decode_parameters()
[all …]
Dvdec_h264_if.c140 static int allocate_predication_buf(struct vdec_h264_inst *inst) in allocate_predication_buf() argument
144 inst->pred_buf.size = BUF_PREDICTION_SZ; in allocate_predication_buf()
145 err = mtk_vcodec_mem_alloc(inst->ctx, &inst->pred_buf); in allocate_predication_buf()
147 mtk_vcodec_err(inst, "failed to allocate ppl buf"); in allocate_predication_buf()
151 inst->vsi->pred_buf_dma = inst->pred_buf.dma_addr; in allocate_predication_buf()
155 static void free_predication_buf(struct vdec_h264_inst *inst) in free_predication_buf() argument
159 mtk_vcodec_debug_enter(inst); in free_predication_buf()
161 inst->vsi->pred_buf_dma = 0; in free_predication_buf()
162 mem = &inst->pred_buf; in free_predication_buf()
164 mtk_vcodec_mem_free(inst->ctx, mem); in free_predication_buf()
[all …]
/Linux-v6.1/drivers/media/platform/amphion/
Dvpu_cmds.c82 static struct vpu_cmd_t *vpu_alloc_cmd(struct vpu_inst *inst, u32 id, void *data) in vpu_alloc_cmd() argument
99 ret = vpu_iface_pack_cmd(inst->core, cmd->pkt, inst->id, id, data); in vpu_alloc_cmd()
101 dev_err(inst->dev, "iface pack cmd(%d) fail\n", id); in vpu_alloc_cmd()
124 static int vpu_session_process_cmd(struct vpu_inst *inst, struct vpu_cmd_t *cmd) in vpu_session_process_cmd() argument
128 dev_dbg(inst->dev, "[%d]send cmd(0x%x)\n", inst->id, cmd->id); in vpu_session_process_cmd()
129 vpu_iface_pre_send_cmd(inst); in vpu_session_process_cmd()
130 ret = vpu_cmd_send(inst->core, cmd->pkt); in vpu_session_process_cmd()
132 vpu_iface_post_send_cmd(inst); in vpu_session_process_cmd()
133 vpu_inst_record_flow(inst, cmd->id); in vpu_session_process_cmd()
135 dev_err(inst->dev, "[%d] iface send cmd(0x%x) fail\n", inst->id, cmd->id); in vpu_session_process_cmd()
[all …]
Dvdec.c146 static int vdec_ctrl_init(struct vpu_inst *inst) in vdec_ctrl_init() argument
151 ret = v4l2_ctrl_handler_init(&inst->ctrl_handler, 20); in vdec_ctrl_init()
155 ctrl = v4l2_ctrl_new_std(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
160 ctrl = v4l2_ctrl_new_std(&inst->ctrl_handler, &vdec_ctrl_ops, in vdec_ctrl_init()
165 if (inst->ctrl_handler.error) { in vdec_ctrl_init()
166 ret = inst->ctrl_handler.error; in vdec_ctrl_init()
167 v4l2_ctrl_handler_free(&inst->ctrl_handler); in vdec_ctrl_init()
171 ret = v4l2_ctrl_handler_setup(&inst->ctrl_handler); in vdec_ctrl_init()
173 dev_err(inst->dev, "[%d] setup ctrls fail, ret = %d\n", inst->id, ret); in vdec_ctrl_init()
174 v4l2_ctrl_handler_free(&inst->ctrl_handler); in vdec_ctrl_init()
[all …]
Dvpu_v4l2.c27 void vpu_inst_lock(struct vpu_inst *inst) in vpu_inst_lock() argument
29 mutex_lock(&inst->lock); in vpu_inst_lock()
32 void vpu_inst_unlock(struct vpu_inst *inst) in vpu_inst_unlock() argument
34 mutex_unlock(&inst->lock); in vpu_inst_unlock()
66 void vpu_v4l2_set_error(struct vpu_inst *inst) in vpu_v4l2_set_error() argument
71 vpu_inst_lock(inst); in vpu_v4l2_set_error()
72 dev_err(inst->dev, "some error occurs in codec\n"); in vpu_v4l2_set_error()
73 if (inst->fh.m2m_ctx) { in vpu_v4l2_set_error()
74 src_q = v4l2_m2m_get_src_vq(inst->fh.m2m_ctx); in vpu_v4l2_set_error()
75 dst_q = v4l2_m2m_get_dst_vq(inst->fh.m2m_ctx); in vpu_v4l2_set_error()
[all …]
Dvpu_msgs.c25 void (*done)(struct vpu_inst *inst, struct vpu_rpc_event *pkt);
28 static void vpu_session_handle_start_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_start_done() argument
30 vpu_trace(inst->dev, "[%d]\n", inst->id); in vpu_session_handle_start_done()
33 static void vpu_session_handle_mem_request(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_mem_request() argument
37 vpu_iface_unpack_msg_data(inst->core, pkt, (void *)&req_data); in vpu_session_handle_mem_request()
38 vpu_trace(inst->dev, "[%d] %d:%d %d:%d %d:%d\n", in vpu_session_handle_mem_request()
39 inst->id, in vpu_session_handle_mem_request()
46 call_void_vop(inst, mem_request, in vpu_session_handle_mem_request()
55 static void vpu_session_handle_stop_done(struct vpu_inst *inst, struct vpu_rpc_event *pkt) in vpu_session_handle_stop_done() argument
57 vpu_trace(inst->dev, "[%d]\n", inst->id); in vpu_session_handle_stop_done()
[all …]
/Linux-v6.1/arch/arm/vfp/
Dvfpinstr.h10 #define INST_CPRTDO(inst) (((inst) & 0x0f000000) == 0x0e000000) argument
11 #define INST_CPRT(inst) ((inst) & (1 << 4)) argument
12 #define INST_CPRT_L(inst) ((inst) & (1 << 20)) argument
13 #define INST_CPRT_Rd(inst) (((inst) & (15 << 12)) >> 12) argument
14 #define INST_CPRT_OP(inst) (((inst) >> 21) & 7) argument
15 #define INST_CPNUM(inst) ((inst) & 0xf00) argument
30 #define FOP_TO_IDX(inst) ((inst & 0x00b00000) >> 20 | (inst & (1 << 6)) >> 4) argument
49 #define FEXT_TO_IDX(inst) ((inst & 0x000f0000) >> 15 | (inst & (1 << 7)) >> 7) argument
51 #define vfp_get_sd(inst) ((inst & 0x0000f000) >> 11 | (inst & (1 << 22)) >> 22) argument
52 #define vfp_get_dd(inst) ((inst & 0x0000f000) >> 12 | (inst & (1 << 22)) >> 18) argument
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_mpc.h34 #define MPC_REG_LIST_DCN3_2(inst) \ argument
35 MPC_REG_LIST_DCN3_0(inst),\
36 SRII(MPCC_MOVABLE_CM_LOCATION_CONTROL, MPCC, inst),\
37 SRII(MPCC_MCM_SHAPER_CONTROL, MPCC_MCM, inst),\
38 SRII(MPCC_MCM_SHAPER_OFFSET_R, MPCC_MCM, inst),\
39 SRII(MPCC_MCM_SHAPER_OFFSET_G, MPCC_MCM, inst),\
40 SRII(MPCC_MCM_SHAPER_OFFSET_B, MPCC_MCM, inst),\
41 SRII(MPCC_MCM_SHAPER_SCALE_R, MPCC_MCM, inst),\
42 SRII(MPCC_MCM_SHAPER_SCALE_G_B, MPCC_MCM, inst),\
43 SRII(MPCC_MCM_SHAPER_LUT_INDEX, MPCC_MCM, inst),\
[all …]
/Linux-v6.1/arch/powerpc/include/asm/
Ddisassemble.h14 static inline unsigned int get_op(u32 inst) in get_op() argument
16 return inst >> 26; in get_op()
19 static inline unsigned int get_xop(u32 inst) in get_xop() argument
21 return (inst >> 1) & 0x3ff; in get_xop()
24 static inline unsigned int get_sprn(u32 inst) in get_sprn() argument
26 return ((inst >> 16) & 0x1f) | ((inst >> 6) & 0x3e0); in get_sprn()
29 static inline unsigned int get_dcrn(u32 inst) in get_dcrn() argument
31 return ((inst >> 16) & 0x1f) | ((inst >> 6) & 0x3e0); in get_dcrn()
34 static inline unsigned int get_tmrn(u32 inst) in get_tmrn() argument
36 return ((inst >> 16) & 0x1f) | ((inst >> 6) & 0x3e0); in get_tmrn()
[all …]
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv25.c37 &chan->inst); in nv25_gr_chan_new()
41 nvkm_kmap(chan->inst); in nv25_gr_chan_new()
42 nvkm_wo32(chan->inst, 0x0028, 0x00000001 | (chan->chid << 24)); in nv25_gr_chan_new()
43 nvkm_wo32(chan->inst, 0x035c, 0xffff0000); in nv25_gr_chan_new()
44 nvkm_wo32(chan->inst, 0x03c0, 0x0fff0000); in nv25_gr_chan_new()
45 nvkm_wo32(chan->inst, 0x03c4, 0x0fff0000); in nv25_gr_chan_new()
46 nvkm_wo32(chan->inst, 0x049c, 0x00000101); in nv25_gr_chan_new()
47 nvkm_wo32(chan->inst, 0x04b0, 0x00000111); in nv25_gr_chan_new()
48 nvkm_wo32(chan->inst, 0x04c8, 0x00000080); in nv25_gr_chan_new()
49 nvkm_wo32(chan->inst, 0x04cc, 0xffff0000); in nv25_gr_chan_new()
[all …]
Dnv35.c37 &chan->inst); in nv35_gr_chan_new()
41 nvkm_kmap(chan->inst); in nv35_gr_chan_new()
42 nvkm_wo32(chan->inst, 0x0028, 0x00000001 | (chan->chid << 24)); in nv35_gr_chan_new()
43 nvkm_wo32(chan->inst, 0x040c, 0x00000101); in nv35_gr_chan_new()
44 nvkm_wo32(chan->inst, 0x0420, 0x00000111); in nv35_gr_chan_new()
45 nvkm_wo32(chan->inst, 0x0424, 0x00000060); in nv35_gr_chan_new()
46 nvkm_wo32(chan->inst, 0x0440, 0x00000080); in nv35_gr_chan_new()
47 nvkm_wo32(chan->inst, 0x0444, 0xffff0000); in nv35_gr_chan_new()
48 nvkm_wo32(chan->inst, 0x0448, 0x00000001); in nv35_gr_chan_new()
49 nvkm_wo32(chan->inst, 0x045c, 0x44400000); in nv35_gr_chan_new()
[all …]
Dnv34.c37 &chan->inst); in nv34_gr_chan_new()
41 nvkm_kmap(chan->inst); in nv34_gr_chan_new()
42 nvkm_wo32(chan->inst, 0x0028, 0x00000001 | (chan->chid << 24)); in nv34_gr_chan_new()
43 nvkm_wo32(chan->inst, 0x040c, 0x01000101); in nv34_gr_chan_new()
44 nvkm_wo32(chan->inst, 0x0420, 0x00000111); in nv34_gr_chan_new()
45 nvkm_wo32(chan->inst, 0x0424, 0x00000060); in nv34_gr_chan_new()
46 nvkm_wo32(chan->inst, 0x0440, 0x00000080); in nv34_gr_chan_new()
47 nvkm_wo32(chan->inst, 0x0444, 0xffff0000); in nv34_gr_chan_new()
48 nvkm_wo32(chan->inst, 0x0448, 0x00000001); in nv34_gr_chan_new()
49 nvkm_wo32(chan->inst, 0x045c, 0x44400000); in nv34_gr_chan_new()
[all …]
/Linux-v6.1/drivers/soc/mediatek/
Dmtk-cmdq-helper.c152 struct cmdq_instruction inst) in cmdq_pkt_append_command() argument
172 *cmd_ptr = inst; in cmdq_pkt_append_command()
180 struct cmdq_instruction inst; in cmdq_pkt_write() local
182 inst.op = CMDQ_CODE_WRITE; in cmdq_pkt_write()
183 inst.value = value; in cmdq_pkt_write()
184 inst.offset = offset; in cmdq_pkt_write()
185 inst.subsys = subsys; in cmdq_pkt_write()
187 return cmdq_pkt_append_command(pkt, inst); in cmdq_pkt_write()
194 struct cmdq_instruction inst = { {0} }; in cmdq_pkt_write_mask() local
199 inst.op = CMDQ_CODE_MASK; in cmdq_pkt_write_mask()
[all …]
/Linux-v6.1/net/netfilter/
Dnfnetlink_log.c109 struct nfulnl_instance *inst; in __instance_lookup() local
112 hlist_for_each_entry_rcu(inst, head, hlist) { in __instance_lookup()
113 if (inst->group_num == group_num) in __instance_lookup()
114 return inst; in __instance_lookup()
120 instance_get(struct nfulnl_instance *inst) in instance_get() argument
122 refcount_inc(&inst->use); in instance_get()
128 struct nfulnl_instance *inst; in instance_lookup_get() local
131 inst = __instance_lookup(log, group_num); in instance_lookup_get()
132 if (inst && !refcount_inc_not_zero(&inst->use)) in instance_lookup_get()
133 inst = NULL; in instance_lookup_get()
[all …]
/Linux-v6.1/arch/arm64/kernel/
Dkuser32.S24 .inst 0xe92d00f0 // push {r4, r5, r6, r7}
25 .inst 0xe1c040d0 // ldrd r4, r5, [r0]
26 .inst 0xe1c160d0 // ldrd r6, r7, [r1]
27 .inst 0xe1b20f9f // 1: ldrexd r0, r1, [r2]
28 .inst 0xe0303004 // eors r3, r0, r4
29 .inst 0x00313005 // eoreqs r3, r1, r5
30 .inst 0x01a23e96 // stlexdeq r3, r6, [r2]
31 .inst 0x03330001 // teqeq r3, #1
32 .inst 0x0afffff9 // beq 1b
33 .inst 0xf57ff05b // dmb ish
[all …]
/Linux-v6.1/drivers/phy/mediatek/
Dphy-mtk-xsphy.c110 struct xsphy_instance *inst) in u2_phy_slew_rate_calibrate() argument
112 void __iomem *pbase = inst->port_base; in u2_phy_slew_rate_calibrate()
118 if (inst->eye_src) in u2_phy_slew_rate_calibrate()
157 inst->index, fm_out, calib_val, in u2_phy_slew_rate_calibrate()
168 struct xsphy_instance *inst) in u2_phy_instance_init() argument
170 void __iomem *pbase = inst->port_base; in u2_phy_instance_init()
179 struct xsphy_instance *inst) in u2_phy_instance_power_on() argument
181 void __iomem *pbase = inst->port_base; in u2_phy_instance_power_on()
182 u32 index = inst->index; in u2_phy_instance_power_on()
194 struct xsphy_instance *inst) in u2_phy_instance_power_off() argument
[all …]

12345678910>>...41