Home
last modified time | relevance | path

Searched +defs:val +defs:type (Results 26 – 50 of 1308) sorted by relevance

12345678910>>...53

/linux-6.14.4/drivers/hwmon/
Dmax1619.c55 static int max1619_temp_read(struct regmap *regmap, u32 attr, int channel, long *val) in max1619_temp_read()
108 static int max1619_chip_read(struct regmap *regmap, u32 attr, long *val) in max1619_chip_read()
132 static int max1619_read(struct device *dev, enum hwmon_sensor_types type, in max1619_read()
133 u32 attr, int channel, long *val) in max1619_read()
147 static int max1619_chip_write(struct regmap *regmap, u32 attr, long val) in max1619_chip_write()
159 u32 attr, int channel, long val) in max1619_temp_write()
183 static int max1619_write(struct device *dev, enum hwmon_sensor_types type, in max1619_write()
184 u32 attr, int channel, long val) in max1619_write()
198 static umode_t max1619_is_visible(const void *_data, enum hwmon_sensor_types type, in max1619_is_visible()
304 static int max1619_reg_read(void *context, unsigned int reg, unsigned int *val) in max1619_reg_read()
[all …]
Dmax127.c72 static int max127_read_channel(struct i2c_client *client, long *val) in max127_read_channel()
117 static int max127_read_input(struct max127_data *data, int channel, long *val) in max127_read_input()
141 static int max127_read_min(struct max127_data *data, int channel, long *val) in max127_read_min()
155 static int max127_read_max(struct max127_data *data, int channel, long *val) in max127_read_max()
169 static int max127_write_min(struct max127_data *data, int channel, long val) in max127_write_min()
191 static int max127_write_max(struct max127_data *data, int channel, long val) in max127_write_max()
206 enum hwmon_sensor_types type, in max127_is_visible()
226 static int max127_read(struct device *dev, enum hwmon_sensor_types type, in max127_read()
227 u32 attr, int channel, long *val) in max127_read()
256 static int max127_write(struct device *dev, enum hwmon_sensor_types type, in max127_write()
[all …]
Dlm95234.c58 enum chips type; member
92 static int lm95234_hyst_get(struct regmap *regmap, int reg, long *val) in lm95234_hyst_get()
105 static ssize_t lm95234_hyst_set(struct lm95234_data *data, long val) in lm95234_hyst_set()
132 static int lm95234_temp_write(struct device *dev, u32 attr, int channel, long val) in lm95234_temp_write()
174 static int lm95234_temp_read(struct device *dev, u32 attr, int channel, long *val) in lm95234_temp_read()
245 static int lm95234_chip_write(struct device *dev, u32 attr, long val) in lm95234_chip_write()
259 static int lm95234_chip_read(struct device *dev, u32 attr, long *val) in lm95234_chip_read()
279 static int lm95234_write(struct device *dev, enum hwmon_sensor_types type, in lm95234_write()
280 u32 attr, int channel, long val) in lm95234_write()
292 static int lm95234_read(struct device *dev, enum hwmon_sensor_types type, in lm95234_read()
[all …]
Dlan966x-hwmon.c78 static int lan966x_hwmon_read_temp(struct device *dev, long *val) in lan966x_hwmon_read_temp()
97 static int lan966x_hwmon_read_fan(struct device *dev, long *val) in lan966x_hwmon_read_fan()
116 static int lan966x_hwmon_read_pwm(struct device *dev, long *val) in lan966x_hwmon_read_pwm()
131 static int lan966x_hwmon_read_pwm_freq(struct device *dev, long *val) in lan966x_hwmon_read_pwm_freq()
153 static int lan966x_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in lan966x_hwmon_read()
154 u32 attr, int channel, long *val) in lan966x_hwmon_read()
175 static int lan966x_hwmon_write_pwm(struct device *dev, long val) in lan966x_hwmon_write_pwm()
187 static int lan966x_hwmon_write_pwm_freq(struct device *dev, long val) in lan966x_hwmon_write_pwm_freq()
203 static int lan966x_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in lan966x_hwmon_write()
204 u32 attr, int channel, long val) in lan966x_hwmon_write()
[all …]
Dlm92.c66 static inline s16 TEMP_TO_REG(long val, int resolution) in TEMP_TO_REG()
85 static int lm92_temp_read(struct lm92_data *data, u32 attr, int channel, long *val) in lm92_temp_read()
151 static int lm92_chip_read(struct lm92_data *data, u32 attr, long *val) in lm92_chip_read()
169 static int lm92_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in lm92_read()
170 int channel, long *val) in lm92_read()
184 static int lm92_temp_write(struct lm92_data *data, u32 attr, long val) in lm92_temp_write()
217 static int lm92_write(struct device *dev, enum hwmon_sensor_types type, in lm92_write()
218 u32 attr, int channel, long val) in lm92_write()
230 static umode_t lm92_is_visible(const void *_data, enum hwmon_sensor_types type, in lm92_is_visible()
333 static int lm92_reg_read(void *context, unsigned int reg, unsigned int *val) in lm92_reg_read()
[all …]
Daht10.c223 long val) in aht10_interval_write()
234 long *val) in aht10_interval_read()
243 static int aht10_temperature1_read(struct aht10_data *data, long *val) in aht10_temperature1_read()
258 static int aht10_humidity1_read(struct aht10_data *data, long *val) in aht10_humidity1_read()
270 static umode_t aht10_hwmon_visible(const void *data, enum hwmon_sensor_types type, in aht10_hwmon_visible()
284 static int aht10_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_read()
285 u32 attr, int channel, long *val) in aht10_hwmon_read()
301 static int aht10_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_write()
302 u32 attr, int channel, long val) in aht10_hwmon_write()
Dadm1177.c53 u64 val; in adm1177_write_alert_thr() local
71 static int adm1177_read(struct device *dev, enum hwmon_sensor_types type, in adm1177_read()
72 u32 attr, int channel, long *val) in adm1177_read()
121 static int adm1177_write(struct device *dev, enum hwmon_sensor_types type, in adm1177_write()
122 u32 attr, int channel, long val) in adm1177_write()
141 enum hwmon_sensor_types type, in adm1177_is_visible()
Daxi-fan-control.c63 static inline void axi_iowrite(const u32 val, const u32 reg, in axi_iowrite()
119 static int axi_fan_control_set_pwm_duty(const long val, in axi_fan_control_set_pwm_duty()
151 static int axi_fan_control_read_temp(struct device *dev, u32 attr, long *val) in axi_fan_control_read_temp()
172 static int axi_fan_control_read_fan(struct device *dev, u32 attr, long *val) in axi_fan_control_read_fan()
190 static int axi_fan_control_read_pwm(struct device *dev, u32 attr, long *val) in axi_fan_control_read_pwm()
203 static int axi_fan_control_write_pwm(struct device *dev, u32 attr, long val) in axi_fan_control_write_pwm()
216 enum hwmon_sensor_types type, in axi_fan_control_read_labels()
232 enum hwmon_sensor_types type, in axi_fan_control_read()
233 u32 attr, int channel, long *val) in axi_fan_control_read()
248 enum hwmon_sensor_types type, in axi_fan_control_write()
[all …]
Dmax1668.c54 static int max1668_read(struct device *dev, enum hwmon_sensor_types type, in max1668_read()
55 u32 attr, int channel, long *val) in max1668_read()
117 static int max1668_write(struct device *dev, enum hwmon_sensor_types type, in max1668_write()
118 u32 attr, int channel, long val) in max1668_write()
135 static umode_t max1668_is_visible(const void *_data, enum hwmon_sensor_types type, in max1668_is_visible()
229 static int max1668_reg_read(void *context, unsigned int reg, unsigned int *val) in max1668_reg_read()
241 static int max1668_reg_write(void *context, unsigned int reg, unsigned int val) in max1668_reg_write()
/linux-6.14.4/drivers/iio/light/
Dltr390.c182 struct iio_chan_spec const *chan, int *val, in ltr390_read_raw()
295 static int ltr390_set_gain(struct ltr390_data *data, int val) in ltr390_set_gain()
317 static int ltr390_set_int_time(struct ltr390_data *data, int val) in ltr390_set_int_time()
340 static int ltr390_set_samp_freq(struct ltr390_data *data, int val) in ltr390_set_samp_freq()
358 const int **vals, int *type, int *length, long mask) in ltr390_read_avail()
382 int val, int val2, long mask) in ltr390_write_raw()
410 static int ltr390_read_intr_prst(struct ltr390_data *data, int *val) in ltr390_read_intr_prst()
423 static int ltr390_write_intr_prst(struct ltr390_data *data, int val) in ltr390_write_intr_prst()
450 int *val, int *val2) in ltr390_read_threshold()
476 int val, int val2) in ltr390_write_threshold()
[all …]
Dvcnl4000.c432 static int vcnl4000_read_data(struct vcnl4000_data *data, u8 data_reg, int *val) in vcnl4000_read_data()
444 static int vcnl4000_write_data(struct vcnl4000_data *data, u8 data_reg, int val) in vcnl4000_write_data()
454 u8 rdy_mask, u8 data_reg, int *val) in vcnl4000_measure()
497 struct vcnl4200_channel *chan, int *val) in vcnl4200_measure()
523 static int vcnl4000_measure_light(struct vcnl4000_data *data, int *val) in vcnl4000_measure_light()
530 static int vcnl4200_measure_light(struct vcnl4000_data *data, int *val) in vcnl4200_measure_light()
535 static int vcnl4000_measure_proximity(struct vcnl4000_data *data, int *val) in vcnl4000_measure_proximity()
542 static int vcnl4200_measure_proximity(struct vcnl4000_data *data, int *val) in vcnl4200_measure_proximity()
547 static int vcnl4010_read_proxy_samp_freq(struct vcnl4000_data *data, int *val, in vcnl4010_read_proxy_samp_freq()
591 static int vcnl4040_read_als_it(struct vcnl4000_data *data, int *val, int *val2) in vcnl4040_read_als_it()
[all …]
/linux-6.14.4/drivers/iio/adc/
Dhi8435.c55 static int hi8435_readb(struct hi8435_priv *priv, u8 reg, u8 *val) in hi8435_readb()
61 static int hi8435_readw(struct hi8435_priv *priv, u8 reg, u16 *val) in hi8435_readw()
73 static int hi8435_readl(struct hi8435_priv *priv, u8 reg, u32 *val) in hi8435_readl()
85 static int hi8435_writeb(struct hi8435_priv *priv, u8 reg, u8 val) in hi8435_writeb()
93 static int hi8435_writew(struct hi8435_priv *priv, u8 reg, u16 val) in hi8435_writew()
104 int *val, int *val2, long mask) in hi8435_read_raw()
124 enum iio_event_type type, in hi8435_read_event_config()
134 enum iio_event_type type, in hi8435_write_event_config()
159 enum iio_event_type type, in hi8435_read_event_value()
162 int *val, int *val2) in hi8435_read_event_value()
[all …]
Dxilinx-xadc-events.c114 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_config()
123 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_config()
159 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_read_event_value()
161 int *val, int *val2) in xadc_read_event_value()
184 const struct iio_chan_spec *chan, enum iio_event_type type, in xadc_write_event_value()
186 int val, int val2) in xadc_write_event_value()
/linux-6.14.4/drivers/net/ethernet/netronome/nfp/
Dnfp_hwmon.c17 static int nfp_hwmon_sensor_id(enum hwmon_sensor_types type, int channel) in nfp_hwmon_sensor_id()
27 nfp_hwmon_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_read()
28 int channel, long *val) in nfp_hwmon_read()
31 enum hwmon_sensor_types type; in nfp_hwmon_read() member
33 long val; in nfp_hwmon_read() member
66 nfp_hwmon_is_visible(const void *data, enum hwmon_sensor_types type, u32 attr, in nfp_hwmon_is_visible()
/linux-6.14.4/arch/mips/include/asm/
Dio.h191 #define __BUILD_MEMORY_SINGLE(pfx, bwlq, type, barrier, relax, irq) \ argument
272 #define __BUILD_IOPORT_SINGLE(pfx, bwlq, type, barrier, relax) \ argument
314 #define __BUILD_MEMORY_PFX(bus, bwlq, type, relax) \ argument
318 #define BUILDIO_MEM(bwlq, type) \ argument
335 #define __BUILD_IOPORT_PFX(bus, bwlq, type) \ argument
338 #define BUILDIO_IOPORT(bwlq, type) \ argument
349 #define __BUILDIO(bwlq, type) \ argument
378 #define writeb_be(val, addr) \ argument
380 #define writew_be(val, addr) \ argument
382 #define writel_be(val, addr) \ argument
[all …]
/linux-6.14.4/drivers/iio/dummy/
Diio_simple_dummy_events.c32 enum iio_event_type type, in iio_simple_dummy_read_event_config()
54 enum iio_event_type type, in iio_simple_dummy_write_event_config()
120 enum iio_event_type type, in iio_simple_dummy_read_event_value()
123 int *val, int *val2) in iio_simple_dummy_read_event_value()
144 enum iio_event_type type, in iio_simple_dummy_write_event_value()
147 int val, int val2) in iio_simple_dummy_write_event_value()
/linux-6.14.4/drivers/base/power/
Dqos.c56 s32 val; in __dev_pm_qos_flags() local
110 s32 dev_pm_qos_read_value(struct device *dev, enum dev_pm_qos_req_type type) in dev_pm_qos_read_value()
323 enum dev_pm_qos_req_type type) in dev_pm_qos_invalid_req_type()
331 enum dev_pm_qos_req_type type, s32 value) in __dev_pm_qos_add_request()
390 enum dev_pm_qos_req_type type, s32 value) in dev_pm_qos_add_request()
537 enum dev_pm_qos_req_type type) in dev_pm_qos_add_notifier()
588 enum dev_pm_qos_req_type type) in dev_pm_qos_remove_notifier()
631 enum dev_pm_qos_req_type type, s32 value) in dev_pm_qos_add_ancestor_request()
661 enum dev_pm_qos_req_type type) in __dev_pm_qos_drop_user_request()
687 enum dev_pm_qos_req_type type) in dev_pm_qos_drop_user_request()
[all …]
/linux-6.14.4/arch/s390/tools/
Drelocs.c25 #define ELF_R_SYM(val) ELF64_R_SYM(val) argument
26 #define ELF_R_TYPE(val) ELF64_R_TYPE(val) argument
31 #define ElfW(type) _ElfW(ELF_BITS, type) argument
32 #define _ElfW(bits, type) __ElfW(bits, type) argument
33 #define __ElfW(bits, type) Elf##bits##_##type argument
63 #define le16_to_cpu(val) (val) argument
64 #define le32_to_cpu(val) (val) argument
65 #define le64_to_cpu(val) (val) argument
66 #define be16_to_cpu(val) bswap_16(val) argument
67 #define be32_to_cpu(val) bswap_32(val) argument
[all …]
/linux-6.14.4/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.c30 u32 val; in mobiveil_pcie_sel_page() local
52 static int mobiveil_pcie_read(void __iomem *addr, int size, u32 *val) in mobiveil_pcie_read()
77 static int mobiveil_pcie_write(void __iomem *addr, int size, u32 val) in mobiveil_pcie_write()
102 u32 val; in mobiveil_csr_read() local
114 void mobiveil_csr_write(struct mobiveil_pcie *pcie, u32 val, u32 off, in mobiveil_csr_write()
137 u64 cpu_addr, u64 pci_addr, u32 type, u64 size) in program_ib_windows()
174 u64 cpu_addr, u64 pci_addr, u32 type, u64 size) in program_ob_windows()
/linux-6.14.4/drivers/hwmon/peci/
Dcputemp.c115 static int get_temp_target(struct peci_cputemp *priv, enum peci_temp_target_type type, long *val) in get_temp_target()
155 static bool dts_valid(u16 val) in dts_valid()
164 static s32 dts_ten_dot_six_to_millidegree(u16 val) in dts_ten_dot_six_to_millidegree()
173 static s32 dts_eight_dot_eight_to_millidegree(u16 val) in dts_eight_dot_eight_to_millidegree()
178 static int get_die_temp(struct peci_cputemp *priv, long *val) in get_die_temp()
212 static int get_dts(struct peci_cputemp *priv, long *val) in get_dts()
250 static int get_core_temp(struct peci_cputemp *priv, int core_index, long *val) in get_core_temp()
288 static int cputemp_read_string(struct device *dev, enum hwmon_sensor_types type, in cputemp_read_string()
302 static int cputemp_read(struct device *dev, enum hwmon_sensor_types type, in cputemp_read()
303 u32 attr, int channel, long *val) in cputemp_read()
[all …]
/linux-6.14.4/samples/vfio-mdev/
Dmdpy.c39 #define STORE_LE16(addr, val) (*(u16 *)addr = val) argument
40 #define STORE_LE32(addr, val) (*(u32 *)addr = val) argument
51 struct mdev_type type; member
105 const struct mdpy_type *type; member
230 const struct mdpy_type *type = in mdpy_init_dev() local
313 u32 val; in mdpy_read() local
325 u16 val; in mdpy_read() local
337 u8 val; in mdpy_read() local
374 u32 val; in mdpy_write() local
386 u16 val; in mdpy_write() local
[all …]
/linux-6.14.4/arch/powerpc/perf/
D8xx-pmu.c74 int type = event_type(event); in mpc8xx_pmu_event_init() local
83 int type = event_type(event); in mpc8xx_pmu_add() local
84 s64 val = 0; in mpc8xx_pmu_add() local
121 int type = event_type(event); in mpc8xx_pmu_read() local
122 s64 prev, val = 0, delta = 0; in mpc8xx_pmu_read() local
/linux-6.14.4/arch/parisc/include/asm/
Duaccess.h23 #define LDD_USER(sr, val, ptr) __get_user_asm64(sr, val, ptr) argument
26 #define LDD_USER(sr, val, ptr) __get_user_asm(sr, val, "ldd", ptr) argument
30 #define __get_user_internal(sr, val, ptr) \ argument
45 #define __get_user(val, ptr) \ argument
50 #define __get_user_asm(sr, val, ldx, ptr) \ argument
63 #define __get_kernel_nofault(dst, src, type, err_label) \ argument
77 #define __get_user_asm64(sr, val, ptr) \ argument
121 #define __put_kernel_nofault(dst, src, type, err_label) \ argument
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_hdmi.c91 static u32 g4x_infoframe_index(unsigned int type) in g4x_infoframe_index()
108 static u32 g4x_infoframe_enable(unsigned int type) in g4x_infoframe_enable()
133 static u32 hsw_infoframe_enable(unsigned int type) in hsw_infoframe_enable()
163 unsigned int type, in hsw_dip_data_reg()
190 unsigned int type) in hsw_dip_data_size()
211 unsigned int type, in g4x_write_infoframe()
216 u32 val = intel_de_read(display, VIDEO_DIP_CTL); in g4x_write_infoframe() local
247 unsigned int type, in g4x_read_infoframe()
265 u32 val = intel_de_read(display, VIDEO_DIP_CTL); in g4x_infoframes_enabled() local
279 unsigned int type, in ibx_write_infoframe()
[all …]
/linux-6.14.4/scripts/kconfig/
Dsymbol.c47 enum symbol_type type = sym->type; in sym_get_type() local
54 const char *sym_type_name(enum symbol_type type) in sym_type_name()
165 long long val, val2; in sym_validate_range() local
353 tristate val; in sym_calc_choice() local
540 bool sym_tristate_within_range(const struct symbol *sym, tristate val) in sym_tristate_within_range()
542 int type = sym_get_type(sym); in sym_tristate_within_range() local
557 bool sym_set_tristate_value(struct symbol *sym, tristate val) in sym_set_tristate_value()
588 tristate val; in choice_set_value() local
695 long long val; in sym_string_within_range() local
737 char *val; in sym_set_string_value() local
[all …]

12345678910>>...53