Home
last modified time | relevance | path

Searched +defs:val +defs:buf (Results 526 – 550 of 2304) sorted by relevance

1...<<21222324252627282930>>...93

/linux-6.14.4/drivers/ata/pata_parport/
Dktti.c28 static void ktti_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in ktti_write_regr()
47 static void ktti_read_block(struct pi_adapter *pi, char *buf, int count) in ktti_read_block()
60 static void ktti_write_block(struct pi_adapter *pi, char *buf, int count) in ktti_write_block()
Dfriq.c60 static void friq_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in friq_write_regr()
69 static void friq_read_block_int(struct pi_adapter *pi, char *buf, int count, int regr) in friq_read_block_int()
126 static void friq_read_block(struct pi_adapter *pi, char *buf, int count) in friq_read_block()
131 static void friq_write_block(struct pi_adapter *pi, char *buf, int count) in friq_write_block()
/linux-6.14.4/arch/mips/boot/compressed/
Ddbg.c28 void puthex(unsigned long long val) in puthex()
31 unsigned char buf[10]; in puthex() local
/linux-6.14.4/drivers/mtd/nand/raw/
Dvf610_nfc.c99 #define COL_ADDR(pos, val) (((val) & 0xFF) << (8 * (pos))) argument
104 #define ROW_ADDR(pos, val) (((val) & 0xFF) << (8 * (pos))) argument
179 static inline void vf610_nfc_write(struct vf610_nfc *nfc, uint reg, u32 val) in vf610_nfc_write()
195 u32 mask, u32 shift, u32 val) in vf610_nfc_set_field()
236 u32 val = swab32(__raw_readl(src + i)); in vf610_nfc_rd_from_sram() local
271 u32 val; in vf610_nfc_wr_to_sram() local
389 u8 val = instr->ctx.addr.addrs[i]; in vf610_nfc_cmd() local
549 static int vf610_nfc_read_page(struct nand_chip *chip, uint8_t *buf, in vf610_nfc_read_page()
597 static int vf610_nfc_write_page(struct nand_chip *chip, const uint8_t *buf, in vf610_nfc_write_page()
641 static int vf610_nfc_read_page_raw(struct nand_chip *chip, u8 *buf, in vf610_nfc_read_page_raw()
[all …]
/linux-6.14.4/drivers/media/pci/solo6x10/
Dsolo6x10-core.c157 const char *buf, size_t count) in eeprom_store()
187 char *buf) in eeprom_show()
203 char *buf) in p2m_timeouts_show()
213 char *buf) in sdram_size_show()
223 char *buf) in tw28xx_show()
236 char *buf) in input_map_show()
240 unsigned int val; in input_map_show() local
271 const char *buf, size_t count) in p2m_timeout_store()
287 char *buf) in p2m_timeout_show()
297 char *buf) in intervals_show()
[all …]
/linux-6.14.4/drivers/media/dvb-frontends/
Dcxd2099.c77 static int read_reg(struct cxd *ci, u8 reg, u8 *val) in read_reg()
100 u8 buf[256]; in write_pccard() local
108 static int read_io(struct cxd *ci, u16 address, unsigned int *val) in read_io()
119 static int write_io(struct cxd *ci, u16 address, u8 val) in write_io()
130 static int write_regm(struct cxd *ci, u8 reg, u8 val, u8 mask) in write_regm()
150 static int write_reg(struct cxd *ci, u8 reg, u8 val) in write_reg()
158 u8 *buf = ci->wbuf; in write_block() local
380 u8 val; in read_attribute_mem() local
405 unsigned int val; in read_cam_control() local
609 unsigned int val; in cxd2099_probe() local
Dhorus3a.c50 u8 buf[MAX_WRITE_REGSIZE + 1]; in horus3a_write_regs() local
81 static int horus3a_write_reg(struct horus3a_priv *priv, u8 reg, u8 val) in horus3a_write_reg()
339 u8 buf[3], val; in horus3a_attach() local
/linux-6.14.4/drivers/mfd/
Dmax8998.c59 int max8998_bulk_read(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_read()
86 int max8998_bulk_write(struct i2c_client *i2c, u8 reg, int count, u8 *buf) in max8998_bulk_write()
101 int max8998_update_reg(struct i2c_client *i2c, u8 reg, u8 val, u8 mask) in max8998_update_reg()
258 u8 val; member
/linux-6.14.4/drivers/fsi/
Dfsi-master-i2cr.c110 u32 buf[3] = { 0, 0, 0 }; in i2cr_check_status() local
162 u32 buf[3] = { 0 }; in fsi_master_i2cr_write() local
187 static int i2cr_read(struct fsi_master *master, int link, uint8_t id, uint32_t addr, void *val, in i2cr_read()
227 const void *val, size_t size) in i2cr_write()
/linux-6.14.4/drivers/hwmon/
Dltc4215.c47 s32 val; in ltc4215_update_device() local
137 struct device_attribute *da, char *buf) in ltc4215_voltage_show()
146 struct device_attribute *da, char *buf) in ltc4215_current_show()
154 struct device_attribute *da, char *buf) in ltc4215_power_show()
166 struct device_attribute *da, char *buf) in ltc4215_alarm_show()
Dadt7411.c120 int val, tmp; in adt7411_read_10_bit() local
144 int ret, val; in adt7411_modify_bit() local
165 struct device_attribute *attr, char *buf) in adt7411_show_bit()
176 struct device_attribute *attr, const char *buf, in adt7411_set_bit()
215 static int adt7411_read_in_alarm(struct device *dev, int channel, long *val) in adt7411_read_in_alarm()
228 static int adt7411_read_in_vdd(struct device *dev, u32 attr, long *val) in adt7411_read_in_vdd()
265 int val; in adt7411_update_vref() local
288 long *val) in adt7411_read_in_chan()
338 long *val) in adt7411_read_in()
348 long *val) in adt7411_read_temp_alarm()
[all …]
/linux-6.14.4/drivers/platform/mellanox/
Dmlxbf-bootctl.c172 struct device_attribute *attr, char *buf) in post_reset_wdog_show()
185 const char *buf, size_t count) in post_reset_wdog_store()
201 static ssize_t mlxbf_bootctl_show(int smc_op, char *buf) in mlxbf_bootctl_show()
212 static int mlxbf_bootctl_store(int smc_op, const char *buf, size_t count) in mlxbf_bootctl_store()
228 struct device_attribute *attr, char *buf) in reset_action_show()
235 const char *buf, size_t count) in reset_action_store()
242 char *buf) in second_reset_action_show()
249 const char *buf, size_t count) in second_reset_action_store()
256 struct device_attribute *attr, char *buf) in lifecycle_state_show()
289 char *buf) in secure_boot_fuse_state_show()
[all …]
/linux-6.14.4/block/
Dblk-timeout.c40 char *buf) in part_timeout_show()
49 const char *buf, size_t count) in part_timeout_store()
52 int val; in part_timeout_store() local
/linux-6.14.4/drivers/media/rc/
Dnuvoton-cir.c57 static inline void nvt_cr_write(struct nvt_dev *nvt, u8 val, u8 reg) in nvt_cr_write()
71 static inline void nvt_set_reg_bit(struct nvt_dev *nvt, u8 val, u8 reg) in nvt_set_reg_bit()
127 static inline void nvt_cir_reg_write(struct nvt_dev *nvt, u8 val, u8 offset) in nvt_cir_reg_write()
140 u8 val, u8 offset) in nvt_cir_wake_reg_write()
205 char *buf) in wakeup_data_show()
238 const char *buf, size_t len) in wakeup_data_store()
244 unsigned int val; in wakeup_data_store() local
436 u8 val, psreg, psmask, psval; in nvt_cir_ldev_init() local
489 u8 val = nvt_cir_reg_read(nvt, CIR_FIFOCON); in nvt_clear_cir_fifo() local
496 u8 val, config; in nvt_clear_cir_wake_fifo() local
[all …]
/linux-6.14.4/drivers/spi/
Dspi-sn-f-ospi.c133 u32 val; in f_ospi_enable_irq_status() local
142 u32 val; in f_ospi_disable_irq_status() local
151 u32 val; in f_ospi_disable_irq_output() local
160 u32 val, stat0, stat1; in f_ospi_prepare_config() local
178 u32 val; in f_ospi_unprepare_config() local
196 u32 val; in f_ospi_config_clk() local
269 u32 prot = 0, val; in f_ospi_config_indir_protocol() local
396 u32 val; in f_ospi_indir_wait_xfer_complete() local
406 u8 *buf = op->data.buf.in; in f_ospi_indir_read() local
407 u32 val; in f_ospi_indir_read() local
[all …]
/linux-6.14.4/drivers/media/usb/b2c2/
Dflexcop-usb.c69 static int flexcop_usb_readwrite_dw(struct flexcop_device *fc, u16 wRegOffsPCI, u32 *val, u8 read) in flexcop_usb_readwrite_dw()
180 u32 addr, int extended, u8 *buf, u32 len) in flexcop_usb_memory_req()
230 u8 chipaddr, u8 addr, u8 *buf, u8 buflen) in flexcop_usb_i2c_req()
303 flexcop_ibi_value val; in flexcop_usb_read_ibi_reg() local
310 flexcop_ibi_register reg, flexcop_ibi_value val) in flexcop_usb_write_ibi_reg()
316 flexcop_access_op_t op, u8 chipaddr, u8 addr, u8 *buf, u16 len) in flexcop_usb_i2c_request()
/linux-6.14.4/drivers/perf/hisilicon/
Dhisi_pcie_pmu.c103 char *buf) in hisi_pcie_event_sysfs_show()
120 static ssize_t cpumask_show(struct device *dev, struct device_attribute *attr, char *buf) in cpumask_show()
128 static ssize_t identifier_show(struct device *dev, struct device_attribute *attr, char *buf) in identifier_show()
136 static ssize_t bus_show(struct device *dev, struct device_attribute *attr, char *buf) in bus_show()
144 static ssize_t bdf_min_show(struct device *dev, struct device_attribute *attr, char *buf) in bdf_min_show()
152 static ssize_t bdf_max_show(struct device *dev, struct device_attribute *attr, char *buf) in bdf_max_show()
163 u32 val = readl_relaxed(pcie_pmu->base + reg_off); in hisi_pcie_parse_reg_value() local
203 static void hisi_pcie_pmu_writel(struct hisi_pcie_pmu *pcie_pmu, u32 reg_offset, u32 idx, u32 val) in hisi_pcie_pmu_writel()
217 static void hisi_pcie_pmu_writeq(struct hisi_pcie_pmu *pcie_pmu, u32 reg_offset, u32 idx, u64 val) in hisi_pcie_pmu_writeq()
494 u64 val; in hisi_pcie_pmu_enable_counter() local
[all …]
/linux-6.14.4/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c320 u8 val; in inv_mpu6050_pwr_mgmt_1_write() local
365 unsigned int sleep, val; in inv_mpu6050_switch_engine() local
510 enum inv_mpu6050_fsr_e val) in inv_mpu6050_set_gyro_fsr()
529 enum inv_mpu6050_filter_e val) in inv_mpu6050_set_accel_lpf_regs()
558 enum inv_mpu6050_filter_e val) in inv_mpu6050_set_lpf_regs()
624 int axis, int val) in inv_mpu6050_sensor_set()
635 int axis, int *val) in inv_mpu6050_sensor_show()
651 int *val) in inv_mpu6050_read_channel_data()
751 int *val, int *val2, long mask) in inv_mpu6050_read_raw()
822 static int inv_mpu6050_write_gyro_scale(struct inv_mpu6050_state *st, int val, in inv_mpu6050_write_gyro_scale()
[all …]
/linux-6.14.4/drivers/staging/media/sunxi/cedrus/
Dcedrus_h264.c57 static dma_addr_t cedrus_h264_mv_col_buf_addr(struct cedrus_buffer *buf, in cedrus_h264_mv_col_buf_addr()
69 struct cedrus_buffer *buf, in cedrus_fill_ref_pic()
107 struct vb2_buffer *buf; in cedrus_write_frame_list() local
209 struct vb2_buffer *buf; in _cedrus_write_ref_list() local
300 u32 val; in cedrus_write_pred_weight_table() local
309 u32 val; in cedrus_write_pred_weight_table() local
650 struct cedrus_buffer *buf; in cedrus_h264_stop() 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()
92 char buf[21]; in read_num() local
104 char buf[21]; in write_num() local
116 char buf[256]; in thp_read_string() local
158 void thp_write_string(const char *name, const char *val) in thp_write_string()
354 char buf[256]; in __thp_supported_orders() local
/linux-6.14.4/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c31 char *buf) in power_floor_status_show()
43 char *buf) in power_floor_enable_show()
55 const char *buf, size_t count) in power_floor_enable_store()
137 char *buf) in tcc_offset_degree_celsius_show()
149 struct device_attribute *attr, const char *buf, in tcc_offset_degree_celsius_store()
153 u64 val; in tcc_offset_degree_celsius_store() local
200 struct acpi_buffer buf = { ACPI_ALLOCATE_BUFFER, NULL }; in proc_thermal_read_ppcc() local
/linux-6.14.4/drivers/net/wireless/mediatek/mt76/mt7615/
Deeprom.c15 u32 val; in mt7615_efuse_read() local
47 void *buf; in mt7615_efuse_init() local
48 u32 val; in mt7615_efuse_init() local
89 u16 val = get_unaligned_le16(dev->eeprom.data); in mt7615_check_eeprom() local
104 u8 val, *eeprom = dev->mt76.eeprom.data; in mt7615_eeprom_parse_hw_band_cap() local
156 u32 val; in mt7615_eeprom_parse_hw_cap() local
/linux-6.14.4/drivers/tty/hvc/
Dhvc_iucv.c219 u8 *buf, size_t count, int *has_more_data) in hvc_iucv_write()
315 static ssize_t hvc_iucv_get_chars(uint32_t vtermno, u8 *buf, size_t count) in hvc_iucv_get_chars()
355 static ssize_t hvc_iucv_queue(struct hvc_iucv_private *priv, const u8 *buf, in hvc_iucv_queue()
458 static ssize_t hvc_iucv_put_chars(uint32_t vtermno, const u8 *buf, size_t count) in hvc_iucv_put_chars()
968 char *buf) in hvc_iucv_dev_termid_show()
982 char *buf) in hvc_iucv_dev_state_show()
990 char *buf) in hvc_iucv_dev_peer_show()
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()
/linux-6.14.4/drivers/remoteproc/
Dmtk_scp_ipi.c89 u32 val; in scp_memcpy_aligned() local
159 int scp_ipi_send(struct mtk_scp *scp, u32 id, void *buf, unsigned int len, in scp_ipi_send()
163 u32 val; in scp_ipi_send() local
/linux-6.14.4/drivers/net/wireless/ath/ath6kl/
Ddebug.c151 const void *buf, size_t len) in ath6kl_dbg_dump()
304 char *buf; in read_file_war_stats() local
336 void ath6kl_debug_fwlog_event(struct ath6kl *ar, const void *buf, size_t len) in ath6kl_debug_fwlog_event()
405 char *buf; in ath6kl_fwlog_read() local
458 char *buf; in ath6kl_fwlog_block_read() local
529 char buf[16]; in ath6kl_fwlog_mask_read() local
571 char *buf; in read_file_tgt_stats() local
710 char *buf; in read_file_credit_dist_stats() local
762 static unsigned int print_endpoint_stat(struct htc_target *target, char *buf, in print_endpoint_stat()
787 char *buf; in ath6kl_endpoint_stats_read() local
[all …]

1...<<21222324252627282930>>...93