• Home
  • Raw
  • Download

Lines Matching refs:ifidx

25 #define BRCMF_FLOWRING_HASH_AP(da, fifo, ifidx) (da[5] * 2 + fifo + ifidx * 16)  argument
26 #define BRCMF_FLOWRING_HASH_STA(fifo, ifidx) (fifo + ifidx * 16) argument
60 u8 prio, u8 ifidx) in brcmf_flowring_lookup() argument
71 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_lookup()
81 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup()
82 BRCMF_FLOWRING_HASH_AP(mac, fifo, ifidx); in brcmf_flowring_lookup()
89 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup()
104 u8 prio, u8 ifidx) in brcmf_flowring_create() argument
116 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_create()
126 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_create()
127 BRCMF_FLOWRING_HASH_AP(mac, fifo, ifidx); in brcmf_flowring_create()
132 if ((hash[hash_idx].ifidx == BRCMF_FLOWRING_INVALID_IFIDX) && in brcmf_flowring_create()
154 hash[hash_idx].ifidx = ifidx; in brcmf_flowring_create()
187 u8 ifidx; in brcmf_flowring_block() local
197 ifidx = brcmf_flowring_ifidx_get(flow, flowid); in brcmf_flowring_block()
204 (brcmf_flowring_ifidx_get(flow, i) == ifidx)) { in brcmf_flowring_block()
220 ifp = brcmf_get_ifp(drvr, ifidx); in brcmf_flowring_block()
233 u8 ifidx; in brcmf_flowring_delete() local
240 ifidx = brcmf_flowring_ifidx_get(flow, flowid); in brcmf_flowring_delete()
241 ifp = brcmf_get_ifp(bus_if->drvr, ifidx); in brcmf_flowring_delete()
245 flow->hash[hash_idx].ifidx = BRCMF_FLOWRING_INVALID_IFIDX; in brcmf_flowring_delete()
354 return flow->hash[hash_idx].ifidx; in brcmf_flowring_ifidx_get()
371 flow->hash[i].ifidx = BRCMF_FLOWRING_INVALID_IFIDX; in brcmf_flowring_attach()
408 void brcmf_flowring_configure_addr_mode(struct brcmf_flowring *flow, int ifidx, in brcmf_flowring_configure_addr_mode() argument
416 if (flow->addr_mode[ifidx] != addr_mode) { in brcmf_flowring_configure_addr_mode()
418 if (flow->hash[i].ifidx == ifidx) { in brcmf_flowring_configure_addr_mode()
425 flow->addr_mode[ifidx] = addr_mode; in brcmf_flowring_configure_addr_mode()
430 void brcmf_flowring_delete_peer(struct brcmf_flowring *flow, int ifidx, in brcmf_flowring_delete_peer() argument
442 sta = (flow->addr_mode[ifidx] == ADDR_INDIRECT); in brcmf_flowring_delete_peer()
458 (hash[i].ifidx == ifidx)) { in brcmf_flowring_delete_peer()
477 void brcmf_flowring_add_tdls_peer(struct brcmf_flowring *flow, int ifidx, in brcmf_flowring_add_tdls_peer() argument