Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c278 struct omap_hwmod *oh; in dispc_disable_outputs() local
280 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs()
281 if (!oh) { in dispc_disable_outputs()
286 if (!oh->dev_attr) { in dispc_disable_outputs()
291 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs()
294 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs()
300 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs()
306 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs()
338 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs()
341 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()
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);
615 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data),
619 int omap_hwmod_parse_module_range(struct omap_hwmod *oh,
630 int omap_hwmod_enable(struct omap_hwmod *oh);
631 int omap_hwmod_idle(struct omap_hwmod *oh);
632 int omap_hwmod_shutdown(struct omap_hwmod *oh);
634 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name);
[all …]
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()
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.c106 struct omap_hwmod *oh) in _add_hwmod_clocks_clkdev() argument
110 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev()
112 for (i = 0; i < oh->opt_clks_cnt; i++) in _add_hwmod_clocks_clkdev()
113 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev()
129 struct omap_hwmod *oh; in omap_device_build_from_dt() local
161 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
162 if (!oh) { in omap_device_build_from_dt()
168 hwmods[i] = oh; in omap_device_build_from_dt()
169 if (oh->flags & HWMOD_INIT_NO_IDLE) in omap_device_build_from_dt()
605 struct omap_hwmod *oh; in omap_device_get_by_hwmod_name() local
[all …]
Dsr_device.c156 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() argument
160 sr_dev_attr = (struct omap_smartreflex_dev_attr *)oh->dev_attr; in sr_dev_init()
163 __func__, oh->name); in sr_dev_init()
167 return sr_init_by_name(oh->name, sr_dev_attr->sensor_voltdm_name); in sr_dev_init()
170 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() 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
/linux-6.1.9/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()
Dsvclock.c414 call->a_args.lock.oh.len = lock->oh.len; in nlmsvc_setgrantargs()
417 call->a_args.lock.oh.data = call->a_owner; in nlmsvc_setgrantargs()
420 if (lock->oh.len > NLMCLNT_OHSIZE) { in nlmsvc_setgrantargs()
421 void *data = kmalloc(lock->oh.len, GFP_KERNEL); in nlmsvc_setgrantargs()
424 call->a_args.lock.oh.data = (u8 *) data; in nlmsvc_setgrantargs()
427 memcpy(call->a_args.lock.oh.data, lock->oh.data, lock->oh.len); in nlmsvc_setgrantargs()
433 if (call->a_args.lock.oh.data != call->a_owner) in nlmsvc_freegrantargs()
434 kfree(call->a_args.lock.oh.data); in nlmsvc_freegrantargs()
627 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()
Dclnt4xdr.c248 encode_netobj(xdr, lock->oh.data, lock->oh.len); in encode_nlm4_holder()
276 error = decode_netobj(xdr, &lock->oh); in decode_nlm4_holder()
333 encode_netobj(xdr, lock->oh.data, lock->oh.len); in encode_nlm4_lock()
/linux-6.1.9/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 …]
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dqoriq-fman3-0.dtsi33 compatible = "fsl,fman-v3-port-oh";
39 compatible = "fsl,fman-v3-port-oh";
45 compatible = "fsl,fman-v3-port-oh";
51 compatible = "fsl,fman-v3-port-oh";
57 compatible = "fsl,fman-v3-port-oh";
63 compatible = "fsl,fman-v3-port-oh";
/linux-6.1.9/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";
Dqoriq-fman3l-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";
/linux-6.1.9/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()
/linux-6.1.9/fs/ocfs2/
Dacl.c268 struct ocfs2_lock_holder oh; in ocfs2_iop_set_acl() local
270 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
307 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl()
315 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()
/linux-6.1.9/tools/objtool/include/objtool/
Delf.h118 u32 ol, oh, idx = sec->idx; in sec_offset_hash() local
123 oh = (offset >> 16) >> 16; in sec_offset_hash()
125 __jhash_mix(ol, oh, idx); in sec_offset_hash()

12