Home
last modified time | relevance | path

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

123

/Linux-v5.4/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.c282 struct omap_hwmod *oh; in dispc_disable_outputs() local
284 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs()
285 if (!oh) { in dispc_disable_outputs()
290 if (!oh->dev_attr) { in dispc_disable_outputs()
295 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs()
298 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs()
304 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs()
310 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs()
342 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs()
345 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs()
[all …]
Domap_hwmod_reset.c52 int omap_hwmod_aess_preprogram(struct omap_hwmod *oh) in omap_hwmod_aess_preprogram() argument
56 va = omap_hwmod_get_mpu_rt_va(oh); in omap_hwmod_aess_preprogram()
74 static void omap_rtc_wait_not_busy(struct omap_hwmod *oh) in omap_rtc_wait_not_busy() argument
79 omap_test_timeout(omap_hwmod_read(oh, OMAP_RTC_STATUS_REG) in omap_rtc_wait_not_busy()
93 void omap_hwmod_rtc_unlock(struct omap_hwmod *oh) in omap_hwmod_rtc_unlock() argument
98 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_unlock()
99 omap_hwmod_write(OMAP_RTC_KICK0_VALUE, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_unlock()
100 omap_hwmod_write(OMAP_RTC_KICK1_VALUE, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_unlock()
113 void omap_hwmod_rtc_lock(struct omap_hwmod *oh) in omap_hwmod_rtc_lock() argument
118 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_lock()
[all …]
Domap_hwmod.h527 int (*pre_shutdown)(struct omap_hwmod *oh);
528 int (*reset)(struct omap_hwmod *oh);
529 int (*enable_preprogram)(struct omap_hwmod *oh);
530 void (*lock)(struct omap_hwmod *oh);
531 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);
[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.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()
136 struct omap_hwmod *oh; in omap_device_build_from_dt() local
168 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt()
169 if (!oh) { in omap_device_build_from_dt()
175 hwmods[i] = oh; in omap_device_build_from_dt()
176 if (oh->flags & HWMOD_INIT_NO_IDLE) in omap_device_build_from_dt()
393 omap_device_copy_resources(struct omap_hwmod *oh, in omap_device_copy_resources() argument
[all …]
Dsr_device.c91 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() argument
98 if (!strncmp(oh->name, "smartreflex_mpu_iva", 20) || in sr_dev_init()
99 !strncmp(oh->name, "smartreflex_mpu", 16)) in sr_dev_init()
101 else if (!strncmp(oh->name, "smartreflex_core", 17)) in sr_dev_init()
103 else if (!strncmp(oh->name, "smartreflex_iva", 16)) in sr_dev_init()
107 pr_err("%s: Unknown instance %s\n", __func__, oh->name); in sr_dev_init()
111 sr_dev_attr = (struct omap_smartreflex_dev_attr *)oh->dev_attr; in sr_dev_init()
114 __func__, oh->name); in sr_dev_init()
118 sr_data->name = oh->name; in sr_dev_init()
Dhsmmc.c73 struct omap_hwmod *oh; in omap_hsmmc_init_one() local
97 oh = omap_hwmod_lookup(oh_name); in omap_hsmmc_init_one()
98 if (!oh) { in omap_hsmmc_init_one()
102 ohs[0] = oh; in omap_hsmmc_init_one()
103 if (oh->dev_attr != NULL) { in omap_hsmmc_init_one()
104 mmc_dev_attr = oh->dev_attr; in omap_hsmmc_init_one()
Dtimer.c291 struct omap_hwmod *oh; in omap_dm_timer_init_one() local
317 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one()
318 if (!oh) in omap_dm_timer_init_one()
321 *timer_name = oh->name; in omap_dm_timer_init_one()
330 timer->fclk = clk_get(NULL, omap_hwmod_get_main_clk(oh)); in omap_dm_timer_init_one()
343 omap_hwmod_enable(oh); in omap_dm_timer_init_one()
447 struct omap_hwmod *oh; in omap2_sync32k_clocksource_init() local
467 oh = omap_hwmod_lookup(oh_name); in omap2_sync32k_clocksource_init()
468 if (!oh || oh->slaves_cnt == 0) in omap2_sync32k_clocksource_init()
473 ret = omap_hwmod_enable(oh); in omap2_sync32k_clocksource_init()
Ddma.c230 static int __init omap2_system_dma_init_dev(struct omap_hwmod *oh, void *unused) in omap2_system_dma_init_dev() argument
239 p.dma_attr = (struct omap_dma_dev_attr *)oh->dev_attr; in omap2_system_dma_init_dev()
248 pdev = omap_device_build(name, 0, oh, &p, sizeof(p)); in omap2_system_dma_init_dev()
251 __func__, name, oh->name); in omap2_system_dma_init_dev()
270 d = oh->dev_attr; in omap2_system_dma_init_dev()
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-v5.4/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()
/Linux-v5.4/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-v5.4/arch/arm64/boot/dts/freescale/
Dqoriq-fman3-0.dtsi30 compatible = "fsl,fman-v3-port-oh";
36 compatible = "fsl,fman-v3-port-oh";
42 compatible = "fsl,fman-v3-port-oh";
48 compatible = "fsl,fman-v3-port-oh";
54 compatible = "fsl,fman-v3-port-oh";
60 compatible = "fsl,fman-v3-port-oh";
/Linux-v5.4/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()
89 ret = (oh != NULL) && in hbh_mt6()
/Linux-v5.4/arch/powerpc/boot/dts/fsl/
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-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-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";
/Linux-v5.4/fs/ocfs2/
Dacl.c267 struct ocfs2_lock_holder oh; in ocfs2_iop_set_acl() local
269 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_iop_set_acl()
285 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl()
296 struct ocfs2_lock_holder oh; in ocfs2_iop_get_acl() local
302 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl()
310 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()

123