Home
last modified time | relevance | path

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

12

/linux/arch/arm/mach-omap2/
H A 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()
77 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument
82 omap_hwmod_softreset(oh); in omap2_wd_timer_reset()
85 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset()
86 oh->class->sysc->syss_offs) in omap2_wd_timer_reset()
90 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset()
91 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset()
[all …]
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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 …]
H A 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
H A Dwd_timer.h11 extern int omap2_wd_timer_disable(struct omap_hwmod *oh);
12 extern int omap2_wd_timer_reset(struct omap_hwmod *oh);
H A 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/fs/lockd/
H A Dsvcshare.c22 nlm_cmp_owner(struct lockd_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument
24 return share->s_owner.len == oh->len in nlm_cmp_owner()
25 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner()
59 struct xdr_netobj *oh, u32 access, u32 mode) in nlmsvc_share_file() argument
68 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file()
74 share = kmalloc(sizeof(*share) + oh->len, GFP_KERNEL); in nlmsvc_share_file()
80 memcpy(ohdata, oh->data, oh->len); in nlmsvc_share_file()
85 share->s_owner.len = oh->len; in nlmsvc_share_file()
108 struct xdr_netobj *oh, u32 access, u32 mode) in nlmsvc_unshare_file() argument
117 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file()
H A Dsvc4proc.c119 lock->oh.len = alock->oh.len; in nlm4_lock_to_lockd_lock()
120 lock->oh.data = alock->oh.data; in nlm4_lock_to_lockd_lock()
163 lock->oh.len = xdr_lock->oh.len; in nlm4svc_lookup_file()
164 lock->oh.data = xdr_lock->oh.data; in nlm4svc_lookup_file()
280 holder->oh.len = conf->oh.len; in nlm4svc_proc_test()
281 holder->oh.data = conf->oh.data; in nlm4svc_proc_test()
994 .oh = argp->xdrgen.share.oh, in nlm4svc_proc_share()
1014 resp->xdrgen.stat = nlmsvc_share_file(host, file, &lock->oh, in nlm4svc_proc_share()
1060 .oh = argp->xdrgen.share.oh, in nlm4svc_proc_unshare()
1082 resp->xdrgen.stat = nlmsvc_unshare_file(host, file, &lock->oh, in nlm4svc_proc_unshare()
H A Dsvcproc.c124 lock->oh.len = alock->oh.len; in nlm_lock_to_lockd_lock()
125 lock->oh.data = alock->oh.data; in nlm_lock_to_lockd_lock()
165 lock->oh.len = xdr_lock->oh.len; in nlm3svc_lookup_file()
166 lock->oh.data = xdr_lock->oh.data; in nlm3svc_lookup_file()
297 holder->oh.len = conf->oh.len; in nlmsvc_proc_test()
298 holder->oh.data = conf->oh.data; in nlmsvc_proc_test()
1018 .oh = argp->xdrgen.share.oh, in nlmsvc_proc_share()
1038 resp->xdrgen.stat = nlmsvc_share_file(host, file, &lock->oh, in nlmsvc_proc_share()
1079 .oh = argp->xdrgen.share.oh, in nlmsvc_proc_unshare()
1101 resp->xdrgen.stat = nlmsvc_unshare_file(host, file, &lock->oh, in nlmsvc_proc_unshare()
H A Dshare.h33 struct xdr_netobj *oh, u32 access, u32 mode);
35 struct xdr_netobj *oh, u32 access, u32 mode);
H A Dsvclock.c391 call->a_args.lock.oh.len = lock->oh.len; in nlmsvc_setgrantargs()
394 call->a_args.lock.oh.data = call->a_owner; in nlmsvc_setgrantargs()
397 if (lock->oh.len > NLMCLNT_OHSIZE) { in nlmsvc_setgrantargs()
398 void *data = kmalloc(lock->oh.len, GFP_KERNEL); in nlmsvc_setgrantargs()
401 call->a_args.lock.oh.data = (u8 *) data; in nlmsvc_setgrantargs()
404 memcpy(call->a_args.lock.oh.data, lock->oh.data, lock->oh.len); in nlmsvc_setgrantargs()
410 if (call->a_args.lock.oh.data != call->a_owner) in nlmsvc_freegrantargs()
411 kfree(call->a_args.lock.oh.data); in nlmsvc_freegrantargs()
623 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()
H A Dnlm3xdr_gen.c65 if (!xdrgen_decode_netobj(xdr, &ptr->oh)) in xdrgen_decode_nlm_holder()
107 if (!xdrgen_decode_netobj(xdr, &ptr->oh)) in xdrgen_decode_nlm_lock()
221 if (!xdrgen_decode_netobj(xdr, &ptr->oh)) in xdrgen_decode_nlm_share()
455 if (!xdrgen_encode_netobj(xdr, value->oh)) in xdrgen_encode_nlm_holder()
499 if (!xdrgen_encode_netobj(xdr, value->oh)) in xdrgen_encode_nlm_lock()
585 if (!xdrgen_encode_netobj(xdr, value->oh)) in xdrgen_encode_nlm_share()
/linux/include/uapi/linux/
H A 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/arch/arm64/boot/dts/freescale/
H A 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/arch/powerpc/boot/dts/fsl/
H A 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";
H A 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";
H A 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";
H A 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";
H A 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/net/ipv6/netfilter/
H A 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()
82 pr_debug("IPv6 OPTS LEN %u %u ", hdrlen, oh->hdrlen); in hbh_mt6()
/linux/include/linux/sunrpc/xdrgen/
H A Dnlm3.h42 netobj oh; member
62 netobj oh; member
116 netobj oh; member
H A Dnlm4.h66 netobj oh; member
95 netobj oh; member
131 netobj oh; member

12