Searched refs:occup (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/dma/idxd/ |
D | sysfs.c | 1116 u32 occup, offset; in wq_occupancy_show() local 1122 occup = ioread32(idxd->reg_base + offset) & WQCFG_OCCUP_MASK; in wq_occupancy_show() 1124 return sysfs_emit(buf, "%u\n", occup); in wq_occupancy_show()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 1267 u32 occup, to_free, freed, freed_start; in bnx2x_pbf_pN_cmd_flushed() local 1270 occup = to_free = REG_RD(bp, regs->lines_occup); in bnx2x_pbf_pN_cmd_flushed() 1273 DP(BNX2X_MSG_SP, "OCCUPANCY[%d] : s:%x\n", regs->pN, occup); in bnx2x_pbf_pN_cmd_flushed() 1276 while (occup && ((u32)SUB_S32(freed, freed_start) < to_free)) { in bnx2x_pbf_pN_cmd_flushed() 1279 occup = REG_RD(bp, regs->lines_occup); in bnx2x_pbf_pN_cmd_flushed() 1285 regs->pN, occup); in bnx2x_pbf_pN_cmd_flushed()
|