Lines Matching refs:ppos
153 size_t count, loff_t *ppos) in ath10k_read_wmi_services() argument
189 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
446 size_t count, loff_t *ppos) in ath10k_fw_stats_read() argument
451 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
464 size_t count, loff_t *ppos) in ath10k_debug_fw_reset_stats_read() argument
488 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
524 size_t count, loff_t *ppos) in ath10k_read_simulate_fw_crash() argument
533 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
545 size_t count, loff_t *ppos) in ath10k_write_simulate_fw_crash() argument
553 if (*ppos != 0 || count >= sizeof(buf) || count == 0) in ath10k_write_simulate_fw_crash()
556 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count); in ath10k_write_simulate_fw_crash()
561 if (buf[*ppos - 1] == '\n') in ath10k_write_simulate_fw_crash()
562 buf[*ppos - 1] = '\0'; in ath10k_write_simulate_fw_crash()
616 size_t count, loff_t *ppos) in ath10k_read_chip_id() argument
624 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_chip_id()
636 size_t count, loff_t *ppos) in ath10k_reg_addr_read() argument
649 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_addr_read()
654 size_t count, loff_t *ppos) in ath10k_reg_addr_write() argument
684 size_t count, loff_t *ppos) in ath10k_reg_value_read() argument
705 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_reg_value_read()
715 size_t count, loff_t *ppos) in ath10k_reg_value_write() argument
755 size_t count, loff_t *ppos) in ath10k_mem_value_read() argument
761 if (*ppos < 0) in ath10k_mem_value_read()
781 ret = ath10k_hif_diag_read(ar, *ppos, buf, count); in ath10k_mem_value_read()
784 (u32)(*ppos), ret); in ath10k_mem_value_read()
795 *ppos += count; in ath10k_mem_value_read()
807 size_t count, loff_t *ppos) in ath10k_mem_value_write() argument
813 if (*ppos < 0) in ath10k_mem_value_write()
839 ret = ath10k_hif_diag_write(ar, *ppos, buf, count); in ath10k_mem_value_write()
842 (u32)(*ppos), ret); in ath10k_mem_value_write()
846 *ppos += count; in ath10k_mem_value_write()
907 size_t count, loff_t *ppos) in ath10k_read_htt_stats_mask() argument
915 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_stats_mask()
920 size_t count, loff_t *ppos) in ath10k_write_htt_stats_mask() argument
960 size_t count, loff_t *ppos) in ath10k_read_htt_max_amsdu_ampdu() argument
975 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_htt_max_amsdu_ampdu()
980 size_t count, loff_t *ppos) in ath10k_write_htt_max_amsdu_ampdu() argument
987 res = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, in ath10k_write_htt_max_amsdu_ampdu()
1022 size_t count, loff_t *ppos) in ath10k_read_fw_dbglog() argument
1031 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_fw_dbglog()
1036 size_t count, loff_t *ppos) in ath10k_write_fw_dbglog() argument
1044 ret = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, in ath10k_write_fw_dbglog()
1303 size_t count, loff_t *ppos) in ath10k_debug_cal_data_read() argument
1309 count = simple_read_from_buffer(user_buf, count, ppos, in ath10k_debug_cal_data_read()
1320 size_t count, loff_t *ppos) in ath10k_write_ani_enable() argument
1353 size_t count, loff_t *ppos) in ath10k_read_ani_enable() argument
1361 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ani_enable()
1381 size_t count, loff_t *ppos) in ath10k_read_nf_cal_period() argument
1389 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_nf_cal_period()
1394 size_t count, loff_t *ppos) in ath10k_write_nf_cal_period() argument
1677 size_t count, loff_t *ppos) in ath10k_tpc_stats_read() argument
1682 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_read()
1764 size_t count, loff_t *ppos) in ath10k_write_simulate_radar() argument
1798 size_t count, loff_t *ppos) in ath10k_read_dfs_stats() argument
1838 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_dfs_stats()
1853 size_t count, loff_t *ppos) in ath10k_write_pktlog_filter() argument
1899 size_t count, loff_t *ppos) in ath10k_read_pktlog_filter() argument
1910 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_pktlog_filter()
1921 size_t count, loff_t *ppos) in ath10k_write_quiet_period() argument
1943 size_t count, loff_t *ppos) in ath10k_read_quiet_period() argument
1954 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_quiet_period()
1965 size_t count, loff_t *ppos) in ath10k_write_btcoex() argument
2020 size_t count, loff_t *ppos) in ath10k_read_btcoex() argument
2031 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_btcoex()
2042 size_t count, loff_t *ppos) in ath10k_write_enable_extd_tx_stats() argument
2074 size_t count, loff_t *ppos) in ath10k_read_enable_extd_tx_stats() argument
2086 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_enable_extd_tx_stats()
2097 size_t count, loff_t *ppos) in ath10k_write_peer_stats() argument
2136 size_t count, loff_t *ppos) in ath10k_read_peer_stats() argument
2148 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in ath10k_read_peer_stats()
2159 size_t count, loff_t *ppos) in ath10k_debug_fw_checksums_read() argument
2197 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_checksums_read()
2214 size_t count, loff_t *ppos) in ath10k_sta_tid_stats_mask_read() argument
2221 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_sta_tid_stats_mask_read()
2226 size_t count, loff_t *ppos) in ath10k_sta_tid_stats_mask_write() argument
2322 size_t count, loff_t *ppos) in ath10k_tpc_stats_final_read() argument
2327 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_tpc_stats_final_read()
2340 size_t count, loff_t *ppos) in ath10k_write_warm_hw_reset() argument
2394 size_t count, loff_t *ppos) in ath10k_write_ps_state_enable() argument
2438 size_t count, loff_t *ppos) in ath10k_read_ps_state_enable() argument
2449 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_ps_state_enable()
2462 size_t count, loff_t *ppos) in ath10k_write_reset_htt_stats() argument