/linux-6.14.4/drivers/power/supply/ |
D | charger-manager.c | 96 static bool is_batt_present(struct charger_manager *cm) in is_batt_present() 98 union power_supply_propval val; in is_batt_present() local 152 static bool is_ext_pwr_online(struct charger_manager *cm) in is_ext_pwr_online() 154 union power_supply_propval val; in is_ext_pwr_online() local 188 static int get_batt_uV(struct charger_manager *cm, int *uV) in get_batt_uV() 190 union power_supply_propval val; in get_batt_uV() local 212 static bool is_charging(struct charger_manager *cm) in is_charging() 217 union power_supply_propval val; in is_charging() local 281 static bool is_full_charged(struct charger_manager *cm) in is_full_charged() 284 union power_supply_propval val; in is_full_charged() local [all …]
|
/linux-6.14.4/sound/pci/ |
D | cmipci.c | 495 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data) in snd_cmipci_write() 500 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read() 506 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w() 511 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w() 517 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b() 522 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b() 528 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit() 530 unsigned int val, oval; in snd_cmipci_set_bit() local 539 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit() 541 unsigned int val, oval; in snd_cmipci_clear_bit() local [all …]
|
/linux-6.14.4/drivers/clk/sunxi-ng/ |
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 120 u32 val; in ccu_iosc_32k_prepare() local 134 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_unprepare() local 135 u32 val; in ccu_iosc_32k_unprepare() local 148 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_iosc_32k_recalc_rate() local 149 u32 val; in ccu_iosc_32k_recalc_rate() local [all …]
|
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 78 unsigned long val; 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
|
D | ccu_mmc_timing.c | 23 struct ccu_common *cm = hw_to_ccu_common(hw); in sunxi_ccu_set_mmc_timing_mode() local 25 u32 val; 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
|
D | ccu_mp.c | 272 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_recalc_rate() local 273 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_recalc_rate() local 283 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_determine_rate() local 284 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_determine_rate() local 309 struct ccu_common *cm = hw_to_ccu_common(hw); in ccu_mp_mmc_set_rate() local 310 u32 val = readl(cm->base + cm->reg); in ccu_mp_mmc_set_rate() local
|
/linux-6.14.4/sound/soc/intel/avs/ |
D | registers.h | 34 #define AVS_ADSPCS_CRST_MASK(cm) (cm) argument 35 #define AVS_ADSPCS_CSTALL_MASK(cm) ((cm) << 8) argument 36 #define AVS_ADSPCS_SPA_MASK(cm) ((cm) << 16) argument 37 #define AVS_ADSPCS_CPA_MASK(cm) ((cm) << 24) argument 120 #define snd_hdac_adsp_updateb(adev, reg, mask, val) \ argument 123 #define snd_hdac_adsp_updatew(adev, reg, mask, val) \ argument 126 #define snd_hdac_adsp_updatel(adev, reg, mask, val) \ argument 129 #define snd_hdac_adsp_updateq(adev, reg, mask, val) \ argument 133 #define snd_hdac_adsp_readb_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument 136 #define snd_hdac_adsp_readw_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument [all …]
|
/linux-6.14.4/tools/testing/selftests/net/ |
D | ipv6_flowlabel.c | 75 struct cmsghdr *cm; in do_send() local 103 struct cmsghdr *cm; in do_recv() local 157 char val; in get_autoflowlabel_enabled() local
|
D | udpgso_bench_tx.c | 314 static void send_ts_cmsg(struct cmsghdr *cm) in send_ts_cmsg() 378 static void send_udp_segment_cmsg(struct cmsghdr *cm) in send_udp_segment_cmsg() 552 int level, name, val; in set_pmtu_discover() local 570 int val = SOF_TIMESTAMPING_OPT_CMSG | SOF_TIMESTAMPING_OPT_ID | in set_tx_timestamping() local 641 int fd, i, val, ret; in main() local
|
D | udpgso.c | 320 int level, name, val; in set_pmtu_discover() local 381 struct cmsghdr *cm; in send_one() local 432 int i, ret, val, mss; in run_one() local 514 int fdr, fdt, val; in run_test() local
|
D | msg_zerocopy.c | 137 static void do_setsockopt(int fd, int level, int optname, int val) in do_setsockopt() 174 struct cmsghdr *cm; in add_zcopy_cookie() local 399 struct cmsghdr *cm; in do_recv_completion() local
|
D | timestamping.c | 285 struct cmsghdr cm; in recvpacket() member 333 int val; in main() local
|
/linux-6.14.4/arch/arm/mach-versatile/ |
D | integrator.c | 50 u32 val; in cm_control() local 72 struct device_node *cm = of_find_matching_node(NULL, cm_match); in cm_init() local
|
/linux-6.14.4/drivers/platform/x86/ |
D | eeepc-laptop.c | 183 static int write_acpi_int(acpi_handle handle, const char *method, int val) in write_acpi_int() 192 static int read_acpi_int(acpi_handle handle, const char *method, int *val) in read_acpi_int() 207 static int set_acpi(struct eeepc_laptop *eeepc, int cm, int value) in set_acpi() 221 static int get_acpi(struct eeepc_laptop *eeepc, int cm) in get_acpi() 236 static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, in acpi_setter_handle() 260 static int parse_arg(const char *buf, int *val) in parse_arg() 267 static ssize_t store_sys_acpi(struct device *dev, int cm, in store_sys_acpi() 282 static ssize_t show_sys_acpi(struct device *dev, int cm, char *buf) in show_sys_acpi() 708 int val; in eeepc_get_adapter_status() local 768 enum rfkill_type type, int cm) in eeepc_new_rfkill() [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8188/ |
D | mt8188-afe-pcm.c | 261 const struct mt8188_afe_channel_merge *cm, in mt8188_afe_config_cm() 286 const struct mt8188_afe_channel_merge *cm, in mt8188_afe_enable_cm() 342 const struct mt8188_afe_channel_merge *cm = mt8188_afe_found_cm(dai); in mt8188_afe_fe_hw_params() local 360 const struct mt8188_afe_channel_merge *cm = mt8188_afe_found_cm(dai); in mt8188_afe_fe_trigger() local 1609 long val = ucontrol->value.integer.value[0]; in mt8188_memif_1x_en_sel_put() local 1632 long val = ucontrol->value.integer.value[0]; in mt8188_asys_irq_1x_en_sel_put() local 2931 unsigned int val = 0; in mt8188_afe_irq_handler() local 3126 u32 val; in bus_protect_enable() local 3152 u32 val; in bus_protect_disable() local
|
/linux-6.14.4/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_vp8_if.c | 104 void __iomem *cm; member 181 u32 val; in write_hw_segmentation_data() local 182 void __iomem *cm = inst->reg_base.cm; in write_hw_segmentation_data() local 202 u32 val; in read_hw_segmentation_data() local 203 void __iomem *cm = inst->reg_base.cm; in read_hw_segmentation_data() local 222 u32 val = 0; in enable_hw_rw_function() local 249 u32 addr = 0, val = 0; in store_dec_table() local
|
/linux-6.14.4/sound/soc/mediatek/mt8195/ |
D | mt8195-afe-pcm.c | 240 const struct mt8195_afe_channel_merge *cm, in mt8195_afe_config_cm() 265 const struct mt8195_afe_channel_merge *cm, in mt8195_afe_enable_cm() 388 const struct mt8195_afe_channel_merge *cm = mt8195_afe_found_cm(dai); in mt8195_afe_fe_hw_params() local 419 const struct mt8195_afe_channel_merge *cm = mt8195_afe_found_cm(dai); in mt8195_afe_fe_trigger() local 1469 long val = ucontrol->value.integer.value[0]; in mt8195_memif_1x_en_sel_put() local 1492 long val = ucontrol->value.integer.value[0]; in mt8195_asys_irq_1x_en_sel_put() local 2849 unsigned int val = 0; in mt8195_afe_irq_handler() local
|
/linux-6.14.4/fs/ceph/ |
D | debugfs.c | 176 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show() local 202 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_size_show() local 379 static int congestion_kb_set(void *data, u64 val) in congestion_kb_set() 387 static int congestion_kb_get(void *data, u64 *val) in congestion_kb_get()
|
/linux-6.14.4/drivers/media/usb/pwc/ |
D | pwc-dec23.c | 71 unsigned int bit, byte, mask, val; in build_bit_powermask_table() local 352 const unsigned char *cm = pwc_crop_table+MAX_OUTER_CROP_VALUE; in copy_image_block_Y() local 407 const unsigned char *cm = pwc_crop_table+MAX_OUTER_CROP_VALUE; in copy_image_block_CrCb() local
|
/linux-6.14.4/drivers/net/phy/ |
D | marvell.c | 430 u16 val; in marvell_set_polarity() local 556 int val; in marvell_of_reg_init() local 1076 int val, cnt, enable; in m88e1111_get_downshift() local 1092 int val, err; in m88e1111_set_downshift() local 1140 int val, cnt, enable; in m88e1011_get_downshift() local 1156 int val, err; in m88e1011_set_downshift() local 1518 int val; in m88e1540_get_fld() local 1553 int val, ret; in m88e1540_set_fld() local 2080 int val; in marvell_get_stat() local 2099 int val; in marvell_get_stat_simple() local [all …]
|
/linux-6.14.4/drivers/net/ethernet/ti/ |
D | netcp_xgbepcsr.c | 35 u32 val; member 430 int lane, int cm, int c1, int c2) in netcp_xgbe_serdes_setup_cm_c1_c2() 485 u32 val; in netcp_xgbe_serdes_init() local
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 227 struct mlxsw_sp_sb_cm *cm; in mlxsw_sp_sb_cm_write() local 962 const struct mlxsw_sp_sb_cm *cm; in __mlxsw_sp_sb_cms_init() local 1427 int val; in mlxsw_sp_sb_threshold_in() local 1494 struct mlxsw_sp_sb_cm *cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, in mlxsw_sp_sb_tc_pool_bind_get() local 1513 const struct mlxsw_sp_sb_cm *cm; in mlxsw_sp_sb_tc_pool_bind_set() local 1571 struct mlxsw_sp_sb_cm *cm; in mlxsw_sp_sb_sr_occ_query_cb() local 1792 struct mlxsw_sp_sb_cm *cm = mlxsw_sp_sb_cm_get(mlxsw_sp, local_port, in mlxsw_sp_sb_occ_tc_port_bind_get() local
|
/linux-6.14.4/arch/x86/events/intel/ |
D | cstate.c | 321 u64 val; in cstate_pmu_read_counter() local 658 static int __init cstate_probe(const struct cstate_model *cm) in cstate_probe()
|
/linux-6.14.4/drivers/net/can/sja1000/ |
D | plx_pci.c | 401 static void plx_pci_write_reg(const struct sja1000_priv *priv, int port, u8 val) in plx_pci_write_reg() 618 u32 val; in plx_pci_add_card() local 657 struct plx_pci_channel_map *cm = &ci->chan_map_tbl[i]; in plx_pci_add_card() local
|
/linux-6.14.4/tools/testing/selftests/drivers/net/hw/ |
D | ncdevmem.c | 263 static const char *tcp_data_split_str(int val) in tcp_data_split_str() 525 struct cmsghdr *cm = NULL; in do_server() local
|