| /linux/arch/riscv/include/asm/ |
| H A D | io.h | 101 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 102 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 103 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 108 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument 109 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument 110 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument 115 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 116 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 117 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 122 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | pkey_sysfs.c | 50 loff_t off, size_t count) in pkey_protkey_aes_attr_read() 107 loff_t off, size_t count) in pkey_protkey_aes_xts_attr_read() 149 loff_t off, size_t count) in pkey_protkey_hmac_attr_read() 188 size_t count) in protkey_aes_128_read() 198 size_t count) in protkey_aes_192_read() 208 size_t count) in protkey_aes_256_read() 218 size_t count) in protkey_aes_128_xts_read() 228 size_t count) in protkey_aes_256_xts_read() 238 size_t count) in protkey_aes_xts_128_read() 248 size_t count) in protkey_aes_xts_256_read() [all …]
|
| /linux/drivers/net/ethernet/amd/xgbe/ |
| H A D | xgbe-debugfs.c | 15 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 39 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 66 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 75 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 84 size_t count, loff_t *ppos) in xgmac_reg_value_read() 96 size_t count, loff_t *ppos) in xgmac_reg_value_write() 126 size_t count, loff_t *ppos) in xpcs_mmd_read() 134 size_t count, loff_t *ppos) in xpcs_mmd_write() 143 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 151 size_t count, loff_t *ppos) in xpcs_reg_addr_write() [all …]
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_io.h | 70 unsigned long count) in nsp_multi_read_1() 77 unsigned long count) in nsp_fifo8_read() 89 unsigned long count) in nsp_multi_read_2() 96 unsigned long count) in nsp_fifo16_read() 108 unsigned long count) in nsp_multi_read_4() 115 unsigned long count) in nsp_fifo32_read() 127 unsigned long count) in nsp_multi_write_1() 134 unsigned long count) in nsp_fifo8_write() 145 unsigned long count) in nsp_multi_write_2() 152 unsigned long count) in nsp_fifo16_write() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | debugfs.c | 31 int wl1271_format_buffer(char __user *userbuf, size_t count, in wl1271_format_buffer() 78 size_t count, loff_t *ppos) in tx_queue_len_read() 174 size_t count, loff_t *ppos) in gpio_power_read() 189 size_t count, loff_t *ppos) in gpio_power_write() 221 size_t count, loff_t *ppos) in start_recovery_write() 239 size_t count, loff_t *ppos) in dynamic_ps_timeout_read() 250 size_t count, loff_t *ppos) in dynamic_ps_timeout_write() 303 size_t count, loff_t *ppos) in forced_ps_read() 314 size_t count, loff_t *ppos) in forced_ps_write() 372 size_t count, loff_t *ppos) in split_scan_timeout_read() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | debugfs.c | 53 size_t count, loff_t *ppos) in iwl_dbgfs_sram_read() 143 size_t count, loff_t *ppos) in iwl_dbgfs_sram_write() 171 size_t count, loff_t *ppos) in iwl_dbgfs_wowlan_sram_read() 184 size_t count, loff_t *ppos) in iwl_dbgfs_stations_read() 241 size_t count, in iwl_dbgfs_nvm_read() 279 size_t count, loff_t *ppos) in iwl_dbgfs_channels_read() 345 size_t count, loff_t *ppos) { in iwl_dbgfs_status_read() 379 size_t count, loff_t *ppos) { in iwl_dbgfs_rx_handlers_read() 408 size_t count, loff_t *ppos) in iwl_dbgfs_rx_handlers_write() 430 size_t count, loff_t *ppos) in iwl_dbgfs_qos_read() [all …]
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | debugfs.c | 26 size_t count, loff_t *ppos) in write_file_dummy() 34 size_t count, loff_t *ppos) in lbs_dev_info() 56 const char __user *user_buf, size_t count, in lbs_sleepparams_write() 93 size_t count, loff_t *ppos) in lbs_sleepparams_read() 121 const char __user *user_buf, size_t count, in lbs_host_sleep_write() 163 size_t count, loff_t *ppos) in lbs_host_sleep_read() 219 size_t count, loff_t *ppos) in lbs_threshold_read() 271 const char __user *userbuf, size_t count, in lbs_threshold_write() 339 size_t count, loff_t *ppos) in lbs_lowrssi_read() 347 size_t count, loff_t *ppos) in lbs_lowrssi_write() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | debugfs.c | 26 size_t count, loff_t *ppos) in iwl_dbgfs_ctdp_budget_read() 52 size_t count, loff_t *ppos) in iwl_dbgfs_stop_ctdp_write() 81 char *buf, size_t count, in iwl_dbgfs_start_ctdp_write() 111 size_t count, loff_t *ppos) in iwl_dbgfs_force_ctkill_write() 123 size_t count, loff_t *ppos) in iwl_dbgfs_tx_flush_write() 157 size_t count, loff_t *ppos) in iwl_dbgfs_sram_read() 192 size_t count, loff_t *ppos) in iwl_dbgfs_sram_write() 224 size_t count, loff_t *ppos) in iwl_dbgfs_set_nic_temperature_read() 246 char *buf, size_t count, in iwl_dbgfs_set_nic_temperature_write() 291 size_t count, loff_t *ppos) in iwl_dbgfs_nic_temp_read() [all …]
|
| H A D | debugfs-vif.c | 73 size_t count, loff_t *ppos) in iwl_dbgfs_pm_params_write() 137 size_t count, loff_t *ppos) in iwl_dbgfs_tx_pwr_lmt_read() 152 size_t count, loff_t *ppos) in iwl_dbgfs_pm_params_read() 168 size_t count, loff_t *ppos) in iwl_dbgfs_mac_params_read() 296 size_t count, loff_t *ppos) in iwl_dbgfs_bf_params_write() 394 size_t count, loff_t *ppos) in iwl_dbgfs_bf_params_read() 443 size_t count, loff_t *ppos) in iwl_dbgfs_os_device_timediff_read() 468 char *buf, size_t count, void *data) in iwl_dbgfs_low_latency_write_handle() 491 size_t count, loff_t *ppos) in iwl_dbgfs_low_latency_write() 506 char *buf, size_t count, void *data) in iwl_dbgfs_low_latency_force_write_handle() [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | debug.c | 200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() 241 const char __user *user_buf, size_t count, in il_dbgfs_clear_traffic_stats_write() 261 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_stats_read() 305 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_sram_read() 365 size_t count, loff_t *ppos) in il_dbgfs_sram_write() 389 il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_stations_read() 453 il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_nvm_read() 497 il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_channels_read() 576 il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_status_read() 637 il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_interrupt_read() [all …]
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l3_sys.c | 68 const char *buf, size_t count) in qeth_l3_dev_route_store() 105 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route4_store() 125 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_route6_store() 145 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_sniffer_store() 207 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_hsuid_store() 292 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_ipato_enable_store() 338 const char *buf, size_t count) in qeth_l3_dev_ipato_invert4_store() 422 static ssize_t qeth_l3_dev_ipato_add_store(const char *buf, size_t count, in qeth_l3_dev_ipato_add_store() 450 struct device_attribute *attr, const char *buf, size_t count) in qeth_l3_dev_ipato_add4_store() 461 static ssize_t qeth_l3_dev_ipato_del_store(const char *buf, size_t count, in qeth_l3_dev_ipato_del_store() [all …]
|
| /linux/net/mac80211/ |
| H A D | debugfs.c | 20 int mac80211_format_buffer(char __user *userbuf, size_t count, in mac80211_format_buffer() 76 size_t count, in aqm_read() 115 size_t count, in aqm_write() 150 size_t count, loff_t *ppos) in airtime_flags_read() 171 size_t count, loff_t *ppos) in airtime_flags_write() 201 size_t count, loff_t *ppos) in aql_pending_read() 230 size_t count, in aql_txq_limit_read() 257 size_t count, in aql_txq_limit_write() 309 size_t count, loff_t *ppos) in aql_enable_read() 321 size_t count, loff_t *ppos) in aql_enable_write() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | debugfs.c | 48 char *buf, size_t count) in iwl_dbgfs_fw_dbg_clear_write() 62 size_t count) in iwl_dbgfs_fw_nmi_write() 78 size_t count) in iwl_dbgfs_fw_restart_write() 102 size_t count) in iwl_dbgfs_send_echo_cmd_write() 130 size_t count) in iwl_dbgfs_he_sniffer_params_write() 185 iwl_dbgfs_he_sniffer_params_read(struct iwl_mld *mld, char *buf, size_t count) in iwl_dbgfs_he_sniffer_params_read() 214 size_t count, u8 *buf) in iwl_mld_dump_tas_resp() 386 size_t count) in iwl_dbgfs_tas_get_status_read() 449 size_t count, u8 *buf) in iwl_dbgfs_wifi_6e_enable_read() 464 char *buf, size_t count) in iwl_dbgfs_inject_packet_write() [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | debugfs.c | 63 size_t count, loff_t *ppos) in mwifiex_info_read() 167 size_t count, loff_t *ppos) in mwifiex_getlog_read() 243 size_t count, loff_t *ppos) in mwifiex_histogram_read() 322 size_t count, loff_t *ppos) in mwifiex_histogram_write() 382 size_t count, loff_t *ppos) in mwifiex_debug_read() 418 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_regrdwr_write() 456 size_t count, loff_t *ppos) in mwifiex_regrdwr_read() 510 size_t count, loff_t *ppos) in mwifiex_debug_mask_read() 536 size_t count, loff_t *ppos) in mwifiex_debug_mask_write() 564 size_t count, loff_t *ppos) in mwifiex_verext_write() [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | io.c | 277 void ioread8_rep(const void __iomem *port, void *dst, unsigned long count) in ioread8_rep() 305 void insb(unsigned long port, void *dst, unsigned long count) in insb() 320 void ioread16_rep(const void __iomem *port, void *dst, unsigned long count) in ioread16_rep() 345 void insw(unsigned long port, void *dst, unsigned long count) in insw() 360 void ioread32_rep(const void __iomem *port, void *dst, unsigned long count) in ioread32_rep() 377 void insl(unsigned long port, void *dst, unsigned long count) in insl() 392 void iowrite8_rep(void __iomem *port, const void *xsrc, unsigned long count) in iowrite8_rep() 399 void outsb(unsigned long port, const void *src, unsigned long count) in outsb() 414 void iowrite16_rep(void __iomem *port, const void *src, unsigned long count) in iowrite16_rep() 439 void outsw(unsigned long port, const void *src, unsigned long count) in outsw() [all …]
|
| /linux/tools/testing/selftests/drivers/ntsync/ |
| H A D | ntsync.c | 17 static int read_sem_state(int sem, __u32 *count, __u32 *max) in read_sem_state() 29 #define check_sem_state(sem, count, max) \ argument 38 static int release_sem(int sem, __u32 *count) in release_sem() 43 static int read_mutex_state(int mutex, __u32 *count, __u32 *owner) in read_mutex_state() 55 #define check_mutex_state(mutex, count, owner) \ argument 64 static int unlock_mutex(int mutex, __u32 owner, __u32 *count) in unlock_mutex() 97 static int wait_objs(int fd, unsigned long request, __u32 count, in wait_objs() 117 static int wait_any(int fd, __u32 count, const int *objs, __u32 owner, __u32 *index) in wait_any() 122 static int wait_all(int fd, __u32 count, const int *objs, __u32 owner, __u32 *index) in wait_all() 127 static int wait_any_alert(int fd, __u32 count, const int *objs, in wait_any_alert() [all …]
|
| /linux/drivers/nvme/target/ |
| H A D | configfs.c | 82 const char *page, size_t count) in nvmet_addr_adrfam_store() 114 const char *page, size_t count) in nvmet_addr_portid_store() 142 const char *page, size_t count) in nvmet_addr_traddr_store() 187 const char *page, size_t count) in nvmet_addr_treq_store() 235 const char *page, size_t count) in nvmet_addr_trsvcid_store() 262 const char *page, size_t count) in nvmet_param_inline_data_size_store() 288 const char *page, size_t count) in nvmet_param_max_queue_size_store() 315 const char *page, size_t count) in nvmet_param_pi_enable_store() 361 const char *page, size_t count) in nvmet_addr_trtype_store() 442 const char *page, size_t count) in nvmet_addr_tsas_store() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | debug.c | 155 size_t count, loff_t *ppos) in ath10k_read_wmi_services() 448 size_t count, loff_t *ppos) in ath10k_fw_stats_read() 466 size_t count, loff_t *ppos) in ath10k_debug_fw_reset_stats_read() 526 size_t count, loff_t *ppos) in ath10k_read_simulate_fw_crash() 547 size_t count, loff_t *ppos) in ath10k_write_simulate_fw_crash() 618 size_t count, loff_t *ppos) in ath10k_read_chip_id() 638 size_t count, loff_t *ppos) in ath10k_reg_addr_read() 656 size_t count, loff_t *ppos) in ath10k_reg_addr_write() 686 size_t count, loff_t *ppos) in ath10k_reg_value_read() 717 size_t count, loff_t *ppos) in ath10k_reg_value_write() [all …]
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | debugfs.c | 68 ssize_t count = 0; in shm16read__read_file() local 85 const char *buf, size_t count) in shm16read__write_file() 109 const char *buf, size_t count) in shm16write__write_file() 144 ssize_t count = 0; in shm32read__read_file() local 161 const char *buf, size_t count) in shm32read__write_file() 185 const char *buf, size_t count) in shm32write__write_file() 223 ssize_t count = 0; in mmio16read__read_file() local 238 const char *buf, size_t count) in mmio16read__write_file() 257 const char *buf, size_t count) in mmio16write__write_file() 287 ssize_t count = 0; in mmio32read__read_file() local [all …]
|
| /linux/drivers/tty/ |
| H A D | tty_ldsem.c | 78 long adjust, count; in __ldsem_wake_readers() local 110 long count = atomic_long_add_return(LDSEM_ACTIVE_BIAS, &sem->count); in writer_trylock() local 156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) in down_read_failed() 230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) in down_write_failed() 298 long count; in __ldsem_down_read_nested() local 317 long count; in __ldsem_down_write_nested() local 348 long count = atomic_long_read(&sem->count); in ldsem_down_read_trylock() local 374 long count; in ldsem_up_read() local 388 long count; in ldsem_up_write() local
|
| /linux/lib/ |
| H A D | string.c | 92 char *strncpy(char *dest, const char *src, size_t count) in strncpy() 113 ssize_t sized_strscpy(char *dest, const char *src, size_t count) in sized_strscpy() 232 char *strncat(char *dest, const char *src, size_t count) in strncat() 252 size_t strlcat(char *dest, const char *src, size_t count) in strlcat() 302 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() 367 char *strnchrnul(const char *s, size_t count, int c) in strnchrnul() 402 char *strnchr(const char *s, size_t count, int c) in strnchr() 428 size_t strnlen(const char *s, size_t count) in strnlen() 534 void *memset(void *s, int c, size_t count) in memset() 556 void *memset16(uint16_t *s, uint16_t v, size_t count) in memset16() [all …]
|
| /linux/arch/parisc/lib/ |
| H A D | io.c | 19 void insb (unsigned long port, void *dst, unsigned long count) in insb() 59 void insw (unsigned long port, void *dst, unsigned long count) in insw() 131 void insl (unsigned long port, void *dst, unsigned long count) in insl() 211 void outsb(unsigned long port, const void * src, unsigned long count) in outsb() 229 void outsw (unsigned long port, const void *src, unsigned long count) in outsw() 301 void outsl (unsigned long port, const void *src, unsigned long count) in outsl()
|
| /linux/include/asm-generic/ |
| H A D | io.h | 436 unsigned int count) in readsb() 452 unsigned int count) in readsw() 468 unsigned int count) in readsl() 485 unsigned int count) in readsq() 502 unsigned int count) in writesb() 517 unsigned int count) in writesw() 532 unsigned int count) in writesl() 548 unsigned int count) in writesq() 756 static inline void insb(unsigned long addr, void *buffer, unsigned int count) in insb() 769 static inline void insw(unsigned long addr, void *buffer, unsigned int count) in insw() [all …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs.c | 181 size_t count, loff_t *ppos) in ath11k_read_pdev_stats() 252 size_t count, loff_t *ppos) in ath11k_read_vdev_stats() 336 size_t count, loff_t *ppos) in ath11k_read_bcn_stats() 354 size_t count, loff_t *ppos) in ath11k_read_simulate_fw_crash() 373 size_t count, loff_t *ppos) in ath11k_write_simulate_fw_crash() 442 size_t count, loff_t *ppos) in ath11k_write_enable_extd_tx_stats() 473 size_t count, loff_t *ppos) in ath11k_read_enable_extd_tx_stats() 496 size_t count, loff_t *ppos) in ath11k_write_extd_rx_stats() 572 size_t count, loff_t *ppos) in ath11k_read_extd_rx_stats() 660 size_t count, loff_t *ppos) in ath11k_debugfs_dump_soc_dp_stats() [all …]
|
| /linux/drivers/char/ |
| H A D | tlclk.c | 244 static ssize_t tlclk_read(struct file *filp, char __user *buf, size_t count, in tlclk_read() 328 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3a() 350 struct device_attribute *attr, const char *buf, size_t count) in store_received_ref_clk3b() 372 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3b_output() 393 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clk3a_output() 414 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb1_output() 436 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka1_output() 457 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clkb0_output() 478 struct device_attribute *attr, const char *buf, size_t count) in store_enable_clka0_output() 499 struct device_attribute *attr, const char *buf, size_t count) in store_select_amcb2_transmit_clock() [all …]
|