Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/drivers/vhost/
Dvringh.c77 while (len && iov->i < iov->used) { in vringh_iov_xfer()
270 riov->i = riov->used = 0; in __vringh_iov()
272 wiov->i = wiov->used = 0; in __vringh_iov()
346 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov()
352 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
353 iov->iov[iov->used].iov_len = len; in __vringh_iov()
354 iov->used++; in __vringh_iov()
388 const struct vring_used_elem *used, in __vringh_complete() argument
399 used_ring = vrh->vring.used; in __vringh_complete()
407 err = putused(&used_ring->ring[off], used, part); in __vringh_complete()
[all …]
Dvhost.c37 #define vhost_avail_event(vq) ((u16 __user *)&vq->used->ring[vq->num])
183 vq->used = NULL; in vhost_vq_reset()
552 struct vring_used __user *used) in vq_access_ok() argument
558 access_ok(VERIFY_WRITE, used, in vq_access_ok()
559 sizeof *used + num * sizeof *used->ring + s); in vq_access_ok()
580 sizeof *vq->used + in vq_log_access_ok()
581 vq->num * sizeof *vq->used->ring + s)); in vq_log_access_ok()
588 return vq_access_ok(vq, vq->num, vq->desc, vq->avail, vq->used) && in vhost_vq_access_ok()
717 (a.used_user_addr & (sizeof *vq->used->ring - 1)) || in vhost_vring_ioctl()
718 (a.log_guest_addr & (sizeof *vq->used->ring - 1))) { in vhost_vring_ioctl()
[all …]
/drivers/gpu/drm/savage/
Dsavage_bci.c308 dev_priv->dma_pages[i].used = 0; in savage_dma_init()
327 dev_priv->dma_pages[i].used = 0; in savage_dma_reset()
366 dev_priv->dma_pages[cur].used; in savage_dma_alloc()
373 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); in savage_dma_alloc()
377 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_alloc()
380 dev_priv->dma_pages[cur].used += rest; in savage_dma_alloc()
389 dev_priv->dma_pages[i].used = 0; in savage_dma_alloc()
397 if (dev_priv->dma_pages[i].used) { in savage_dma_alloc()
399 i, dev_priv->dma_pages[i].used); in savage_dma_alloc()
403 dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
[all …]
/drivers/net/wireless/iwlwifi/dvm/
Dsta.c45 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
50 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
56 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
304 if (!priv->stations[i].used && in iwl_prep_station()
321 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_prep_station()
327 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_prep_station()
328 (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) && in iwl_prep_station()
336 station->used = IWL_STA_DRIVER_ACTIVE; in iwl_prep_station()
395 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_add_station_common()
402 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_add_station_common()
[all …]
/drivers/tty/
Dtty_buffer.c100 p->used = 0; in tty_buffer_reset()
252 left = 2 * b->size - b->used; in __tty_buffer_request_room()
254 left = b->size - b->used; in __tty_buffer_request_room()
262 b->commit = b->used; in __tty_buffer_request_room()
305 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
307 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
308 tb->used += space; in tty_insert_flip_string_fixed_flag()
340 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
341 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
342 tb->used += space; in tty_insert_flip_string_flags()
[all …]
/drivers/gpu/drm/i810/
Di810_dma.c52 int used; in i810_freelist_get() local
60 used = cmpxchg(buf_priv->in_use, I810_BUF_FREE, in i810_freelist_get()
62 if (used == I810_BUF_FREE) in i810_freelist_get()
75 int used; in i810_freelist_put() local
78 used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_FREE); in i810_freelist_put()
79 if (used != I810_BUF_CLIENT) { in i810_freelist_put()
709 struct drm_buf *buf, int discard, int used) in i810_dma_dispatch_vertex() argument
726 if (used > 4 * 1024) in i810_dma_dispatch_vertex()
727 used = 0; in i810_dma_dispatch_vertex()
736 ((GFX_OP_PRIMITIVE | prim | ((used / 4) - 2))); in i810_dma_dispatch_vertex()
[all …]
/drivers/staging/unisys/Documentation/ABI/
Dsysfs-platform-visorchipset5 Description: used to send the ID of a string that should be displayed on
15 Description: used to set the value of the progress bar on the s-Par automatic
24 Description: used to send the ID of a string that should be displayed on
45 Description: This field is used to tell s-Par which type of recovery tool
47 value is dependent on the type of installation software used to
55 Description: This entry is used by Unisys application software on the guest
61 which indicates that the disk used to support call home services
69 Description: This entry is used by a Unisys support script installed on the
80 The parahotplug/deviceenabled interface is used to acknowledge
88 Description: This entry is used by a Unisys support script installed on the
[all …]
/drivers/dma/
Ddmaengine.h70 dma_cookie_t used, complete; in dma_cookie_status() local
72 used = chan->cookie; in dma_cookie_status()
77 state->used = used; in dma_cookie_status()
80 return dma_async_is_complete(cookie, complete, used); in dma_cookie_status()
/drivers/net/wireless/mwifiex/
DREADME45 The above command can be used to connect to an AP with a particular SSID.
48 …Note: Every time before connecting to an AP scan command (iw dev mlan0 scan) should be used by use…
51 This command will be used to disconnect from an AP.
55 The command will be used to join or create an ibss. Optionally, operating frequency,
60 The command will be used to leave an ibss network.
63 The command will be used to get the connection status. The command will return parameters
70 The debugfs interface can be used for configurations and for getting
83 The command will be used to change the regulatory domain.
86 The command will be used to get current regulatory domain.
89 This command is used to get driver info.
[all …]
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.h29 .used = altc1_used,\
34 .used = altc2_used,\
39 .used = altc3_used,\
44 .used = altc4_used,\
78 bool used:1; member
/drivers/video/fbdev/omap2/displays-new/
DKconfig46 This is the LCD panel used on Nokia N900
52 LCD Panel used on the Gumstix Overo Palo35
58 LCD Panel used in TI's SDP3430 and EVM boards
64 LCD panel used in Openmoko.
70 LCD Panel used in OMAP3 Pandora
77 This NEC NL8048HL11 panel is TFT LCD used in the
/drivers/mtd/ubi/
Dwl.c560 for (i = pool->used; i < pool->size; i++) { in return_unused_pool_pebs()
591 pool->used = 0; in refill_wl_pool()
609 pool->used = 0; in refill_wl_user_pool()
633 if (!pool->size || !wl_pool->size || pool->used == pool->size || in ubi_wl_get_peb()
634 wl_pool->used == wl_pool->size) in ubi_wl_get_peb()
642 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
659 if (pool->used == pool->size || !pool->size) { in get_peb_for_wl()
669 pnum = pool->pebs[pool->used++]; in get_peb_for_wl()
819 wl_tree_add(e, &ubi->used); in serve_prot_queue()
1031 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
[all …]
/drivers/staging/gdm724x/
DKconfig10 It exposes 4 network devices to be used per PDN and 2 tty devices to be
11 used for AT commands and DM monitoring applications.
14 GCT-ATCx can be used for AT Commands
15 GCT-DMx can be used for LTE protocol monitoring
/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c147 if (tage->used + len <= PAGE_CACHE_SIZE) in cfs_trace_get_tage_try()
168 tage->used = 0; in cfs_trace_get_tage_try()
240 tage->used = 0; in cfs_trace_get_tage()
325 tage->used + known_size; in libcfs_debug_vmsg2()
327 max_nob = PAGE_CACHE_SIZE - tage->used - known_size; in libcfs_debug_vmsg2()
364 debug_buf = (char *)page_address(tage->page) + tage->used; in libcfs_debug_vmsg2()
368 tage->used += sizeof(header); in libcfs_debug_vmsg2()
375 ++ tage->used; in libcfs_debug_vmsg2()
379 tage->used += strlen(file) + 1; in libcfs_debug_vmsg2()
384 tage->used += strlen(msgdata->msg_fn) + 1; in libcfs_debug_vmsg2()
[all …]
/drivers/pci/hotplug/
Dcpqphp_sysfs.c130 int used; in spew_debug_info() local
132 used = size - show_ctrl(ctrl, data); in spew_debug_info()
133 used = (size - used) - show_dev(ctrl, &data[used]); in spew_debug_info()
134 return used; in spew_debug_info()
/drivers/media/
DKconfig92 Enable the media controller API used to query media devices internal
95 This API is mostly used by camera interfaces in embedded platforms.
112 Enables the V4L2 sub-device pad-level userspace API used to configure
115 This API is mostly used by camera interfaces in embedded platforms.
137 standard. It is used, for example, by automatic firmware updates used
138 on Set-Top-Boxes. It can also be used to access the Internet via the
144 # This Kconfig option is used by both PCI and USB drivers
189 frontends, that are used by any of the supported devices.
/drivers/media/platform/davinci/
DKconfig10 Enables Davinci VPIF module used for display devices.
11 This module is used for display on TI DM6467/DA850/OMAPL138
24 Enables Davinci VPIF module used for capture devices.
25 This module is used for capture on TI DM6467/DA850/OMAPL138
82 Enables Davinci VPBE module used for display devices.
83 This module is used for display on TI DM644x/DM365/DM355
/drivers/gpu/drm/radeon/
Dr600_blit.c176 dev_priv->blit_vb->used = 512; in set_shaders()
539 dev_priv->blit_vb->used = 0; in r600_nomm_put_vb()
547 dev_priv->blit_vb->offset + dev_priv->blit_vb->used)); in r600_nomm_get_vb_ptr()
631 if ((dev_priv->blit_vb->used + 48) > dev_priv->blit_vb->total) { in r600_blit_copy()
675 dev_priv->blit_vb->used; in r600_blit_copy()
686 dev_priv->blit_vb->used += 12 * 4; in r600_blit_copy()
720 if ((dev_priv->blit_vb->used + 48) > dev_priv->blit_vb->total) { in r600_blit_copy()
765 dev_priv->blit_vb->used; in r600_blit_copy()
776 dev_priv->blit_vb->used += 12 * 4; in r600_blit_copy()
797 if ((dev_priv->blit_vb->used + 48) > dev_priv->blit_vb->total) { in r600_blit_swap()
[all …]
/drivers/misc/mic/host/
Dmic_debugfs.c304 struct vring_used *used; in mic_vdev_info_show() local
335 used = vrh->vring.used; in mic_vdev_info_show()
337 used->flags, used->idx & (num - 1)); in mic_vdev_info_show()
339 used->flags, used->idx); in mic_vdev_info_show()
342 j, used->ring[j].id, in mic_vdev_info_show()
343 used->ring[j].len); in mic_vdev_info_show()
/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-light-tsl25836 used in calculating illuminance in lux.
13 value which is later used in calculating illuminance in lux.
20 It is used in the process of calibrating the device accuracy.
Dsysfs-bus-iio-ad71925 This attribute, if available, is used to enable the AC
14 This attribute, if available, is used to close or open the
19 the bridge can be disconnected (when it is not being used
/drivers/net/ethernet/stmicro/stmmac/
DKconfig22 the stmmac device driver. This is the driver used
36 the stmmac device driver. This driver is used for Meson6 and
46 for the stmmac device driver. This driver is used for
57 stmmac device driver. This driver is used for A20/A31
68 device driver. This driver is used on for the STi series
/drivers/md/bcache/
Dutil.h35 size_t size, used; \
42 (heap)->used = 0; \
68 for (; _j * 2 + 1 < (h)->used; _j = _r) { \
70 if (_r + 1 < (h)->used && \
95 size_t _i = (h)->used++; \
106 bool _r = (h)->used; \
109 (h)->used--; \
110 heap_swap(h, 0, (h)->used); \
116 #define heap_peek(h) ((h)->used ? (h)->data[0] : NULL)
118 #define heap_full(h) ((h)->used == (h)->size)
/drivers/char/mwave/
DREADME20 irq used by the dsp to be configured.
25 io range used by the dsp to be configured.
30 irq used by the mwave uart to be configured.
35 io range used by the mwave uart to be configured.
/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt17 Currently the driver has been successfully used on the following
61 The parameter structures used by these ioctl's are described in
65 VIDIOC_VPFE_RSZ_S_CONFIG are used to configure, enable and disable functions in
72 and VIDIOC_VPFE_RSZ_G_CONFIG are used to get the current configuration set in
87 The parameter structures used by these ioctl's are described in
90 The VIDIOC_VPFE_IPIPEIF_S_CONFIG is used to configure the ipipeif

12345678910>>...16