Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 103) sorted by relevance

12345

/drivers/net/xen-netback/
Drx.c45 unsigned int needed = 0; in xenvif_update_needed_slots() local
48 needed = DIV_ROUND_UP(skb->len, XEN_PAGE_SIZE); in xenvif_update_needed_slots()
50 needed++; in xenvif_update_needed_slots()
52 needed++; in xenvif_update_needed_slots()
55 WRITE_ONCE(queue->rx_slots_needed, needed); in xenvif_update_needed_slots()
61 unsigned int needed; in xenvif_rx_ring_slots_available() local
63 needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_ring_slots_available()
64 if (!needed) in xenvif_rx_ring_slots_available()
71 if (prod - cons >= needed) in xenvif_rx_ring_slots_available()
522 unsigned int needed = READ_ONCE(queue->rx_slots_needed); in xenvif_rx_queue_stalled() local
[all …]
/drivers/media/usb/gspca/
Dpac207.c380 int needed; in sd_pkt_scan() local
384 needed = 5 - sd->header_read; in sd_pkt_scan()
385 if (len >= needed) in sd_pkt_scan()
386 atomic_set(&sd->avg_lum, data[needed - 1]); in sd_pkt_scan()
389 needed = 11 - sd->header_read; in sd_pkt_scan()
390 if (len <= needed) { in sd_pkt_scan()
394 data += needed; in sd_pkt_scan()
395 len -= needed; in sd_pkt_scan()
/drivers/misc/sgi-xp/
Dxpc_main.c611 xpc_activate_kthreads(struct xpc_channel *ch, int needed) in xpc_activate_kthreads() argument
617 DBUG_ON(needed <= 0); in xpc_activate_kthreads()
620 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads()
621 needed -= wakeup; in xpc_activate_kthreads()
630 if (needed <= 0) in xpc_activate_kthreads()
633 if (needed + assigned > ch->kthreads_assigned_limit) { in xpc_activate_kthreads()
634 needed = ch->kthreads_assigned_limit - assigned; in xpc_activate_kthreads()
635 if (needed <= 0) in xpc_activate_kthreads()
640 needed, ch->partid, ch->number); in xpc_activate_kthreads()
642 xpc_create_kthreads(ch, needed, 0); in xpc_activate_kthreads()
[all …]
/drivers/clk/sunxi/
DKconfig26 usually needed for the PMIC communication, mostly.
34 Those are usually needed for the PMIC communication,
42 usually needed for the PMIC communication, mostly.
/drivers/md/
Ddm-ioctl.c577 size_t len, needed = 0; in list_devices() local
592 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
593 needed += align_val(sizeof(uint32_t) * 2); in list_devices()
595 needed += align_val(strlen(hc->uuid) + 1); in list_devices()
602 if (len < needed || len < sizeof(nl->dev)) { in list_devices()
606 param->data_size = param->data_start + needed; in list_devices()
646 BUG_ON((char *)nl - (char *)orig_nl != needed); in list_devices()
655 size_t *needed = needed_param; in list_version_get_needed() local
657 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
658 *needed += strlen(tt->name) + 1; in list_version_get_needed()
[all …]
/drivers/gpu/host1x/
Dcdma.c237 unsigned int needed) in host1x_cdma_wait_pushbuffer_space() argument
244 if (space >= needed) in host1x_cdma_wait_pushbuffer_space()
603 unsigned int needed = 2, extra = 0, i; in host1x_cdma_push_wide() local
613 needed += extra; in host1x_cdma_push_wide()
616 host1x_cdma_wait_pushbuffer_space(host1x, cdma, needed); in host1x_cdma_push_wide()
619 cdma->slots_free = space - needed; in host1x_cdma_push_wide()
620 cdma->slots_used += needed; in host1x_cdma_push_wide()
/drivers/ata/
Dahci_da850.c46 u32 pll_output = 1500000000, needed; in ahci_da850_calculate_mpy() local
57 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
65 switch (needed) { in ahci_da850_calculate_mpy()
/drivers/pnp/
DKconfig13 parameters. No jumpers on the cards are needed, instead the values
30 messages if needed. The messages can be enabled at boot-time with
/drivers/gpu/drm/amd/display/
DTODO23 lot of design around what was public/protected, more whatever needed
47 * Remove DC's edid quirks and rely on DRM's quirks (add quirks if needed)
55 from drm_display_info and if needed, push stuff into the core). Also,
70 12. drm_modeset_lock in MST should no longer be needed in recent kernels
/drivers/bus/
DKconfig76 on CZ.NIC's Turris Mox. This is needed for the ability to discover
106 needed to set up various chip select configuration parameters before
113 Driver needed for the MIPS Common Device Memory Map bus in MIPS
126 Driver needed for the MBus configuration on Marvell EBU SoCs
221 needed to use on-board devices connected to UniPhier SoCs.
/drivers/staging/board/
DTODO2 * remove staging board code when no more platform devices are needed
/drivers/net/ethernet/micrel/
Dks8851_spi.c388 unsigned int needed = calc_txlen(skb->len); in ks8851_start_xmit_spi() local
400 if (ks->queued_len + needed > ks->tx_space) { in ks8851_start_xmit_spi()
404 ks->queued_len += needed; in ks8851_start_xmit_spi()
/drivers/atm/
Dnicstarmac.copyright26 * as needed. This means that data must always be copied to create
27 * the linear buffer needed by most non-ATM protocol stacks (e.g. IP)
/drivers/staging/android/
DTODO4 - add proper arch dependencies as needed
/drivers/soc/sunxi/
DKconfig10 Say y to enable the fixups needed to support the Allwinner
/drivers/media/mc/
DKconfig22 interfaces. It is currently needed by a few stateless codec drivers.
/drivers/media/
DKconfig37 needed to support media drivers will be enabled. Also, all
56 are, in fact, necessary will result in the lack of the needed
58 the needed demodulators).
/drivers/staging/media/atomisp/
DTODO9 needed (items 6 and 7 from the list below).
83 been removed during the cleanups. They could be needed in order to
125 and should not be needed for modern drivers. Fixing this properly
/drivers/staging/r8188eu/
DTODO5 * Remove unnecessary debugging/printing macros; for those that are still needed
/drivers/android/
DKconfig7 Enable support for various drivers needed on the Android platform
100 fields that are needed by some of the Android kernel tracepoints. The
/drivers/virt/vboxguest/
DKconfig11 This driver also offers vboxguest IPC functionality which is needed
/drivers/net/wireless/ti/
DKconfig26 Small platform data bit needed to pass data to the sdio modules.
/drivers/platform/x86/intel/pmc/
DKconfig25 - PMC quirks as needed to enable SLPS0/S0ix
/drivers/staging/vc04_services/bcm2835-camera/
DTODO17 less copy it needed to do.
/drivers/staging/most/Documentation/
Ddriver_usage.txt51 (INIC) is needed. For more information on available controllers visit:
131 configure the sub-buffer size for this channel (needed for
151 pass parameters needed by some components
201 values are needed for the driver to process buffer padding, as expected by

12345