coal_cap 6089 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_coal_cap *coal_cap = &bp->coal_cap; coal_cap 6093 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_params = BNXT_LEGACY_COAL_CMPL_PARAMS; coal_cap 6094 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_dma_aggr_max = 63; coal_cap 6095 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_dma_aggr_during_int_max = 63; coal_cap 6096 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_aggr_dma_tmr_max = 65535; coal_cap 6097 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_aggr_dma_tmr_during_int_max = 65535; coal_cap 6098 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->int_lat_tmr_min_max = 65535; coal_cap 6099 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->int_lat_tmr_max_max = 65535; coal_cap 6100 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_aggr_int_max = 65535; coal_cap 6101 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->timer_units = 80; coal_cap 6110 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_params = le32_to_cpu(resp->cmpl_params); coal_cap 6111 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->nq_params = le32_to_cpu(resp->nq_params); coal_cap 6112 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_dma_aggr_max = coal_cap 6114 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_dma_aggr_during_int_max = coal_cap 6116 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_aggr_dma_tmr_max = coal_cap 6118 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_aggr_dma_tmr_during_int_max = coal_cap 6120 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->int_lat_tmr_min_max = coal_cap 6122 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->int_lat_tmr_max_max = coal_cap 6124 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_aggr_int_max = coal_cap 6126 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->timer_units = le16_to_cpu(resp->timer_units); coal_cap 6133 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_coal_cap *coal_cap = &bp->coal_cap; coal_cap 6135 drivers/net/ethernet/broadcom/bnxt/bnxt.c return usec * 1000 / coal_cap->timer_units; coal_cap 6142 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_coal_cap *coal_cap = &bp->coal_cap; coal_cap 6143 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 cmpl_params = coal_cap->cmpl_params; coal_cap 6149 drivers/net/ethernet/broadcom/bnxt/bnxt.c max = min_t(u16, max, coal_cap->num_cmpl_aggr_int_max); coal_cap 6154 drivers/net/ethernet/broadcom/bnxt/bnxt.c val = min_t(u16, val, coal_cap->num_cmpl_dma_aggr_max); coal_cap 6158 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->num_cmpl_dma_aggr_during_int_max); coal_cap 6162 drivers/net/ethernet/broadcom/bnxt/bnxt.c tmr = clamp_t(u16, tmr, 1, coal_cap->int_lat_tmr_max_max); coal_cap 6168 drivers/net/ethernet/broadcom/bnxt/bnxt.c val = clamp_t(u16, val, 1, coal_cap->int_lat_tmr_min_max); coal_cap 6174 drivers/net/ethernet/broadcom/bnxt/bnxt.c val = clamp_t(u16, tmr / 4, 1, coal_cap->cmpl_aggr_dma_tmr_max); coal_cap 6181 drivers/net/ethernet/broadcom/bnxt/bnxt.c coal_cap->cmpl_aggr_dma_tmr_during_int_max); coal_cap 6202 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct bnxt_coal_cap *coal_cap = &bp->coal_cap; coal_cap 6203 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 nq_params = coal_cap->nq_params; coal_cap 6216 drivers/net/ethernet/broadcom/bnxt/bnxt.c tmr = clamp_t(u16, tmr, 1, coal_cap->int_lat_tmr_min_max); coal_cap 1712 drivers/net/ethernet/broadcom/bnxt/bnxt.h struct bnxt_coal_cap coal_cap;