Home
last modified time | relevance | path

Searched refs:unit (Results 426 - 450 of 1662) sorted by relevance

1...<<11121314151617181920>>...67

/third_party/backends/japi/
H A DSaneOption.java59 public static final int UNIT_NONE = 0; // the value is unit-less
105 public int unit; // what is the (physical) unit? (UNIT_) field in SaneOption
126 switch (unit) in unitString()
/third_party/node/test/fixtures/wpt/encoding/resources/
H A Ddecoding-helpers.js16 .map(unit => unit.charCodeAt(0))
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Dmeasure.h34 * An amount of a specified unit, consisting of a number and a Unit.
36 * unit, such as feet or meters.
49 * unit. After this call, the caller must not delete the given
50 * unit object.
52 * @param adoptedUnit the unit object, which must not be nullptr
53 * @param ec input-output error code. If the amount or the unit
111 * Return a reference to the unit of this object.
156 * The unit of this object, e.g., "millimeter" or "JPY". This is
159 MeasureUnit* unit; member in Measure
167 return *unit; in getUnit()
[all...]
/third_party/ltp/testcases/kernel/mem/ksm/
H A Dksm03.c64 create_same_memory(size, num, unit); in verify_ksm()
69 parse_ksm_options(opt_sizestr, &size, opt_numstr, &num, opt_unitstr, &unit); in setup()
81 {"u:", &opt_unitstr, "Memory allocation unit in MB"},
H A Dksm01.c64 create_same_memory(size, num, unit); in verify_ksm()
69 parse_ksm_options(opt_sizestr, &size, opt_numstr, &num, opt_unitstr, &unit); in setup()
78 {"u:", &opt_unitstr, "Memory allocation unit in MB"},
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c70 int (*set_cfg)(struct sdmmc_dlyb *dlyb, int unit __maybe_unused,
76 u32 unit; member
487 int unit, int phase, bool sampler) in sdmmc_dlyb_mp15_set_cfg()
493 cfgr = FIELD_PREP(DLYB_CFGR_UNIT_MASK, unit) | in sdmmc_dlyb_mp15_set_cfg()
517 "delay line cfg timeout unit:%d cfgr:%d\n", in sdmmc_dlyb_mp15_prepare()
530 dlyb->unit = i; in sdmmc_dlyb_mp15_prepare()
551 int unit __maybe_unused, int phase, in sdmmc_dlyb_mp25_set_cfg()
583 ret = dlyb->ops->set_cfg(dlyb, dlyb->unit, phase, false); in sdmmc_dlyb_phase_tuning()
609 ret = dlyb->ops->set_cfg(dlyb, dlyb->unit, phase, false); in sdmmc_dlyb_phase_tuning()
615 dev_dbg(mmc_dev(host->mmc), "unit in sdmmc_dlyb_phase_tuning()
486 sdmmc_dlyb_mp15_set_cfg(struct sdmmc_dlyb *dlyb, int unit, int phase, bool sampler) sdmmc_dlyb_mp15_set_cfg() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_fs.c165 state->unit[i].compare_mode_enabled = 1; in r300_fragment_program_get_external_state()
168 state->unit[i].texture_compare_func = s->state.compare_func; in r300_fragment_program_get_external_state()
172 if (state->unit[i].compare_mode_enabled) { in r300_fragment_program_get_external_state()
173 state->unit[i].texture_swizzle = in r300_fragment_program_get_external_state()
182 state->unit[i].wrap_mode = RC_WRAP_REPEAT; in r300_fragment_program_get_external_state()
186 state->unit[i].wrap_mode = RC_WRAP_MIRRORED_REPEAT; in r300_fragment_program_get_external_state()
192 state->unit[i].wrap_mode = RC_WRAP_MIRRORED_CLAMP; in r300_fragment_program_get_external_state()
196 state->unit[i].wrap_mode = RC_WRAP_NONE; in r300_fragment_program_get_external_state()
200 state->unit[i].clamp_and_scale_before_fetch = TRUE; in r300_fragment_program_get_external_state()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dfree-space-cache.c1437 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument
1442 return (unsigned long)(div_u64(offset, unit)); in offset_to_bit()
1445 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) in bytes_to_bits() argument
1447 return (unsigned long)(div_u64(bytes, unit)); in bytes_to_bits()
1456 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1613 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1624 ctl->unit > offset) in tree_search_offset()
1687 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1705 bitmap_bytes = ctl->total_bitmaps * ctl->unit; in recalculate_thresholds()
1725 start = offset_to_bit(info->offset, ctl->unit, offse in __bitmap_clear_bits()
[all...]
/kernel/linux/linux-5.10/sound/firewire/
H A Damdtp-stream.c72 * @unit: the target of the stream
79 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init() argument
92 s->unit = unit; in amdtp_stream_init()
268 * @data_block_quadlets: the size of a data block in quadlet unit
466 dev_err(&s->unit->device, "queueing error: %d\n", err); in queue_packet()
554 dev_info_ratelimited(&s->unit->device, in check_cip_header()
564 dev_info_ratelimited(&s->unit->device, in check_cip_header()
580 dev_err(&s->unit->device, in check_cip_header()
615 dev_err(&s->unit in check_cip_header()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dav1dec.c1025 CodedBitstreamUnit *unit = &s->current_obu.units[i]; in av1_decode_frame() local
1026 AV1RawOBU *obu = unit->content; in av1_decode_frame()
1033 av_log(avctx, AV_LOG_DEBUG, "Obu idx:%d, obu type:%d.\n", i, unit->type); in av1_decode_frame()
1035 switch (unit->type) { in av1_decode_frame()
1038 s->seq_ref = av_buffer_ref(unit->content_ref); in av1_decode_frame()
1066 ret = avctx->hwaccel->decode_params(avctx, unit->type, unit->data, in av1_decode_frame()
1067 unit->data_size); in av1_decode_frame()
1088 s->header_ref = av_buffer_ref(unit->content_ref); in av1_decode_frame()
1094 if (unit in av1_decode_frame()
[all...]
H A Dav1_parser.c85 av_log(avctx, AV_LOG_ERROR, "Failed to parse temporal unit.\n"); in av1_parser_parse()
98 const CodedBitstreamUnit *unit = &td->units[i]; in av1_parser_parse() local
99 const AV1RawOBU *obu = unit->content; in av1_parser_parse()
102 if (unit->type == AV1_OBU_FRAME) in av1_parser_parse()
104 else if (unit->type == AV1_OBU_FRAME_HEADER) in av1_parser_parse()
H A Dremove_extradata_bsf.c234 { "k", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_NONKEYFRAME }, .flags = FLAGS, .unit = "freq" },
235 { "keyframe", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_KEYFRAME }, .flags = FLAGS, .unit = "freq" },
236 { "e", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_ALL }, .flags = FLAGS, .unit = "freq" },
237 { "all", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = REMOVE_FREQ_ALL }, .flags = FLAGS, .unit = "freq" },
/third_party/backends/backend/
H A Dkvs1025_opt.c543 dev->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in kv_init_options()
553 dev->opt[OPT_DUPLEX].unit = SANE_UNIT_NONE; in kv_init_options()
585 dev->opt[OPT_LONGPAPER].unit = SANE_UNIT_NONE; in kv_init_options()
594 dev->opt[OPT_LENGTHCTL].unit = SANE_UNIT_NONE; in kv_init_options()
613 dev->opt[OPT_FEED_TIMEOUT].unit = SANE_UNIT_NONE; in kv_init_options()
626 dev->opt[OPT_DBLFEED].unit = SANE_UNIT_NONE; in kv_init_options()
635 dev->opt[OPT_FIT_TO_PAGE].unit = SANE_UNIT_NONE; in kv_init_options()
663 dev->opt[OPT_LANDSCAPE].unit = SANE_UNIT_NONE; in kv_init_options()
671 dev->opt[OPT_TL_X].unit = SANE_UNIT_MM; in kv_init_options()
680 dev->opt[OPT_TL_Y].unit in kv_init_options()
[all...]
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-pata-timings.c57 #define ENOUGH(v, unit) (((v)-1)/(unit)+1)
58 #define EZ(v, unit) ((v)?ENOUGH(((v) * 1000), unit):0)
/kernel/linux/linux-5.10/arch/s390/mm/
H A Ddump_pagetables.c123 const char *unit = units; in note_page() local
152 while (!(delta & 0x3ff) && unit[1]) { in note_page()
154 unit++; in note_page()
156 pt_dump_seq_printf(m, "%9lu%c ", delta, *unit); in note_page()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-timings.c93 #define ENOUGH(v, unit) (((v) - 1) / (unit) + 1)
94 #define EZ(v, unit) ((v) ? ENOUGH((v) * 1000, unit) : 0)
/kernel/linux/linux-5.10/scripts/dtc/
H A Ddtc.c34 const char *unit; in fill_fullpaths() local
38 unit = strchr(tree->name, '@'); in fill_fullpaths()
39 if (unit) in fill_fullpaths()
40 tree->basenamelen = unit - tree->name; in fill_fullpaths()
/kernel/linux/linux-5.10/sound/firewire/fireworks/
H A Dfireworks.h62 struct fw_unit *unit; member
114 int snd_efw_transaction_cmd(struct fw_unit *unit,
116 int snd_efw_transaction_run(struct fw_unit *unit,
121 void snd_efw_transaction_bus_reset(struct fw_unit *unit);
/kernel/linux/linux-5.10/sound/firewire/fireface/
H A Dff-transaction.c59 struct fw_device *fw_dev = fw_parent_device(ff->unit); in transmit_midi_msg()
176 struct fw_card *fw_card = fw_parent_device(ff->unit)->card; in snd_ff_transaction_reregister()
186 return snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_ff_transaction_reregister()
227 snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_ff_transaction_unregister()
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-pata-timings.c57 #define ENOUGH(v, unit) (((v)-1)/(unit)+1)
58 #define EZ(v, unit) ((v)?ENOUGH(((v) * 1000), unit):0)
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_pm.c149 bool ipc_pm_trigger(struct iosm_pm *ipc_pm, enum ipc_pm_unit unit, bool active) in ipc_pm_trigger() argument
160 switch (unit) { in ipc_pm_trigger()
187 ipc_pm_on_link_wake(ipc_pm, unit == IPC_PM_UNIT_LINK); in ipc_pm_trigger()
188 else if (unit == IPC_PM_UNIT_LINK) in ipc_pm_trigger()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c35 u32 type, unit, base; in stats_test() local
80 unit = pdesc->flags & KVM_STATS_UNIT_MASK; in stats_test()
87 /* Check type,unit,base boundaries */ in stats_test()
90 TEST_ASSERT(unit <= KVM_STATS_UNIT_MAX, in stats_test()
91 "Unknown KVM stats (%s) unit: %u", pdesc->name, unit); in stats_test()
96 * Check exponent for stats unit in stats_test()
98 * Exponent for unit bytes should be greater than or equal to 0 in stats_test()
99 * Exponent for unit seconds should be less than or equal to 0 in stats_test()
100 * Exponent for unit cloc in stats_test()
[all...]
/kernel/linux/linux-6.6/sound/firewire/fireworks/
H A Dfireworks.h62 struct fw_unit *unit; member
111 int snd_efw_transaction_cmd(struct fw_unit *unit,
113 int snd_efw_transaction_run(struct fw_unit *unit,
118 void snd_efw_transaction_bus_reset(struct fw_unit *unit);
/kernel/linux/linux-6.6/sound/firewire/fireface/
H A Dff-transaction.c59 struct fw_device *fw_dev = fw_parent_device(ff->unit); in transmit_midi_msg()
179 struct fw_card *fw_card = fw_parent_device(ff->unit)->card; in snd_ff_transaction_reregister()
189 return snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_ff_transaction_reregister()
230 snd_fw_transaction(ff->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_ff_transaction_unregister()
/kernel/linux/linux-6.6/scripts/dtc/
H A Ddtc.c34 const char *unit; in fill_fullpaths() local
38 unit = strchr(tree->name, '@'); in fill_fullpaths()
39 if (unit) in fill_fullpaths()
40 tree->basenamelen = unit - tree->name; in fill_fullpaths()

Completed in 16 milliseconds

1...<<11121314151617181920>>...67