Home
last modified time | relevance | path

Searched defs:cm (Results 1 – 25 of 88) sorted by relevance

1234

/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_mux.c18 struct ccu_mux_internal *cm, in ccu_mux_get_prediv()
63 struct ccu_mux_internal *cm, in ccu_mux_helper_apply_prediv()
72 struct ccu_mux_internal *cm, in ccu_mux_helper_unapply_prediv()
80 struct ccu_mux_internal *cm, in ccu_mux_helper_determine_rate()
161 struct ccu_mux_internal *cm) in ccu_mux_helper_get_parent()
184 struct ccu_mux_internal *cm, in ccu_mux_helper_set_parent()
212 struct ccu_mux *cm = hw_to_ccu_mux(hw); in ccu_mux_disable() local
219 struct ccu_mux *cm = hw_to_ccu_mux(hw); in ccu_mux_enable() local
226 struct ccu_mux *cm = hw_to_ccu_mux(hw); in ccu_mux_is_enabled() local
233 struct ccu_mux *cm = hw_to_ccu_mux(hw); in ccu_mux_get_parent() local
[all …]
H A Dccu_mult.c38 struct ccu_mult *cm = data; in ccu_mult_round_rate() local
55 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_disable() local
62 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_enable() local
69 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_is_enabled() local
77 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_recalc_rate() local
97 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_determine_rate() local
106 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_set_rate() local
149 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_get_parent() local
156 struct ccu_mult *cm = hw_to_ccu_mult(hw); in ccu_mult_set_parent() local
H A Dccu-sun6i-rtc.c59 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_enable() local
66 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_disable() local
73 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_is_enabled() local
81 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_recalc_rate() local
119 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_prepare() local
134 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_unprepare() local
148 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_rate() local
167 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_accuracy() local
H A Dccu_mmc_timing.c23 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_set_mmc_timing_mode() local
56 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_get_mmc_timing_mode() local
H A Dccu_mp.c272 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate() local
283 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate() local
309 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate() local
/openbmc/linux/drivers/power/supply/
H A Dcharger-manager.c95 static bool is_batt_present(struct charger_manager *cm) in is_batt_present()
211 static bool is_charging(struct charger_manager *cm) in is_charging()
280 static bool is_full_charged(struct charger_manager *cm) in is_full_charged()
605 static bool _cm_monitor(struct charger_manager *cm) in _cm_monitor()
630 struct charger_manager *cm; in cm_monitor() local
651 struct charger_manager *cm; in _setup_polling() local
862 struct charger_manager *cm; in cm_setup_timer() local
1110 struct charger_manager *cm = charger->cm; in charger_externally_control_store() local
1424 struct charger_manager *cm; in charger_manager_probe() local
1673 struct charger_manager *cm; in cm_need_to_awake() local
[all …]
/openbmc/linux/kernel/irq/
H A Dmatrix.c80 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_online() local
101 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_offline() local
133 struct cpumap *cm; in matrix_find_best_cpu() local
154 struct cpumap *cm; in matrix_find_best_cpu_managed() local
184 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign_system() local
215 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); in irq_matrix_reserve_managed() local
290 struct cpumap *cm; in irq_matrix_alloc_managed() local
324 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_assign() local
381 struct cpumap *cm; in irq_matrix_alloc() local
452 struct cpumap *cm = this_cpu_ptr(m->maps); in irq_matrix_available() local
[all …]
/openbmc/qemu/hw/intc/
H A Dgic_internal.h29 #define GIC_DIST_SET_ENABLED(irq, cm) (s->irq_state[irq].enabled |= (cm)) argument
30 #define GIC_DIST_CLEAR_ENABLED(irq, cm) (s->irq_state[irq].enabled &= ~(cm)) argument
32 #define GIC_DIST_SET_PENDING(irq, cm) (s->irq_state[irq].pending |= (cm)) argument
34 #define GIC_DIST_SET_ACTIVE(irq, cm) (s->irq_state[irq].active |= (cm)) argument
35 #define GIC_DIST_CLEAR_ACTIVE(irq, cm) (s->irq_state[irq].active &= ~(cm)) argument
40 #define GIC_DIST_SET_LEVEL(irq, cm) (s->irq_state[irq].level |= (cm)) argument
41 #define GIC_DIST_CLEAR_LEVEL(irq, cm) (s->irq_state[irq].level &= ~(cm)) argument
51 #define GIC_DIST_CLEAR_GROUP(irq, cm) (s->irq_state[irq].group &= ~(cm)) argument
52 #define GIC_DIST_SET_GROUP(irq, cm) (s->irq_state[irq].group |= (cm)) argument
166 static inline bool gic_test_pending(GICState *s, int irq, int cm) in gic_test_pending()
[all …]
H A Darm_gic.c89 int cm = 1 << cpu; in gic_get_best_irq() local
354 int cm, int target) in gic_set_irq_11mpcore()
368 int cm, int target) in gic_set_irq_generic()
391 int cm, target; in gic_set_irq() local
859 int cm = 1 << cpu; in gic_complete_irq() local
951 int cm; in gic_dist_readb() local
1227 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb() local
1254 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb() local
1291 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb() local
1361 int cm = irq < GIC_INTERNAL ? (1 << cpu) : ALL_CPU_MASK; in gic_dist_writeb() local
[all …]
H A Darm_gic_kvm.c134 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in translate_group() local
148 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in translate_enabled() local
162 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in translate_pending() local
177 int cm = (irq < GIC_INTERNAL) ? (1 << cpu) : ALL_CPU_MASK; in translate_active() local
/openbmc/linux/sound/pci/
H A Dcmipci.c1107 static int save_mixer_state(struct cmipci *cm) in save_mixer_state()
1420 struct cmipci *cm = dev_id; in snd_cmipci_interrupt() local
2024 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_volume() local
2047 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_volume() local
2106 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_input_sw() local
2754 struct cmipci *cm = entry->private_data; in snd_cmipci_proc_read() local
2788 static void query_chip(struct cmipci *cm) in query_chip()
2899 struct cmipci *cm = card->private_data; in snd_cmipci_free() local
2973 struct cmipci *cm = card->private_data; in snd_cmipci_create() local
3289 struct cmipci *cm = card->private_data; in snd_cmipci_suspend() local
[all …]
/openbmc/linux/net/sched/
H A Dem_canid.c53 static void em_canid_sff_match_add(struct canid_match *cm, u32 can_id, in em_canid_sff_match_add()
96 struct canid_match *cm = em_canid_priv(m); in em_canid_match() local
124 struct canid_match *cm; in em_canid_change() local
185 struct canid_match *cm = em_canid_priv(m); in em_canid_destroy() local
192 struct canid_match *cm = em_canid_priv(m); in em_canid_dump() local
/openbmc/linux/drivers/hid/
H A Dhid-cmedia.c91 static void hp_ev(struct hid_device *hid, struct cmhid *cm, int value) in hp_ev()
100 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_raw_event() local
124 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_input_configured() local
146 struct cmhid *cm; in cmhid_probe() local
180 struct cmhid *cm = hid_get_drvdata(hid); in cmhid_remove() local
/openbmc/linux/drivers/rapidio/
H A Drio_cm.c203 struct cm_dev *cm; member
620 struct cm_dev *cm = dev_id; in riocm_inb_msg_event() local
1231 struct cm_dev *cm; in riocm_ch_bind() local
1534 struct cm_dev *cm; in cm_ep_get_list_size() local
1562 struct cm_dev *cm; in cm_ep_get_list() local
1621 struct cm_dev *cm; in cm_mport_get_list() local
1781 struct cm_dev *cm; in cm_chan_connect() local
1948 struct cm_dev *cm; in riocm_add_dev() local
1991 struct cm_dev *cm; in riocm_remove_dev() local
2098 struct cm_dev *cm; in riocm_add_mport() local
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dregisters.h30 #define AVS_ADSPCS_CRST_MASK(cm) (cm) argument
31 #define AVS_ADSPCS_CSTALL_MASK(cm) ((cm) << 8) argument
32 #define AVS_ADSPCS_SPA_MASK(cm) ((cm) << 16) argument
33 #define AVS_ADSPCS_CPA_MASK(cm) ((cm) << 24) argument
/openbmc/linux/drivers/clk/sprd/
H A Dmux.c41 struct sprd_mux *cm = hw_to_sprd_mux(hw); in sprd_mux_get_parent() local
66 struct sprd_mux *cm = hw_to_sprd_mux(hw); in sprd_mux_set_parent() local
/openbmc/linux/tools/perf/util/
H A Dclockid.c71 const struct clockid_map *cm; in parse_clockid() local
112 const struct clockid_map *cm; in clockid_name() local
/openbmc/linux/net/core/
H A Dscm.c237 struct cmsghdr __user *cm = msg->msg_control_user; in put_cmsg() local
251 struct cmsghdr *cm = msg->msg_control; in put_cmsg() local
311 struct cmsghdr __user *cm = in scm_detach_fds() local
/openbmc/linux/fs/dlm/
H A Dconfig.c511 struct dlm_comm *cm; in make_comm() local
532 struct dlm_comm *cm = config_item_to_comm(i); in drop_comm() local
543 struct dlm_comm *cm = config_item_to_comm(i); in release_comm() local
638 struct dlm_comm *cm = config_item_to_comm(item); in comm_local_store() local
651 struct dlm_comm *cm = config_item_to_comm(item); in comm_addr_store() local
679 struct dlm_comm *cm = config_item_to_comm(item); in comm_addr_list_show() local
834 struct dlm_comm *cm = NULL; in get_comm() local
858 static void put_comm(struct dlm_comm *cm) in put_comm()
913 struct dlm_comm *cm = get_comm(nodeid); in dlm_comm_seq() local
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-sst-dsp.h101 #define SKL_ADSPCS_CRST_MASK(cm) ((cm) << SKL_ADSPCS_CRST_SHIFT) argument
108 #define SKL_ADSPCS_CSTALL_MASK(cm) ((cm) << SKL_ADSPCS_CSTALL_SHIFT) argument
115 #define SKL_ADSPCS_SPA_MASK(cm) ((cm) << SKL_ADSPCS_SPA_SHIFT) argument
122 #define SKL_ADSPCS_CPA_MASK(cm) ((cm) << SKL_ADSPCS_CPA_SHIFT) argument
/openbmc/linux/drivers/net/can/dev/
H A Dnetlink.c69 struct can_ctrlmode *cm = nla_data(data[IFLA_CAN_CTRLMODE]); in can_validate() local
199 struct can_ctrlmode *cm; in can_changelink() local
542 struct can_ctrlmode cm = {.flags = priv->ctrlmode}; in can_fill_info() local
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/
H A Drc_calc_fpu.c64 static void get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, in get_qp_set()
166 enum colour_mode cm, in _do_calc_rc_params()
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel.c75 struct cmsghdr *cm; in do_send() local
103 struct cmsghdr *cm; in do_recv() local
/openbmc/linux/net/netfilter/
H A Dxt_limit.c159 const struct compat_xt_rateinfo *cm = src; in limit_mt_compat_from_user() local
174 struct compat_xt_rateinfo cm = { in limit_mt_compat_to_user() local
/openbmc/linux/arch/arm/mach-versatile/
H A Dintegrator.c72 struct device_node *cm = of_find_matching_node(NULL, cm_match); in cm_init() local

1234