Home
last modified time | relevance | path

Searched refs:occup (Results 1 – 2 of 2) sorted by relevance

/drivers/dma/idxd/
Dsysfs.c1151 u32 occup, offset; in wq_occupancy_show() local
1157 occup = ioread32(idxd->reg_base + offset) & WQCFG_OCCUP_MASK; in wq_occupancy_show()
1159 return sysfs_emit(buf, "%u\n", occup); in wq_occupancy_show()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c1266 u32 occup, to_free, freed, freed_start; in bnx2x_pbf_pN_cmd_flushed() local
1269 occup = to_free = REG_RD(bp, regs->lines_occup); in bnx2x_pbf_pN_cmd_flushed()
1272 DP(BNX2X_MSG_SP, "OCCUPANCY[%d] : s:%x\n", regs->pN, occup); in bnx2x_pbf_pN_cmd_flushed()
1275 while (occup && ((u32)SUB_S32(freed, freed_start) < to_free)) { in bnx2x_pbf_pN_cmd_flushed()
1278 occup = REG_RD(bp, regs->lines_occup); in bnx2x_pbf_pN_cmd_flushed()
1284 regs->pN, occup); in bnx2x_pbf_pN_cmd_flushed()