Home
last modified time | relevance | path

Searched +defs:val +defs:buf (Results 326 – 350 of 2049) sorted by relevance

1...<<11121314151617181920>>...82

/linux-6.14.4/drivers/hwmon/
Dsg2042-mcu.c61 char *buf) in reset_count_show()
75 char *buf) in uptime_show()
92 char *buf) in reset_reason_show()
106 char *buf) in repower_policy_show()
128 const char *buf, size_t count) in repower_policy_store()
186 u32 attr, int channel, long *val) in sg2042_mcu_read()
216 u32 attr, int channel, long val) in sg2042_mcu_write()
Dadt7310.c49 u8 buf[3]; in adt7310_spi_write_word() local
64 u8 buf[2]; in adt7310_spi_write_byte() local
83 static int adt7310_reg_read(void *context, unsigned int reg, unsigned int *val) in adt7310_reg_read()
105 static int adt7310_reg_write(void *context, unsigned int reg, unsigned int val) in adt7310_reg_write()
/linux-6.14.4/drivers/memory/
Ddfl-emif.c61 struct device_attribute *attr, char *buf) in emif_state_show()
65 u64 val; in emif_state_show() local
75 const char *buf, size_t count) in emif_clear_store()
79 u64 clear_busy_msk, clear_en_msk, val; in emif_clear_store() local
190 u64 val; in dfl_emif_visible() local
/linux-6.14.4/drivers/iio/resolver/
Dad2s1210.c196 unsigned int val) in ad2s1210_regmap_reg_write()
242 unsigned int *val) in ad2s1210_regmap_reg_read()
448 int *val) in ad2s1210_single_conversion()
525 static int ad2s1210_get_hysteresis(struct ad2s1210_state *st, int *val) in ad2s1210_get_hysteresis()
539 static int ad2s1210_set_hysteresis(struct ad2s1210_state *st, int val) in ad2s1210_set_hysteresis()
548 int *val, int *val2) in ad2s1210_get_phase_lock_range()
572 int val, int val2) in ad2s1210_set_phase_lock_range()
600 unsigned int reg, int *val) in ad2s1210_get_voltage_threshold()
615 unsigned int reg, int val) in ad2s1210_set_voltage_threshold()
626 int *val, int *val2) in ad2s1210_get_lot_high_threshold()
[all …]
/linux-6.14.4/drivers/usb/misc/
Dlvstest.c102 struct device_attribute *attr, const char *buf, size_t count) in u3_entry_store()
131 struct device_attribute *attr, const char *buf, size_t count) in u3_exit_store()
160 struct device_attribute *attr, const char *buf, size_t count) in hot_reset_store()
179 struct device_attribute *attr, const char *buf, size_t count) in warm_reset_store()
198 struct device_attribute *attr, const char *buf, size_t count) in u2_timeout_store()
203 unsigned long val; in u2_timeout_store() local
227 struct device_attribute *attr, const char *buf, size_t count) in u1_timeout_store()
232 unsigned long val; in u1_timeout_store() local
256 struct device_attribute *attr, const char *buf, size_t count) in get_dev_desc_store()
294 struct device_attribute *attr, const char *buf, size_t count) in enable_compliance_store()
/linux-6.14.4/drivers/media/pci/solo6x10/
Dsolo6x10-disp.c164 u16 val, int reg_size) in solo_dma_vin_region()
166 __le16 *buf; in solo_dma_vin_region() local
190 int solo_set_motion_threshold(struct solo_dev *solo_dev, u8 ch, u16 val) in solo_set_motion_threshold()
205 __le16 *buf; in solo_set_motion_block() local
/linux-6.14.4/arch/x86/kernel/cpu/
Dintel_epb.c94 u64 val = this_cpu_read(saved_epb); in intel_epb_restore() local
132 char *buf) in energy_perf_bias_show()
147 const char *buf, size_t count) in energy_perf_bias_store()
150 u64 epb, val; in energy_perf_bias_store() local
/linux-6.14.4/drivers/misc/uacce/
Duacce.c318 struct device_attribute *attr, char *buf) in api_show()
326 struct device_attribute *attr, char *buf) in flags_show()
335 char *buf) in available_instances_show()
347 struct device_attribute *attr, char *buf) in algorithms_show()
355 struct device_attribute *attr, char *buf) in region_mmio_size_show()
364 struct device_attribute *attr, char *buf) in region_dus_size_show()
373 struct device_attribute *attr, char *buf) in isolate_show()
380 static ssize_t isolate_strategy_show(struct device *dev, struct device_attribute *attr, char *buf) in isolate_strategy_show()
383 u32 val; in isolate_strategy_show() local
391 const char *buf, size_t count) in isolate_strategy_store()
[all …]
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7615/
Ddebugfs.c6 mt7615_reg_set(void *data, u64 val) in mt7615_reg_set()
18 mt7615_reg_get(void *data, u64 *val) in mt7615_reg_get()
33 mt7615_radar_pattern_set(void *data, u64 val) in mt7615_radar_pattern_set()
51 static int mt7615_config(void *data, u64 val) in mt7615_config()
66 mt7615_scs_set(void *data, u64 val) in mt7615_scs_set()
83 mt7615_scs_get(void *data, u64 *val) in mt7615_scs_get()
96 mt7615_pm_set(void *data, u64 val) in mt7615_pm_set()
137 mt7615_pm_get(void *data, u64 *val) in mt7615_pm_get()
169 mt7615_pm_idle_timeout_set(void *data, u64 val) in mt7615_pm_idle_timeout_set()
179 mt7615_pm_idle_timeout_get(void *data, u64 *val) in mt7615_pm_idle_timeout_get()
[all …]
/linux-6.14.4/drivers/fpga/
Ddfl-fme-main.c29 struct device_attribute *attr, char *buf) in ports_num_show()
49 struct device_attribute *attr, char *buf) in bitstream_id_show()
68 struct device_attribute *attr, char *buf) in bitstream_metadata_show()
83 struct device_attribute *attr, char *buf) in cache_size_show()
99 struct device_attribute *attr, char *buf) in fabric_version_show()
115 struct device_attribute *attr, char *buf) in socket_id_show()
233 u32 attr, int channel, long *val) in thermal_hwmon_read()
288 struct device_attribute *attr, char *buf) in temp1_max_policy_show()
384 u32 attr, int channel, long *val) in power_hwmon_read()
418 u32 attr, int channel, long val) in power_hwmon_write()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gvt/
Dkvmgt.c114 static ssize_t intel_vgpu_show_description(struct mdev_type *mtype, char *buf) in intel_vgpu_show_description()
399 static size_t intel_vgpu_reg_rw_opregion(struct intel_vgpu *vgpu, char *buf, in intel_vgpu_reg_rw_opregion()
441 struct vfio_edid_region *region, char *buf, in handle_edid_regs()
493 static int handle_edid_blob(struct vfio_edid_region *region, char *buf, in handle_edid_blob()
507 static size_t intel_vgpu_reg_rw_edid(struct intel_vgpu *vgpu, char *buf, in intel_vgpu_reg_rw_edid()
752 void *buf, unsigned int count, bool is_write) in intel_vgpu_bar_rw()
773 void *buf, unsigned long count, bool is_write) in intel_vgpu_aperture_rw()
799 static ssize_t intel_vgpu_rw(struct intel_vgpu *vgpu, char *buf, in intel_vgpu_rw()
865 static ssize_t intel_vgpu_read(struct vfio_device *vfio_dev, char __user *buf, in intel_vgpu_read()
878 u64 val; in intel_vgpu_read() local
[all …]
/linux-6.14.4/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c35 u64 val; in reset_ebb_with_clear_mask() local
59 u64 val; in ebb_check_mmcr0() local
102 u64 val; in standard_ebb_callee() local
186 static char buf[16]; in decode_mmcr0() local
202 static char buf[16]; in decode_bescr() local
255 u64 val; in count_pmc() local
352 uint64_t val; in ebb_child() local
/linux-6.14.4/drivers/iio/dac/
Dadi-axi-dac.c210 const struct iio_chan_spec *chan, char *buf, in axi_dac_frequency_get()
226 const struct iio_chan_spec *chan, char *buf, in axi_dac_scale_get()
261 const struct iio_chan_spec *chan, char *buf, in axi_dac_phase_get()
319 const char *buf, size_t len, unsigned int tone_2) in axi_dac_frequency_set()
339 const char *buf, size_t len, unsigned int tone_2) in axi_dac_scale_set()
382 const char *buf, size_t len, unsigned int tone_2) in axi_dac_phase_set()
420 const char *buf, size_t len) in axi_dac_ext_info_set()
443 const struct iio_chan_spec *chan, char *buf) in axi_dac_ext_info_get()
588 int ret, val; in axi_dac_data_stream_enable() local
641 u32 val, size_t data_size) in __axi_dac_bus_reg_write()
[all …]
/linux-6.14.4/drivers/iio/gyro/
Dadis16136.c73 char buf[20]; in adis16136_show_serial() local
107 static int adis16136_show_product_id(void *arg, u64 *val) in adis16136_show_product_id()
125 static int adis16136_show_flash_count(void *arg, u64 *val) in adis16136_show_flash_count()
197 struct device_attribute *attr, const char *buf, size_t len) in adis16136_write_frequency()
201 unsigned int val; in adis16136_write_frequency() local
217 struct device_attribute *attr, char *buf) in adis16136_read_frequency()
247 static int adis16136_set_filter(struct iio_dev *indio_dev, int val) in adis16136_set_filter()
266 static int adis16136_get_filter(struct iio_dev *indio_dev, int *val) in adis16136_get_filter()
290 const struct iio_chan_spec *chan, int *val, int *val2, long info) in adis16136_read_raw()
329 const struct iio_chan_spec *chan, int val, int val2, long info) in adis16136_write_raw()
/linux-6.14.4/drivers/net/phy/
Dspi_ks8995.c164 static inline u8 get_chip_id(u8 val) in get_chip_id()
169 static inline u8 get_chip_rev(u8 val) in get_chip_rev()
198 static int ks8995_read(struct ks8995_switch *ks, char *buf, in ks8995_read()
226 static int ks8995_write(struct ks8995_switch *ks, char *buf, in ks8995_write()
254 static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) in ks8995_read_reg()
259 static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) in ks8995_write_reg()
261 char buf = val; in ks8995_write_reg() local
292 const struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) in ks8995_registers_read()
304 const struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) in ks8995_registers_write()
/linux-6.14.4/drivers/video/fbdev/omap2/omapfb/displays/
Dpanel-tpo-td043mtea1.c118 u8 i, val; in tpo_td043_write_gamma() local
167 struct device_attribute *attr, char *buf) in tpo_td043_vmirror_show()
175 struct device_attribute *attr, const char *buf, size_t count) in tpo_td043_vmirror_store()
178 int val; in tpo_td043_vmirror_store() local
197 struct device_attribute *attr, char *buf) in tpo_td043_mode_show()
205 struct device_attribute *attr, const char *buf, size_t count) in tpo_td043_mode_store()
208 long val; in tpo_td043_mode_store() local
224 struct device_attribute *attr, char *buf) in tpo_td043_gamma_show()
239 struct device_attribute *attr, const char *buf, size_t count) in tpo_td043_gamma_store()
/linux-6.14.4/drivers/cpufreq/
Dacpi-cpufreq.c95 u64 msr_mask, val; in boost_set_msr() local
131 static int set_boost(struct cpufreq_policy *policy, int val) in set_boost()
141 static ssize_t show_freqdomain_cpus(struct cpufreq_policy *policy, char *buf) in show_freqdomain_cpus()
154 static ssize_t store_cpb(struct cpufreq_policy *policy, const char *buf, in store_cpb()
158 unsigned int val = 0; in store_cpb() local
174 static ssize_t show_cpb(struct cpufreq_policy *policy, char *buf) in show_cpb()
232 static unsigned extract_freq(struct cpufreq_policy *policy, u32 val) in extract_freq()
249 u32 val, dummy __always_unused; in cpu_freq_read_intel() local
255 static void cpu_freq_write_intel(struct acpi_pct_register *not_used, u32 val) in cpu_freq_write_intel()
266 u32 val, dummy __always_unused; in cpu_freq_read_amd() local
[all …]
/linux-6.14.4/arch/mips/include/asm/
Duasm.h210 # define UASM_i_ADDIU(buf, rs, rt, val) uasm_i_daddiu(buf, rs, rt, val) argument
211 # define UASM_i_ADDU(buf, rs, rt, rd) uasm_i_daddu(buf, rs, rt, rd) argument
212 # define UASM_i_LL(buf, rs, rt, off) uasm_i_lld(buf, rs, rt, off) argument
213 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
214 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
215 # define UASM_i_MFC0(buf, rt, rd...) uasm_i_dmfc0(buf, rt, rd) argument
216 # define UASM_i_MTC0(buf, rt, rd...) uasm_i_dmtc0(buf, rt, rd) argument
217 # define UASM_i_ROTR(buf, rs, rt, sh) uasm_i_drotr(buf, rs, rt, sh) argument
218 # define UASM_i_SC(buf, rs, rt, off) uasm_i_scd(buf, rs, rt, off) argument
219 # define UASM_i_SLL(buf, rs, rt, sh) uasm_i_dsll(buf, rs, rt, sh) argument
[all …]
/linux-6.14.4/drivers/iio/adc/
Dti-adc161s626.c78 struct iio_chan_spec const *chan, int *val) in ti_adc_read_measurement()
84 __be16 buf; in ti_adc_read_measurement() local
94 __be32 buf; in ti_adc_read_measurement() local
133 int *val, int *val2, long mask) in ti_adc_read_raw()
/linux-6.14.4/drivers/net/ppp/
Dppp_async.c261 ppp_asynctty_read(struct tty_struct *tty, struct file *file, u8 *buf, in ppp_asynctty_read()
272 ppp_asynctty_write(struct tty_struct *tty, struct file *file, const u8 *buf, in ppp_asynctty_write()
287 int err, val; in ppp_asynctty_ioctl() local
333 ppp_asynctty_receive(struct tty_struct *tty, const u8 *buf, const u8 *cflags, in ppp_asynctty_receive()
399 int err, val; in ppp_async_ioctl() local
515 #define PUT_BYTE(ap, buf, c, islcp) do { \ argument
527 unsigned char *buf, *buflim; in ppp_async_encode() local
745 scan_ordinary(struct asyncppp *ap, const unsigned char *buf, int count) in scan_ordinary()
826 ppp_async_input(struct asyncppp *ap, const u8 *buf, const u8 *flags, int count) in ppp_async_input()
948 u32 val; in async_lcp_peek() local
/linux-6.14.4/drivers/net/wireless/ath/ath10k/
Dsdio.c90 unsigned char val) in ath10k_sdio_set_cmd52_arg()
218 static int ath10k_sdio_write32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_write32()
242 static int ath10k_sdio_writesb32(struct ath10k *ar, u32 addr, u32 val) in ath10k_sdio_writesb32()
246 __le32 *buf; in ath10k_sdio_writesb32() local
275 static int ath10k_sdio_read32(struct ath10k *ar, u32 addr, u32 *val) in ath10k_sdio_read32()
298 static int ath10k_sdio_read(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_read()
323 static int ath10k_sdio_write(struct ath10k *ar, u32 addr, const void *buf, size_t len) in ath10k_sdio_write()
351 static int ath10k_sdio_readsb(struct ath10k *ar, u32 addr, void *buf, size_t len) in ath10k_sdio_readsb()
800 u32 val; in ath10k_sdio_mbox_proc_dbg_intr() local
1394 u32 val; in ath10k_sdio_set_mbox_sleep() local
[all …]
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-funnel.c155 struct device_attribute *attr, char *buf) in priority_show()
158 unsigned long val = drvdata->priority; in priority_show() local
165 const char *buf, size_t size) in priority_store()
168 unsigned long val; in priority_store() local
192 struct device_attribute *attr, char *buf) in funnel_ctrl_show()
194 u32 val; in funnel_ctrl_show() local
/linux-6.14.4/drivers/spi/
Dspi-intel.c273 static int intel_spi_read_block(struct intel_spi *ispi, void *buf, size_t size) in intel_spi_read_block()
293 static int intel_spi_write_block(struct intel_spi *ispi, const void *buf, in intel_spi_write_block()
315 u32 val; in intel_spi_wait_hw_busy() local
324 u32 val; in intel_spi_wait_sw_busy() local
363 u32 val, status; in intel_spi_hw_cycle() local
393 u32 val = 0, status; in intel_spi_sw_cycle() local
552 u32 val, status; in intel_spi_read() local
613 u32 val, status; in intel_spi_write() local
675 u32 val, status; in intel_spi_erase() local
820 size_t len, void *buf) in intel_spi_dirmap_read()
[all …]
/linux-6.14.4/drivers/cdx/
Dcdx.c399 const char *buf, size_t count) in remove_store()
401 bool val; in remove_store() local
422 const char *buf, size_t count) in reset_store()
425 bool val; in reset_store() local
445 char *buf) in modalias_show()
457 const char *buf, size_t count) in driver_override_store()
473 struct device_attribute *attr, char *buf) in driver_override_show()
486 const char *buf, size_t count) in enable_store()
512 static ssize_t enable_show(struct device *dev, struct device_attribute *attr, char *buf) in enable_show()
606 const char *buf, size_t count) in rescan_store()
[all …]
/linux-6.14.4/lib/crypto/mpi/
Dmpicoder.c41 MPI val = NULL; in mpi_read_raw_data() local
85 MPI val; in mpi_read_from_buffer() local
143 int mpi_read_buffer(MPI a, uint8_t *buf, unsigned buf_len, unsigned *nbytes, in mpi_read_buffer()
205 uint8_t *buf; in mpi_get_buffer() local
338 MPI val = NULL; in mpi_read_raw_from_sgl() local

1...<<11121314151617181920>>...82