Home
last modified time | relevance | path

Searched refs:ena (Results 1 – 25 of 123) sorted by relevance

12345

/linux-6.12.1/tools/perf/scripts/python/
Dstat-cpi.py23 def store(time, event, cpu, thread, val, ena, run): argument
29 data[key] = [ val, ena, run]
35 def stat__cycles_k(cpu, thread, time, val, ena, run): argument
36 store(time, "cycles", cpu, thread, val, ena, run);
38 def stat__instructions_k(cpu, thread, time, val, ena, run): argument
39 store(time, "instructions", cpu, thread, val, ena, run);
41 def stat__cycles_u(cpu, thread, time, val, ena, run): argument
42 store(time, "cycles", cpu, thread, val, ena, run);
44 def stat__instructions_u(cpu, thread, time, val, ena, run): argument
45 store(time, "instructions", cpu, thread, val, ena, run);
[all …]
/linux-6.12.1/arch/arm/mach-s3c/
Dpm-s3c64xx.c36 u32 ena; member
49 val &= ~(pd->ena); in s3c64xx_pd_off()
64 val |= pd->ena; in s3c64xx_pd_on()
86 .ena = S3C64XX_NORMALCFG_IROM_ON,
95 .ena = S3C64XX_NORMALCFG_DOMAIN_ETM_ON,
105 .ena = S3C64XX_NORMALCFG_DOMAIN_S_ON,
115 .ena = S3C64XX_NORMALCFG_DOMAIN_F_ON,
125 .ena = S3C64XX_NORMALCFG_DOMAIN_P_ON,
135 .ena = S3C64XX_NORMALCFG_DOMAIN_I_ON,
145 .ena = S3C64XX_NORMALCFG_DOMAIN_G_ON,
[all …]
/linux-6.12.1/tools/testing/selftests/net/
Dcmsg_sender.c39 bool ena; member
63 bool ena; member
67 bool ena; member
148 opt.mark.ena = true; in cs_parse_args()
158 opt.txtime.ena = true; in cs_parse_args()
162 opt.ts.ena = true; in cs_parse_args()
165 opt.v6.dontfrag.ena = true; in cs_parse_args()
172 opt.v6.tclass.ena = true; in cs_parse_args()
179 opt.v6.hlimit.ena = true; in cs_parse_args()
186 opt.v6.exthdr.ena = true; in cs_parse_args()
[all …]
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c72 bool ena; in rvu_npa_aq_enq_inst() local
166 if (req->op == NPA_AQ_INSTOP_INIT && req->aura.ena) in rvu_npa_aq_enq_inst()
169 ena = (req->aura.ena & req->aura_mask.ena) | in rvu_npa_aq_enq_inst()
171 ~req->aura_mask.ena); in rvu_npa_aq_enq_inst()
172 if (ena) in rvu_npa_aq_enq_inst()
181 if (req->op == NPA_AQ_INSTOP_INIT && req->pool.ena) in rvu_npa_aq_enq_inst()
184 ena = (req->pool.ena & req->pool_mask.ena) | in rvu_npa_aq_enq_inst()
186 ~req->pool_mask.ena); in rvu_npa_aq_enq_inst()
187 if (ena) in rvu_npa_aq_enq_inst()
225 aq_req.pool.ena = 0; in npa_lf_hwctx_disable()
[all …]
Drvu_struct.h178 u64 ena : 1; /* W1 */ member
230 u64 ena : 1; member
359 u64 ena : 1; member
375 u64 ena : 1; member
463 u64 ena : 1; member
526 u64 ena : 1; member
610 u64 ena : 1; member
803 u64 ena :1; member
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-da850-pupd.c106 u32 ena, sel; in da850_pupd_pin_config_group_set() local
110 ena = readl(data->base + DA850_PUPD_ENA); in da850_pupd_pin_config_group_set()
118 ena &= ~BIT(selector); in da850_pupd_pin_config_group_set()
121 ena |= BIT(selector); in da850_pupd_pin_config_group_set()
125 ena |= BIT(selector); in da850_pupd_pin_config_group_set()
134 writel(ena, data->base + DA850_PUPD_ENA); in da850_pupd_pin_config_group_set()
/linux-6.12.1/tools/perf/util/
Dstat.c337 if (!(vals->run && vals->ena)) in check_per_pkg()
379 if (count->ena != 0 && count->run != 0) in evsel__count_has_error()
419 aggr_counts->ena += count->ena; in process_counter_values()
444 ps_aggr->counts.ena = 0; in process_counter_values()
451 ps_aggr->counts.ena += count->ena; in process_counter_values()
532 aggr_counts_a->ena += aggr_counts_b->ena; in evsel__merge_aggr_counters()
619 counts.ena += aggr->counts.ena; in evsel__update_percore_stats()
632 aggr->counts.ena = counts.ena; in evsel__update_percore_stats()
682 count.ena = st->ena; in perf_event__process_stat_event()
714 st->val, st->ena, st->run); in perf_event__fprintf_stat()
Dstat-display.c74 static void print_running_std(struct perf_stat_config *config, u64 run, u64 ena) in print_running_std() argument
76 if (run != ena) in print_running_std()
77 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running_std()
80 static void print_running_csv(struct perf_stat_config *config, u64 run, u64 ena) in print_running_csv() argument
84 if (run != ena) in print_running_csv()
85 enabled_percent = 100 * run / ena; in print_running_csv()
90 static void print_running_json(struct perf_stat_config *config, u64 run, u64 ena) in print_running_json() argument
94 if (run != ena) in print_running_json()
95 enabled_percent = 100 * run / ena; in print_running_json()
101 u64 run, u64 ena, bool before_metric) in print_running() argument
[all …]
Dbpf_counter.c247 counts->ena = 0; in bpf_program_profiler__read()
269 counts->ena += values[bpf_cpu].enabled; in bpf_program_profiler__read()
640 counts->ena = values[entry.cpu].enabled; in bperf__read()
649 counts->ena = values[cpu].enabled; in bperf__read()
656 counts->ena = 0; in bperf__read()
661 counts->ena += values[cpu].enabled; in bperf__read()
/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dqos_sq.c177 cn10k_sq_aq->sq.ena = 0; in otx2_qos_ctx_disable()
178 cn10k_sq_aq->sq_mask.ena = 1; in otx2_qos_ctx_disable()
186 sq_aq->sq.ena = 0; in otx2_qos_ctx_disable()
187 sq_aq->sq_mask.ena = 1; in otx2_qos_ctx_disable()
199 aura_aq->aura.ena = 0; in otx2_qos_ctx_disable()
200 aura_aq->aura_mask.ena = 1; in otx2_qos_ctx_disable()
211 pool_aq->pool.ena = 0; in otx2_qos_ctx_disable()
212 pool_aq->pool_mask.ena = 1; in otx2_qos_ctx_disable()
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dq_struct.h581 u64 ena:1; member
585 u64 ena:1;
593 u64 ena:1; member
609 u64 ena:1;
619 u64 ena:1; member
635 u64 ena:1;
645 u64 ena:1; member
663 u64 ena: 1;
671 u64 ena:1; member
691 u64 ena:1;
/linux-6.12.1/drivers/net/ethernet/amazon/ena/
DMakefile6 obj-$(CONFIG_ENA_ETHERNET) += ena.o
8 ena-y := ena_netdev.o ena_com.o ena_eth_com.o ena_ethtool.o ena_xdp.o
/linux-6.12.1/drivers/mfd/
Dwm831x-auxadc.c36 bool ena = false; in wm831x_auxadc_read_irq() local
51 ena = !wm831x->auxadc_active; in wm831x_auxadc_read_irq()
53 if (ena) { in wm831x_auxadc_read_irq()
77 if (ena) { in wm831x_auxadc_read_irq()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_base.h13 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait);
14 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx);
Dice_vsi_vlan_lib.c131 static int ice_vsi_manage_vlan_stripping(struct ice_vsi *vsi, bool ena) in ice_vsi_manage_vlan_stripping() argument
154 if (ena) { in ice_vsi_manage_vlan_stripping()
172 ena, err, ice_aq_str(hw->adminq.sq_last_status)); in ice_vsi_manage_vlan_stripping()
322 static int ice_cfg_vlan_pruning(struct ice_vsi *vsi, bool ena) in ice_cfg_vlan_pruning() argument
335 if (vsi->netdev && vsi->netdev->flags & IFF_PROMISC && ena) in ice_cfg_vlan_pruning()
345 if (ena) in ice_cfg_vlan_pruning()
355 ena ? "En" : "Dis", vsi->idx, vsi->vsi_num, status, in ice_cfg_vlan_pruning()
Dice_base.c79 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena) in ice_pf_rxq_wait() argument
84 if (ena == !!(rd32(&pf->hw, QRX_CTRL(pf_q)) & in ice_pf_rxq_wait()
723 ice_vsi_ctrl_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx, bool wait) in ice_vsi_ctrl_one_rx_ring() argument
733 if (ena == !!(rx_reg & QRX_CTRL_QENA_STAT_M)) in ice_vsi_ctrl_one_rx_ring()
737 if (ena) in ice_vsi_ctrl_one_rx_ring()
747 return ice_pf_rxq_wait(pf, pf_q, ena); in ice_vsi_ctrl_one_rx_ring()
761 int ice_vsi_wait_one_rx_ring(struct ice_vsi *vsi, bool ena, u16 rxq_idx) in ice_vsi_wait_one_rx_ring() argument
766 return ice_pf_rxq_wait(pf, pf_q, ena); in ice_vsi_wait_one_rx_ring()
/linux-6.12.1/drivers/watchdog/
Dmenz69_wdt.c75 u16 reg, val, ena; in men_z069_wdt_set_timeout() local
81 ena = reg & MEN_Z069_WTR_WDEN; in men_z069_wdt_set_timeout()
82 reg = ena | val; in men_z069_wdt_set_timeout()
/linux-6.12.1/drivers/clk/ti/
Dclkt_dflt.c54 int i = 0, ena = 0; in _wait_idlest_generic() local
56 ena = (idlest) ? 0 : mask; in _wait_idlest_generic()
60 if ((ti_clk_ll_ops->clk_readl(reg) & mask) == ena) in _wait_idlest_generic()
/linux-6.12.1/drivers/s390/cio/
Dcio.c340 if (!sch->schib.pmcw.ena) in cio_cancel_halt_clear()
384 schib->pmcw.ena = sch->config.ena; in cio_apply_config()
398 (schib->pmcw.ena == sch->config.ena) && in cio_check_config()
487 sch->config.ena = 1; in cio_enable_subchannel()
521 sch->config.ena = 0; in cio_disable_subchannel()
Dcio.h24 u32 ena : 1; /* enabled */ member
56 u32 ena:1; member
Ddevice_ops.c145 if (!sch->schib.pmcw.ena) in ccw_device_clear()
201 if (!sch->schib.pmcw.ena) in ccw_device_start_timeout_key()
382 if (!sch->schib.pmcw.ena) in ccw_device_halt()
416 if (!sch->schib.pmcw.ena) in ccw_device_resume()
551 if (!sch->schib.pmcw.ena) in ccw_device_tm_start_timeout_key()
697 if (!sch->schib.pmcw.ena) in ccw_device_tm_intrg()
/linux-6.12.1/sound/soc/codecs/
Dwm8958-dsp2.c236 int i, ena; in wm8958_dsp_start_vss() local
275 ena = 0; in wm8958_dsp_start_vss()
277 ena |= 0x8; in wm8958_dsp_start_vss()
279 ena |= 0x4; in wm8958_dsp_start_vss()
281 ena |= 0x2; in wm8958_dsp_start_vss()
283 ena |= 0x1; in wm8958_dsp_start_vss()
285 snd_soc_component_write(component, 0x2201, ena); in wm8958_dsp_start_vss()
328 int ena, reg, aif; in wm8958_dsp_apply() local
349 ena = wm8994->mbc_ena[path] || wm8994->vss_ena[path] || in wm8958_dsp_apply()
353 ena = 0; in wm8958_dsp_apply()
[all …]
/linux-6.12.1/arch/arm/mach-omap2/
Dcm2xxx.c151 int ena = 0, i = 0; in omap2xxx_cm_wait_module_ready() local
161 ena = mask; in omap2xxx_cm_wait_module_ready()
164 mask) == ena), MAX_MODULE_READY_TIME, i); in omap2xxx_cm_wait_module_ready()
/linux-6.12.1/tools/perf/tests/
Dstat.c76 TEST_ASSERT_VAL("wrong run", st->ena == 200); in process_stat_event()
86 count.ena = 200; in test__synthesize_stat()
/linux-6.12.1/drivers/regulator/
Dda9055-regulator.c422 struct gpio_desc *ena; in da9055_gpio_init() local
433 ena = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in da9055_gpio_init()
434 if (IS_ERR(ena)) in da9055_gpio_init()
435 return PTR_ERR(ena); in da9055_gpio_init()
437 config->ena_gpiod = ena; in da9055_gpio_init()

12345