/Linux-v4.19/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 217 void (*enable_module)(struct omap_hwmod *oh); 218 int (*disable_module)(struct omap_hwmod *oh); 219 int (*wait_target_ready)(struct omap_hwmod *oh); 220 int (*assert_hardreset)(struct omap_hwmod *oh, 222 int (*deassert_hardreset)(struct omap_hwmod *oh, 224 int (*is_hardreset_asserted)(struct omap_hwmod *oh, 226 int (*init_clkdm)(struct omap_hwmod *oh); 227 void (*update_context_lost)(struct omap_hwmod *oh); 228 int (*get_context_lost)(struct omap_hwmod *oh); 229 int (*disable_direct_prcm)(struct omap_hwmod *oh); [all …]
|
D | i2c.c | 50 int omap_i2c_reset(struct omap_hwmod *oh) in omap_i2c_reset() argument 56 if (oh->class->rev == OMAP_I2C_IP_VERSION_2) { in omap_i2c_reset() 58 } else if (oh->class->rev == OMAP_I2C_IP_VERSION_1) { in omap_i2c_reset() 62 oh->name); in omap_i2c_reset() 67 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 69 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 72 omap_hwmod_softreset(oh); in omap_i2c_reset() 75 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 77 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 80 omap_test_timeout((omap_hwmod_read(oh, in omap_i2c_reset() [all …]
|
D | wd_timer.c | 35 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument 39 if (!oh) { in omap2_wd_timer_disable() 44 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable() 47 oh->name, __func__); in omap2_wd_timer_disable() 79 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument 84 omap_hwmod_softreset(oh); in omap2_wd_timer_reset() 87 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset() 88 oh->class->sysc->syss_offs) in omap2_wd_timer_reset() 92 if (oh->class->sysc->srst_udelay) in omap2_wd_timer_reset() 93 udelay(oh->class->sysc->srst_udelay); in omap2_wd_timer_reset() [all …]
|
D | omap_hwmod_reset.c | 52 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 …]
|
D | display.c | 225 struct omap_hwmod *oh; in dispc_disable_outputs() local 227 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs() 228 if (!oh) { in dispc_disable_outputs() 233 if (!oh->dev_attr) { in dispc_disable_outputs() 238 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs() 241 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs() 247 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs() 253 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs() 285 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs() 288 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs() [all …]
|
D | omap_hwmod.h | 527 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 …]
|
D | hdq1w.c | 50 int omap_hdq1w_reset(struct omap_hwmod *oh) in omap_hdq1w_reset() argument 56 omap_hwmod_softreset(oh); in omap_hdq1w_reset() 59 v = omap_hwmod_read(oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 61 omap_hwmod_write(v, oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 64 omap_test_timeout((omap_hwmod_read(oh, in omap_hdq1w_reset() 65 oh->class->sysc->syss_offs) in omap_hdq1w_reset() 71 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_hdq1w_reset() 74 oh->name, c); in omap_hdq1w_reset()
|
D | msdi.c | 58 int omap_msdi_reset(struct omap_hwmod *oh) in omap_msdi_reset() argument 64 omap_hwmod_softreset(oh); in omap_msdi_reset() 69 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset() 72 omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs) in omap_msdi_reset() 78 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_msdi_reset() 81 oh->name, c); in omap_msdi_reset() 85 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset()
|
D | omap_device.c | 114 struct omap_hwmod *oh) in _add_hwmod_clocks_clkdev() argument 118 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev() 120 for (i = 0; i < oh->opt_clks_cnt; i++) in _add_hwmod_clocks_clkdev() 121 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev() 141 struct omap_hwmod *oh; in omap_device_build_from_dt() local 173 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt() 174 if (!oh) { in omap_device_build_from_dt() 180 hwmods[i] = oh; in omap_device_build_from_dt() 181 if (oh->flags & HWMOD_INIT_NO_IDLE) in omap_device_build_from_dt() 398 omap_device_copy_resources(struct omap_hwmod *oh, in omap_device_copy_resources() argument [all …]
|
D | sr_device.c | 94 static int __init sr_dev_init(struct omap_hwmod *oh, void *user) in sr_dev_init() argument 101 if (!strncmp(oh->name, "smartreflex_mpu_iva", 20) || in sr_dev_init() 102 !strncmp(oh->name, "smartreflex_mpu", 16)) in sr_dev_init() 104 else if (!strncmp(oh->name, "smartreflex_core", 17)) in sr_dev_init() 106 else if (!strncmp(oh->name, "smartreflex_iva", 16)) in sr_dev_init() 110 pr_err("%s: Unknown instance %s\n", __func__, oh->name); in sr_dev_init() 114 sr_dev_attr = (struct omap_smartreflex_dev_attr *)oh->dev_attr; in sr_dev_init() 117 __func__, oh->name); in sr_dev_init() 121 sr_data->name = oh->name; in sr_dev_init() 122 sr_data->ip_type = oh->class->rev; in sr_dev_init()
|
D | hsmmc.c | 78 struct omap_hwmod *oh; in omap_hsmmc_init_one() local 102 oh = omap_hwmod_lookup(oh_name); in omap_hsmmc_init_one() 103 if (!oh) { in omap_hsmmc_init_one() 107 ohs[0] = oh; in omap_hsmmc_init_one() 108 if (oh->dev_attr != NULL) { in omap_hsmmc_init_one() 109 mmc_dev_attr = oh->dev_attr; in omap_hsmmc_init_one()
|
D | timer.c | 292 struct omap_hwmod *oh; in omap_dm_timer_init_one() local 318 oh = omap_hwmod_lookup(oh_name); in omap_dm_timer_init_one() 319 if (!oh) in omap_dm_timer_init_one() 322 *timer_name = oh->name; in omap_dm_timer_init_one() 331 timer->fclk = clk_get(NULL, omap_hwmod_get_main_clk(oh)); in omap_dm_timer_init_one() 344 omap_hwmod_enable(oh); in omap_dm_timer_init_one() 448 struct omap_hwmod *oh; in omap2_sync32k_clocksource_init() local 468 oh = omap_hwmod_lookup(oh_name); in omap2_sync32k_clocksource_init() 469 if (!oh || oh->slaves_cnt == 0) in omap2_sync32k_clocksource_init() 474 ret = omap_hwmod_enable(oh); in omap2_sync32k_clocksource_init()
|
D | dma.c | 233 static int __init omap2_system_dma_init_dev(struct omap_hwmod *oh, void *unused) in omap2_system_dma_init_dev() argument 242 p.dma_attr = (struct omap_dma_dev_attr *)oh->dev_attr; in omap2_system_dma_init_dev() 251 pdev = omap_device_build(name, 0, oh, &p, sizeof(p)); in omap2_system_dma_init_dev() 254 __func__, name, oh->name); in omap2_system_dma_init_dev() 273 d = oh->dev_attr; in omap2_system_dma_init_dev()
|
D | wd_timer.h | 15 extern int omap2_wd_timer_disable(struct omap_hwmod *oh); 16 extern int omap2_wd_timer_reset(struct omap_hwmod *oh);
|
/Linux-v4.19/fs/lockd/ |
D | svcshare.c | 21 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()
|
D | xdr.c | 103 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() 165 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm_encode_testres() 278 || !(p = nlm_decode_oh(p, &lock->oh))) in nlmsvc_decode_shareargs()
|
D | svclock.c | 344 call->a_args.lock.oh.len = lock->oh.len; in nlmsvc_setgrantargs() 347 call->a_args.lock.oh.data = call->a_owner; in nlmsvc_setgrantargs() 350 if (lock->oh.len > NLMCLNT_OHSIZE) { in nlmsvc_setgrantargs() 351 void *data = kmalloc(lock->oh.len, GFP_KERNEL); in nlmsvc_setgrantargs() 354 call->a_args.lock.oh.data = (u8 *) data; in nlmsvc_setgrantargs() 357 memcpy(call->a_args.lock.oh.data, lock->oh.data, lock->oh.len); in nlmsvc_setgrantargs() 363 if (call->a_args.lock.oh.data != call->a_owner) in nlmsvc_freegrantargs() 364 kfree(call->a_args.lock.oh.data); in nlmsvc_freegrantargs() 545 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()
|
/Linux-v4.19/include/uapi/linux/ |
D | coda.h | 312 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-v4.19/arch/arm64/boot/dts/freescale/ |
D | qoriq-fman3-0.dtsi | 30 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-v4.19/net/ipv6/netfilter/ |
D | ip6t_hbh.c | 50 const struct ipv6_opt_hdr *oh; in hbh_mt6() local 72 oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); in hbh_mt6() 73 if (oh == NULL) { in hbh_mt6() 78 hdrlen = ipv6_optlen(oh); in hbh_mt6() 84 pr_debug("IPv6 OPTS LEN %u %u ", hdrlen, oh->hdrlen); in hbh_mt6() 92 ret = (oh != NULL) && in hbh_mt6()
|
/Linux-v4.19/arch/powerpc/boot/dts/fsl/ |
D | qoriq-fman-1.dtsi | 55 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";
|
D | qoriq-fman-0.dtsi | 55 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";
|
D | qoriq-fman3-0.dtsi | 55 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";
|
D | qoriq-fman3-1.dtsi | 55 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-v4.19/fs/ocfs2/ |
D | acl.c | 275 struct ocfs2_lock_holder oh; in ocfs2_iop_set_acl() local 277 had_lock = ocfs2_inode_lock_tracker(inode, &bh, 1, &oh); in ocfs2_iop_set_acl() 293 ocfs2_inode_unlock_tracker(inode, 1, &oh, had_lock); in ocfs2_iop_set_acl() 304 struct ocfs2_lock_holder oh; in ocfs2_iop_get_acl() local 310 had_lock = ocfs2_inode_lock_tracker(inode, &di_bh, 0, &oh); in ocfs2_iop_get_acl() 318 ocfs2_inode_unlock_tracker(inode, 0, &oh, had_lock); in ocfs2_iop_get_acl()
|