Lines Matching refs:ppos
244 size_t count, loff_t *ppos) in ath10k_read_wmi_services() argument
280 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
534 size_t count, loff_t *ppos) in ath10k_fw_stats_read() argument
539 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
552 size_t count, loff_t *ppos) in ath10k_debug_fw_reset_stats_read() argument
576 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
612 size_t count, loff_t *ppos) in ath10k_read_simulate_fw_crash() argument
621 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
633 size_t count, loff_t *ppos) in ath10k_write_simulate_fw_crash() argument
641 if (*ppos != 0 || count >= sizeof(buf) || count == 0) in ath10k_write_simulate_fw_crash()
644 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
649 if (buf[*ppos - 1] == '\n') in ath10k_write_simulate_fw_crash()
650 buf[*ppos - 1] = '\0'; in ath10k_write_simulate_fw_crash()
704 size_t count, loff_t *ppos) in ath10k_read_chip_id() argument
712 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
880 size_t count, loff_t *ppos) in ath10k_fw_crash_dump_read() argument
884 return simple_read_from_buffer(user_buf, count, ppos, in ath10k_fw_crash_dump_read()
907 size_t count, loff_t *ppos) in ath10k_reg_addr_read() argument
920 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
925 size_t count, loff_t *ppos) in ath10k_reg_addr_write() argument
955 size_t count, loff_t *ppos) in ath10k_reg_value_read() argument
976 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
986 size_t count, loff_t *ppos) in ath10k_reg_value_write() argument
1026 size_t count, loff_t *ppos) in ath10k_mem_value_read() argument
1032 if (*ppos < 0) in ath10k_mem_value_read()
1052 ret = ath10k_hif_diag_read(ar, *ppos, buf, count); in ath10k_mem_value_read()
1055 (u32)(*ppos), ret); in ath10k_mem_value_read()
1066 *ppos += count; in ath10k_mem_value_read()
1078 size_t count, loff_t *ppos) in ath10k_mem_value_write() argument
1084 if (*ppos < 0) in ath10k_mem_value_write()
1110 ret = ath10k_hif_diag_write(ar, *ppos, buf, count); in ath10k_mem_value_write()
1113 (u32)(*ppos), ret); in ath10k_mem_value_write()
1117 *ppos += count; in ath10k_mem_value_write()
1178 size_t count, loff_t *ppos) in ath10k_read_htt_stats_mask() argument
1186 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
1191 size_t count, loff_t *ppos) in ath10k_write_htt_stats_mask() argument
1231 size_t count, loff_t *ppos) in ath10k_read_htt_max_amsdu_ampdu() argument
1246 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
1251 size_t count, loff_t *ppos) in ath10k_write_htt_max_amsdu_ampdu() argument
1258 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1293 size_t count, loff_t *ppos) in ath10k_read_fw_dbglog() argument
1302 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1307 size_t count, loff_t *ppos) in ath10k_write_fw_dbglog() argument
1315 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_fw_dbglog()
1569 size_t count, loff_t *ppos) in ath10k_debug_cal_data_read() argument
1575 count = simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1586 size_t count, loff_t *ppos) in ath10k_write_ani_enable() argument
1619 size_t count, loff_t *ppos) in ath10k_read_ani_enable() argument
1627 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1647 size_t count, loff_t *ppos) in ath10k_read_nf_cal_period() argument
1655 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1660 size_t count, loff_t *ppos) in ath10k_write_nf_cal_period() argument
1924 size_t count, loff_t *ppos) in ath10k_tpc_stats_read() argument
1929 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
2007 size_t count, loff_t *ppos) in ath10k_write_simulate_radar() argument
2041 size_t count, loff_t *ppos) in ath10k_read_dfs_stats() argument
2081 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()
2096 size_t count, loff_t *ppos) in ath10k_write_pktlog_filter() argument
2142 size_t count, loff_t *ppos) in ath10k_read_pktlog_filter() argument
2153 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_pktlog_filter()
2164 size_t count, loff_t *ppos) in ath10k_write_quiet_period() argument
2186 size_t count, loff_t *ppos) in ath10k_read_quiet_period() argument
2197 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_quiet_period()
2208 size_t count, loff_t *ppos) in ath10k_write_btcoex() argument
2267 size_t count, loff_t *ppos) in ath10k_read_btcoex() argument
2278 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_btcoex()
2289 size_t count, loff_t *ppos) in ath10k_write_peer_stats() argument
2335 size_t count, loff_t *ppos) in ath10k_read_peer_stats() argument
2347 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_peer_stats()
2358 size_t count, loff_t *ppos) in ath10k_debug_fw_checksums_read() argument
2396 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_checksums_read()