Home
last modified time | relevance | path

Searched refs:em (Results 1 – 16 of 16) sorted by relevance

/drivers/thermal/
Dcpufreq_cooling.c75 struct em_perf_domain *em; member
98 if (freq > cpufreq_cdev->em->table[i].frequency) in get_level()
112 if (freq > cpufreq_cdev->em->table[i].frequency) in cpu_freq_to_power()
116 power_mw = cpufreq_cdev->em->table[i + 1].power; in cpu_freq_to_power()
130 em_power_mw = cpufreq_cdev->em->table[i].power; in cpu_power_to_freq()
136 return cpufreq_cdev->em->table[i].frequency; in cpu_power_to_freq()
278 freq = cpufreq_cdev->em->table[idx].frequency; in cpufreq_state2power()
320 struct em_perf_domain *em) { in em_is_sane() argument
324 if (!em || em_is_artificial(em)) in em_is_sane()
328 if (!cpumask_equal(policy->related_cpus, em_span_cpus(em))) { in em_is_sane()
[all …]
Ddevfreq_cooling.c368 struct em_perf_domain *em; in of_devfreq_cooling_register_power() local
385 em = em_pd_get(dev); in of_devfreq_cooling_register_power()
386 if (em && !em_is_artificial(em)) { in of_devfreq_cooling_register_power()
387 dfc->em_pd = em; in of_devfreq_cooling_register_power()
/drivers/block/aoe/
Daoechr.c128 struct ErrMsg *em; in aoechr_error() local
136 em = emsgs + emsgs_tail_idx; in aoechr_error()
137 if ((em->flags & EMFL_VALID)) { in aoechr_error()
146 em->msg = mp; in aoechr_error()
147 em->flags |= EMFL_VALID; in aoechr_error()
148 em->len = n; in aoechr_error()
215 struct ErrMsg *em; in aoechr_read() local
226 em = emsgs + emsgs_head_idx; in aoechr_read()
227 if ((em->flags & EMFL_VALID) != 0) in aoechr_read()
248 if (em->len > cnt) { in aoechr_read()
[all …]
/drivers/powercap/
Ddtpm_cpu.c115 struct em_perf_domain *em = em_cpu_get(dtpm_cpu->cpu); in update_pd_power_uw() local
119 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
122 dtpm->power_min = em->table[0].power; in update_pd_power_uw()
125 dtpm->power_max = em->table[em->nr_perf_states - 1].power; in update_pd_power_uw()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mode.h559 #define ENCODER_MODE_IS_DP(em) (((em) == ATOM_ENCODER_MODE_DP) || \ argument
560 ((em) == ATOM_ENCODER_MODE_DP_MST))
Ddce_v6_0.c1493 int em = amdgpu_atombios_encoder_get_encoder_mode(encoder); in dce_v6_0_audio_set_dto() local
1505 if (em == ATOM_ENCODER_MODE_HDMI) { in dce_v6_0_audio_set_dto()
1508 } else if (ENCODER_MODE_IS_DP(em)) { in dce_v6_0_audio_set_dto()
1513 if (em == ATOM_ENCODER_MODE_HDMI) { in dce_v6_0_audio_set_dto()
1516 } else if (ENCODER_MODE_IS_DP(em)) { in dce_v6_0_audio_set_dto()
1654 int em = amdgpu_atombios_encoder_get_encoder_mode(encoder); in dce_v6_0_afmt_setmode() local
1693 if (em == ATOM_ENCODER_MODE_HDMI) { in dce_v6_0_afmt_setmode()
1697 } else if (ENCODER_MODE_IS_DP(em)) { in dce_v6_0_afmt_setmode()
1704 if (em == ATOM_ENCODER_MODE_HDMI) { in dce_v6_0_afmt_setmode()
1706 } else if (ENCODER_MODE_IS_DP(em)) { in dce_v6_0_afmt_setmode()
[all …]
/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c162 bool em = (f->mac_addr_cnt == 1) && (i == UC); in enetc_sync_mac_filters() local
174 if (em) { in enetc_sync_mac_filters()
206 bool em; in enetc_pf_set_rx_mode() local
225 em = (netdev_uc_count(ndev) == 1); in enetc_pf_set_rx_mode()
227 if (em) { in enetc_pf_set_rx_mode()
/drivers/gpu/drm/radeon/
Dradeon_mode.h542 #define ENCODER_MODE_IS_DP(em) (((em) == ATOM_ENCODER_MODE_DP) || \ argument
543 ((em) == ATOM_ENCODER_MODE_DP_MST))
/drivers/media/radio/
Dradio-wl1273.c907 u16 em; in wl1273_fm_set_preemphasis() local
917 em = 1; in wl1273_fm_set_preemphasis()
920 em = 0; in wl1273_fm_set_preemphasis()
923 em = 2; in wl1273_fm_set_preemphasis()
930 r = core->write(core, WL1273_PREMPH_SET, em); in wl1273_fm_set_preemphasis()
/drivers/media/rc/keymaps/
DMakefile44 rc-em-terratec.o \
/drivers/input/misc/
Dyealink.c61 #define _SEG(t, a, am, b, bm, c, cm, d, dm, e, em, f, fm, g, gm) \ argument
64 _LOC(d, dm), _LOC(e, em), _LOC(g, gm), \
/drivers/rapidio/
Drio.c1190 rdev = rio_get_comptag((pw_msg->em.comptag & RIO_CTAG_UDEVID), NULL); in rio_inb_pwrite_handler()
1195 __func__, pw_msg->em.comptag); in rio_inb_pwrite_handler()
1223 portnum = pw_msg->em.is_port & 0xFF; in rio_inb_pwrite_handler()
/drivers/gpio/
DMakefile56 obj-$(CONFIG_GPIO_EM) += gpio-em.o
/drivers/scsi/libfc/
Dfc_exch.c316 mp = ep->em; in fc_exch_release()
446 index = (ep->xid - ep->em->min_xid) >> fc_cpu_order; in fc_exch_delete()
876 ep->em = mp; in fc_exch_em_alloc()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c156 void __iomem *em; member
641 nfp->iomem.em = bar->iomem + NFP_PCIE_EM; in enable_bars()
/drivers/rapidio/devices/
Drio_mport_cdev.c1511 if ((msg->em.comptag & filter->mask) < filter->low || in rio_mport_match_pw()
1512 (msg->em.comptag & filter->mask) > filter->high) in rio_mport_match_pw()
1543 mport->id, msg->em.comptag); in rio_mport_pw_handler()