Home
last modified time | relevance | path

Searched +defs:val +defs:buf (Results 501 – 525 of 2284) sorted by relevance

1...<<21222324252627282930>>...92

/linux-6.14.4/drivers/mfd/
Dwm831x-core.c520 unsigned int val; in wm831x_reg_read() local
541 int count, u16 *buf) in wm831x_bulk_read()
550 u16 *buf = src; in wm831x_write() local
578 unsigned short val) in wm831x_reg_write()
601 unsigned short mask, unsigned short val) in wm831x_set_bits()
/linux-6.14.4/drivers/iio/dac/
Dad5504.c68 static int ad5504_spi_write(struct ad5504_state *st, u8 addr, u16 val) in ad5504_spi_write()
95 int *val, in ad5504_read_raw()
121 int val, in ad5504_write_raw()
169 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in ad5504_read_dac_powerdown()
178 uintptr_t private, const struct iio_chan_spec *chan, const char *buf, in ad5504_write_dac_powerdown()
Dltc2632.c73 u8 cmd, u8 addr, u16 val, u8 shift) in ltc2632_spi_write()
93 int *val, in ltc2632_read_raw()
110 int val, in ltc2632_write_raw()
133 char *buf) in ltc2632_read_dac_powerdown()
144 const char *buf, in ltc2632_write_dac_powerdown()
Dmcp4725.c92 struct device_attribute *attr, const char *buf, size_t len) in mcp4725_store_eeprom()
184 uintptr_t private, const struct iio_chan_spec *chan, char *buf) in mcp4725_read_powerdown()
193 const char *buf, size_t len) in mcp4725_write_powerdown()
282 static int mcp4725_set_value(struct iio_dev *indio_dev, int val) in mcp4725_set_value()
327 int *val, int *val2, long mask) in mcp4725_read_raw()
354 int val, int val2, long mask) in mcp4725_write_raw()
/linux-6.14.4/drivers/sbus/char/
Dbbc_i2c.c55 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage()
133 long val; in wait_for_pin() local
151 int bbc_i2c_writeb(struct bbc_i2c_client *client, unsigned char val, int off) in bbc_i2c_writeb()
232 char *buf, int len, int off) in bbc_i2c_write_buf()
248 char *buf, int len, int off) in bbc_i2c_read_buf()
/linux-6.14.4/drivers/spi/
Dspi-mt7621.c75 static inline void mt7621_spi_write(struct mt7621_spi *rs, u32 reg, u32 val) in mt7621_spi_write()
178 int rx_len, u8 *buf) in mt7621_spi_read_half_duplex()
192 u32 val = (min(tx_len, 4) * 8) << 24; in mt7621_spi_read_half_duplex() local
225 int tx_len, const u8 *buf) in mt7621_spi_write_half_duplex()
228 int val = 0; in mt7621_spi_write_half_duplex() local
Dspi-img-spfi.c109 static inline void spfi_writel(struct img_spfi *spfi, u32 val, u32 reg) in spfi_writel()
116 u32 val; in spfi_start() local
150 static unsigned int spfi_pio_write32(struct img_spfi *spfi, const u32 *buf, in spfi_pio_write32()
168 static unsigned int spfi_pio_write8(struct img_spfi *spfi, const u8 *buf, in spfi_pio_write8()
186 static unsigned int spfi_pio_read32(struct img_spfi *spfi, u32 *buf, in spfi_pio_read32()
205 static unsigned int spfi_pio_read8(struct img_spfi *spfi, u8 *buf, in spfi_pio_read8()
411 u32 val; in img_spfi_prepare() local
444 u32 val, div; in img_spfi_config() local
/linux-6.14.4/kernel/cgroup/
Ddmem.c113 set_resource_min(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_min()
119 set_resource_low(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_low()
125 set_resource_max(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_max()
675 char *buf, size_t nbytes, loff_t off, in dmemcg_limit_write()
739 u64 val; in dmemcg_limit_show() local
765 char *buf, size_t nbytes, loff_t off) in dmem_cgroup_region_min_write()
776 char *buf, size_t nbytes, loff_t off) in dmem_cgroup_region_low_write()
787 char *buf, size_t nbytes, loff_t off) in dmem_cgroup_region_max_write()
/linux-6.14.4/drivers/input/misc/
Dyealink.c133 int i, a, m, val; in setChar() local
251 u8 *buf = (u8 *)p; in yealink_cmd() local
281 static int yealink_set_ringtone(struct yealink_dev *yld, u8 *buf, size_t size) in yealink_set_ringtone()
318 u8 val; in yealink_do_idle_tasks() local
556 char *buf) in show_map()
563 const char *buf, size_t cnt) in store_map()
581 static ssize_t show_line(struct device *dev, char *buf, int a, int b) in show_line()
600 char *buf) in show_line1()
606 char *buf) in show_line2()
612 char *buf) in show_line3()
[all …]
/linux-6.14.4/drivers/iio/cdc/
Dad7746.c328 const char *buf, in ad7746_start_calib()
369 const char *buf, in ad7746_start_offset_calib()
385 const char *buf, in ad7746_start_gain_calib()
411 int val) in ad7746_store_cap_filter_rate_setup()
429 int val) in ad7746_store_vt_filter_rate_setup()
461 int val, in ad7746_write_raw()
582 int *val) in ad7746_read_channel()
619 int *val, int *val2, in ad7746_read_raw()
/linux-6.14.4/drivers/media/usb/em28xx/
Dem28xx-core.c67 char *buf, int len) in em28xx_read_reg_req_len()
115 u8 val; in em28xx_read_reg_req() local
134 int em28xx_write_regs_req(struct em28xx *dev, u8 req, u16 reg, char *buf, in em28xx_write_regs_req()
177 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs()
184 int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val) in em28xx_write_reg()
195 int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val, in em28xx_write_reg_bits()
263 __le16 val; in em28xx_read_ac97() local
286 int em28xx_write_ac97(struct em28xx *dev, u8 reg, u16 val) in em28xx_write_ac97()
/linux-6.14.4/drivers/hwtracing/coresight/
Dcoresight-etb10.c90 u8 *buf; member
177 struct cs_buffers *buf = etm_perf_sink_config(handle); in etb_enable_perf() local
380 struct cs_buffers *buf; in etb_alloc_buffer() local
398 struct cs_buffers *buf = config; in etb_free_buffer() local
408 struct cs_buffers *buf = etm_perf_sink_config(handle); in etb_set_buffer() local
438 struct cs_buffers *buf = sink_config; in etb_update_buffer() local
670 struct device_attribute *attr, char *buf) in trigger_cntr_show()
673 unsigned long val = drvdata->trigger_cntr; in trigger_cntr_show() local
680 const char *buf, size_t size) in trigger_cntr_store()
683 unsigned long val; in trigger_cntr_store() local
/linux-6.14.4/drivers/power/supply/
Dolpc_battery.c66 union power_supply_propval *val) in olpc_ac_get_prop()
99 union power_supply_propval *val, uint8_t ec_byte) in olpc_bat_get_status()
123 static int olpc_bat_get_health(union power_supply_propval *val) in olpc_bat_get_health()
160 static int olpc_bat_get_mfr(union power_supply_propval *val) in olpc_bat_get_mfr()
185 static int olpc_bat_get_tech(union power_supply_propval *val) in olpc_bat_get_tech()
210 static int olpc_bat_get_charge_full_design(union power_supply_propval *val) in olpc_bat_get_charge_full_design()
256 static int olpc_bat_get_charge_now(union power_supply_propval *val) in olpc_bat_get_charge_now()
274 static int olpc_bat_get_voltage_max_design(union power_supply_propval *val) in olpc_bat_get_voltage_max_design()
336 union power_supply_propval *val) in olpc_bat_get_property()
530 const struct bin_attribute *attr, char *buf, loff_t off, size_t count) in olpc_bat_eeprom_read()
[all …]
/linux-6.14.4/drivers/net/ethernet/mscc/
Docelot_io.c14 u32 offset, void *buf, int count) in __ocelot_bulk_read_ix()
30 u32 addr, val; in __ocelot_read_ix() local
40 void __ocelot_write_ix(struct ocelot *ocelot, u32 val, enum ocelot_reg reg, in __ocelot_write_ix()
53 void __ocelot_rmw_ix(struct ocelot *ocelot, u32 val, u32 mask, in __ocelot_rmw_ix()
70 u32 val; in ocelot_port_readl() local
79 void ocelot_port_writel(struct ocelot_port *port, u32 val, enum ocelot_reg reg) in ocelot_port_writel()
90 void ocelot_port_rmwl(struct ocelot_port *port, u32 val, u32 mask, in ocelot_port_rmwl()
102 u32 val; in __ocelot_target_read_ix() local
110 u32 val, u32 reg, u32 offset) in __ocelot_target_write_ix()
/linux-6.14.4/kernel/trace/
Dtrace_events_inject.c43 u64 val; in parse_field() local
201 u64 val = 0; in parse_entry() local
291 char *buf; in event_inject_write() local
324 event_inject_read(struct file *file, char __user *buf, size_t size, in event_inject_read()
/linux-6.14.4/drivers/rtc/
Drtc-ds1742.c117 static int ds1742_nvram_read(void *priv, unsigned int pos, void *val, in ds1742_nvram_read()
122 u8 *buf = val; in ds1742_nvram_read() local
129 static int ds1742_nvram_write(void *priv, unsigned int pos, void *val, in ds1742_nvram_write()
134 u8 *buf = val; in ds1742_nvram_write() local
/linux-6.14.4/drivers/nvme/host/
Dfabrics.c130 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address()
172 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32()
217 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64()
262 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32()
714 const char *buf) in nvmf_parse_options()
1280 nvmf_create_ctrl(struct device *dev, const char *buf) in nvmf_create_ctrl()
1362 const char *buf; in nvmf_dev_write() local
/linux-6.14.4/drivers/mtd/devices/
Dphram.c66 size_t *retlen, u_char *buf) in phram_read()
76 size_t *retlen, const u_char *buf) in phram_write()
260 static int phram_setup(const char *val) in phram_setup()
262 char buf[64 + 20 + 20 + 20], *str = buf; in phram_setup() local
336 static int phram_param_call(const char *val, const struct kernel_param *kp) in phram_param_call()
/linux-6.14.4/drivers/mtd/ubi/
Ddebug.c56 void *buf; in FAIL_ACTION() local
335 char buf[16]; in dfs_file_read() local
336 int val; in dfs_file_read() local
403 char buf[16] = {0}; in dfs_file_write() local
404 int val; in dfs_file_write() local
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dphy_shim.c110 u16 val, int bands) in wlapi_bmac_mhf()
135 void wlapi_bmac_mctrl(struct phy_shim_info *physhim, u32 mask, u32 val) in wlapi_bmac_mctrl()
189 int len, void *buf) in wlapi_bmac_write_template_ram()
204 wlapi_copyfrom_objmem(struct phy_shim_info *physhim, uint offset, void *buf, in wlapi_copyfrom_objmem()
211 wlapi_copyto_objmem(struct phy_shim_info *physhim, uint offset, const void *buf, in wlapi_copyto_objmem()
/linux-6.14.4/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c2874 char *buf) in version_fw_show()
2897 char *buf) in version_bios_show()
2922 char *buf) in version_mpi_show()
2942 char *buf) in version_product_show()
2961 struct device_attribute *attr, char *buf) in version_nvdata_persistent_show()
2981 *attr, char *buf) in version_nvdata_default_show()
3001 char *buf) in board_name_show()
3020 char *buf) in board_assembly_show()
3039 char *buf) in board_tracer_show()
3061 char *buf) in io_delay_show()
[all …]
/linux-6.14.4/drivers/platform/x86/
Dsystem76_acpi.c115 struct acpi_buffer buf = { ACPI_ALLOCATE_BUFFER, NULL }; in system76_get_object() local
165 static ssize_t battery_get_threshold(int which, char *buf) in battery_get_threshold()
192 static ssize_t battery_set_threshold(int which, const char *buf, size_t count) in battery_set_threshold()
229 struct device_attribute *attr, char *buf) in charge_control_start_threshold_show()
235 struct device_attribute *attr, const char *buf, size_t count) in charge_control_start_threshold_store()
243 struct device_attribute *attr, char *buf) in charge_control_end_threshold_show()
249 struct device_attribute *attr, const char *buf, size_t count) in charge_control_end_threshold_store()
348 char *buf) in kb_led_color_show()
362 const char *buf, in kb_led_color_store()
367 unsigned int val; in kb_led_color_store() local
[all …]
/linux-6.14.4/drivers/video/backlight/
Dadp5520_bl.c135 static ssize_t adp5520_show(struct device *dev, char *buf, int reg) in adp5520_show()
151 static ssize_t adp5520_store(struct device *dev, const char *buf, in adp5520_store()
155 unsigned long val; in adp5520_store() local
170 struct device_attribute *attr, char *buf) in adp5520_bl_dark_max_show()
177 const char *buf, size_t count) in adp5520_bl_dark_max_store()
185 struct device_attribute *attr, char *buf) in adp5520_bl_office_max_show()
192 const char *buf, size_t count) in adp5520_bl_office_max_store()
200 struct device_attribute *attr, char *buf) in adp5520_bl_daylight_max_show()
207 const char *buf, size_t count) in adp5520_bl_daylight_max_store()
222 struct device_attribute *attr, char *buf) in adp5520_bl_dark_dim_show()
[all …]
/linux-6.14.4/drivers/i2c/busses/
Di2c-rtl9300.c65 u32 val, mask; in rtl9300_i2c_reg_addr_set() local
84 u32 val, mask; in rtl9300_i2c_config_io() local
100 u32 val, mask; in rtl9300_i2c_config_xfer() local
116 static int rtl9300_i2c_read(struct rtl9300_i2c *i2c, u8 *buf, int len) in rtl9300_i2c_read()
137 static int rtl9300_i2c_write(struct rtl9300_i2c *i2c, u8 *buf, int len) in rtl9300_i2c_write()
164 u32 val, mask; in rtl9300_i2c_execute_xfer() local
/linux-6.14.4/drivers/ata/pata_parport/
Dfit2.c36 static void fit2_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in fit2_write_regr()
63 static void fit2_read_block(struct pi_adapter *pi, char *buf, int count) in fit2_read_block()
86 static void fit2_write_block(struct pi_adapter *pi, char *buf, int count) in fit2_write_block()

1...<<21222324252627282930>>...92