Home
last modified time | relevance | path

Searched +defs:val +defs:path (Results 1 – 25 of 230) sorted by relevance

12345678910

/linux-6.14.4/drivers/net/ethernet/mediatek/
Dmtk_eth_path.c21 static const char *mtk_eth_path_name(u64 path) in mtk_eth_path_name()
43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw()
76 static int set_mux_gmac2_gmac0_to_gephy(struct mtk_eth *eth, u64 path) in set_mux_gmac2_gmac0_to_gephy()
78 unsigned int val = 0; in set_mux_gmac2_gmac0_to_gephy() local
99 static int set_mux_u3_gmac2_to_qphy(struct mtk_eth *eth, u64 path) in set_mux_u3_gmac2_to_qphy()
101 unsigned int val = 0, mask = 0, reg = 0; in set_mux_u3_gmac2_to_qphy() local
130 static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac1_gmac2_to_sgmii_rgmii()
132 unsigned int val = 0; in set_mux_gmac1_gmac2_to_sgmii_rgmii() local
168 static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, u64 path) in set_mux_gmac12_to_gephy_sgmii()
170 unsigned int val = 0; in set_mux_gmac12_to_gephy_sgmii() local
[all …]
/linux-6.14.4/drivers/net/wireless/realtek/rtw89/
Drtw8851b_rfk.c141 u8 path) in _adc_fifo_rst()
149 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl()
158 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl()
169 u8 path; in _wait_rx_mode() local
185 static void _dack_reset(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reset()
194 u32 val; in _drck() local
268 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path()
339 static void _dack_reload(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reload()
350 u32 val; in _addck() local
376 u32 val; in _new_dadck() local
[all …]
Drtw8852bt_rfk.c134 static void _rfk_get_thermal(struct rtw89_dev *rtwdev, u8 kidx, enum rtw89_rf_path path) in _rfk_get_thermal()
235 u8 val; in _kpath() local
252 void _txck_force(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, bool force, in _txck_force()
265 void _rxck_force(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, bool force, in _rxck_force()
297 enum rtw89_rf_path path, u8 kpath) in _rfk_bb_afe_setting()
341 enum rtw89_rf_path path, u8 kpath) in _rfk_bb_afe_restore()
370 enum rtw89_rf_path path) in _set_rx_dck()
380 u8 path, dck_tune; in _rx_dck() local
410 static void _rck(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _rck()
414 u32 val; in _rck() local
[all …]
Drtw8852b_rfk.c235 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl()
244 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl()
252 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal()
255 u32 val; in _iqk_check_cal() local
278 u8 val; in _kpath() local
295 enum rtw89_rf_path path) in _set_rx_dck()
305 u8 path, dck_tune; in _rx_dck() local
335 static void _rck(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _rck()
339 u32 val; in _rck() local
380 u32 val; in _drck() local
[all …]
Drtw8852c_rfk.c153 u8 path; in _wait_rx_mode() local
304 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path()
361 static void _dack_reload(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reload()
372 u32 val; in _addck() local
407 static void _dack_reset(struct rtw89_dev *rtwdev, u8 path) in _dack_reset()
443 static void rtw8852c_txck_force(struct rtw89_dev *rtwdev, u8 path, bool force, in rtw8852c_txck_force()
455 static void rtw8852c_rxck_force(struct rtw89_dev *rtwdev, u8 path, bool force, in rtw8852c_rxck_force()
570 u32 val; in _drck() local
648 static void rtw8852c_disable_rxagc(struct rtw89_dev *rtwdev, u8 path, u8 en_rxgac) in rtw8852c_disable_rxagc()
656 static void _iqk_rxk_setting(struct rtw89_dev *rtwdev, u8 path) in _iqk_rxk_setting()
[all …]
Drtw8852a_rfk.c94 u8 path; in _wait_rx_mode() local
254 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path()
312 static void _dack_reload(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _dack_reload()
325 static void _check_addc(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _check_addc()
351 u32 val; in _addck() local
395 static void _check_dadc(struct rtw89_dev *rtwdev, enum rtw89_rf_path path) in _check_dadc()
411 u32 val; in _dack_s0() local
452 u32 val; in _dack_s1() local
552 static void _iqk_read_fft_dbcc0(struct rtw89_dev *rtwdev, u8 path) in _iqk_read_fft_dbcc0()
575 static void _iqk_read_xym_dbcc0(struct rtw89_dev *rtwdev, u8 path) in _iqk_read_xym_dbcc0()
[all …]
Drtw8922a.c582 u16 val; in rtw8922a_read_efuse_mac_addr() local
654 s8 val; in rtw8922a_phycap_parsing_thermal_trim() local
687 u8 val; in rtw8922a_phycap_parsing_pa_bias_trim() local
1011 enum rtw89_rf_path path, in rtw8922a_set_rpl_gain()
1018 s32 val; in rtw8922a_set_rpl_gain() local
1056 enum rtw89_rf_path path, in rtw8922a_set_lna_tia_gain()
1062 s32 val; in rtw8922a_set_lna_tia_gain() local
1121 enum rtw89_rf_path path, in rtw8922a_set_gain()
1130 enum rtw89_rf_path path) in rtw8922a_set_rx_gain_normal_cck()
1157 enum rtw89_rf_path path) in rtw8922a_set_rx_gain_normal_ofdm()
[all …]
/linux-6.14.4/tools/power/cpupower/utils/helpers/
Dmisc.c22 unsigned long long val; in cpufreq_has_boost_support() local
54 char path[SYSFS_PATH_MAX]; in cpupower_intel_get_perf_bias() local
55 unsigned long val; in cpupower_intel_get_perf_bias() local
73 int cpupower_intel_set_perf_bias(unsigned int cpu, unsigned int val) in cpupower_intel_set_perf_bias()
75 char path[SYSFS_PATH_MAX]; in cpupower_intel_set_perf_bias() local
92 char path[SYSFS_PATH_MAX]; in cpupower_set_epp() local
111 char path[SYSFS_PATH_MAX]; in cpupower_set_amd_pstate_mode() local
129 char path[SYSFS_PATH_MAX]; in cpupower_set_turbo_boost() local
/linux-6.14.4/tools/power/cpupower/lib/
Dpowercap.c18 static unsigned int sysfs_read_file(const char *path, char *buf, size_t buflen) in sysfs_read_file()
39 static int sysfs_get_enabled(char *path, int *mode) in sysfs_get_enabled()
75 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP "/intel-rapl/enabled"; in powercap_get_enabled() local
126 uint64_t *val) in sysfs_powercap_get64_val()
146 int powercap_get_max_energy_range_uj(struct powercap_zone *zone, uint64_t *val) in powercap_get_max_energy_range_uj()
151 int powercap_get_energy_uj(struct powercap_zone *zone, uint64_t *val) in powercap_get_energy_uj()
156 int powercap_get_max_power_range_uw(struct powercap_zone *zone, uint64_t *val) in powercap_get_max_power_range_uw()
161 int powercap_get_power_uw(struct powercap_zone *zone, uint64_t *val) in powercap_get_power_uw()
168 char path[SYSFS_PATH_MAX] = PATH_TO_POWERCAP; in powercap_zone_get_enabled() local
196 uint64_t val = 0; in powercap_read_zone() local
/linux-6.14.4/sound/pci/hda/
Dhda_generic.c108 int val; in parse_user_hints() local
205 #define update_pin_ctl(codec, pin, val) \ argument
217 unsigned int val, bool do_write) in set_pin_target()
229 hda_nid_t *pins, unsigned int val) in set_pin_targets()
251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained()
261 struct nid_path *path; in get_nid_path() local
287 int snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) in snd_hda_get_path_idx()
322 const struct nid_path *path; in is_dac_already_used() local
345 static bool is_ctl_used(struct hda_codec *codec, unsigned int val, int type) in is_ctl_used()
348 const struct nid_path *path; in is_ctl_used() local
[all …]
/linux-6.14.4/tools/testing/selftests/net/lib/py/
Dnsim.py34 def dfs_write(self, path, val): argument
43 def ctrl_write(path, val): argument
48 def dfs_write(self, path, val): argument
/linux-6.14.4/tools/testing/selftests/sched_ext/
Dutil.c14 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text()
33 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
47 long file_read_long(const char *path) in file_read_long()
58 int file_write_long(const char *path, long val) in file_write_long()
/linux-6.14.4/drivers/net/wireless/realtek/rtw88/
Drtw8822c.c112 u32 path, i; in rtw8822c_dac_backup_reg() local
113 u32 val; in rtw8822c_dac_backup_reg() local
141 u32 path, i; in rtw8822c_dac_restore_reg() local
142 u32 val; in rtw8822c_dac_restore_reg() local
210 static void rtw8822c_dac_iq_offset(struct rtw_dev *rtwdev, u32 *vec, u32 *val) in rtw8822c_dac_iq_offset()
236 static u32 rtw8822c_get_path_write_addr(u8 path) in rtw8822c_get_path_write_addr()
255 static u32 rtw8822c_get_path_read_addr(u8 path) in rtw8822c_get_path_read_addr()
395 u8 path, u32 *adc_ic, u32 *adc_qc) in rtw8822c_dac_cal_adc()
472 static void rtw8822c_dac_cal_step1(struct rtw_dev *rtwdev, u8 path) in rtw8822c_dac_cal_step1()
518 u8 path, u32 *ic_out, u32 *qc_out) in rtw8822c_dac_cal_step2()
[all …]
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7996/
Deeprom.c13 u16 val = get_unaligned_le16(eeprom); in mt7996_check_eeprom() local
59 mt7996_eeprom_parse_stream(const u8 *eeprom, u8 band_idx, u8 *path, in mt7996_eeprom_parse_stream()
112 u8 path, rx_path, nss; in mt7996_eeprom_variant_valid() local
216 u8 *path, u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_efuse_hw_cap()
248 u32 val = eeprom[MT_EE_WIFI_CONF]; in mt7996_eeprom_parse_band_config() local
284 u8 path, rx_path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local
356 u32 val; in mt7996_eeprom_get_power_delta() local
/linux-6.14.4/tools/testing/selftests/mm/
Dthp_settings.c46 int read_file(const char *path, char *buf, size_t buflen) in read_file()
67 int write_file(const char *path, const char *buf, size_t buflen) in write_file()
90 unsigned long read_num(const char *path) in read_num()
102 void write_num(const char *path, unsigned long num) in write_num()
115 char path[PATH_MAX]; in thp_read_string() local
158 void thp_write_string(const char *name, const char *val) in thp_write_string()
160 char path[PATH_MAX]; in thp_write_string() local
177 char path[PATH_MAX]; in thp_read_num() local
190 char path[PATH_MAX]; in thp_write_num() local
205 char path[PATH_MAX]; in thp_read_settings() local
[all …]
/linux-6.14.4/drivers/thunderbolt/
Dtunnel.c314 static int tb_pci_init_path(struct tb_path *path) in tb_pci_init_path()
351 struct tb_path *path; in tb_tunnel_discover_pci() local
431 struct tb_path *path; in tb_tunnel_alloc_pci() local
519 u32 val; in tb_dp_cm_handshake() local
555 static inline u32 tb_dp_cap_get_rate(u32 val) in tb_dp_cap_get_rate()
578 static inline u32 tb_dp_cap_get_rate_ext(u32 val) in tb_dp_cap_get_rate_ext()
595 static inline u32 tb_dp_cap_set_rate(u32 val, u32 rate) in tb_dp_cap_set_rate()
618 static inline u32 tb_dp_cap_get_lanes(u32 val) in tb_dp_cap_get_lanes()
634 static inline u32 tb_dp_cap_set_lanes(u32 val, u32 lanes) in tb_dp_cap_set_lanes()
961 u32 val; in tb_dp_wait_dprx() local
[all …]
/linux-6.14.4/tools/verification/rv/src/
Din_kernel.c34 char path[MAX_PATH]; in __ikm_read_enable() local
74 char path[MAX_PATH]; in ikm_write_enable() local
117 char path[MAX_PATH]; in ikm_read_desc() local
170 char path[MAX_PATH]; in ikm_write_reactor() local
188 char path[MAX_PATH]; in ikm_read_reactor() local
247 char path[MAX_PATH]; in ikm_has_id() local
347 int val; in ikm_event_handler() local
396 int val; in ikm_error_handler() local
/linux-6.14.4/tools/bootconfig/
Dmain.c21 const char *val, *eol; in xbc_show_value() local
114 const char *val; in xbc_show_list() local
151 static int load_xbc_file(const char *path, char **buf) in load_xbc_file()
281 static int show_xbc(const char *path, bool list) in show_xbc()
328 static int delete_xbc(const char *path) in delete_xbc()
360 static int apply_xbc(const char *path, const char *xbc_path) in apply_xbc()
488 char *path = NULL; in main() local
/linux-6.14.4/tools/perf/tests/
Dapi-io.c19 #define EXPECT_EQUAL(val, expected) \ argument
28 #define EXPECT_EQUAL64(val, expected) \ argument
90 char path[PATH_MAX]; in do_test_get_char() local
137 char path[PATH_MAX]; in do_test_get_hex() local
218 char path[PATH_MAX]; in do_test_get_dec() local
295 char path[PATH_MAX]; in test_get_line() local
/linux-6.14.4/drivers/interconnect/
Ddebugfs-client.c35 struct icc_path *path; member
41 struct debugfs_path *path; in get_path() local
51 static int icc_get_set(void *data, u64 val) in icc_get_set()
114 static int icc_commit_set(void *data, u64 val) in icc_commit_set()
/linux-6.14.4/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c51 csc_en = 0, val = 0, in fmt_to_reg() local
122 struct mmp_path *path = overlay->path; in dmafetch_set_fmt() local
171 struct mmp_path *path = overlay->path; in dmafetch_onoff() local
181 static void path_enabledisable(struct mmp_path *path, int on) in path_enabledisable()
194 static void path_onoff(struct mmp_path *path, int on) in path_onoff()
252 static void path_set_mode(struct mmp_path *path, struct mmp_mode *mode) in path_set_mode()
345 static void path_set_default(struct mmp_path *path) in path_set_default()
400 struct mmp_path *path = NULL; in path_init() local
/linux-6.14.4/tools/thermal/tmon/
Dsysfs.c33 int sysfs_set_ulong(char *path, char *filename, unsigned long val) in sysfs_set_ulong()
57 static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong) in sysfs_get_ulong()
76 static int sysfs_get_string(char *path, char *filename, char *str) in sysfs_get_string()
96 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev()
512 unsigned long val; in update_thermal_data() local
/linux-6.14.4/sound/xen/
Dxen_snd_front_cfg.c151 const char *path, struct snd_pcm_hardware *pcm_hw) in cfg_hw_rates()
187 const char *path, struct snd_pcm_hardware *pcm_hw) in cfg_formats()
239 static void cfg_read_pcm_hw(const char *path, in cfg_read_pcm_hw()
244 int val; in cfg_read_pcm_hw() local
291 static int cfg_get_stream_type(const char *path, int index, in cfg_get_stream_type()
333 const char *path, int index, int *cur_pb, int *cur_cap, in cfg_stream()
386 const char *path, int node_index, int *stream_cnt) in cfg_device()
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-core.c78 static struct coresight_device *coresight_get_source(struct list_head *path) in coresight_get_source()
373 static void coresight_disable_path_from(struct list_head *path, in coresight_disable_path_from()
424 void coresight_disable_path(struct list_head *path) in coresight_disable_path()
449 int coresight_enable_path(struct list_head *path, enum cs_mode mode, in coresight_enable_path()
512 struct coresight_device *coresight_get_sink(struct list_head *path) in coresight_get_sink()
671 struct list_head *path) in _coresight_build_path()
732 struct list_head *path; in coresight_build_path() local
760 void coresight_release_path(struct list_head *path) in coresight_release_path()
1111 u32 val; in coresight_timeout_action() local
1157 u32 val, u32 offset) in coresight_relaxed_write32()
[all …]
/linux-6.14.4/drivers/tty/hvc/
Dhvc_iucv.c69 struct iucv_path *path; /* IUCV path pointer */ member
589 struct iucv_path *path; in hvc_iucv_hangup() local
670 struct iucv_path *path; in hvc_iucv_dtr_rts() local
783 static int hvc_iucv_path_pending(struct iucv_path *path, u8 *ipvmid, in hvc_iucv_path_pending()
882 static void hvc_iucv_path_severed(struct iucv_path *path, u8 *ipuser) in hvc_iucv_path_severed()
900 static void hvc_iucv_msg_pending(struct iucv_path *path, in hvc_iucv_msg_pending()
948 static void hvc_iucv_msg_complete(struct iucv_path *path, in hvc_iucv_msg_complete()
1173 static int hvc_iucv_setup_filter(const char *val) in hvc_iucv_setup_filter()
1239 static int param_set_vmidfilter(const char *val, const struct kernel_param *kp) in param_set_vmidfilter()
1410 static int __init hvc_iucv_config(char *val) in hvc_iucv_config()

12345678910