| /drivers/media/platform/mediatek/vcodec/common/ |
| A D | mtk_vcodec_dbgfs.c | 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() 60 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help() 64 curr_len = snprintf(buf + *used, total - *used, in mtk_vdec_dbgfs_get_help() [all …]
|
| /drivers/infiniband/ulp/rtrs/ |
| A D | rtrs-clt-stats.c | 42 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/ |
| A D | vringh.c | 410 iov->used++; in __vringh_iov() 460 used_ring = vrh->vring.used; in __vringh_complete() 487 &vrh->vring.used->idx); in __vringh_complete() 677 vrh->vring.used = (__force struct vring_used *)used; in vringh_init_user() 793 struct vring_used_elem used; in vringh_complete_user() local 920 vrh->vring.used = used; in vringh_init_kern() 982 struct vring_used_elem used; in vringh_complete_kern() local 1337 desc, avail, used); in vringh_init_iotlb() 1358 struct vring_used *used) in vringh_init_iotlb_va() argument 1363 desc, avail, used); in vringh_init_iotlb_va() [all …]
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-syscfg-configfs.c | 58 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()
|
| A D | coresight-cti-sysfs.c | 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() 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() 972 used += sprintf(buf + used, "%s ", name); in trigin_type_show() 974 used += sprintf(buf + used, "\n"); in trigin_type_show() 975 return used; in trigin_type_show() 990 used += sprintf(buf + used, "%s ", name); in trigout_type_show() [all …]
|
| /drivers/mtd/ubi/ |
| A D | fastmap-wl.c | 126 free += pool->size - pool->used + wl_pool->size - wl_pool->used; in wait_free_pebs_for_pool() 256 wl_pool->used = 0; in ubi_refill_pools_and_lock() 257 pool->used = 0; in ubi_refill_pools_and_lock() 306 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { in ubi_wl_get_peb() 319 if (pool->used == pool->size) { in ubi_wl_get_peb() 337 ret = pool->pebs[pool->used++]; in ubi_wl_get_peb() 357 if (pool->used == pool->size) { in next_peb_for_wl() 371 pnum = pool->pebs[pool->used]; in next_peb_for_wl() 388 if (!ubi->used.rb_node) in need_wear_leveling() 420 if (pool->used == pool->size) { in get_peb_for_wl() [all …]
|
| A D | wl.c | 527 wl_tree_add(e, &ubi->used); in serve_prot_queue() 729 rb_erase(&e1->u.rb, &ubi->used); 756 rb_erase(&e1->u.rb, &ubi->used); 903 wl_tree_add(e2, &ubi->used); 958 wl_tree_add(e1, &ubi->used); 1353 wl_tree_add(e, &ubi->used); 1399 if (in_wl_tree(e, &ubi->used)) { 1401 rb_erase(&e->u.rb, &ubi->used); 1874 wl_tree_add(e, &ubi->used); 1957 tree_destroy(ubi, &ubi->used); [all …]
|
| /drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | sta.c | 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() 288 station->used = IWL_STA_DRIVER_ACTIVE; in iwl_prep_station() 389 if ((priv->stations[sta_id].used & in iwl_sta_ucode_deactivate() 489 if (priv->stations[sta_id].used & IWL_STA_LOCAL) { in iwl_remove_station() 694 priv->stations[i].used &= in iwl_restore_stations() 696 priv->stations[i].used &= in iwl_restore_stations() 737 if (!(priv->stations[i].used & IWL_STA_BCAST)) in iwl_dealloc_bcast_stations() 740 priv->stations[i].used &= ~IWL_STA_UCODE_ACTIVE; in iwl_dealloc_bcast_stations() 904 priv->stations[sta_id].used |= IWL_STA_LOCAL; in iwlagn_add_bssid_station() [all …]
|
| /drivers/gpu/drm/xe/tests/ |
| A D | xe_guc_id_mgr_test.c | 65 KUNIT_EXPECT_EQ(test, idm->used, n); in check_used() 67 KUNIT_EXPECT_EQ(test, idm->used, n + 1); in check_used() 69 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_used() 70 idm_release_chunk_locked(idm, 0, idm->used); in check_used() 71 KUNIT_EXPECT_EQ(test, idm->used, 0); in check_used() 93 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_quota() 95 KUNIT_EXPECT_EQ(test, idm->used, 0); in check_quota() 111 KUNIT_EXPECT_EQ(test, idm->used, idm->total); in check_all()
|
| /drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| A D | chid.c | 32 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/ |
| A D | README | 52 This command will be used to disconnect from an AP. 61 The command will be used to leave an ibss network. 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. 168 This command is used to read/write the adapter register. 186 This command is used to read/write the firmware memory. 208 This command is used to read the EEPROM contents of the card. 234 [GPIO#]: pin number of GPIO used to wakeup the host. 236 will be used instead). [all …]
|
| /drivers/infiniband/hw/hfi1/ |
| A D | affinity.c | 36 cpumask_clear(&set->used); in init_cpu_mask_set() 49 cpumask_clear(&set->used); in _cpu_mask_set_gen_inc() 57 cpumask_copy(&set->used, &set->mask); in _cpu_mask_set_gen_dec() 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() 337 &entry->def_intr.used); in _dev_comp_vect_cpu_get() 350 cpumask_set_cpu(cpu, &set->used); in _dev_comp_vect_cpu_get() 762 cpumask_set_cpu(cpu, &set->used); in hfi1_update_sdma_affinity() 945 cpumask_andnot(&set->used, &set->used, &msix->mask); in hfi1_put_irq_affinity() 1058 &entry->def_intr.used)); in hfi1_get_proc_affinity() [all …]
|
| /drivers/usb/common/ |
| A D | Kconfig | 21 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/ |
| A D | chaoskey.c | 87 int used; /* bytes of buf consumed */ member 339 dev->used = 0; in chaos_read_callback() 360 if (dev->valid != dev->used) { in _chaoskey_fill() 362 dev->valid, dev->used); in _chaoskey_fill() 450 if (dev->valid == dev->used) { in chaoskey_read() 458 this_time = dev->valid - dev->used; in chaoskey_read() 469 dev->used += this_time - remain; in chaoskey_read() 477 dev->used += this_time; in chaoskey_read() 518 if (dev->valid == dev->used) in chaoskey_rng_read() 521 this_time = dev->valid - dev->used; in chaoskey_rng_read() [all …]
|
| /drivers/staging/media/atomisp/i2c/ |
| A D | gc2235.h | 121 bool used; member 517 .used = 0, 530 .used = 0, 542 .used = 0, 565 .used = 0, 577 .used = 0, 589 .used = 0, 607 .used = 0, 619 .used = 0,
|
| /drivers/gpu/drm/xe/ |
| A D | xe_guc_id_mgr.c | 58 idm->used = 0; in __fini_idm() 82 idm_assert(idm, !idm->used); in xe_guc_id_mgr_init() 137 if (idm->used + count + retain > idm->total) in idm_reserve_chunk_locked() 154 idm->used += count; in idm_reserve_chunk_locked() 163 idm_assert(idm, count <= idm->used); in idm_release_chunk_locked() 175 idm->used -= count; in idm_release_chunk_locked() 260 drm_printf_indent(p, indent, "used %u\n", idm->used); in idm_print_locked()
|
| /drivers/soc/amlogic/ |
| A D | meson-canvas.c | 38 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/ |
| A D | Kconfig | 55 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/ |
| A D | dmaengine.h | 71 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/ |
| A D | tx.c | 121 int used; member 140 BUG_ON(copy_buf->used); in efx_memcpy_toio_aligned() 143 copy_buf->used = len; in efx_memcpy_toio_aligned() 154 if (copy_buf->used) { in efx_memcpy_toio_aligned_cb() 157 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len); in efx_memcpy_toio_aligned_cb() 159 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf); in efx_memcpy_toio_aligned_cb() 160 copy_buf->used += copy_to_buf; in efx_memcpy_toio_aligned_cb() 163 if (copy_buf->used < sizeof(copy_buf->buf)) in efx_memcpy_toio_aligned_cb() 171 copy_buf->used = 0; in efx_memcpy_toio_aligned_cb() 181 if (copy_buf->used) in efx_flush_copy_buffer() [all …]
|
| /drivers/tty/ |
| A D | tty_buffer.c | 104 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/ |
| A D | Kconfig | 17 used in Secure mode only. 44 can be used to send message between different processors in SoC. 53 can be used to send message between different processors in SoC. Any 83 which can be used in Secure mode only. 90 Mailbox (IPCM), tailored for the Calxeda Highbank. It is used to 130 (PCC) is typically used by CPPC (ACPI CPU Performance management), 139 An implementation of the Altera Mailbox soft core. It is used 147 An implementation of the BCM2385 Mailbox. It is used to invoke 236 The Tegra HSP driver is used for the interprocessor communication 247 It is used to send short messages between ARM64-bit cores and [all …]
|
| /drivers/irqchip/ |
| A D | irq-ls-scfg-msi.c | 57 unsigned long *used; member 149 pos = find_first_zero_bit(msi_data->used, msi_data->irqs_num); in ls_scfg_msi_domain_irq_alloc() 151 __set_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_alloc() 184 __clear_bit(pos, msi_data->used); in ls_scfg_msi_domain_irq_free() 275 bitmap_clear(msi_data->used, hwirq, 1); in ls_scfg_msi_setup_hwirq() 292 bitmap_set(msi_data->used, hwirq, 1); in ls_scfg_msi_teardown_hwirq() 356 msi_data->used = devm_bitmap_zalloc(&pdev->dev, msi_data->irqs_num, GFP_KERNEL); in ls_scfg_msi_probe() 357 if (!msi_data->used) in ls_scfg_msi_probe() 363 bitmap_set(msi_data->used, 0, msi_data->irqs_num); in ls_scfg_msi_probe()
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | Kconfig | 36 This is the driver used on several SoCs: 79 device driver. This driver is used on for the Ingenic SoCs 122 the stmmac device driver. This driver is used for Meson6, 177 device driver. This driver is used for the S32CC series 193 for the stmmac device driver. This driver is used for 204 for the stmmac device driver. This driver is used for the 216 for the stmmac device driver. This driver is used for the 228 device driver. This driver is used on for the STi series 251 stmmac device driver. This driver is used for A20/A31 263 stmmac device driver. This driver is used for H3/A83T/A64 [all …]
|
| /drivers/pci/hotplug/ |
| A D | cpqphp_sysfs.c | 116 int used; in spew_debug_info() local 118 used = size - show_ctrl(ctrl, data); in spew_debug_info() 119 used = (size - used) - show_dev(ctrl, &data[used]); in spew_debug_info() 120 return used; in spew_debug_info()
|