Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v5.4/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c148 static inline u32 h264_read_reg(struct venc_h264_inst *inst, u32 addr) in h264_read_reg() argument
150 return readl(inst->hw_base + addr); in h264_read_reg()
153 static unsigned int h264_get_profile(struct venc_h264_inst *inst, in h264_get_profile() argument
164 mtk_vcodec_err(inst, "unsupported CONSTRAINED_BASELINE"); in h264_get_profile()
167 mtk_vcodec_err(inst, "unsupported EXTENDED"); in h264_get_profile()
170 mtk_vcodec_debug(inst, "unsupported profile %d", profile); in h264_get_profile()
175 static unsigned int h264_get_level(struct venc_h264_inst *inst, in h264_get_level() argument
180 mtk_vcodec_err(inst, "unsupported 1B"); in h264_get_level()
209 mtk_vcodec_debug(inst, "unsupported level %d", level); in h264_get_level()
214 static void h264_enc_free_work_buf(struct venc_h264_inst *inst) in h264_enc_free_work_buf() argument
[all …]
Dvenc_vp8_if.c136 static inline u32 vp8_enc_read_reg(struct venc_vp8_inst *inst, u32 addr) in vp8_enc_read_reg() argument
138 return readl(inst->hw_base + addr); in vp8_enc_read_reg()
141 static void vp8_enc_free_work_buf(struct venc_vp8_inst *inst) in vp8_enc_free_work_buf() argument
145 mtk_vcodec_debug_enter(inst); in vp8_enc_free_work_buf()
149 if (inst->work_bufs[i].size == 0) in vp8_enc_free_work_buf()
151 mtk_vcodec_mem_free(inst->ctx, &inst->work_bufs[i]); in vp8_enc_free_work_buf()
154 mtk_vcodec_debug_leave(inst); in vp8_enc_free_work_buf()
157 static int vp8_enc_alloc_work_buf(struct venc_vp8_inst *inst) in vp8_enc_alloc_work_buf() argument
161 struct venc_vp8_vpu_buf *wb = inst->vsi->work_bufs; in vp8_enc_alloc_work_buf()
163 mtk_vcodec_debug_enter(inst); in vp8_enc_alloc_work_buf()
[all …]
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dvdec.c90 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() argument
105 !venus_helper_check_codec(inst, fmt[i].pixfmt)) in find_format()
112 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() argument
127 venus_helper_check_codec(inst, fmt[i].pixfmt); in find_format_by_index()
141 vdec_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in vdec_try_fmt_common() argument
151 fmt = find_format(inst, pixmp->pixelformat, f->type); in vdec_try_fmt_common()
159 fmt = find_format(inst, pixmp->pixelformat, f->type); in vdec_try_fmt_common()
162 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in vdec_try_fmt_common()
163 frame_width_max(inst)); in vdec_try_fmt_common()
164 pixmp->height = clamp(pixmp->height, frame_height_min(inst), in vdec_try_fmt_common()
[all …]
Dhfi.c161 static int wait_session_msg(struct venus_inst *inst) in wait_session_msg() argument
165 ret = wait_for_completion_timeout(&inst->done, TIMEOUT); in wait_session_msg()
169 if (inst->error != HFI_ERR_NONE) in wait_session_msg()
175 int hfi_session_create(struct venus_inst *inst, const struct hfi_inst_ops *ops) in hfi_session_create() argument
177 struct venus_core *core = inst->core; in hfi_session_create()
182 inst->state = INST_UNINIT; in hfi_session_create()
183 init_completion(&inst->done); in hfi_session_create()
184 inst->ops = ops; in hfi_session_create()
187 list_add_tail(&inst->list, &core->instances); in hfi_session_create()
195 int hfi_session_init(struct venus_inst *inst, u32 pixfmt) in hfi_session_init() argument
[all …]
Dhelpers.c30 bool venus_helper_check_codec(struct venus_inst *inst, u32 v4l2_pixfmt) in venus_helper_check_codec() argument
32 struct venus_core *core = inst->core; in venus_helper_check_codec()
33 u32 session_type = inst->session_type; in venus_helper_check_codec()
82 int venus_helper_queue_dpb_bufs(struct venus_inst *inst) in venus_helper_queue_dpb_bufs() argument
87 list_for_each_entry(buf, &inst->dpbbufs, list) { in venus_helper_queue_dpb_bufs()
95 ret = hfi_session_process_buf(inst, &fdata); in venus_helper_queue_dpb_bufs()
105 int venus_helper_free_dpb_bufs(struct venus_inst *inst) in venus_helper_free_dpb_bufs() argument
109 list_for_each_entry_safe(buf, n, &inst->dpbbufs, list) { in venus_helper_free_dpb_bufs()
111 dma_free_attrs(inst->core->dev, buf->size, buf->va, buf->da, in venus_helper_free_dpb_bufs()
116 INIT_LIST_HEAD(&inst->dpbbufs); in venus_helper_free_dpb_bufs()
[all …]
Dvenc.c62 find_format(struct venus_inst *inst, u32 pixfmt, u32 type) in find_format() argument
77 !venus_helper_check_codec(inst, fmt[i].pixfmt)) in find_format()
84 find_format_by_index(struct venus_inst *inst, unsigned int index, u32 type) in find_format_by_index() argument
99 venus_helper_check_codec(inst, fmt[i].pixfmt); in find_format_by_index()
276 struct venus_inst *inst = to_inst(file); in venc_enum_fmt() local
279 fmt = find_format_by_index(inst, f->index, f->type); in venc_enum_fmt()
292 venc_try_fmt_common(struct venus_inst *inst, struct v4l2_format *f) in venc_try_fmt_common() argument
302 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common()
310 fmt = find_format(inst, pixmp->pixelformat, f->type); in venc_try_fmt_common()
313 pixmp->width = clamp(pixmp->width, frame_width_min(inst), in venc_try_fmt_common()
[all …]
Dhfi_parser.h8 u32 hfi_parser(struct venus_core *core, struct venus_inst *inst,
15 static inline u32 get_cap(struct venus_inst *inst, u32 type, u32 which) in get_cap() argument
17 struct venus_core *core = inst->core; in get_cap()
22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
50 static inline u32 cap_min(struct venus_inst *inst, u32 type) in cap_min() argument
52 return get_cap(inst, type, WHICH_CAP_MIN); in cap_min()
55 static inline u32 cap_max(struct venus_inst *inst, u32 type) in cap_max() argument
57 return get_cap(inst, type, WHICH_CAP_MAX); in cap_max()
60 static inline u32 cap_step(struct venus_inst *inst, u32 type) in cap_step() argument
62 return get_cap(inst, type, WHICH_CAP_STEP); in cap_step()
[all …]
Dhelpers.h14 bool venus_helper_check_codec(struct venus_inst *inst, u32 v4l2_pixfmt);
15 struct vb2_v4l2_buffer *venus_helper_find_buf(struct venus_inst *inst,
17 void venus_helper_buffers_done(struct venus_inst *inst,
23 int venus_helper_vb2_start_streaming(struct venus_inst *inst);
26 int venus_helper_get_bufreq(struct venus_inst *inst, u32 type,
30 int venus_helper_set_input_resolution(struct venus_inst *inst,
32 int venus_helper_set_output_resolution(struct venus_inst *inst,
35 int venus_helper_set_work_mode(struct venus_inst *inst, u32 mode);
36 int venus_helper_set_core_usage(struct venus_inst *inst, u32 usage);
37 int venus_helper_set_num_bufs(struct venus_inst *inst, unsigned int input_bufs,
[all …]
Dvenc_ctrls.c71 struct venus_inst *inst = ctrl_to_inst(ctrl); in venc_op_s_ctrl() local
72 struct venc_controls *ctr = &inst->controls.enc; in venc_op_s_ctrl()
85 mutex_lock(&inst->lock); in venc_op_s_ctrl()
86 if (inst->streamon_out && inst->streamon_cap) { in venc_op_s_ctrl()
91 ret = hfi_session_set_property(inst, ptype, &brate); in venc_op_s_ctrl()
93 mutex_unlock(&inst->lock); in venc_op_s_ctrl()
97 mutex_unlock(&inst->lock); in venc_op_s_ctrl()
190 mutex_lock(&inst->lock); in venc_op_s_ctrl()
191 if (inst->streamon_out && inst->streamon_cap) { in venc_op_s_ctrl()
193 ret = hfi_session_set_property(inst, ptype, &en); in venc_op_s_ctrl()
[all …]
Dhfi.h100 void (*buf_done)(struct venus_inst *inst, unsigned int buf_type,
103 void (*event_notify)(struct venus_inst *inst, u32 event,
113 int (*session_init)(struct venus_inst *inst, u32 session_type,
115 int (*session_end)(struct venus_inst *inst);
116 int (*session_abort)(struct venus_inst *inst);
117 int (*session_flush)(struct venus_inst *inst, u32 flush_mode);
118 int (*session_start)(struct venus_inst *inst);
119 int (*session_stop)(struct venus_inst *inst);
120 int (*session_continue)(struct venus_inst *inst);
121 int (*session_etb)(struct venus_inst *inst, struct hfi_frame_data *fd);
[all …]
/Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_vp9_if.c202 static bool vp9_is_sf_ref_fb(struct vdec_vp9_inst *inst, struct vdec_fb *fb) in vp9_is_sf_ref_fb() argument
205 struct vdec_vp9_vsi *vsi = inst->vsi; in vp9_is_sf_ref_fb()
215 *inst, void *addr) in vp9_rm_from_fb_use_list()
220 list_for_each_entry(node, &inst->fb_use_list, list) { in vp9_rm_from_fb_use_list()
224 &inst->available_fb_node_list); in vp9_rm_from_fb_use_list()
231 static void vp9_add_to_fb_free_list(struct vdec_vp9_inst *inst, in vp9_add_to_fb_free_list() argument
237 node = list_first_entry_or_null(&inst->available_fb_node_list, in vp9_add_to_fb_free_list()
242 list_move_tail(&node->list, &inst->fb_free_list); in vp9_add_to_fb_free_list()
245 mtk_vcodec_debug(inst, "No free fb node"); in vp9_add_to_fb_free_list()
257 static void vp9_ref_cnt_fb(struct vdec_vp9_inst *inst, int *idx, in vp9_ref_cnt_fb() argument
[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_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-v5.4/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-v5.4/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-v5.4/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 …]
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 …]
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 …]
Dnv2a.c37 &chan->inst); in nv2a_gr_chan_new()
41 nvkm_kmap(chan->inst); in nv2a_gr_chan_new()
42 nvkm_wo32(chan->inst, 0x0000, 0x00000001 | (chan->chid << 24)); in nv2a_gr_chan_new()
43 nvkm_wo32(chan->inst, 0x033c, 0xffff0000); in nv2a_gr_chan_new()
44 nvkm_wo32(chan->inst, 0x03a0, 0x0fff0000); in nv2a_gr_chan_new()
45 nvkm_wo32(chan->inst, 0x03a4, 0x0fff0000); in nv2a_gr_chan_new()
46 nvkm_wo32(chan->inst, 0x047c, 0x00000101); in nv2a_gr_chan_new()
47 nvkm_wo32(chan->inst, 0x0490, 0x00000111); in nv2a_gr_chan_new()
48 nvkm_wo32(chan->inst, 0x04a8, 0x44400000); in nv2a_gr_chan_new()
50 nvkm_wo32(chan->inst, i, 0x00030303); in nv2a_gr_chan_new()
[all …]
Dnv30.c38 &chan->inst); in nv30_gr_chan_new()
42 nvkm_kmap(chan->inst); in nv30_gr_chan_new()
43 nvkm_wo32(chan->inst, 0x0028, 0x00000001 | (chan->chid << 24)); in nv30_gr_chan_new()
44 nvkm_wo32(chan->inst, 0x0410, 0x00000101); in nv30_gr_chan_new()
45 nvkm_wo32(chan->inst, 0x0424, 0x00000111); in nv30_gr_chan_new()
46 nvkm_wo32(chan->inst, 0x0428, 0x00000060); in nv30_gr_chan_new()
47 nvkm_wo32(chan->inst, 0x0444, 0x00000080); in nv30_gr_chan_new()
48 nvkm_wo32(chan->inst, 0x0448, 0xffff0000); in nv30_gr_chan_new()
49 nvkm_wo32(chan->inst, 0x044c, 0x00000001); in nv30_gr_chan_new()
50 nvkm_wo32(chan->inst, 0x0460, 0x44400000); in nv30_gr_chan_new()
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dkuser32.S23 .inst 0xe92d00f0 // push {r4, r5, r6, r7}
24 .inst 0xe1c040d0 // ldrd r4, r5, [r0]
25 .inst 0xe1c160d0 // ldrd r6, r7, [r1]
26 .inst 0xe1b20f9f // 1: ldrexd r0, r1, [r2]
27 .inst 0xe0303004 // eors r3, r0, r4
28 .inst 0x00313005 // eoreqs r3, r1, r5
29 .inst 0x01a23e96 // stlexdeq r3, r6, [r2]
30 .inst 0x03330001 // teqeq r3, #1
31 .inst 0x0afffff9 // beq 1b
32 .inst 0xf57ff05b // dmb ish
[all …]
/Linux-v5.4/net/netfilter/
Dnfnetlink_log.c104 struct nfulnl_instance *inst; in __instance_lookup() local
107 hlist_for_each_entry_rcu(inst, head, hlist) { in __instance_lookup()
108 if (inst->group_num == group_num) in __instance_lookup()
109 return inst; in __instance_lookup()
115 instance_get(struct nfulnl_instance *inst) in instance_get() argument
117 refcount_inc(&inst->use); in instance_get()
123 struct nfulnl_instance *inst; in instance_lookup_get() local
126 inst = __instance_lookup(log, group_num); in instance_lookup_get()
127 if (inst && !refcount_inc_not_zero(&inst->use)) in instance_lookup_get()
128 inst = NULL; in instance_lookup_get()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dkvm.c71 static void __init kvm_patch_ins(u32 *inst, u32 new_inst) in kvm_patch_ins() argument
73 *inst = new_inst; in kvm_patch_ins()
74 flush_icache_range((ulong)inst, (ulong)inst + 4); in kvm_patch_ins()
77 static void __init kvm_patch_ins_ll(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ll() argument
80 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
82 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
86 static void __init kvm_patch_ins_ld(u32 *inst, long addr, u32 rt) in kvm_patch_ins_ld() argument
89 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ld()
91 kvm_patch_ins(inst, KVM_INST_LWZ | rt | ((addr + 4) & 0x0000fffc)); in kvm_patch_ins_ld()
95 static void __init kvm_patch_ins_lwz(u32 *inst, long addr, u32 rt) in kvm_patch_ins_lwz() argument
[all …]
/Linux-v5.4/drivers/phy/mediatek/
Dphy-mtk-xsphy.c117 struct xsphy_instance *inst) in u2_phy_slew_rate_calibrate() argument
119 void __iomem *pbase = inst->port_base; in u2_phy_slew_rate_calibrate()
125 if (inst->eye_src) in u2_phy_slew_rate_calibrate()
176 inst->index, fm_out, calib_val, in u2_phy_slew_rate_calibrate()
192 struct xsphy_instance *inst) in u2_phy_instance_init() argument
194 void __iomem *pbase = inst->port_base; in u2_phy_instance_init()
208 struct xsphy_instance *inst) in u2_phy_instance_power_on() argument
210 void __iomem *pbase = inst->port_base; in u2_phy_instance_power_on()
211 u32 index = inst->index; in u2_phy_instance_power_on()
227 struct xsphy_instance *inst) in u2_phy_instance_power_off() argument
[all …]
/Linux-v5.4/arch/arm/mach-omap2/
Dcm33xx.c51 static inline u32 am33xx_cm_read_reg(u16 inst, u16 idx) in am33xx_cm_read_reg() argument
53 return readl_relaxed(cm_base.va + inst + idx); in am33xx_cm_read_reg()
57 static inline void am33xx_cm_write_reg(u32 val, u16 inst, u16 idx) in am33xx_cm_write_reg() argument
59 writel_relaxed(val, cm_base.va + inst + idx); in am33xx_cm_write_reg()
63 static inline u32 am33xx_cm_rmw_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx) in am33xx_cm_rmw_reg_bits() argument
67 v = am33xx_cm_read_reg(inst, idx); in am33xx_cm_rmw_reg_bits()
70 am33xx_cm_write_reg(v, inst, idx); in am33xx_cm_rmw_reg_bits()
75 static inline u32 am33xx_cm_read_reg_bits(u16 inst, s16 idx, u32 mask) in am33xx_cm_read_reg_bits() argument
79 v = am33xx_cm_read_reg(inst, idx); in am33xx_cm_read_reg_bits()
94 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
[all …]

12345678910>>...19