Searched refs:ndx (Results 1 – 3 of 3) sorted by relevance
267 int i, ndx; in minstrel_tx_status() local276 ndx = rix_to_ndx(mi, ar[i].idx); in minstrel_tx_status()277 if (ndx < 0) in minstrel_tx_status()280 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()283 mi->r[ndx].stats.success += success; in minstrel_tx_status()337 unsigned int ndx; in minstrel_get_rate() local392 ndx = minstrel_get_next_sample(mi); in minstrel_get_rate()393 msr = &mi->r[ndx]; in minstrel_get_rate()425 (mi->r[ndx].stats.prob_ewma > MINSTREL_FRAC(95, 100))) in minstrel_get_rate()430 rate->idx = mi->r[ndx].rix; in minstrel_get_rate()[all …]
66 u32 ndx; member167 priv->tx_context[i].ndx = MCBA_CTX_FREE; in mcba_init_ctx()181 if (priv->tx_context[i].ndx == MCBA_CTX_FREE) { in mcba_usb_get_free_ctx()183 ctx->ndx = i; in mcba_usb_get_free_ctx()213 ctx->ndx = MCBA_CTX_FREE; in mcba_usb_free_ctx()240 can_get_echo_skb(netdev, ctx->ndx); in mcba_usb_write_bulk_callback()329 can_put_echo_skb(skb, priv->netdev, ctx->ndx); in mcba_usb_start_xmit()367 can_free_echo_skb(priv->netdev, ctx->ndx); in mcba_usb_start_xmit()
3405 unsigned int ndx; in layout_and_allocate() local3426 ndx = find_sec(info, ".data..ro_after_init"); in layout_and_allocate()3427 if (ndx) in layout_and_allocate()3428 info->sechdrs[ndx].sh_flags |= SHF_RO_AFTER_INIT; in layout_and_allocate()3435 ndx = find_sec(info, "__jump_table"); in layout_and_allocate()3436 if (ndx) in layout_and_allocate()3437 info->sechdrs[ndx].sh_flags |= SHF_RO_AFTER_INIT; in layout_and_allocate()