Searched refs:ndx (Results 1 – 4 of 4) sorted by relevance
271 int i, ndx; in minstrel_tx_status() local280 ndx = rix_to_ndx(mi, ar[i].idx); in minstrel_tx_status()281 if (ndx < 0) in minstrel_tx_status()284 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()287 mi->r[ndx].stats.success += success; in minstrel_tx_status()335 unsigned int ndx; in minstrel_get_rate() local389 ndx = minstrel_get_next_sample(mi); in minstrel_get_rate()390 msr = &mi->r[ndx]; in minstrel_get_rate()411 (mi->r[ndx].stats.prob_avg > MINSTREL_FRAC(95, 100))) in minstrel_get_rate()416 rate->idx = mi->r[ndx].rix; in minstrel_get_rate()[all …]
66 u32 ndx; member171 priv->tx_context[i].ndx = MCBA_CTX_FREE; in mcba_init_ctx()185 if (priv->tx_context[i].ndx == MCBA_CTX_FREE) { in mcba_usb_get_free_ctx()187 ctx->ndx = i; in mcba_usb_get_free_ctx()217 ctx->ndx = MCBA_CTX_FREE; in mcba_usb_free_ctx()244 can_get_echo_skb(netdev, ctx->ndx); in mcba_usb_write_bulk_callback()360 can_put_echo_skb(skb, priv->netdev, ctx->ndx); in mcba_usb_start_xmit()369 can_free_echo_skb(priv->netdev, ctx->ndx); in mcba_usb_start_xmit()
545 int ndx) in video_get_unique_pixelformat_by_index() argument561 if (k == ndx) in video_get_unique_pixelformat_by_index()
3578 unsigned int ndx; in layout_and_allocate() local3604 ndx = find_sec(info, ".data..ro_after_init"); in layout_and_allocate()3605 if (ndx) in layout_and_allocate()3606 info->sechdrs[ndx].sh_flags |= SHF_RO_AFTER_INIT; in layout_and_allocate()3613 ndx = find_sec(info, "__jump_table"); in layout_and_allocate()3614 if (ndx) in layout_and_allocate()3615 info->sechdrs[ndx].sh_flags |= SHF_RO_AFTER_INIT; in layout_and_allocate()