Home
last modified time | relevance | path

Searched refs:oh (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Domap_hwmod.c218 int (*reset)(struct omap_hwmod *oh);
231 void (*enable_module)(struct omap_hwmod *oh);
232 int (*disable_module)(struct omap_hwmod *oh);
233 int (*wait_target_ready)(struct omap_hwmod *oh);
234 int (*assert_hardreset)(struct omap_hwmod *oh,
236 int (*deassert_hardreset)(struct omap_hwmod *oh,
238 int (*is_hardreset_asserted)(struct omap_hwmod *oh,
240 int (*init_clkdm)(struct omap_hwmod *oh);
241 void (*update_context_lost)(struct omap_hwmod *oh);
242 int (*get_context_lost)(struct omap_hwmod *oh);
[all …]
Dwd_timer.c31 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument
35 if (!oh) { in omap2_wd_timer_disable()
40 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable()
43 oh->name, __func__); in omap2_wd_timer_disable()
75 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument
80 omap_hwmod_softreset(oh); in omap2_wd_timer_reset()
83 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset()
84 oh->class->sysc->syss_offs) in omap2_wd_timer_reset()
88 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset()
89 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset()
[all …]
Ddisplay.c283 struct omap_hwmod *oh; in dispc_disable_outputs() local
285 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs()
286 if (!oh) { in dispc_disable_outputs()
291 if (!oh->dev_attr) { in dispc_disable_outputs()
296 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs()
299 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs()
305 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs()
311 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs()
343 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs()
346 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs()
[all …]
Domap_hwmod_reset.c50 static void omap_rtc_wait_not_busy(struct omap_hwmod *oh) in omap_rtc_wait_not_busy() argument
55 omap_test_timeout(omap_hwmod_read(oh, OMAP_RTC_STATUS_REG) in omap_rtc_wait_not_busy()
69 void omap_hwmod_rtc_unlock(struct omap_hwmod *oh) in omap_hwmod_rtc_unlock() argument
74 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_unlock()
75 omap_hwmod_write(OMAP_RTC_KICK0_VALUE, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_unlock()
76 omap_hwmod_write(OMAP_RTC_KICK1_VALUE, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_unlock()
89 void omap_hwmod_rtc_lock(struct omap_hwmod *oh) in omap_hwmod_rtc_lock() argument
94 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_lock()
95 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_lock()
96 omap_hwmod_write(0x0, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_lock()
Di2c.c36 int omap_i2c_reset(struct omap_hwmod *oh) in omap_i2c_reset() argument
48 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset()
50 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset()
53 omap_hwmod_softreset(oh); in omap_i2c_reset()
56 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset()
58 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset()
61 omap_test_timeout((omap_hwmod_read(oh, in omap_i2c_reset()
62 oh->class->sysc->syss_offs) in omap_i2c_reset()
68 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_i2c_reset()
71 oh->name, c); in omap_i2c_reset()
Domap_hwmod.h526 int (*pre_shutdown)(struct omap_hwmod *oh);
527 int (*reset)(struct omap_hwmod *oh);
528 void (*lock)(struct omap_hwmod *oh);
529 void (*unlock)(struct omap_hwmod *oh);
613 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data),
617 int omap_hwmod_parse_module_range(struct omap_hwmod *oh,
628 int omap_hwmod_enable(struct omap_hwmod *oh);
629 int omap_hwmod_idle(struct omap_hwmod *oh);
630 int omap_hwmod_shutdown(struct omap_hwmod *oh);
632 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name);
[all …]
Dhdq1w.c37 int omap_hdq1w_reset(struct omap_hwmod *oh) in omap_hdq1w_reset() argument
43 omap_hwmod_softreset(oh); in omap_hdq1w_reset()
46 v = omap_hwmod_read(oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset()
48 omap_hwmod_write(v, oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset()
51 omap_test_timeout((omap_hwmod_read(oh, in omap_hdq1w_reset()
52 oh->class->sysc->syss_offs) in omap_hdq1w_reset()
58 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_hdq1w_reset()
61 oh->name, c); in omap_hdq1w_reset()
Dmsdi.c45 int omap_msdi_reset(struct omap_hwmod *oh) in omap_msdi_reset() argument
51 omap_hwmod_softreset(oh); in omap_msdi_reset()
56 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset()
59 omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs) in omap_msdi_reset()
65 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_msdi_reset()
68 oh->name, c); in omap_msdi_reset()
72 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset()
Domap_device.c109 struct omap_hwmod *oh) in _add_hwmod_clocks_clkdev() argument
113 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev()
115 for (i = 0; i < oh->opt_clks_cnt; i++) in _add_hwmod_clocks_clkdev()
116 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev()
132 struct omap_hwmod *oh; in omap_device_build_from_dt() local
164 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
165 if (!oh) { in omap_device_build_from_dt()
171 hwmods[i] = oh; in omap_device_build_from_dt()
172 if (oh->flags & HWMOD_INIT_NO_IDLE) in omap_device_build_from_dt()
626 struct omap_hwmod *oh; in omap_device_get_by_hwmod_name() local
[all …]
Domap_hwmod_33xx_43xx_ipblock_data.c26 #define CLKCTRL(oh, clkctrl) ((oh).prcm.omap4.clkctrl_offs = (clkctrl)) argument
27 #define RSTCTRL(oh, rstctrl) ((oh).prcm.omap4.rstctrl_offs = (rstctrl)) argument
28 #define RSTST(oh, rstst) ((oh).prcm.omap4.rstst_offs = (rstst)) argument
Dwd_timer.h11 extern int omap2_wd_timer_disable(struct omap_hwmod *oh);
12 extern int omap2_wd_timer_reset(struct omap_hwmod *oh);
Dmmc.h12 int omap_msdi_reset(struct omap_hwmod *oh);
14 static inline int omap_msdi_reset(struct omap_hwmod *oh) in omap_msdi_reset() argument
Dsr_device.c155 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() argument
159 sr_dev_attr = (struct omap_smartreflex_dev_attr *)oh->dev_attr; in sr_dev_init()
162 __func__, oh->name); in sr_dev_init()
166 return sr_init_by_name(oh->name, sr_dev_attr->sensor_voltdm_name); in sr_dev_init()
/kernel/linux/linux-5.10/fs/lockd/
Dsvcshare.c21 nlm_cmp_owner(struct nlm_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument
23 return share->s_owner.len == oh->len in nlm_cmp_owner()
24 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner()
32 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file() local
36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file()
43 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file()
50 memcpy(ohdata, oh->data, oh->len); in nlmsvc_share_file()
55 share->s_owner.len = oh->len; in nlmsvc_share_file()
73 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_unshare_file() local
77 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file()
Dxdr.c103 nlm_decode_oh(__be32 *p, struct xdr_netobj *oh) in nlm_decode_oh() argument
105 return xdr_decode_netobj(p, oh); in nlm_decode_oh()
109 nlm_encode_oh(__be32 *p, struct xdr_netobj *oh) in nlm_encode_oh() argument
111 return xdr_encode_netobj(p, oh); in nlm_encode_oh()
124 || !(p = nlm_decode_oh(p, &lock->oh))) in nlm_decode_lock()
163 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm_encode_testres()
275 || !(p = nlm_decode_oh(p, &lock->oh))) in nlmsvc_decode_shareargs()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcoda.h207 struct coda_out_hdr oh; member
219 struct coda_out_hdr oh; member
256 struct coda_out_hdr oh; member
265 struct coda_out_hdr oh; member
293 struct coda_out_hdr oh; member
306 struct coda_out_hdr oh; member
344 struct coda_out_hdr oh; member
371 struct coda_out_hdr oh; member
387 struct coda_out_hdr oh; member
392 struct coda_out_hdr oh; member
[all …]
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcoda.h196 struct coda_out_hdr oh; member
208 struct coda_out_hdr oh; member
245 struct coda_out_hdr oh; member
254 struct coda_out_hdr oh; member
282 struct coda_out_hdr oh; member
295 struct coda_out_hdr oh; member
333 struct coda_out_hdr oh; member
360 struct coda_out_hdr oh; member
376 struct coda_out_hdr oh; member
381 struct coda_out_hdr oh; member
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dcoda.h312 struct coda_out_hdr oh; member
328 struct coda_out_hdr oh; member
378 struct coda_out_hdr oh; member
391 struct coda_out_hdr oh; member
432 struct coda_out_hdr oh; member
449 struct coda_out_hdr oh; member
501 struct coda_out_hdr oh; member
538 struct coda_out_hdr oh; member
561 struct coda_out_hdr oh; member
574 struct coda_out_hdr oh; member
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dqoriq-fman3-0.dtsi31 compatible = "fsl,fman-v3-port-oh";
37 compatible = "fsl,fman-v3-port-oh";
43 compatible = "fsl,fman-v3-port-oh";
49 compatible = "fsl,fman-v3-port-oh";
55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dqoriq-fman-0.dtsi55 compatible = "fsl,fman-v2-port-oh";
61 compatible = "fsl,fman-v2-port-oh";
67 compatible = "fsl,fman-v2-port-oh";
73 compatible = "fsl,fman-v2-port-oh";
79 compatible = "fsl,fman-v2-port-oh";
86 compatible = "fsl,fman-v2-port-oh";
93 compatible = "fsl,fman-v2-port-oh";
Dqoriq-fman-1.dtsi55 compatible = "fsl,fman-v2-port-oh";
61 compatible = "fsl,fman-v2-port-oh";
67 compatible = "fsl,fman-v2-port-oh";
73 compatible = "fsl,fman-v2-port-oh";
79 compatible = "fsl,fman-v2-port-oh";
86 compatible = "fsl,fman-v2-port-oh";
93 compatible = "fsl,fman-v2-port-oh";
Dqoriq-fman3-0.dtsi55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
67 compatible = "fsl,fman-v3-port-oh";
73 compatible = "fsl,fman-v3-port-oh";
79 compatible = "fsl,fman-v3-port-oh";
85 compatible = "fsl,fman-v3-port-oh";
Dqoriq-fman3-1.dtsi55 compatible = "fsl,fman-v3-port-oh";
61 compatible = "fsl,fman-v3-port-oh";
67 compatible = "fsl,fman-v3-port-oh";
73 compatible = "fsl,fman-v3-port-oh";
79 compatible = "fsl,fman-v3-port-oh";
85 compatible = "fsl,fman-v3-port-oh";
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dip6t_hbh.c47 const struct ipv6_opt_hdr *oh; in hbh_mt6() local
69 oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); in hbh_mt6()
70 if (oh == NULL) { in hbh_mt6()
75 hdrlen = ipv6_optlen(oh); in hbh_mt6()
81 pr_debug("IPv6 OPTS LEN %u %u ", hdrlen, oh->hdrlen); in hbh_mt6()
/kernel/linux/linux-5.10/fs/ocfs2/
Dacl.c269 struct ocfs2_lock_holder oh; in ocfs2_iop_set_acl() local
271 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_iop_set_acl()
287 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl()
298 struct ocfs2_lock_holder oh; in ocfs2_iop_get_acl() local
304 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl()
312 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()

123