Home
last modified time | relevance | path

Searched refs:fifo_idx (Results 1 – 3 of 3) sorted by relevance

/drivers/md/bcache/
Djournal.h162 (fifo_idx(&(c)->journal.pin, (l)) > fifo_idx(&(c)->journal.pin, (r)))
Dutil.h172 #define fifo_idx(fifo, p) (((p) - &fifo_front(fifo)) & (fifo)->mask) macro
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c1302 u32 fifo_idx; in iwl_ini_get_rxf_data() local
1312 fifo_idx = ffs(fid1) - 1; in iwl_ini_get_rxf_data()
1313 if (fid1 && !WARN_ON_ONCE((~BIT(fifo_idx) & fid1) || in iwl_ini_get_rxf_data()
1314 fifo_idx >= MAX_NUM_LMAC)) { in iwl_ini_get_rxf_data()
1315 data->size = fwrt->smem_cfg.lmac[fifo_idx].rxfifo1_size; in iwl_ini_get_rxf_data()
1316 data->fifo_num = fifo_idx; in iwl_ini_get_rxf_data()
1320 fifo_idx = ffs(fid2) - 1; in iwl_ini_get_rxf_data()
1321 if (fid2 && !WARN_ON_ONCE(fifo_idx != 0)) { in iwl_ini_get_rxf_data()
1327 data->fifo_num = fifo_idx | IWL_RXF_UMAC_BIT; in iwl_ini_get_rxf_data()