Home
last modified time | relevance | path

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

12345678910>>...135

/Linux-v5.4/Documentation/ABI/testing/
Dconfigfs-spear-pcie-gadget7 Interface is used to configure selected dual mode PCIe controller
10 This interfaces can be used to show spear's PCIe device capability.
18 link ... used to enable ltssm and read its status.
19 int_type ...used to configure and read type of supported
21 no_of_msi ... used to configure number of MSI vector needed and
25 vendor_id ... used to write and read vendor id (hex)
26 device_id ... used to write and read device id (hex)
27 bar0_size ... used to write and read bar0_size
28 bar0_address ... used to write and read bar0 mapped area in hex.
29 bar0_rw_offset ... used to write and read offset of bar0 where
[all …]
/Linux-v5.4/sound/oss/dmasound/
Ddmasound_atari.c161 ssize_t count, used; in ata_ct_law() local
167 used = count; in ata_ct_law()
175 *frameUsed += used; in ata_ct_law()
176 return used; in ata_ct_law()
184 ssize_t count, used; in ata_ct_s8() local
190 used = count; in ata_ct_s8()
193 *frameUsed += used; in ata_ct_s8()
194 return used; in ata_ct_s8()
202 ssize_t count, used; in ata_ct_u8() local
207 used = count; in ata_ct_u8()
[all …]
/Linux-v5.4/arch/um/os-Linux/
Dsigio.c40 int used; member
61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
68 for (i = 0; i < fds->used; i++) { in write_sigio_thread()
87 fds->used--; in write_sigio_thread()
89 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
173 for (i = 0; i < all_sigio_fds.used; i++) { in add_sigio_fd()
177 if (i == all_sigio_fds.used) in add_sigio_fd()
182 for (i = 0; i < current_poll.used; i++) { in add_sigio_fd()
187 n = current_poll.used; in add_sigio_fd()
[all …]
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_ag_resv.c180 xfs_extlen_t used) in __xfs_ag_resv_init() argument
187 if (used > ask) in __xfs_ag_resv_init()
188 ask = used; in __xfs_ag_resv_init()
206 hidden_space = ask - used; in __xfs_ag_resv_init()
234 resv->ar_reserved = ask - used; in __xfs_ag_resv_init()
249 xfs_extlen_t used; in xfs_ag_resv_init() local
254 ask = used = 0; in xfs_ag_resv_init()
256 error = xfs_refcountbt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
260 error = xfs_finobt_calc_reserves(mp, tp, agno, &ask, &used); in xfs_ag_resv_init()
265 ask, used); in xfs_ag_resv_init()
[all …]
/Linux-v5.4/Documentation/admin-guide/
Dufs.rst12 UFS is a file system widely used in different operating systems.
23 used in FreeBSD, NetBSD, OpenBSD
27 used in FreeBSD 5.x
34 used in SunOS (Solaris)
38 used in SunOS for Intel (Solarisx86)
42 used in HP-UX
46 used in NextStep
50 used for NextStep CDROMs (block_size == 2048)
54 used in OpenStep
/Linux-v5.4/Documentation/arm/
Dsetup.rst6 structure, otherwise known as 'struct param_struct' which is used
9 This structure is used to pass initialisation parameters from the
30 This is now obsolete, and should not be used.
47 or VGA console character size. They should not be used for any other
56 is otherwise unused. (should not be used for other console types, and
57 should not be used for other purposes).
61 based machines. May be used differently by different architectures.
64 Default sound setting on Acorn machines. May be used differently by
68 Number of ADFS/MFM disks. May be used differently by different
72 These are now obsolete, and should not be used.
[all …]
/Linux-v5.4/drivers/vhost/
Dvringh.c81 while (len && iov->i < iov->used) { in vringh_iov_xfer()
278 riov->i = riov->used = 0; in __vringh_iov()
280 wiov->i = wiov->used = 0; in __vringh_iov()
359 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov()
365 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
366 iov->iov[iov->used].iov_len = len; in __vringh_iov()
367 iov->used++; in __vringh_iov()
403 const struct vring_used_elem *used, in __vringh_complete() argument
415 used_ring = vrh->vring.used; in __vringh_complete()
423 err = putused(&used_ring->ring[off], used, part); in __vringh_complete()
[all …]
/Linux-v5.4/Documentation/parisc/
Dregisters.rst5 [ an asterisk is used for planned usage which is currently unimplemented ]
14 CR 0 (Recovery Counter) used for ptrace
31 CR26 (TR 2) not used
33 CR28 (TR 4) not used
34 CR29 (TR 5) not used
36 CR31 (TR 7) Temporary register, used in various places
47 SR3 used for userspace accesses (current process)
72 N (Nullify next instruction) used by C code
74 B (Taken Branch) used by C code
76 V (divide step correction) used by C code
[all …]
/Linux-v5.4/arch/mips/mm/
Dinit.c318 unsigned num_maars, used, i; in maar_init() local
322 unsigned used; in maar_init() member
337 if (recorded.used) { in maar_init()
338 used = maar_config(recorded.cfgs, recorded.used, num_maars / 2); in maar_init()
339 BUG_ON(used != recorded.used); in maar_init()
342 used = platform_maar_init(num_maars / 2); in maar_init()
346 for (i = (used * 2); i < num_maars; i++) { in maar_init()
353 if (recorded.used) in maar_init()
384 if (used <= ARRAY_SIZE(recorded.cfgs)) { in maar_init()
385 recorded.cfgs[recorded.used].lower = lower; in maar_init()
[all …]
/Linux-v5.4/drivers/tty/
Dtty_buffer.c100 p->used = 0; in tty_buffer_reset()
266 left = 2 * b->size - b->used; in __tty_buffer_request_room()
268 left = b->size - b->used; in __tty_buffer_request_room()
280 smp_store_release(&b->commit, b->used); in __tty_buffer_request_room()
322 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
324 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
325 tb->used += space; in tty_insert_flip_string_fixed_flag()
357 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
358 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
359 tb->used += space; in tty_insert_flip_string_flags()
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dpixfmt-reserved.rst53 - 8 bit RGB format used by the BTTV driver.
58 - YUV 4:2:0 format used by the IVTV driver,
67 - YUV format used by the gspca cpia1 driver.
72 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
78 - YUYV per line used by the gspca driver.
83 - YYUV per line used by the gspca driver.
88 - YUVY per line used by the gspca driver.
93 - Compressed GBRG Bayer format used by the gspca driver.
98 - Compressed BGGR Bayer format used by the gspca driver.
103 - Compressed BGGR Bayer format used by the gspca driver.
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Di2c.txt13 - clock-frequency : Can be used to set the i2c clock frequency. If
14 unspecified, a default frequency of 60kHz is being used.
15 The following two properties are deprecated. They are only used by legacy
17 - linux,i2c-index : Can be used to hard code an i2c bus number. By default,
19 - linux,i2c-class : Can be used to override the i2c class. The class is used
22 being used. The definition of the classes can be found in
/Linux-v5.4/drivers/gpu/drm/savage/
Dsavage_bci.c318 dev_priv->dma_pages[i].used = 0; in savage_dma_init()
337 dev_priv->dma_pages[i].used = 0; in savage_dma_reset()
376 dev_priv->dma_pages[cur].used; in savage_dma_alloc()
383 cur, dev_priv->dma_pages[cur].used, n, rest, nr_pages); in savage_dma_alloc()
387 cur * SAVAGE_DMA_PAGE_SIZE + dev_priv->dma_pages[cur].used; in savage_dma_alloc()
390 dev_priv->dma_pages[cur].used += rest; in savage_dma_alloc()
399 dev_priv->dma_pages[i].used = 0; in savage_dma_alloc()
407 if (dev_priv->dma_pages[i].used) { in savage_dma_alloc()
409 i, dev_priv->dma_pages[i].used); in savage_dma_alloc()
413 dev_priv->dma_pages[i].used = SAVAGE_DMA_PAGE_SIZE; in savage_dma_alloc()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Das3711.txt23 feedback used:
24 - su2-feedback-voltage : voltage feedback is used
25 - su2-feedback-curr1 : CURR1 input used for current feedback
26 - su2-feedback-curr2 : CURR2 input used for current feedback
27 - su2-feedback-curr3 : CURR3 input used for current feedback
31 - su2-fbprot-lx-sd4 : LX_SD4 is used for over-voltage protection
32 - su2-fbprot-gpio2 : GPIO2 is used for over-voltage protection
33 - su2-fbprot-gpio3 : GPIO3 is used for over-voltage protection
34 - su2-fbprot-gpio4 : GPIO4 is used for over-voltage protection
/Linux-v5.4/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
36 - restart-gpio: drivers/power/reset/gpio-restart.c is used to restart/reboot
40 - poweroff-gpio: drivers/power/reset/gpio-poweroff.c is used to power the
45 - gpio-gate-clock: drivers/clk/clk-gpio.c is used to control a gated clock
48 - i2c-gpio: drivers/i2c/busses/i2c-gpio.c is used to drive an I2C bus
53 - spi_gpio: drivers/spi/spi-gpio.c is used to drive an SPI bus (variable number
[all …]
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c30 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
35 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
41 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
261 if (!priv->stations[i].used && in iwl_prep_station()
278 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_prep_station()
284 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_prep_station()
285 (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) && in iwl_prep_station()
293 station->used = IWL_STA_DRIVER_ACTIVE; in iwl_prep_station()
352 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_add_station_common()
359 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_add_station_common()
[all …]
/Linux-v5.4/include/linux/
Dvringh.h80 unsigned i, used, max_num; member
92 unsigned i, used, max_num; member
103 struct vring_used __user *used);
108 iov->used = iov->i = 0; in vringh_iov_init()
126 iov->max_num = iov->used = iov->i = iov->consumed = 0; in vringh_iov_cleanup()
148 const struct vring_used_elem used[],
165 struct vring_used *used);
170 kiov->used = kiov->i = 0; in vringh_kiov_init()
188 kiov->max_num = kiov->used = kiov->i = kiov->consumed = 0; in vringh_kiov_cleanup()
/Linux-v5.4/fs/ubifs/
Dtnc_commit.c412 int lnum, offs, len, next_len, buf_len, buf_offs, used, avail; in layout_in_empty_space() local
424 used = 0; in layout_in_empty_space()
445 used = 0; in layout_in_empty_space()
449 offs = buf_offs + used; in layout_in_empty_space()
490 wlen = used + len; in layout_in_empty_space()
491 used += ALIGN(len, 8); in layout_in_empty_space()
495 buf_offs + used + next_len <= c->leb_size && in layout_in_empty_space()
500 buf_offs + used + next_len <= c->leb_size) in layout_in_empty_space()
510 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
516 used -= blen; in layout_in_empty_space()
[all …]
/Linux-v5.4/tools/virtio/
Dvringh_test.c190 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in parallel_test()
254 if (riov.used) { in parallel_test()
260 assert(riov.i == riov.used); in parallel_test()
267 assert(wiov.i == wiov.used); in parallel_test()
445 struct vring_used_elem used[RINGSIZE]; in main() local
492 vrh.vring.desc, vrh.vring.avail, vrh.vring.used); in main()
523 assert(riov.used == 1); in main()
527 assert(wiov.used == 1); in main()
531 assert(wiov.used == 2); in main()
550 assert(wiov.i == wiov.used); in main()
[all …]
/Linux-v5.4/tools/virtio/ringtest/
Dvirtio_ring_0_9.c160 index = ring.used->ring[head].id; in get_buf()
167 if (ring.used->idx == guest.last_used_idx) in get_buf()
176 index = ring.used->ring[head].id; in get_buf()
183 *lenp = ring.used->ring[head].len; in get_buf()
202 unsigned index = ring.used->ring[head].id; in used_empty()
206 return ring.used->idx == last_used_idx; in used_empty()
308 ring.used->ring[used_idx].id = head; in use_buf()
309 ring.used->ring[used_idx].len = desc->len - 1; in use_buf()
314 ring.used->idx = host.used_idx; in use_buf()
/Linux-v5.4/drivers/misc/mic/vop/
Dvop_debugfs.c114 struct vring_used *used; in vop_vdev_info_show() local
149 used = vrh->vring.used; in vop_vdev_info_show()
151 vringh16_to_cpu(vrh, used->flags), in vop_vdev_info_show()
152 vringh16_to_cpu(vrh, used->idx) & (num - 1)); in vop_vdev_info_show()
154 vringh16_to_cpu(vrh, used->flags), in vop_vdev_info_show()
155 vringh16_to_cpu(vrh, used->idx)); in vop_vdev_info_show()
159 used->ring[j].id), in vop_vdev_info_show()
161 used->ring[j].len)); in vop_vdev_info_show()
/Linux-v5.4/drivers/gpu/drm/i810/
Di810_dma.c59 int used; in i810_freelist_get() local
67 used = cmpxchg(buf_priv->in_use, I810_BUF_FREE, in i810_freelist_get()
69 if (used == I810_BUF_FREE) in i810_freelist_get()
82 int used; in i810_freelist_put() local
85 used = cmpxchg(buf_priv->in_use, I810_BUF_CLIENT, I810_BUF_FREE); in i810_freelist_put()
86 if (used != I810_BUF_CLIENT) { in i810_freelist_put()
714 struct drm_buf *buf, int discard, int used) in i810_dma_dispatch_vertex() argument
731 if (used > 4 * 1024) in i810_dma_dispatch_vertex()
732 used = 0; in i810_dma_dispatch_vertex()
741 ((GFX_OP_PRIMITIVE | prim | ((used / 4) - 2))); in i810_dma_dispatch_vertex()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/mmc/
Dmmci.txt7 by mmc.txt and the properties used by the mmci driver. Using "st" as
23 - st,sig-dir-dat0 : bus signal direction pin used for DAT[0].
24 - st,sig-dir-dat2 : bus signal direction pin used for DAT[2].
25 - st,sig-dir-dat31 : bus signal direction pin used for DAT[3] and DAT[1].
26 - st,sig-dir-dat74 : bus signal direction pin used for DAT[4] to DAT[7].
27 - st,sig-dir-cmd : cmd signal direction pin used for CMD.
28 - st,sig-pin-fbclk : feedback clock signal pin used.
31 - st,sig-dir : signal direction polarity used for cmd, dat0 dat123.
/Linux-v5.4/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.h30 .used = altc1_used,\
35 .used = altc2_used,\
40 .used = altc3_used,\
45 .used = altc4_used,\
79 bool used:1; member
/Linux-v5.4/drivers/usb/common/
DKconfig22 UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
24 of registers that can be used to detect the vendor and product which
45 based USB cable detection, used typically if an input GPIO is used
46 to detect USB ID pin, and another input GPIO may be also used to detect
47 Vbus pin at the same time, it also can be used to enable/disable
48 device if an input GPIO is only used to detect Vbus pin.

12345678910>>...135