Home
last modified time | relevance | path

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

123

/Linux-v6.6/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 …]
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_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),
618 int omap_hwmod_parse_module_range(struct omap_hwmod *oh,
629 int omap_hwmod_enable(struct omap_hwmod *oh);
630 int omap_hwmod_idle(struct omap_hwmod *oh);
631 int omap_hwmod_shutdown(struct omap_hwmod *oh);
633 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name);
[all …]
Domap_device.c112 struct omap_hwmod *oh) in _add_hwmod_clocks_clkdev() argument
116 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev()
118 for (i = 0; i < oh->opt_clks_cnt; i++) in _add_hwmod_clocks_clkdev()
119 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev()
135 struct omap_hwmod *oh; in omap_device_build_from_dt() local
167 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
168 if (!oh) { in omap_device_build_from_dt()
174 hwmods[i] = oh; in omap_device_build_from_dt()
175 if (oh->flags & HWMOD_INIT_NO_IDLE) in omap_device_build_from_dt()
Dsr_device.c152 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() argument
156 sr_dev_attr = (struct omap_smartreflex_dev_attr *)oh->dev_attr; in sr_dev_init()
159 __func__, oh->name); in sr_dev_init()
163 return sr_init_by_name(oh->name, sr_dev_attr->sensor_voltdm_name); in sr_dev_init()
166 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-v6.6/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()
Dtrace.h59 __field(u32, oh)
69 __entry->oh = ~crc32_le(0xffffffff, lock->oh.data, lock->oh.len);
80 __get_sockaddr(addr), __entry->oh, __entry->svid,
Dsvclock.c425 call->a_args.lock.oh.len = lock->oh.len; in nlmsvc_setgrantargs()
428 call->a_args.lock.oh.data = call->a_owner; in nlmsvc_setgrantargs()
431 if (lock->oh.len > NLMCLNT_OHSIZE) { in nlmsvc_setgrantargs()
432 void *data = kmalloc(lock->oh.len, GFP_KERNEL); in nlmsvc_setgrantargs()
435 call->a_args.lock.oh.data = (u8 *) data; in nlmsvc_setgrantargs()
438 memcpy(call->a_args.lock.oh.data, lock->oh.data, lock->oh.len); in nlmsvc_setgrantargs()
444 if (call->a_args.lock.oh.data != call->a_owner) in nlmsvc_freegrantargs()
445 kfree(call->a_args.lock.oh.data); in nlmsvc_freegrantargs()
638 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()
275 error = decode_netobj(xdr, &lock->oh); in decode_nlm4_holder()
326 encode_netobj(xdr, lock->oh.data, lock->oh.len); in encode_nlm4_lock()
Dclntxdr.c243 encode_netobj(xdr, lock->oh.data, lock->oh.len); in encode_nlm_holder()
270 error = decode_netobj(xdr, &lock->oh); in decode_nlm_holder()
327 encode_netobj(xdr, lock->oh.data, lock->oh.len); in encode_nlm_lock()
/Linux-v6.6/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-v6.6/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-v6.6/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-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-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-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-v6.6/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-v6.6/fs/ocfs2/
Dacl.c268 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()
288 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl()
299 struct ocfs2_lock_holder oh; in ocfs2_iop_get_acl() local
308 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl()
316 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()

123