Home
last modified time | relevance | path

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

12345678910>>...26

/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_dbgfs.c15 int *used, int total) in mtk_vdec_dbgfs_get_format_type() argument
21 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
25 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
29 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
33 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
37 *used += curr_len; in mtk_vdec_dbgfs_get_format_type()
41 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
45 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
49 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_format_type()
53 *used += curr_len; in mtk_vdec_dbgfs_get_format_type()
[all …]
/drivers/infiniband/ulp/rtrs/
Drtrs-clt-stats.c42 size_t used; in rtrs_clt_stats_migration_from_cnt_to_str() local
45 used = 0; in rtrs_clt_stats_migration_from_cnt_to_str()
48 used += sysfs_emit_at(buf, used, "%d ", in rtrs_clt_stats_migration_from_cnt_to_str()
52 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_from_cnt_to_str()
54 return used; in rtrs_clt_stats_migration_from_cnt_to_str()
61 size_t used; in rtrs_clt_stats_migration_to_cnt_to_str() local
64 used = 0; in rtrs_clt_stats_migration_to_cnt_to_str()
67 used += sysfs_emit_at(buf, used, "%d ", s->cpu_migr.to); in rtrs_clt_stats_migration_to_cnt_to_str()
70 used += sysfs_emit_at(buf, used, "\n"); in rtrs_clt_stats_migration_to_cnt_to_str()
72 return used; in rtrs_clt_stats_migration_to_cnt_to_str()
/drivers/vhost/
Dvringh.c85 while (len && iov->i < iov->used) { in vringh_kiov_advance()
116 while (len && iov->i < iov->used) { in vringh_iov_xfer()
320 riov->i = riov->used = riov->consumed = 0; in __vringh_iov()
322 wiov->i = wiov->used = wiov->consumed = 0; in __vringh_iov()
377 if (unlikely(wiov && wiov->used)) { in __vringh_iov()
403 if (unlikely(iov->used == (iov->max_num & ~VRINGH_IOV_ALLOCATED))) { in __vringh_iov()
409 iov->iov[iov->used].iov_base = addr; in __vringh_iov()
410 iov->iov[iov->used].iov_len = len; in __vringh_iov()
411 iov->used++; in __vringh_iov()
448 const struct vring_used_elem *used, in __vringh_complete() argument
[all …]
/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.c58 ssize_t used = 0; in cscfg_cfg_values_show() local
78 used += scnprintf(page + used, PAGE_SIZE - used, in cscfg_cfg_values_show()
85 used += scnprintf(page + used, PAGE_SIZE - used, "\n"); in cscfg_cfg_values_show()
87 return used; in cscfg_cfg_values_show()
245 int used = 0; in cscfg_feat_matches_show() local
248 used = scnprintf(page, PAGE_SIZE, "SRC_ALL "); in cscfg_feat_matches_show()
251 used += scnprintf(page + used, PAGE_SIZE - used, "SRC_ETMV4 "); in cscfg_feat_matches_show()
253 used += scnprintf(page + used, PAGE_SIZE - used, "\n"); in cscfg_feat_matches_show()
254 return used; in cscfg_feat_matches_show()
Dcoresight-cti-sysfs.c798 int used = 0, reg_idx; in chan_xtrigs_in_show() local
804 used += sprintf(buf + used, "%d ", reg_idx); in chan_xtrigs_in_show()
807 used += sprintf(buf + used, "\n"); in chan_xtrigs_in_show()
808 return used; in chan_xtrigs_in_show()
818 int used = 0, reg_idx; in chan_xtrigs_out_show() local
824 used += sprintf(buf + used, "%d ", reg_idx); in chan_xtrigs_out_show()
827 used += sprintf(buf + used, "\n"); in chan_xtrigs_out_show()
828 return used; in chan_xtrigs_out_show()
967 int sig_idx, used = 0; in trigin_type_show() local
972 used += sprintf(buf + used, "%s ", name); in trigin_type_show()
[all …]
/drivers/mtd/ubi/
Dfastmap-wl.c60 for (i = pool->used; i < pool->size; i++) { in return_unused_pool_pebs()
192 wl_pool->used = 0; in ubi_refill_pools()
193 pool->used = 0; in ubi_refill_pools()
242 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb()
255 if (pool->used == pool->size) { in ubi_wl_get_peb()
272 ubi_assert(pool->used < pool->size); in ubi_wl_get_peb()
273 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb()
291 if (pool->used == pool->size) in next_peb_for_wl()
294 pnum = pool->pebs[pool->used]; in next_peb_for_wl()
311 if (!ubi->used.rb_node) in need_wear_leveling()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c25 if (!(priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE)) in iwl_sta_ucode_activate()
30 if (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) { in iwl_sta_ucode_activate()
36 priv->stations[sta_id].used |= IWL_STA_UCODE_ACTIVE; in iwl_sta_ucode_activate()
256 if (!priv->stations[i].used && in iwl_prep_station()
273 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_prep_station()
279 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_prep_station()
280 (priv->stations[sta_id].used & IWL_STA_UCODE_ACTIVE) && in iwl_prep_station()
288 station->used = IWL_STA_DRIVER_ACTIVE; in iwl_prep_station()
347 if (priv->stations[sta_id].used & IWL_STA_UCODE_INPROGRESS) { in iwl_add_station_common()
354 if ((priv->stations[sta_id].used & IWL_STA_DRIVER_ACTIVE) && in iwl_add_station_common()
[all …]
/drivers/staging/media/atomisp/i2c/ov5693/
Dov5693.h201 bool used; member
1106 .used = 0,
1117 .used = 0,
1128 .used = 0,
1139 .used = 0,
1160 .used = 0,
1171 .used = 0,
1182 .used = 0,
1193 .used = 0,
1204 .used = 0,
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchid.c32 clear_bit(id, chid->used); in nvkm_chid_put()
43 cid = find_first_zero_bit(chid->used, chid->nr); in nvkm_chid_get()
45 set_bit(cid, chid->used); in nvkm_chid_get()
92 if (!(chid = *pchid = kzalloc(struct_size(chid, used, nr), GFP_KERNEL))) in nvkm_chid_new()
106 __set_bit(id, chid->used); in nvkm_chid_new()
108 __set_bit(id, chid->used); in nvkm_chid_new()
/drivers/net/wireless/marvell/mwifiex/
DREADME46 The above command can be used to connect to an AP with a particular SSID.
49 …Note: Every time before connecting to an AP scan command (iw dev mlan0 scan) should be used by use…
52 This command will be used to disconnect from an AP.
56 The command will be used to join or create an ibss. Optionally, operating frequency,
61 The command will be used to leave an ibss network.
64 The command will be used to get the connection status. The command will return parameters
71 The debugfs interface can be used for configurations and for getting
84 The command will be used to change the regulatory domain.
87 The command will be used to get current regulatory domain.
90 This command is used to get driver info.
[all …]
/drivers/infiniband/hw/hfi1/
Daffinity.c36 cpumask_clear(&set->used); in init_cpu_mask_set()
43 if (cpumask_equal(&set->mask, &set->used)) { in _cpu_mask_set_gen_inc()
49 cpumask_clear(&set->used); in _cpu_mask_set_gen_inc()
55 if (cpumask_empty(&set->used) && set->gen) { in _cpu_mask_set_gen_dec()
57 cpumask_copy(&set->used, &set->mask); in _cpu_mask_set_gen_dec()
72 cpumask_andnot(diff, &set->mask, &set->used); in cpu_mask_set_get_first()
78 cpumask_set_cpu(cpu, &set->used); in cpu_mask_set_get_first()
88 cpumask_clear_cpu(cpu, &set->used); in cpu_mask_set_put()
132 cpumask_clear(&node_affinity.proc.used); in node_affinity_init()
342 cpumask_andnot(available_cpus, &set->mask, &set->used); in _dev_comp_vect_cpu_get()
[all …]
/drivers/usb/common/
DKconfig21 UTMI+ Low Pin Interface (ULPI) is specification for a commonly used
23 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.
/drivers/usb/misc/
Dchaoskey.c85 int used; /* bytes of buf consumed */ member
326 dev->used = 0; in chaos_read_callback()
347 if (dev->valid != dev->used) { in _chaoskey_fill()
349 dev->valid, dev->used); in _chaoskey_fill()
437 if (dev->valid == dev->used) { in chaoskey_read()
445 this_time = dev->valid - dev->used; in chaoskey_read()
449 remain = copy_to_user(buffer, dev->buf + dev->used, this_time); in chaoskey_read()
456 dev->used += this_time - remain; in chaoskey_read()
464 dev->used += this_time; in chaoskey_read()
505 if (dev->valid == dev->used) in chaoskey_rng_read()
[all …]
/drivers/pinctrl/nomadik/
Dpinctrl-nomadik.h34 .used = altc1_used,\
39 .used = altc2_used,\
44 .used = altc3_used,\
49 .used = altc4_used,\
83 bool used:1; member
/drivers/staging/media/atomisp/i2c/
Dgc2235.h137 bool used; member
533 .used = 0,
546 .used = 0,
558 .used = 0,
581 .used = 0,
593 .used = 0,
605 .used = 0,
623 .used = 0,
635 .used = 0,
/drivers/staging/gdm724x/
DKconfig11 It exposes 4 network devices to be used per PDN and 2 tty devices to be
12 used for AT commands and DM monitoring applications.
15 GCT-ATCx can be used for AT Commands
16 GCT-DMx can be used for LTE protocol monitoring
/drivers/soc/amlogic/
Dmeson-canvas.c38 u8 used[NUM_CANVAS]; member
100 if (!canvas->used[canvas_index]) { in meson_canvas_config()
138 if (!canvas->used[i]) { in meson_canvas_alloc()
139 canvas->used[i] = 1; in meson_canvas_alloc()
157 if (!canvas->used[canvas_index]) { in meson_canvas_free()
163 canvas->used[canvas_index] = 0; in meson_canvas_free()
/drivers/video/fbdev/omap2/omapfb/displays/
DKconfig55 This is the LCD panel used on Nokia N900
61 LCD Panel used on the Gumstix Overo Palo35
68 LCD Panel used in TI's SDP3430 and EVM boards
75 LCD panel used in Openmoko.
82 LCD Panel used in OMAP3 Pandora
90 This NEC NL8048HL11 panel is TFT LCD used in the
/drivers/dma/
Ddmaengine.h71 dma_cookie_t used, complete; in dma_cookie_status() local
73 used = chan->cookie; in dma_cookie_status()
78 state->used = used; in dma_cookie_status()
82 return dma_async_is_complete(cookie, complete, used); in dma_cookie_status()
/drivers/net/ethernet/sfc/
Dtx.c129 int used; member
148 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned()
151 copy_buf->used = len; in efx_memcpy_toio_aligned()
162 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb()
165 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); in efx_memcpy_toio_aligned_cb()
167 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); in efx_memcpy_toio_aligned_cb()
168 copy_buf->used += copy_to_buf; in efx_memcpy_toio_aligned_cb()
171 if (copy_buf->used < sizeof(copy_buf->buf)) in efx_memcpy_toio_aligned_cb()
179 copy_buf->used = 0; in efx_memcpy_toio_aligned_cb()
189 if (copy_buf->used) in efx_flush_copy_buffer()
[all …]
/drivers/tty/
Dtty_buffer.c104 p->used = 0; in tty_buffer_reset()
266 size_t left = (b->flags ? 1 : 2) * b->size - b->used; in __tty_buffer_request_room()
283 smp_store_release(&b->commit, b->used); in __tty_buffer_request_room()
315 memcpy(char_buf_ptr(tb, tb->used), chars, space); in __tty_insert_flip_string_flags()
318 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in __tty_insert_flip_string_flags()
321 memset(flag_buf_ptr(tb, tb->used), flags[0], space); in __tty_insert_flip_string_flags()
327 tb->used += space; in __tty_insert_flip_string_flags()
361 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
363 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
364 tb->used += space; in tty_prepare_flip_string()
[all …]
/drivers/mailbox/
DKconfig18 driver adds support for the mailbox controller used to
29 used in Secure mode only.
52 which can be used in Secure mode only.
59 Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to
108 (PCC) is typically used by CPPC (ACPI CPU Performance management),
117 An implementation of the Altera Mailbox soft core. It is used
125 An implementation of the BCM2385 Mailbox. It is used to invoke
144 and K3 architecture SoCs. These may be used for communication between
154 An implementation of the hi3660 mailbox. It is used to send message
164 An implementation of the hi6220 mailbox. It is used to send message
[all …]
/drivers/staging/pi433/Documentation/
Dpi433.txt77 frequency used for transmission.
80 bit rate used for transmission.
135 Attention: For telegram length over 255 bytes, this option can't be used
136 Attention: should be used in combination with sync, only
141 The address byte can be used for address filtering, so the receiver
143 Attention: should be used in combination with sync, only
158 contains up to eight values, that are used as the sync pattern
161 one byte, used as address byte on address byte option.
168 frequency used for transmission.
171 bit rate used for transmission.
[all …]
/drivers/irqchip/
Dirq-ls-scfg-msi.c56 unsigned long *used; member
148 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); in ls_scfg_msi_domain_irq_alloc()
150 __set_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_alloc()
183 __clear_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_free()
280 bitmap_clear(msi_data->used, hwirq, 1); in ls_scfg_msi_setup_hwirq()
297 bitmap_set(msi_data->used, hwirq, 1); in ls_scfg_msi_teardown_hwirq()
364 msi_data->used = devm_bitmap_zalloc(&pdev->dev, msi_data->irqs_num, GFP_KERNEL); in ls_scfg_msi_probe()
365 if (!msi_data->used) in ls_scfg_msi_probe()
371 bitmap_set(msi_data->used, 0, msi_data->irqs_num); in ls_scfg_msi_probe()
/drivers/gpu/drm/msm/
DKconfig114 Choose this option if the 28nm DSI PHY is used on the platform.
121 Choose this option if the 20nm DSI PHY is used on the platform.
128 Choose this option if the 28nm DSI PHY 8960 variant is used on the
132 bool "Enable DSI 14nm PHY driver in MSM DRM (used by MSM8996/APQ8096)"
136 Choose this option if DSI PHY on 8996 is used on the platform.
139 bool "Enable DSI 10nm PHY driver in MSM DRM (used by SDM845)"
143 Choose this option if DSI PHY on SDM845 is used on the platform.
151 is used on the platform.
159 be a primary or a secondary display on device. Note that this is used

12345678910>>...26