Home
last modified time | relevance | path

Searched defs:buf (Results 176 – 200 of 6539) sorted by relevance

12345678910>>...262

/linux/security/selinux/ss/
H A Dpolicydb.c1007 __le32 buf[2]; in mls_read_range_helper() local
1067 __le32 buf[3]; in context_read_and_validate() local
1131 __le32 buf[2]; in perm_read() local
1163 __le32 buf[4]; in common_read() local
1213 __le32 buf[1]; in type_set_read() local
1234 __le32 buf[3]; in read_cons_helper() local
1328 __le32 buf[6]; in class_read() local
1427 __le32 buf[3]; in role_read() local
1484 __le32 buf[4]; in type_read() local
1532 __le32 buf[1]; in mls_read_level() local
[all …]
/linux/drivers/staging/greybus/
H A Daudio_manager_module.c32 struct attribute *attr, char *buf) in gb_audio_module_attr_show()
48 const char *buf, size_t len) in gb_audio_module_attr_store()
77 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_name_show()
86 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_vid_show()
95 struct gb_audio_manager_module_attribute *attr, char *buf) in gb_audio_module_pid_show()
105 char *buf) in gb_audio_module_intf_id_show()
116 char *buf) in gb_audio_module_ip_devices_show()
127 char *buf) in gb_audio_module_op_devices_show()
/linux/arch/powerpc/kernel/
H A Dsignal.c29 u64 buf[ELF_NFPREG]; in copy_fpr_to_user() local
42 u64 buf[ELF_NFPREG]; in copy_fpr_from_user() local
57 u64 buf[ELF_NVSRHALFREG]; in copy_vsx_to_user() local
69 u64 buf[ELF_NVSRHALFREG]; in copy_vsx_from_user() local
83 u64 buf[ELF_NFPREG]; in copy_ckfpr_to_user() local
96 u64 buf[ELF_NFPREG]; in copy_ckfpr_from_user() local
111 u64 buf[ELF_NVSRHALFREG]; in copy_ckvsx_to_user() local
123 u64 buf[ELF_NVSRHALFREG]; in copy_ckvsx_from_user() local
/linux/drivers/leds/trigger/
H A Dledtrig-oneshot.c26 struct device_attribute *attr, const char *buf, size_t size) in led_shot()
39 struct device_attribute *attr, char *buf) in led_invert_show()
47 struct device_attribute *attr, const char *buf, size_t size) in led_invert_store()
69 struct device_attribute *attr, char *buf) in led_delay_on_show()
77 struct device_attribute *attr, const char *buf, size_t size) in led_delay_on_store()
93 struct device_attribute *attr, char *buf) in led_delay_off_show()
101 struct device_attribute *attr, const char *buf, size_t size) in led_delay_off_store()
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dsdk.c55 struct mlx5_fpga_dma_buf *buf) in mlx5_fpga_sbu_conn_sendmsg()
62 u64 addr, u8 *buf) in mlx5_fpga_mem_read_i2c()
94 u64 addr, u8 *buf) in mlx5_fpga_mem_write_i2c()
125 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_read()
146 void *buf, enum mlx5_fpga_access_type access_type) in mlx5_fpga_mem_write()
166 int mlx5_fpga_get_sbu_caps(struct mlx5_fpga_device *fdev, int size, void *buf) in mlx5_fpga_get_sbu_caps()
/linux/drivers/base/
H A Dphysical_location.c42 char *buf) in panel_show()
73 struct device_attribute *attr, char *buf) in vertical_position_show()
95 struct device_attribute *attr, char *buf) in horizontal_position_show()
117 char *buf) in dock_show()
125 char *buf) in lid_show()
/linux/drivers/platform/x86/dell/
H A Ddcdbas.c134 char *buf) in smi_data_buf_phys_addr_show()
141 char *buf) in smi_data_buf_size_show()
148 const char *buf, size_t count) in smi_data_buf_size_store()
167 char *buf, loff_t pos, size_t count) in smi_data_read()
180 char *buf, loff_t pos, size_t count) in smi_data_write()
202 char *buf) in host_control_action_show()
209 const char *buf, size_t count) in host_control_action_store()
226 char *buf) in host_control_smi_type_show()
233 const char *buf, size_t count) in host_control_smi_type_store()
241 char *buf) in host_control_on_shutdown_show()
[all …]
/linux/drivers/accel/habanalabs/common/
H A Dstate_dump.c21 char *hl_format_as_binary(char *buf, size_t buf_len, u32 n) in hl_format_as_binary()
67 static int resize_to_fit(char **buf, size_t *size, size_t desired_size) in resize_to_fit()
105 int hl_snprintf_resize(char **buf, size_t *size, size_t *offset, in hl_snprintf_resize()
165 static int hl_print_resize_sync_engine(char **buf, size_t *size, size_t *offset, in hl_print_resize_sync_engine()
310 char **buf, size_t *size, size_t *offset, in hl_state_dump_print_syncs_single_block()
394 char **buf, size_t *size, in hl_state_dump_print_syncs()
512 char **buf, size_t *size, in hl_state_dump_print_monitors_single_block()
562 char **buf, size_t *size, in hl_state_dump_print_monitors()
606 char **buf, size_t *size, size_t *offset) in hl_state_dump_print_engine_fences()
653 static int hl_state_dump_print_fences(struct hl_device *hdev, char **buf, in hl_state_dump_print_fences()
[all …]
/linux/drivers/hwmon/
H A Dabituguru.c376 u8 bank_addr, u8 sensor_addr, u8 *buf, int count, int retries) in abituguru_read()
408 u8 bank_addr, u8 sensor_addr, u8 *buf, int count) in abituguru_write()
475 u8 val, test_flag, buf[3]; in abituguru_detect_bank1_sensor_type() local
788 struct device_attribute *devattr, char *buf) in show_bank1_value()
799 struct device_attribute *devattr, char *buf) in show_bank1_setting()
809 struct device_attribute *devattr, char *buf) in show_bank2_value()
820 struct device_attribute *devattr, char *buf) in show_bank2_setting()
830 *devattr, const char *buf, size_t count) in store_bank1_setting()
863 *devattr, const char *buf, size_t count) in store_bank2_setting()
898 struct device_attribute *devattr, char *buf) in show_bank1_alarm()
[all …]
H A Demc2103.c175 temp_show(struct device *dev, struct device_attribute *da, char *buf) in temp_show()
185 temp_min_show(struct device *dev, struct device_attribute *da, char *buf) in temp_min_show()
194 temp_max_show(struct device *dev, struct device_attribute *da, char *buf) in temp_max_show()
203 temp_fault_show(struct device *dev, struct device_attribute *da, char *buf) in temp_fault_show()
213 char *buf) in temp_min_alarm_show()
223 char *buf) in temp_max_alarm_show()
232 const char *buf, size_t count) in temp_min_store()
254 const char *buf, size_t count) in temp_max_store()
276 fan1_input_show(struct device *dev, struct device_attribute *da, char *buf) in fan1_input_show()
286 fan1_div_show(struct device *dev, struct device_attribute *da, char *buf) in fan1_div_show()
[all …]
H A Dsmsc47m192.c170 char *buf) in in_show()
179 char *buf) in in_min_show()
188 char *buf) in in_max_show()
197 const char *buf, size_t count) in in_min_store()
219 const char *buf, size_t count) in in_max_store()
267 char *buf) in temp_show()
276 struct device_attribute *attr, char *buf) in temp_min_show()
285 struct device_attribute *attr, char *buf) in temp_max_show()
294 struct device_attribute *attr, const char *buf, in temp_min_store()
317 struct device_attribute *attr, const char *buf, in temp_max_store()
[all …]
/linux/sound/core/
H A Dpcm_drm_eld.c238 #define GRAB_BITS(buf, byte, lowbit, bits) \ argument
249 const unsigned char *buf) in hdmi_update_short_audio_desc()
328 const unsigned char *buf, int size) in snd_parse_eld()
396 static void hdmi_print_pcm_rates(int pcm, char *buf, int buflen) in hdmi_print_pcm_rates()
412 static void eld_print_pcm_bits(int pcm, char *buf, int buflen) in eld_print_pcm_bits()
427 char buf[SND_PRINT_RATES_ADVISED_BUFSIZE]; in hdmi_show_short_audio_desc() local
449 static void snd_eld_print_channel_allocation(int spk_alloc, char *buf, int buflen) in snd_eld_print_channel_allocation()
470 char buf[SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE]; in snd_show_eld() local
485 char buf[SND_PRINT_RATES_ADVISED_BUFSIZE]; in hdmi_print_sad_info() local
511 char buf[SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE]; in snd_print_eld_info() local
/linux/arch/m68k/include/asm/
H A Dio_mm.h271 #define isa_insb(port, buf, nr) raw_insb(isa_itb(port), (u8 *)(buf), (nr)) argument
272 #define isa_outsb(port, buf, nr) raw_outsb(isa_itb(port), (u8 *)(buf), (nr)) argument
274 #define isa_insw(port, buf, nr) \ argument
278 #define isa_outsw(port, buf, nr) \ argument
282 #define isa_insl(port, buf, nr) \ argument
286 #define isa_outsl(port, buf, nr) \ argument
297 #define isa_rom_insb(port, buf, nr) raw_rom_insb(isa_itb(port), (u8 *)(buf), (nr)) argument
299 #define isa_rom_insw(port, buf, nr) \ argument
303 #define isa_rom_outsb(port, buf, nr) raw_rom_outsb(isa_itb(port), (u8 *)(buf), (nr)) argument
305 #define isa_rom_outsw(port, buf, nr) \ argument
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c22 ice_aq_get_lldp_mib(struct ice_hw *hw, u8 bridge_type, u8 mib_type, void *buf, in ice_aq_get_lldp_mib()
160 ice_parse_ieee_ets_common_tlv(u8 *buf, struct ice_dcb_ets_cfg *ets_cfg) in ice_parse_ieee_ets_common_tlv()
211 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_etscfg_tlv() local
240 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_etsrec_tlv() local
257 u8 *buf = tlv->tlvinfo; in ice_parse_ieee_pfccfg_tlv() local
286 u8 *buf; in ice_parse_ieee_app_tlv() local
371 u8 *buf = tlv->tlvinfo; in ice_parse_cee_pgcfg_tlv() local
427 u8 *buf = tlv->tlvinfo; in ice_parse_cee_pfccfg_tlv() local
1068 ice_add_ieee_ets_common_tlv(u8 *buf, struct ice_dcb_ets_cfg *ets_cfg) in ice_add_ieee_ets_common_tlv()
1119 u8 *buf = tlv->tlvinfo; in ice_add_ieee_ets_tlv() local
[all …]
/linux/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c15 struct device_attribute *attr, char *buf) in module_version_show()
23 struct device_attribute *attr, char *buf) in module_type_show()
31 struct device_attribute *attr, char *buf) in fw_version_show()
40 struct device_attribute *attr, char *buf) in fw_type_show()
49 struct device_attribute *attr, char *buf) in serial_number_show()
/linux/drivers/dio/
H A Ddio-sysfs.c20 static ssize_t dio_show_id(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_id()
29 static ssize_t dio_show_ipl(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_ipl()
38 static ssize_t dio_show_secid(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_secid()
47 static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_name()
56 static ssize_t dio_show_resource(struct device *dev, struct device_attribute *attr, char *buf) in dio_show_resource()
/linux/drivers/macintosh/
H A Dmacio_sysfs.c9 compatible_show (struct device *dev, struct device_attribute *attr, char *buf) in compatible_show()
36 char *buf) in modalias_show()
42 struct device_attribute *attr, char *buf) in devspec_show()
53 struct device_attribute *attr, char *buf) in name_show()
60 struct device_attribute *attr, char *buf) in type_show()
/linux/drivers/staging/fbtft/
H A Dfbtft-io.c8 int fbtft_write_spi(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_spi()
40 int fbtft_write_spi_emulate_9(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_spi_emulate_9()
85 int fbtft_read_spi(struct fbtft_par *par, void *buf, size_t len) in fbtft_read_spi()
130 int fbtft_write_gpio8_wr(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio8_wr()
180 int fbtft_write_gpio16_wr(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio16_wr()
231 int fbtft_write_gpio16_wr_latched(struct fbtft_par *par, void *buf, size_t len) in fbtft_write_gpio16_wr_latched()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c25 static int get_integer(const char *buf, size_t count) in get_integer()
41 static int get_boolean(const char *buf, size_t count) in get_boolean()
66 char *buf) in b43legacy_attr_interfmode_show()
98 const char *buf, size_t count) in b43legacy_attr_interfmode_store()
145 char *buf) in b43legacy_attr_preamble_show()
167 const char *buf, size_t count) in b43legacy_attr_preamble_store()
/linux/drivers/net/wireless/realtek/rtw89/
H A Ddebug.c92 char *buf; member
98 char *buf, size_t bufsz) in rtw89_debugfs_iter_data_setup()
106 char *buf, size_t bufsz, int written_sz) in rtw89_debugfs_iter_data_next()
130 char *buf, size_t bufsz, void *data) in rtw89_debugfs_file_read_helper()
149 char *buf; in rtw89_debugfs_file_read() local
183 char *buf, size_t count, void *data) in rtw89_debugfs_file_write_helper()
240 const char *buf, size_t count) in rtw89_debug_priv_read_reg_select()
262 char *buf, size_t bufsz) in rtw89_debug_priv_read_reg_get()
312 const char *buf, size_t count) in rtw89_debug_priv_write_reg_set()
347 const char *buf, size_t count) in rtw89_debug_priv_read_rf_select()
[all …]
/linux/drivers/platform/x86/
H A Dmsi-laptop.c144 u8 buf[2]; in set_lcd_level() local
201 static ssize_t set_device_state(const char *buf, size_t count, u8 mask) in set_device_state()
306 struct device_attribute *attr, char *buf) in show_wlan()
324 struct device_attribute *attr, const char *buf, size_t count) in store_wlan()
330 struct device_attribute *attr, char *buf) in show_bluetooth()
348 struct device_attribute *attr, const char *buf, size_t count) in store_bluetooth()
354 struct device_attribute *attr, char *buf) in show_threeg()
371 struct device_attribute *attr, const char *buf, size_t count) in store_threeg()
377 struct device_attribute *attr, char *buf) in show_lcd_level()
390 struct device_attribute *attr, const char *buf, size_t count) in store_lcd_level()
[all …]
/linux/net/ieee802154/
H A Dheader_ops.c15 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr()
47 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr()
80 u8 buf[IEEE802154_MAX_HEADER_LEN]; in ieee802154_hdr_push() local
171 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan, in ieee802154_hdr_get_addr()
208 ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr) in ieee802154_hdr_get_sechdr()
265 ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr) in ieee802154_hdr_get_addrs()
326 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() local
346 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek() local
/linux/arch/powerpc/platforms/pseries/
H A Dreconfig.c114 static char * parse_next_property(char *buf, char *end, char **name, int *length, in parse_next_property()
194 static int do_add_node(char *buf, size_t bufsize) in do_add_node()
240 static int do_remove_node(char *buf) in do_remove_node()
252 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node()
272 static int do_add_property(char *buf, size_t bufsize) in do_add_property()
297 static int do_remove_property(char *buf, size_t bufsize) in do_remove_property()
316 static int do_update_property(char *buf, size_t bufsize) in do_update_property()
358 static ssize_t ofdt_write(struct file *file, const char __user *buf, size_t count, in ofdt_write()
/linux/drivers/s390/crypto/
H A Dap_queue.c538 char *buf) in request_count_show()
559 const char *buf, size_t count) in request_count_store()
573 struct device_attribute *attr, char *buf) in requestq_count_show()
588 struct device_attribute *attr, char *buf) in pendingq_count_show()
603 struct device_attribute *attr, char *buf) in reset_show()
627 const char *buf, size_t count) in reset_store()
646 struct device_attribute *attr, char *buf) in interrupt_show()
670 struct device_attribute *attr, char *buf) in config_show()
684 struct device_attribute *attr, char *buf) in chkstop_show()
698 struct device_attribute *attr, char *buf) in ap_functions_show()
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88-vbi.c53 struct cx88_buffer *buf) in cx8800_start_vbi_dma()
101 struct cx88_buffer *buf; in cx8800_restart_vbi_queue() local
133 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare() local
157 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_finish() local
170 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_queue() local
198 struct cx88_buffer *buf = list_entry(dmaq->active.next, in start_streaming() local
217 struct cx88_buffer *buf = list_entry(dmaq->active.next, in stop_streaming() local

12345678910>>...262