Searched refs:fifo_idx (Results 1 – 3 of 3) sorted by relevance
163 (fifo_idx(&(c)->journal.pin, (l)) > fifo_idx(&(c)->journal.pin, (r)))
170 #define fifo_idx(fifo, p) (((p) - &fifo_front(fifo)) & (fifo)->mask) macro
1386 u8 fifo_idx; in iwl_ini_get_rxf_data() local1399 fifo_idx = ffs(fid1) - 1; in iwl_ini_get_rxf_data()1400 if (WARN_ONCE(fifo_idx >= MAX_NUM_LMAC, "fifo_idx=%d\n", in iwl_ini_get_rxf_data()1401 fifo_idx)) in iwl_ini_get_rxf_data()1404 data->size = fwrt->smem_cfg.lmac[fifo_idx].rxfifo1_size; in iwl_ini_get_rxf_data()1405 data->fifo_num = fifo_idx; in iwl_ini_get_rxf_data()1409 fifo_idx = ffs(fid2) - 1; in iwl_ini_get_rxf_data()1416 if (WARN_ONCE(fifo_idx > max_idx, in iwl_ini_get_rxf_data()1417 "invalid umac fifo idx %d", fifo_idx)) in iwl_ini_get_rxf_data()1423 data->fifo_num = fifo_idx | IWL_RXF_UMAC_BIT; in iwl_ini_get_rxf_data()[all …]