Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp.c192 u32 block_index, filter_sel; in bcmasp_netfilt_get_reg_offset() local
196 filter_sel = nfilt->hw_index; in bcmasp_netfilt_get_reg_offset()
199 filter_sel = nfilt->hw_index + 1; in bcmasp_netfilt_get_reg_offset()
202 filter_sel = nfilt->hw_index; in bcmasp_netfilt_get_reg_offset()
205 filter_sel = nfilt->hw_index + 1; in bcmasp_netfilt_get_reg_offset()
208 filter_sel = nfilt->hw_index; in bcmasp_netfilt_get_reg_offset()
211 filter_sel = nfilt->hw_index + 1; in bcmasp_netfilt_get_reg_offset()
214 filter_sel = nfilt->hw_index; in bcmasp_netfilt_get_reg_offset()
217 filter_sel = nfilt->hw_index + 1; in bcmasp_netfilt_get_reg_offset()
224 return ASP_RX_FILTER_NET_PAT(filter_sel, block_index, in bcmasp_netfilt_get_reg_offset()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c9517 int t4_filter_field_shift(const struct adapter *adap, int filter_sel) in t4_filter_field_shift() argument
9523 if ((filter_mode & filter_sel) == 0) in t4_filter_field_shift()
9526 for (sel = 1, field_shift = 0; sel < filter_sel; sel <<= 1) { in t4_filter_field_shift()