/linux/arch/riscv/include/asm/ |
H A D | io.h | 97 #define readsb(addr, buffer, count) __readsb(addr, buffer, count) argument 98 #define readsw(addr, buffer, count) __readsw(addr, buffer, count) argument 99 #define readsl(addr, buffer, count) __readsl(addr, buffer, count) argument 104 #define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count) argument 105 #define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count) argument 106 #define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count) argument 111 #define writesb(addr, buffer, count) __writesb(addr, buffer, count) argument 112 #define writesw(addr, buffer, count) __writesw(addr, buffer, count) argument 113 #define writesl(addr, buffer, count) __writesl(addr, buffer, count) argument 118 #define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count) argument [all …]
|
/linux/drivers/s390/crypto/ |
H A D | pkey_sysfs.c | 51 loff_t off, size_t count) in pkey_protkey_aes_attr_read() 108 loff_t off, size_t count) in pkey_protkey_aes_xts_attr_read() 150 loff_t off, size_t count) in pkey_protkey_hmac_attr_read() 189 size_t count) in protkey_aes_128_read() 199 size_t count) in protkey_aes_192_read() 209 size_t count) in protkey_aes_256_read() 219 size_t count) in protkey_aes_128_xts_read() 229 size_t count) in protkey_aes_256_xts_read() 239 size_t count) in protkey_aes_xts_128_read() 249 size_t count) in protkey_aes_xts_256_read() [all …]
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 193 size_t count, loff_t *ppos) in xgmac_reg_value_read() 205 size_t count, loff_t *ppos) in xgmac_reg_value_write() 235 size_t count, loff_t *ppos) in xpcs_mmd_read() 243 size_t count, loff_t *ppos) in xpcs_mmd_write() 252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 260 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/arch/sh/kernel/ |
H A D | iomap.c | 77 static inline void mmio_insb(const void __iomem *addr, u8 *dst, int count) in mmio_insb() 86 static inline void mmio_insw(const void __iomem *addr, u16 *dst, int count) in mmio_insw() 95 static inline void mmio_insl(const void __iomem *addr, u32 *dst, int count) in mmio_insl() 104 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) in mmio_outsb() 112 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) in mmio_outsw() 120 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) in mmio_outsl() 128 void ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() 134 void ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread16_rep() 140 void ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread32_rep() 146 void iowrite8_rep(void __iomem *addr, const void *src, unsigned long count) in iowrite8_rep() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 24 size_t count, loff_t *ppos) in iwl_dbgfs_ctdp_budget_read() 50 size_t count, loff_t *ppos) in iwl_dbgfs_stop_ctdp_write() 79 char *buf, size_t count, in iwl_dbgfs_start_ctdp_write() 109 size_t count, loff_t *ppos) in iwl_dbgfs_force_ctkill_write() 121 size_t count, loff_t *ppos) in iwl_dbgfs_tx_flush_write() 155 size_t count, loff_t *ppos) in iwl_dbgfs_sram_read() 190 size_t count, loff_t *ppos) in iwl_dbgfs_sram_write() 222 size_t count, loff_t *ppos) in iwl_dbgfs_set_nic_temperature_read() 244 char *buf, size_t count, in iwl_dbgfs_set_nic_temperature_write() 289 size_t count, loff_t *ppos) in iwl_dbgfs_nic_temp_read() [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() 79 size_t count, loff_t *ppos) in tx_queue_len_read() 176 size_t count, loff_t *ppos) in gpio_power_read() 191 size_t count, loff_t *ppos) in gpio_power_write() 223 size_t count, loff_t *ppos) in start_recovery_write() 241 size_t count, loff_t *ppos) in dynamic_ps_timeout_read() 252 size_t count, loff_t *ppos) in dynamic_ps_timeout_write() 306 size_t count, loff_t *ppos) in forced_ps_read() 317 size_t count, loff_t *ppos) in forced_ps_write() 376 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/arch/parisc/lib/ |
H A D | io.c | 19 void memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() 54 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() 106 void memset_io(volatile void __iomem *addr, unsigned char val, int count) in memset_io() 127 void insb (unsigned long port, void *dst, unsigned long count) in insb() 167 void insw (unsigned long port, void *dst, unsigned long count) in insw() 239 void insl (unsigned long port, void *dst, unsigned long count) in insl() 319 void outsb(unsigned long port, const void * src, unsigned long count) in outsb() 337 void outsw (unsigned long port, const void *src, unsigned long count) in outsw() 409 void outsl (unsigned long port, const void *src, unsigned long count) in outsl()
|
/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/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/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 = atomic_long_read(&sem->count); in ldsem_down_write_trylock() local 391 long count; in ldsem_up_read() local 405 long count; in ldsem_up_write() local
|
/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/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 153 size_t count, loff_t *ppos) in ath10k_read_wmi_services() 446 size_t count, loff_t *ppos) in ath10k_fw_stats_read() 464 size_t count, loff_t *ppos) in ath10k_debug_fw_reset_stats_read() 524 size_t count, loff_t *ppos) in ath10k_read_simulate_fw_crash() 545 size_t count, loff_t *ppos) in ath10k_write_simulate_fw_crash() 616 size_t count, loff_t *ppos) in ath10k_read_chip_id() 636 size_t count, loff_t *ppos) in ath10k_reg_addr_read() 654 size_t count, loff_t *ppos) in ath10k_reg_addr_write() 684 size_t count, loff_t *ppos) in ath10k_reg_value_read() 715 size_t count, loff_t *ppos) in ath10k_reg_value_write() [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 69 ssize_t count = 0; in shm16read__read_file() local 86 const char *buf, size_t count) in shm16read__write_file() 110 const char *buf, size_t count) in shm16write__write_file() 145 ssize_t count = 0; in shm32read__read_file() local 162 const char *buf, size_t count) in shm32read__write_file() 186 const char *buf, size_t count) in shm32write__write_file() 224 ssize_t count = 0; in mmio16read__read_file() local 239 const char *buf, size_t count) in mmio16read__write_file() 258 const char *buf, size_t count) in mmio16write__write_file() 288 ssize_t count = 0; in mmio32read__read_file() local [all …]
|
/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() 225 char *strncat(char *dest, const char *src, size_t count) in strncat() 245 size_t strlcat(char *dest, const char *src, size_t count) in strlcat() 295 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() 360 char *strnchrnul(const char *s, size_t count, int c) in strnchrnul() 395 char *strnchr(const char *s, size_t count, int c) in strnchr() 421 size_t strnlen(const char *s, size_t count) in strnlen() 527 void *memset(void *s, int c, size_t count) in memset() 549 void *memset16(uint16_t *s, uint16_t v, size_t count) in memset16() [all …]
|
H A D | iomap.c | 42 static int count = 10; in bad_io_access() local 310 static inline void mmio_insb(const void __iomem *addr, u8 *dst, int count) in mmio_insb() 318 static inline void mmio_insw(const void __iomem *addr, u16 *dst, int count) in mmio_insw() 326 static inline void mmio_insl(const void __iomem *addr, u32 *dst, int count) in mmio_insl() 337 static inline void mmio_outsb(void __iomem *addr, const u8 *src, int count) in mmio_outsb() 344 static inline void mmio_outsw(void __iomem *addr, const u16 *src, int count) in mmio_outsw() 351 static inline void mmio_outsl(void __iomem *addr, const u32 *src, int count) in mmio_outsl() 360 void ioread8_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() 366 void ioread16_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread16_rep() 372 void ioread32_rep(const void __iomem *addr, void *dst, unsigned long count) in ioread32_rep() [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 …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 301 size_t count, loff_t *ppos) in read_file_war_stats() 399 size_t count, loff_t *ppos) in ath6kl_fwlog_read() 451 size_t count, in ath6kl_fwlog_block_read() 526 size_t count, loff_t *ppos) in ath6kl_fwlog_mask_read() 539 size_t count, loff_t *ppos) in ath6kl_fwlog_mask_write() 566 size_t count, loff_t *ppos) in read_file_tgt_stats() 705 size_t count, loff_t *ppos) in read_file_credit_dist_stats() 783 size_t count, loff_t *ppos) in ath6kl_endpoint_stats_read() 838 size_t count, loff_t *ppos) in ath6kl_endpoint_stats_write() 893 size_t count, loff_t *ppos) in ath6kl_regread_read() [all …]
|
/linux/arch/sparc/lib/ |
H A D | PeeCeeI.c | 13 void outsb(unsigned long __addr, const void *src, unsigned long count) in outsb() 23 void outsw(unsigned long __addr, const void *src, unsigned long count) in outsw() 34 void outsl(unsigned long __addr, const void *src, unsigned long count) in outsl() 88 void insb(unsigned long __addr, void *dst, unsigned long count) in insb() 116 void insw(unsigned long __addr, void *dst, unsigned long count) in insw() 144 void insl(unsigned long __addr, void *dst, unsigned long count) in insl()
|
/linux/arch/sh/include/asm/ |
H A D | io_noioport.h | 49 static inline void insb(unsigned long port, void *dst, unsigned long count) in insb() 54 static inline void insw(unsigned long port, void *dst, unsigned long count) in insw() 59 static inline void insl(unsigned long port, void *dst, unsigned long count) in insl() 64 static inline void outsb(unsigned long port, const void *src, unsigned long count) in outsb() 69 static inline void outsw(unsigned long port, const void *src, unsigned long count) in outsw() 74 static inline void outsl(unsigned long port, const void *src, unsigned long count) in outsl()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | debugfs.c | 402 size_t count, loff_t *f_pos) in userptr_lookup_write() 476 size_t count, loff_t *f_pos) in mmu_asid_va_write() 538 size_t count, loff_t *f_pos) in mmu_ack_error_value_write() 606 size_t count, loff_t *ppos) in hl_memory_scrub() 838 size_t count, loff_t *ppos) in hl_data_read32() 867 size_t count, loff_t *ppos) in hl_data_write32() 893 size_t count, loff_t *ppos) in hl_data_read64() 920 size_t count, loff_t *ppos) in hl_data_write64() 945 size_t count, loff_t *ppos) in hl_dma_size_write() 1002 size_t count, loff_t *ppos) in hl_monitor_dump_trigger() [all …]
|
/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | sysfs.c | 25 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() 69 ssize_t count = 0; in b43legacy_attr_interfmode_show() local 98 const char *buf, size_t count) in b43legacy_attr_interfmode_store() 148 ssize_t count; in b43legacy_attr_preamble_show() local 167 const char *buf, size_t count) in b43legacy_attr_preamble_store()
|