Lines Matching refs:notif_q

332 					struct iwl_sap_q_ctrl_blk *notif_q,  in iwl_mei_write_cyclic_buf()  argument
337 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); in iwl_mei_write_cyclic_buf()
338 u32 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_write_cyclic_buf()
364 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_write_cyclic_buf()
370 struct iwl_sap_q_ctrl_blk *notif_q; in iwl_mei_host_to_me_data_pending() local
374 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_DATA]; in iwl_mei_host_to_me_data_pending()
376 if (READ_ONCE(notif_q->wr_ptr) != READ_ONCE(notif_q->rd_ptr)) in iwl_mei_host_to_me_data_pending()
379 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_NOTIF]; in iwl_mei_host_to_me_data_pending()
380 return READ_ONCE(notif_q->wr_ptr) != READ_ONCE(notif_q->rd_ptr); in iwl_mei_host_to_me_data_pending()
433 struct iwl_sap_q_ctrl_blk *notif_q; in iwl_mei_send_sap_msg_payload() local
457 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_NOTIF]; in iwl_mei_send_sap_msg_payload()
460 ret = iwl_mei_write_cyclic_buf(q_head, notif_q, q_head, hdr, q_sz); in iwl_mei_send_sap_msg_payload()
472 struct iwl_sap_q_ctrl_blk *notif_q; in iwl_mei_add_data_to_ring() local
508 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_DATA]; in iwl_mei_add_data_to_ring()
512 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); in iwl_mei_add_data_to_ring()
513 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_add_data_to_ring()
565 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_add_data_to_ring()
1170 struct iwl_sap_q_ctrl_blk *notif_q, in iwl_mei_handle_sap_rx() argument
1175 u32 rd = le32_to_cpu(READ_ONCE(notif_q->rd_ptr)); in iwl_mei_handle_sap_rx()
1176 u32 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_handle_sap_rx()
1198 WRITE_ONCE(notif_q->rd_ptr, cpu_to_le32(wr)); in iwl_mei_handle_sap_rx()
1204 struct iwl_sap_q_ctrl_blk *notif_q; in iwl_mei_handle_check_shared_area() local
1214 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_NOTIF]; in iwl_mei_handle_check_shared_area()
1223 iwl_mei_handle_sap_rx(cldev, notif_q, q_head, NULL, q_sz); in iwl_mei_handle_check_shared_area()
1227 notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_DATA]; in iwl_mei_handle_check_shared_area()
1233 iwl_mei_handle_sap_rx(cldev, notif_q, q_head, &tx_skbs, q_sz); in iwl_mei_handle_check_shared_area()