Home
last modified time | relevance | path

Searched refs:oc (Results 1 – 25 of 64) sorted by relevance

123

/Linux-v5.4/mm/
Doom_kill.c67 static inline bool is_memcg_oom(struct oom_control *oc) in is_memcg_oom() argument
69 return oc->memcg != NULL; in is_memcg_oom()
86 struct oom_control *oc) in oom_cpuset_eligible() argument
90 const nodemask_t *mask = oc->nodemask; in oom_cpuset_eligible()
92 if (is_memcg_oom(oc)) in oom_cpuset_eligible()
120 static bool oom_cpuset_eligible(struct task_struct *tsk, struct oom_control *oc) in oom_cpuset_eligible() argument
155 static inline bool is_sysrq_oom(struct oom_control *oc) in is_sysrq_oom() argument
157 return oc->order == -1; in is_sysrq_oom()
252 static enum oom_constraint constrained_alloc(struct oom_control *oc) in constrained_alloc() argument
256 enum zone_type high_zoneidx = gfp_zone(oc->gfp_mask); in constrained_alloc()
[all …]
/Linux-v5.4/arch/arm/mach-omap2/
Ddisplay.c377 struct omap_hwmod_opt_clk *oc; in omap_dss_reset() local
386 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset()
387 if (oc->_clk) in omap_dss_reset()
388 clk_prepare_enable(oc->_clk); in omap_dss_reset()
413 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in omap_dss_reset()
414 if (oc->_clk) in omap_dss_reset()
415 clk_disable_unprepare(oc->_clk); in omap_dss_reset()
Domap_hwmod.c942 struct omap_hwmod_opt_clk *oc; in _init_opt_clks() local
947 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) { in _init_opt_clks()
948 c = clk_get(NULL, oc->clk); in _init_opt_clks()
951 oh->name, oc->clk); in _init_opt_clks()
955 oc->_clk = c; in _init_opt_clks()
964 clk_prepare(oc->_clk); in _init_opt_clks()
972 struct omap_hwmod_opt_clk *oc; in _enable_optional_clocks() local
977 for (i = oh->opt_clks_cnt, oc = oh->opt_clks; i > 0; i--, oc++) in _enable_optional_clocks()
978 if (oc->_clk) { in _enable_optional_clocks()
979 pr_debug("omap_hwmod: enable %s:%s\n", oc->role, in _enable_optional_clocks()
[all …]
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot_ace.c98 static u32 vcap_s2_read_update_ctrl(struct ocelot *oc) in vcap_s2_read_update_ctrl() argument
100 return ocelot_read(oc, S2_CORE_UPDATE_CTRL); in vcap_s2_read_update_ctrl()
103 static void vcap_cmd(struct ocelot *oc, u16 ix, int cmd, int sel) in vcap_cmd() argument
121 ocelot_write(oc, value, S2_CORE_UPDATE_CTRL); in vcap_cmd()
122 readx_poll_timeout(vcap_s2_read_update_ctrl, oc, value, in vcap_cmd()
128 static void vcap_row_cmd(struct ocelot *oc, u32 row, int cmd, int sel) in vcap_row_cmd() argument
130 vcap_cmd(oc, vcap_is2.entry_count - row - 1, cmd, sel); in vcap_row_cmd()
133 static void vcap_entry2cache(struct ocelot *oc, struct vcap_data *data) in vcap_entry2cache() argument
138 ocelot_write_rix(oc, data->entry[i], S2_CACHE_ENTRY_DAT, i); in vcap_entry2cache()
139 ocelot_write_rix(oc, ~data->mask[i], S2_CACHE_MASK_DAT, i); in vcap_entry2cache()
[all …]
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h39 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument
40 static void oc ## _sm_ ## st(otype * fsm, etype event); \
41 static void oc ## _sm_ ## st ## _entry(otype * fsm)
/Linux-v5.4/drivers/scsi/bfa/
Dbfa_cs.h187 #define bfa_sm_state_decl(oc, st, otype, etype) \ argument
188 static void oc ## _sm_ ## st(otype * fsm, etype event)
216 #define bfa_fsm_state_decl(oc, st, otype, etype) \ argument
217 static void oc ## _sm_ ## st(otype * fsm, etype event); \
218 static void oc ## _sm_ ## st ## _entry(otype * fsm)
/Linux-v5.4/arch/arm/boot/dts/
Dstih410-pinctrl.dtsi15 usb-oc-detect = <&pio35 0 ALT1 IN>;
24 usb-oc-detect = <&pio35 2 ALT1 IN>;
Dat91-gatwick.dts116 /delete-property/atmel,oc-gpio;
Dat91-wb45n.dtsi130 atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
Dkirkwood-openblocks_a6.dts81 pmx_usb_oc: pmx-usb-oc {
Dat91-som60.dtsi227 atmel,oc-gpio = <0
/Linux-v5.4/Documentation/devicetree/bindings/usb/
Dpxa-usb.txt18 - "marvell,no-oc-protection" - disable over-current protection.
19 - "marvell,oc-mode-perport" - enable per-port over-current protection.
/Linux-v5.4/drivers/block/drbd/
Ddrbd_state.c974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition() argument
977 if (oc == nc) in is_valid_conn_transition()
981 if (oc == C_STANDALONE && nc == C_DISCONNECTING) in is_valid_conn_transition()
985 if (oc == C_STANDALONE && nc != C_UNCONNECTED) in is_valid_conn_transition()
990 if (oc < C_WF_REPORT_PARAMS && nc >= C_CONNECTED) in is_valid_conn_transition()
994 if (oc >= C_TIMEOUT && oc <= C_TEAR_DOWN && nc != C_UNCONNECTED && nc != C_DISCONNECTING) in is_valid_conn_transition()
998 if (oc == C_DISCONNECTING && nc != C_STANDALONE) in is_valid_conn_transition()
2029 enum drbd_conns oc; member
2042 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch() local
2052 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
[all …]
/Linux-v5.4/tools/perf/util/
Dstat-shadow.c326 struct evsel *counter, *leader, **metric_events, *oc; in perf_stat__collect_metric_expr() local
355 for_each_group_member (oc, leader) { in perf_stat__collect_metric_expr()
356 if (!strcasecmp(oc->name, metric_names[i]) && in perf_stat__collect_metric_expr()
357 !oc->collect_stat) { in perf_stat__collect_metric_expr()
365 oc = perf_stat__find_event(evsel_list, metric_names[i]); in perf_stat__collect_metric_expr()
367 if (!oc) { in perf_stat__collect_metric_expr()
388 metric_events[i] = oc; in perf_stat__collect_metric_expr()
389 oc->collect_stat = true; in perf_stat__collect_metric_expr()
/Linux-v5.4/include/linux/
Doom.h113 extern bool out_of_memory(struct oom_control *oc);
/Linux-v5.4/arch/powerpc/boot/dts/
Deiger.dts326 has-inverted-stacr-oc;
356 has-inverted-stacr-oc;
386 has-inverted-stacr-oc;
416 has-inverted-stacr-oc;
Dklondike.dts172 has-inverted-stacr-oc;
202 has-inverted-stacr-oc;
Darches.dts277 has-inverted-stacr-oc;
306 has-inverted-stacr-oc;
335 has-inverted-stacr-oc;
Dglacier.dts363 has-inverted-stacr-oc;
393 has-inverted-stacr-oc;
423 has-inverted-stacr-oc;
453 has-inverted-stacr-oc;
Dobs600.dts270 has-inverted-stacr-oc;
300 has-inverted-stacr-oc;
/Linux-v5.4/sound/soc/codecs/
Dak4613.c101 u8 oc; member
437 snd_soc_component_update_bits(component, OCTRL, OCTRL_MASK, priv->oc); in ak4613_dai_hw_params()
631 priv->oc |= 1 << i; in ak4613_parse_of()
/Linux-v5.4/arch/s390/include/asm/
Deadm.h43 u8 oc:4; member
Dpci_clp.h153 u8 oc; /* operation controls */ member
/Linux-v5.4/drivers/thermal/tegra/
Dsoctherm.c1901 struct soctherm_oc_cfg *oc = &ts->throt_cfgs[throt].oc_cfg; in soctherm_oc_cfg_program() local
1903 if (oc->mode == OC_THROTTLE_MODE_DISABLED) in soctherm_oc_cfg_program()
1907 r = REG_SET_MASK(r, OC1_CFG_THROTTLE_MODE_MASK, oc->mode); in soctherm_oc_cfg_program()
1908 r = REG_SET_MASK(r, OC1_CFG_ALARM_POLARITY_MASK, oc->active_low); in soctherm_oc_cfg_program()
1911 writel(oc->throt_period, ts->regs + ALARM_THROTTLE_PERIOD(throt)); in soctherm_oc_cfg_program()
1912 writel(oc->alarm_cnt_thresh, ts->regs + ALARM_CNT_THRESHOLD(throt)); in soctherm_oc_cfg_program()
1913 writel(oc->alarm_filter, ts->regs + ALARM_FILTER(throt)); in soctherm_oc_cfg_program()
1914 soctherm_oc_intr_enable(ts, throt, oc->intr_en); in soctherm_oc_cfg_program()
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Das3722.txt75 voltage-in-standby, oc-pg-sd0, oc-pg-sd6,

123