Home
last modified time | relevance | path

Searched +defs:val +defs:ext (Results 1 – 25 of 97) sorted by relevance

1234

/linux-6.14.4/drivers/extcon/
Dextcon-intel-cht-wc.c117 static int cht_wc_extcon_get_id(struct cht_wc_extcon_data *ext, int pwrsrc_sts) in cht_wc_extcon_get_id()
143 static int cht_wc_extcon_get_charger(struct cht_wc_extcon_data *ext, in cht_wc_extcon_get_charger()
205 static void cht_wc_extcon_set_phymux(struct cht_wc_extcon_data *ext, u8 state) in cht_wc_extcon_set_phymux()
214 static void cht_wc_extcon_set_5v_boost(struct cht_wc_extcon_data *ext, in cht_wc_extcon_set_5v_boost()
217 int ret, val; in cht_wc_extcon_set_5v_boost() local
232 static void cht_wc_extcon_set_otgmode(struct cht_wc_extcon_data *ext, in cht_wc_extcon_set_otgmode()
235 unsigned int val = enable ? CHT_WC_CHGRCTRL1_OTGMODE : 0; in cht_wc_extcon_set_otgmode() local
256 static void cht_wc_extcon_enable_charging(struct cht_wc_extcon_data *ext, in cht_wc_extcon_enable_charging()
259 unsigned int val = enable ? 0 : CHT_WC_CHGDISCTRL_OUT; in cht_wc_extcon_enable_charging() local
269 static void cht_wc_extcon_set_state(struct cht_wc_extcon_data *ext, in cht_wc_extcon_set_state()
[all …]
/linux-6.14.4/drivers/power/supply/
Dcros_charge-control.c111 const struct power_supply_ext *ext, in cros_chctl_psy_ext_get_prop()
114 union power_supply_propval *val) in cros_chctl_psy_ext_get_prop()
135 int val) in cros_chctl_psy_ext_set_threshold()
167 const struct power_supply_ext *ext, in cros_chctl_psy_ext_set_prop()
170 const union power_supply_propval *val) in cros_chctl_psy_ext_set_prop()
193 const struct power_supply_ext *ext, in cros_chctl_psy_prop_is_writeable()
Dtest_power.c46 union power_supply_propval *val) in test_power_get_ac_property()
60 union power_supply_propval *val) in test_power_get_usb_property()
74 union power_supply_propval *val) in test_power_get_battery_property()
148 const union power_supply_propval *val) in test_power_set_battery_property()
250 const struct power_supply_ext *ext, in test_power_battery_extget_property()
253 union power_supply_propval *val) in test_power_battery_extget_property()
269 const struct power_supply_ext *ext, in test_power_battery_extset_property()
272 const union power_supply_propval *val) in test_power_battery_extset_property()
288 const struct power_supply_ext *ext, in test_power_battery_extproperty_is_writeable()
Dpower_supply_core.c413 union power_supply_propval *val; member
429 union power_supply_propval *val) in power_supply_get_property_from_supplier()
930 union power_supply_propval *val) in power_supply_battery_info_get_prop()
1253 union power_supply_propval *val) in power_supply_get_property()
1281 const union power_supply_propval *val) in power_supply_set_property()
1358 int power_supply_register_extension(struct power_supply *psy, const struct power_supply_ext *ext, in power_supply_register_extension()
1406 void power_supply_unregister_extension(struct power_supply *psy, const struct power_supply_ext *ext) in power_supply_unregister_extension()
1451 union power_supply_propval val; in power_supply_read_temp() local
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Dsoc15_common.h50 #define WREG32_FIELD15(ip, idx, reg, field, val) \ argument
58 #define WREG32_FIELD15_PREREG(ip, idx, reg_name, field, val) \ argument
184 #define WREG32_FIELD15_RLC(ip, idx, reg, field, val) \ argument
198 #define RREG32_SOC15_EXT(ip, inst, reg, ext) \ argument
202 #define WREG32_SOC15_EXT(ip, inst, reg, ext, value) \ argument
207 #define RREG64_MCA(ext, mca_base, idx) \ argument
210 #define WREG64_MCA(ext, mca_base, idx, val) \ argument
/linux-6.14.4/drivers/i2c/busses/
Di2c-octeon-core.c103 u64 val; in octeon_i2c_hlc_enable() local
481 u64 ext = 0; in octeon_i2c_hlc_write() local
521 u64 ext = 0; in octeon_i2c_hlc_comp_read() local
560 u64 cmd, ext = 0; in octeon_i2c_hlc_comp_write() local
794 static void octeon_i2c_set_scl(struct i2c_adapter *adap, int val) in octeon_i2c_set_scl()
/linux-6.14.4/include/net/netfilter/
Dnf_tables.h144 static inline void nft_reg_store8(u32 *dreg, u8 val) in nft_reg_store8()
155 static inline void nft_reg_store16(u32 *dreg, u16 val) in nft_reg_store16()
161 static inline void nft_reg_store_be16(u32 *dreg, __be16 val) in nft_reg_store_be16()
181 static inline void nft_reg_store64(u64 *dreg, u64 val) in nft_reg_store64()
295 struct nft_data val; member
299 struct nft_data val; member
303 struct nft_data val; member
780 static inline void nft_set_ext_init(struct nft_set_ext *ext, in nft_set_ext_init()
786 static inline bool __nft_set_ext_exists(const struct nft_set_ext *ext, u8 id) in __nft_set_ext_exists()
791 static inline bool nft_set_ext_exists(const struct nft_set_ext *ext, u8 id) in nft_set_ext_exists()
[all …]
/linux-6.14.4/net/netfilter/
Dnft_set_hash.c34 struct nft_set_ext ext; member
85 const u32 *key, const struct nft_set_ext **ext) in nft_rhash_lookup()
130 const struct nft_set_ext **ext) in nft_rhash_update()
304 struct nft_set_ext *ext) in nft_rhash_expr_needs_gc_run()
479 u64 val = div_u64((u64)size * 4, 3); in nft_hash_buckets() local
506 struct nft_set_ext ext; member
511 const u32 *key, const struct nft_set_ext **ext) in nft_hash_lookup()
552 const u32 *key, const struct nft_set_ext **ext) in nft_hash_lookup_fast()
574 const struct nft_set_ext *ext) in nft_jhash()
/linux-6.14.4/drivers/hid/
Dhid-wiimote-modules.c201 union power_supply_propval *val) in wiimod_battery_get_property()
820 static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_nunchuk_in_ext()
1044 static void wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_classic_in_ext()
1317 const __u8 *ext) in wiimod_bboard_in_ext()
1319 __s32 val[4], tmp, div; in wiimod_bboard_in_ext() local
1419 __u16 val; in wiimod_bboard_calib_show() local
1623 static void wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_pro_in_ext()
1994 static void wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_drums_in_ext()
2223 static void wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_guitar_in_ext()
2439 static void wiimod_turntable_in_ext(struct wiimote_data *wdata, const __u8 *ext) in wiimod_turntable_in_ext()
[all …]
/linux-6.14.4/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c252 u32 val; in atl1c_wait_mdio_idle() local
276 u32 val; in atl1c_start_phy_polling() local
302 int atl1c_read_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, in atl1c_read_phy_core()
305 u32 val; in atl1c_read_phy_core() local
351 int atl1c_write_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, in atl1c_write_phy_core()
354 u32 val; in atl1c_write_phy_core() local
/linux-6.14.4/sound/pci/ac97/
Dac97_proc.c95 unsigned short val, tmp, ext, mext; in snd_ac97_proc_read_main() local
367 unsigned int reg, val; in snd_ac97_proc_regs_write() local
382 int reg, val; in snd_ac97_proc_regs_read_main() local
/linux-6.14.4/drivers/net/ethernet/atheros/alx/
Dhw.c48 u32 val; in alx_wait_mdio_idle() local
61 static int alx_read_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_read_phy_core()
64 u32 val, clk_sel; in alx_read_phy_core() local
98 static int alx_write_phy_core(struct alx_hw *hw, bool ext, u8 dev, in alx_write_phy_core()
101 u32 val, clk_sel; in alx_write_phy_core() local
239 u32 val; in alx_get_phy_config() local
259 static bool alx_wait_reg(struct alx_hw *hw, u32 reg, u32 wait, u32 *val) in alx_wait_reg()
293 u32 val; in alx_get_perm_macaddr() local
326 u32 val; in alx_set_macaddr() local
337 u32 val, val2; in alx_reset_osc() local
[all …]
/linux-6.14.4/drivers/counter/
Dcounter-sysfs.c748 const struct counter_comp *const ext, in counter_ext_attrs_create()
770 struct counter_comp ext = *comp; in counter_array_attrs_create() local
810 const struct counter_comp *ext; in counter_sysfs_exts_add() local
1006 static int counter_num_signals_read(struct counter_device *counter, u8 *val) in counter_num_signals_read()
1012 static int counter_num_counts_read(struct counter_device *counter, u8 *val) in counter_num_counts_read()
1019 u64 *val) in counter_events_queue_size_read()
1026 u64 val) in counter_events_queue_size_write()
/linux-6.14.4/net/9p/
Dprotocol.c113 const char *ext = va_arg(ap, const char *); in p9_msg_buf_size() local
267 int8_t *val = va_arg(ap, int8_t *); in p9pdu_vreadf() local
275 int16_t *val = va_arg(ap, int16_t *); in p9pdu_vreadf() local
285 int32_t *val = va_arg(ap, int32_t *); in p9pdu_vreadf() local
295 int64_t *val = va_arg(ap, int64_t *); in p9pdu_vreadf() local
535 int8_t val = va_arg(ap, int); in p9pdu_vwritef() local
541 __le16 val = cpu_to_le16(va_arg(ap, int)); in p9pdu_vwritef() local
547 __le32 val = cpu_to_le32(va_arg(ap, int32_t)); in p9pdu_vwritef() local
553 __le64 val = cpu_to_le64(va_arg(ap, int64_t)); in p9pdu_vwritef() local
573 __le32 val = cpu_to_le32( in p9pdu_vwritef() local
[all …]
/linux-6.14.4/net/ipv4/
Dtcp_dctcp.c62 static int dctcp_shift_g_set(const char *val, const struct kernel_param *kp) in dctcp_shift_g_set()
215 static size_t dctcp_get_info(struct sock *sk, u32 ext, int *attr, in dctcp_get_info()
/linux-6.14.4/drivers/media/usb/go7007/
Dgo7007-fw.c60 #define CODE_ADD(name, val, length) do { \ argument
524 static int mpeg1_sequence_header(struct go7007 *go, unsigned char *buf, int ext) in mpeg1_sequence_header()
771 static int mpeg4_sequence_header(struct go7007 *go, unsigned char *buf, int ext) in mpeg4_sequence_header()
1200 unsigned char *buf, int ext)) in seqhead_to_package()
/linux-6.14.4/drivers/staging/media/atomisp/pci/hive_isp_css_common/
Ddma_global.h59 #define DMA_PROP_SHIFT(val, param) ((val) << _DMA_V2_ ## param ## _IDX) argument
61 #define DMA_PACK(val, param) DMA_PROP_SHIFT((val) & DMA_PROP_MASK(param), param) argument
66 #define DMA_PACK_EXTENSION(ext) DMA_PACK(ext, EXTENSION) argument
73 #define DMA_PACK_SETUP(conn, ext) ((conn) | DMA_PACK_EXTENSION(ext)) argument
/linux-6.14.4/drivers/iio/dac/
Dad5446.c111 unsigned int val; in ad5446_write_dac_powerdown() local
147 #define _AD5446_CHANNEL(bits, storage, _shift, ext) { \ argument
171 int *val, in ad5446_read_raw()
191 int val, in ad5446_write_raw()
265 static int ad5446_write(struct ad5446_state *st, unsigned val) in ad5446_write()
273 static int ad5660_write(struct ad5446_state *st, unsigned val) in ad5660_write()
489 static int ad5622_write(struct ad5446_state *st, unsigned val) in ad5622_write()
/linux-6.14.4/drivers/hwmon/
Dadm1031.c198 #define TEMP_TO_REG(val) (((val) < 0 ? ((val - 500) / 1000) : \ argument
201 #define TEMP_FROM_REG(val) ((val) * 1000) argument
203 #define TEMP_FROM_REG_EXT(val, ext) (TEMP_FROM_REG(val) + (ext) * 125) argument
205 #define TEMP_OFFSET_TO_REG(val) (TEMP_TO_REG(val) & 0x8f) argument
206 #define TEMP_OFFSET_FROM_REG(val) TEMP_FROM_REG((val) < 0 ? \ argument
221 #define PWM_TO_REG(val) (clamp_val((val), 0, 255) >> 4) argument
222 #define PWM_FROM_REG(val) ((val) << 4) argument
225 #define FAN_CHAN_TO_REG(val, reg) \ argument
228 #define AUTO_TEMP_MIN_TO_REG(val, reg) \ argument
242 static int AUTO_TEMP_MAX_TO_REG(int val, int reg, int pwm) in AUTO_TEMP_MAX_TO_REG()
[all …]
/linux-6.14.4/include/linux/
Dcleanup.h211 const volatile void * __must_check_fn(const volatile void *val) in __must_check_fn()
250 #define EXTEND_CLASS(_name, ext, _init, _init_args...) \ argument
/linux-6.14.4/kernel/gcov/
Dfs.c76 unsigned long val; in gcov_persist_setup() local
413 static char *link_target(const char *dir, const char *path, const char *ext) in link_target()
440 static char *get_link_target(const char *filename, const struct gcov_link *ext) in get_link_target()
/linux-6.14.4/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.c42 u32 val, u32 off) in enet_writel()
56 u32 val, u32 off) in enetsw_writel()
67 u16 val, u32 off) in enetsw_writew()
78 u8 val, u32 off) in enetsw_writeb()
91 u32 val, u32 off) in enet_dma_writel()
103 u32 val, u32 off, int chan) in enet_dmac_writel()
115 u32 val, u32 off, int chan) in enet_dmas_writel()
151 u32 tmp, val; in bcm_enet_mdio_read() local
670 u32 val; in bcm_enet_set_mac_address() local
694 u32 val; in bcm_enet_set_multicast_list() local
[all …]
/linux-6.14.4/arch/powerpc/platforms/cell/
Dinterrupt.c233 unsigned int node, ext, unit, class; in iic_host_xlate() local
234 const u32 *val; in iic_host_xlate() local
/linux-6.14.4/arch/arm/include/asm/
Dpgtable-3level.h171 #define set_pte_ext(ptep,pte,ext) cpu_set_pte_ext(ptep,__pte(pte_val(pte)|(ext))) argument
176 #define pmd_isset(pmd, val) ((u32)(val) == (val) ? pmd_val(pmd) & (val) \ argument
178 #define pmd_isclear(pmd, val) (!(pmd_val(pmd) & (val))) argument
/linux-6.14.4/drivers/ptp/
Dptp_ocp.c452 #define bp_assign_entry(bp, res, val) ({ \ argument
1156 ptp_ocp_sma_set_inputs(struct ptp_ocp *bp, int sma_nr, u32 val) in ptp_ocp_sma_set_inputs()
1162 ptp_ocp_sma_set_output(struct ptp_ocp *bp, int sma_nr, u32 val) in ptp_ocp_sma_set_output()
1168 ptp_ocp_select_name_from_val(const struct ocp_selector *tbl, int val) in ptp_ocp_select_name_from_val()
1374 struct ptp_ocp_ext_src *ext = NULL; in ptp_ocp_enable() local
1504 ptp_ocp_utc_distribute(struct ptp_ocp *bp, u32 val) in ptp_ocp_utc_distribute()
2025 struct ptp_ocp_ext_src *ext = priv; in ptp_ocp_signal_irq() local
2119 struct ptp_ocp_ext_src *ext = priv; in ptp_ocp_signal_enable() local
2160 struct ptp_ocp_ext_src *ext = priv; in ptp_ocp_ts_irq() local
2194 struct ptp_ocp_ext_src *ext = priv; in ptp_ocp_ts_enable() local
[all …]

1234