Lines Matching refs:weight
306 unsigned int weight)
310 /* Limit queue len to 4x the weight (rounted to next power of two) */
311 offload->skb_queue_len_max = 2 << fls(weight);
315 netif_napi_add(dev, &offload->napi, can_rx_offload_napi_poll, weight);
326 unsigned int weight;
334 weight = offload->mb_last - offload->mb_first;
337 weight = offload->mb_first - offload->mb_last;
340 return can_rx_offload_init_queue(dev, offload, weight);
345 struct can_rx_offload *offload, unsigned int weight)
350 return can_rx_offload_init_queue(dev, offload, weight);
356 unsigned int weight)
361 return can_rx_offload_init_queue(dev, offload, weight);