/openbmc/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_mux.c | 18 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 D | ccu_mult.c | 38 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 D | ccu-sun6i-rtc.c | 59 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 D | ccu_mmc_timing.c | 23 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 D | ccu_mp.c | 272 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 D | charger-manager.c | 95 static bool is_batt_present(struct charger_manager *cm) in is_batt_present() 151 static bool is_ext_pwr_online(struct charger_manager *cm) in is_ext_pwr_online() 187 static int get_batt_uV(struct charger_manager *cm, int *uV) in get_batt_uV() 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() 343 static bool is_polling_required(struct charger_manager *cm) in is_polling_required() 372 static int try_charger_enable(struct charger_manager *cm, bool enable) in try_charger_enable() 452 static int check_charging_duration(struct charger_manager *cm) in check_charging_duration() 484 static int cm_get_battery_temperature_by_psy(struct charger_manager *cm, in cm_get_battery_temperature_by_psy() 502 static int cm_get_battery_temperature(struct charger_manager *cm, in cm_get_battery_temperature() [all …]
|
/openbmc/linux/kernel/irq/ |
H A D | matrix.c | 80 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 110 static unsigned int matrix_alloc_area(struct irq_matrix *m, struct cpumap *cm, in matrix_alloc_area() 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 256 struct cpumap *cm = per_cpu_ptr(m->maps, cpu); in irq_matrix_remove_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 [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | gic_internal.h | 29 #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 31 #define GIC_DIST_TEST_ENABLED(irq, cm) ((s->irq_state[irq].enabled & (cm)) != 0) argument 32 #define GIC_DIST_SET_PENDING(irq, cm) (s->irq_state[irq].pending |= (cm)) argument 33 #define GIC_DIST_CLEAR_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 36 #define GIC_DIST_TEST_ACTIVE(irq, cm) ((s->irq_state[irq].active & (cm)) != 0) 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 [all …]
|
H A D | arm_gic.c | 89 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 D | arm_gic_kvm.c | 134 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 D | cmipci.c | 497 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data) in snd_cmipci_write() 502 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read() 508 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w() 513 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w() 519 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b() 524 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b() 530 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit() 541 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit() 553 static int snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_set_bit_b() 564 static int snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_clear_bit_b() [all …]
|
/openbmc/linux/net/sched/ |
H A D | em_canid.c | 53 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 D | hid-cmedia.c | 91 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 D | rio_cm.c | 203 struct cm_dev *cm; member 300 static void *riocm_rx_get_msg(struct cm_dev *cm) in riocm_rx_get_msg() 329 static void riocm_rx_fill(struct cm_dev *cm, int nent) in riocm_rx_fill() 354 static void riocm_rx_free(struct cm_dev *cm) in riocm_rx_free() 376 static int riocm_req_handler(struct cm_dev *cm, void *req_data) in riocm_req_handler() 486 static void rio_cm_handler(struct cm_dev *cm, void *data) in rio_cm_handler() 526 static int rio_rx_data_handler(struct cm_dev *cm, void *buf) in rio_rx_data_handler() 582 struct cm_dev *cm = container_of(work, struct cm_dev, rx_work); in rio_ibmsg_handler() local 620 struct cm_dev *cm = dev_id; in riocm_inb_msg_event() local 635 static void rio_txcq_handler(struct cm_dev *cm, int slot) in rio_txcq_handler() [all …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | registers.h | 30 #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 D | mux.c | 41 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 D | clockid.c | 71 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 D | scm.c | 237 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 D | config.c | 511 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 D | skl-sst-dsp.h | 101 #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 D | netlink.c | 69 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 D | rc_calc_fpu.c | 64 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 D | ipv6_flowlabel.c | 75 struct cmsghdr *cm; in do_send() local 103 struct cmsghdr *cm; in do_recv() local
|
/openbmc/linux/net/netfilter/ |
H A D | xt_limit.c | 159 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 D | integrator.c | 72 struct device_node *cm = of_find_matching_node(NULL, cm_match); in cm_init() local
|