Home
last modified time | relevance | path

Searched +defs:val +defs:buf (Results 751 – 775 of 2454) sorted by relevance

1...<<31323334353637383940>>...99

/linux-6.14.4/drivers/mfd/
Dtps65911-comparator.c58 u8 index = 0, val; in comp_threshold_set() local
80 unsigned int val; in comp_threshold_get() local
92 struct device_attribute *attr, char *buf) in comp_threshold_show()
/linux-6.14.4/drivers/bus/mhi/host/
Dinit.c83 char *buf) in serial_number_show()
95 char *buf) in oem_pk_hash_show()
119 const char *buf, in soc_reset_store()
132 const char *buf, size_t count) in trigger_edl_store()
136 unsigned long val; in trigger_edl_store() local
472 u32 val; in mhi_init_mmio() local
480 u32 val; in mhi_init_mmio() member
/linux-6.14.4/drivers/usb/misc/
Duss720.c193 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_f… in get_1284_register()
229 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_fl… in set_1284_register()
365 …nsigned char parport_uss720_frob_control(struct parport *pp, unsigned char mask, unsigned char val) in parport_uss720_frob_control()
461 static size_t parport_uss720_epp_read_data(struct parport *pp, void *buf, size_t length, int flags) in parport_uss720_epp_read_data()
481 static size_t parport_uss720_epp_write_data(struct parport *pp, const void *buf, size_t length, int… in parport_uss720_epp_write_data()
520 static size_t parport_uss720_epp_read_addr(struct parport *pp, void *buf, size_t length, int flags) in parport_uss720_epp_read_addr()
540 static size_t parport_uss720_epp_write_addr(struct parport *pp, const void *buf, size_t length, int… in parport_uss720_epp_write_addr()
/linux-6.14.4/drivers/crypto/
Domap-aes.c79 u32 val; in omap_aes_write_mask() local
124 u32 val; in omap_aes_write_ctrl() local
170 u32 mask, val; in omap_aes_dma_trigger_omap2() local
1014 char *buf) in fallback_show()
1020 const char *buf, size_t size) in fallback_store()
1041 char *buf) in queue_len_show()
1049 struct device_attribute *attr, const char *buf, in queue_len_store()
/linux-6.14.4/drivers/hwmon/
Ddrivetemp.c213 u8 *buf = st->smartdata; in drivetemp_get_smarttemp() local
260 static int drivetemp_get_scttemp(struct drivetemp_data *st, u32 attr, long *val) in drivetemp_get_scttemp()
262 u8 *buf = st->smartdata; in drivetemp_get_scttemp() local
330 u8 *buf = st->smartdata; in drivetemp_identify_sata() local
453 u32 attr, int channel, long *val) in drivetemp_read()
/linux-6.14.4/drivers/nvmem/
Dimx-ocotp.c158 void *val, size_t bytes) in imx_ocotp_read()
162 u8 *buf, *p; in imx_ocotp_read() local
226 u8 *buf = data; in imx_ocotp_cell_pp() local
310 static int imx_ocotp_write(void *context, unsigned int offset, void *val, in imx_ocotp_write()
314 u32 *buf = val; in imx_ocotp_write() local
/linux-6.14.4/drivers/macintosh/
Dtherm_windtunnel.c100 show_cpu_temperature( struct device *dev, struct device_attribute *attr, char *buf ) in show_cpu_temperature()
106 show_case_temperature( struct device *dev, struct device_attribute *attr, char *buf ) in show_case_temperature()
141 u8 buf[2]; in read_reg() local
156 int val = (fan_setting << 3) | 7; in tune_fan() local
212 int val; in setup_hardware() local
/linux-6.14.4/drivers/spi/
Dspi-xcomm.c44 u8 buf[63]; member
48 unsigned int offset, int val) in spi_xcomm_gpio_set_value()
51 unsigned char buf[2]; in spi_xcomm_gpio_set_value() local
86 u8 *buf = spi_xcomm->buf; in spi_xcomm_sync_config() local
/linux-6.14.4/drivers/phy/renesas/
Dphy-rcar-gen3-usb2.c166 u32 val = readl(usb2_base + USB2_COMMCTRL); in rcar_gen3_set_host_mode() local
179 u32 val = readl(usb2_base + USB2_LINECTRL1); in rcar_gen3_set_linectrl() local
195 u32 val; in rcar_gen3_enable_vbus_ctrl() local
217 u32 val = readl(usb2_base + USB2_OBINTEN); in rcar_gen3_control_otg_irq() local
249 u32 val; in rcar_gen3_init_for_b_host() local
348 const char *buf, size_t count) in role_store()
388 char *buf) in role_show()
403 u32 val; in rcar_gen3_init_otg() local
448 u32 val; in rcar_gen3_phy_usb2_init() local
485 u32 val; in rcar_gen3_phy_usb2_exit() local
[all …]
/linux-6.14.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1031 static int bnx2x_set_dump(struct net_device *dev, struct ethtool_dump *val) in bnx2x_set_dump()
1255 u32 val; in bnx2x_acquire_nvram_lock() local
1291 u32 val; in bnx2x_release_nvram_lock() local
1323 u32 val; in bnx2x_enable_nvram_access() local
1335 u32 val; in bnx2x_disable_nvram_access() local
1349 u32 val; in bnx2x_nvram_read_dword() local
1398 __be32 val; in bnx2x_nvram_read() local
1448 static int bnx2x_nvram_read32(struct bnx2x *bp, u32 offset, u32 *buf, in bnx2x_nvram_read32()
1619 static int bnx2x_nvram_write_dword(struct bnx2x *bp, u32 offset, u32 val, in bnx2x_nvram_write_dword()
1668 u32 cmd_flags, align_offset, val; in bnx2x_nvram_write1() local
[all …]
/linux-6.14.4/drivers/edac/
Dedac_module.c22 static int edac_set_debug_level(const char *buf, in edac_set_debug_level()
25 unsigned long val; in edac_set_debug_level() local
/linux-6.14.4/include/linux/
Dtty_port.h102 struct tty_bufhead buf; member
177 static inline void tty_port_set_cts_flow(struct tty_port *port, bool val) in tty_port_set_cts_flow()
187 static inline void tty_port_set_active(struct tty_port *port, bool val) in tty_port_set_active()
197 static inline void tty_port_set_check_carrier(struct tty_port *port, bool val) in tty_port_set_check_carrier()
207 static inline void tty_port_set_suspended(struct tty_port *port, bool val) in tty_port_set_suspended()
217 static inline void tty_port_set_initialized(struct tty_port *port, bool val) in tty_port_set_initialized()
227 static inline void tty_port_set_kopened(struct tty_port *port, bool val) in tty_port_set_kopened()
/linux-6.14.4/drivers/net/ethernet/marvell/
Dmvneta_bm.c42 u32 val; in mvneta_bm_pool_enable() local
54 u32 val; in mvneta_bm_pool_disable() local
63 u32 val; in mvneta_bm_config_set() local
72 u32 val; in mvneta_bm_config_clear() local
82 u32 val; in mvneta_bm_pool_target_set() local
93 int mvneta_bm_construct(struct hwbm_pool *hwbm_pool, void *buf) in mvneta_bm_construct()
341 u32 val; in mvneta_bm_default_set() local
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dintel_pipe_crc.c59 u32 *val) in i8xx_pipe_crc_ctl_reg()
131 u32 *val) in vlv_pipe_crc_ctl_reg()
198 u32 *val) in i9xx_pipe_crc_ctl_reg()
256 u32 *val) in ilk_pipe_crc_ctl_reg()
339 u32 *val) in ivb_pipe_crc_ctl_reg()
367 u32 *val) in skl_pipe_crc_ctl_reg()
409 enum intel_pipe_crc_source *source, u32 *val) in get_new_crc_ctl_reg()
426 display_crc_ctl_parse_source(const char *buf, enum intel_pipe_crc_source *s) in display_crc_ctl_parse_source()
591 u32 val = 0; /* shut up gcc */ in intel_crtc_set_crc_source() local
641 u32 val = 0; in intel_crtc_enable_pipe_crc() local
/linux-6.14.4/net/mac80211/
Ddebugfs.c24 char buf[DEBUGFS_FORMAT_BUFFER_SIZE]; in mac80211_format_buffer() local
81 char buf[200]; in aqm_read() local
121 char buf[100]; in aqm_write() local
155 char buf[128] = {}, *pos, *end; in airtime_flags_read() local
176 char buf[16]; in airtime_flags_write() local
206 char buf[400]; in aql_pending_read() local
236 char buf[400]; in aql_txq_limit_read() local
263 char buf[100]; in aql_txq_limit_write() local
313 char buf[3]; in aql_enable_read() local
326 char buf[3]; in aql_enable_write() local
[all …]
/linux-6.14.4/drivers/staging/media/tegra-video/
Dtegra20.c151 static void tegra20_vi_write(struct tegra_vi_channel *chan, unsigned int addr, u32 val) in tegra20_vi_write()
234 u32 val; in tegra20_vi_enable() local
341 struct tegra_channel_buffer *buf, in release_buffer()
353 struct tegra_channel_buffer *buf) in tegra20_channel_vi_buffer_setup()
377 struct tegra_channel_buffer *buf) in tegra20_channel_capture_frame()
408 struct tegra_channel_buffer *buf; in tegra20_chan_capture_kthread_start() local
/linux-6.14.4/drivers/scsi/
Dwd33c93.c625 transfer_pio(const wd33c93_regs regs, uchar * buf, int cnt, in transfer_pio()
1750 check_setup_args(char *key, int *flags, int *val, char *buf) in check_setup_args()
1877 int val; in wd33c93_init() local
1878 char buf[32]; in wd33c93_init() local
1996 int wd33c93_write_info(struct Scsi_Host *instance, char *buf, int len) in wd33c93_write_info()
/linux-6.14.4/drivers/platform/cznic/
Dturris-omnia-mcu-gpio.c233 static int omnia_ctl_cmd_locked(struct omnia_mcu *mcu, u8 cmd, u16 val, u16 mask) in omnia_ctl_cmd_locked()
236 u8 buf[5]; in omnia_ctl_cmd_locked() local
260 static int omnia_ctl_cmd(struct omnia_mcu *mcu, u8 cmd, u16 val, u16 mask) in omnia_ctl_cmd()
280 int val; in omnia_gpio_get_direction() local
323 u16 val, mask; in omnia_gpio_direction_output() local
445 u16 val, mask; in omnia_gpio_set() local
953 struct device_attribute *a, char *buf) in front_button_mode_show()
956 int val; in front_button_mode_show() local
972 const char *buf, size_t count) in front_button_mode_store()
/linux-6.14.4/drivers/media/dvb-frontends/
Dau8522_common.c33 u8 buf[] = { (reg >> 8) | 0x80, reg & 0xff, data }; in au8522_writereg() local
132 u8 val; in au8522_led_gpio_enable() local
179 u8 val; in au8522_led_ctrl() local
/linux-6.14.4/kernel/
Dreboot.c1143 static ssize_t mode_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in mode_show()
1145 const char *val; in mode_show() local
1170 const char *buf, size_t count) in mode_store()
1195 static ssize_t force_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in force_show()
1200 const char *buf, size_t count) in force_store()
1217 static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in type_show()
1219 const char *val; in type_show() local
1247 const char *buf, size_t count) in type_store()
1275 static ssize_t cpu_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in cpu_show()
1280 const char *buf, size_t count) in cpu_store()
/linux-6.14.4/drivers/bus/fsl-mc/
Dfsl-mc-bus.c174 char *buf) in modalias_show()
185 const char *buf, size_t count) in driver_override_store()
201 struct device_attribute *attr, char *buf) in driver_override_show()
236 const char *buf, size_t count) in rescan_store()
238 unsigned long val; in rescan_store() local
253 unsigned long val; in fsl_mc_bus_set_autorescan() local
254 char *buf = data; in fsl_mc_bus_set_autorescan() local
276 char *buf = data; in fsl_mc_bus_get_autorescan() local
289 const char *buf, size_t count) in autorescan_store()
296 static ssize_t autorescan_show(const struct bus_type *bus, char *buf) in autorescan_show()
/linux-6.14.4/drivers/ata/pata_parport/
Depia.c72 static void epia_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in epia_write_regr()
126 static void epia_read_block(struct pi_adapter *pi, char *buf, int count) in epia_read_block()
192 static void epia_write_block(struct pi_adapter *pi, char *buf, int count) in epia_write_block()
Dkbic.c65 static void kbic_write_regr(struct pi_adapter *pi, int cont, int regr, int val) in kbic_write_regr()
126 static void kbic_read_block(struct pi_adapter *pi, char *buf, int count) in kbic_read_block()
194 static void kbic_write_block(struct pi_adapter *pi, char *buf, int count) in kbic_write_block()
/linux-6.14.4/arch/m68k/atari/
Dnvram.c99 ssize_t atari_nvram_read(char *buf, size_t count, loff_t *ppos) in atari_nvram_read()
117 ssize_t atari_nvram_write(char *buf, size_t count, loff_t *ppos) in atari_nvram_write()
143 unsigned char val; member
/linux-6.14.4/tools/testing/selftests/mm/
Dthuge-gen.c66 char buf[100]; in show() local
84 char buf[100]; in read_sysfs() local
87 unsigned long val = 0; in read_sysfs() local

1...<<31323334353637383940>>...99