Home
last modified time | relevance | path

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

/drivers/misc/mei/
Dhw-me.c546 unsigned char filled_slots, empty_slots; in mei_me_hbuf_empty_slots() local
549 empty_slots = hw->hbuf_depth - filled_slots; in mei_me_hbuf_empty_slots()
555 return empty_slots; in mei_me_hbuf_empty_slots()
591 int empty_slots; in mei_me_hbuf_write() local
598 empty_slots = mei_hbuf_empty_slots(dev); in mei_me_hbuf_write()
599 dev_dbg(dev->dev, "empty slots = %d.\n", empty_slots); in mei_me_hbuf_write()
601 if (empty_slots < 0) in mei_me_hbuf_write()
605 if (dw_cnt > (u32)empty_slots) in mei_me_hbuf_write()
/drivers/net/ethernet/microchip/sparx5/
Dsparx5_calendar.c286 u32 num_of_slots, slot_spd, empty_slots; in sparx5_dsm_calendar_calc() local
387 empty_slots = num_of_slots - sum; in sparx5_dsm_calendar_calc()
389 for (idx = 0; idx < empty_slots; idx++) in sparx5_dsm_calendar_calc()
/drivers/net/ethernet/nvidia/
Dforcedeth.c2216 u32 empty_slots; in nv_start_xmit() local
2234 empty_slots = nv_get_empty_tx_slots(np); in nv_start_xmit()
2235 if (unlikely(empty_slots <= entries)) { in nv_start_xmit()
2390 u32 empty_slots; in nv_start_xmit_optimized() local
2409 empty_slots = nv_get_empty_tx_slots(np); in nv_start_xmit_optimized()
2410 if (unlikely(empty_slots <= entries)) { in nv_start_xmit_optimized()