/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | ppp_generic.c | 76 * interface unit or a ppp channel. In both cases, file->private_data 88 int index; /* interface unit / channel number */ 89 int dead; /* unit/channel has been shut down */ 110 * Data structure describing one ppp unit. 111 * A ppp unit corresponds to a ppp network interface device 117 struct file *owner; /* file that owns this unit 48 */ 123 int mru; /* max receive unit 60 */ 142 int mrru; /* MP: max reconst. receive unit */ 176 struct ppp *ppp; /* ppp unit we're connected to */ 179 struct list_head clist; /* link in list of channels per unit */ 192 s32 unit; global() member 707 int unit, cflags; ppp_ioctl() local 1032 int unit, err = -EFAULT; ppp_unattached_ioctl() local 1156 ppp_unit_register(struct ppp *ppp, int unit, bool ifname_is_set) ppp_unit_register() argument 2928 int unit = -1; ppp_unit_number() local 3312 ppp_create_interface(struct net *net, struct file *file, int *unit) ppp_create_interface() argument 3413 ppp_find_unit(struct ppp_net *pn, int unit) ppp_find_unit() argument 3427 ppp_find_channel(struct ppp_net *pn, int unit) ppp_find_channel() argument 3450 ppp_connect_channel(struct channel *pch, int unit) ppp_connect_channel() argument 3565 int unit; unit_set() local [all...] |
/third_party/backends/backend/ |
H A D | umax_pp.c | 543 dev->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 555 dev->opt[OPT_PREVIEW].unit = SANE_UNIT_NONE; in init_options() 564 dev->opt[OPT_GRAY_PREVIEW].unit = SANE_UNIT_NONE; in init_options() 581 dev->opt[OPT_TL_X].unit = SANE_UNIT_PIXEL; in init_options() 591 dev->opt[OPT_TL_Y].unit = SANE_UNIT_PIXEL; in init_options() 601 dev->opt[OPT_BR_X].unit = SANE_UNIT_PIXEL; in init_options() 611 dev->opt[OPT_BR_Y].unit = SANE_UNIT_PIXEL; in init_options() 632 dev->opt[OPT_LAMP_CONTROL].unit = SANE_UNIT_NONE; in init_options() 642 dev->opt[OPT_UTA_CONTROL].unit = SANE_UNIT_NONE; in init_options() 660 dev->opt[OPT_GAMMA_VECTOR].unit in init_options() [all...] |
H A D | kvs1025_opt.c | 543 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/fs/btrfs/ |
H A D | free-space-cache.c | 1437 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-6.6/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 70 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 D | r300_fs.c | 165 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/drivers/ide/ |
H A D | triflex.c | 30 u8 channel_offset = hwif->channel ? 0x74 : 0x70, unit = drive->dn & 1; in triflex_set_mode() local 66 triflex_timings &= ~(0xFFFF << (16 * unit)); in triflex_set_mode() 67 triflex_timings |= (timing << (16 * unit)); in triflex_set_mode()
|
H A D | ide-timings.c | 93 #define ENOUGH(v, unit) (((v) - 1) / (unit) + 1) 94 #define EZ(v, unit) ((v) ? ENOUGH((v) * 1000, unit) : 0)
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | motu-transaction.c | 27 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_read() 43 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_write() 77 struct fw_device *device = fw_parent_device(motu->unit); in snd_motu_transaction_reregister()
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | event_update.c | 24 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->unit, "KRAVA")); in process_event_unit() 95 free((char *)evsel->unit); in test__event_update() 96 evsel->unit = strdup("KRAVA"); in test__event_update() 98 TEST_ASSERT_VAL("failed to synthesize attr update unit", in test__event_update()
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu-transaction.c | 27 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_read() 43 return snd_fw_transaction(motu->unit, tcode, in snd_motu_transaction_write() 77 struct fw_device *device = fw_parent_device(motu->unit); in snd_motu_transaction_reregister()
|
/third_party/ffmpeg/libavcodec/ |
H A D | cbs_internal.h | 46 // Maximum number of unit types described by the same unit type 49 // Maximum number of reference buffer offsets in any one unit. 51 // Special value used in a unit type descriptor to indicate that it 63 // Array of unit types that this entry describes. 66 // Start and end of unit type range, used if nb_unit_types is 74 // the decomposed content of this type of unit. 88 int (*content_clone)(AVBufferRef **ref, CodedBitstreamUnit *unit); 102 // List of unit type descriptors for this codec. 107 // frag->units array. Fill data but not content on each unit [all...] |
H A D | av1dec.c | 1025 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...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | units_data.h | 22 * to convert from one unit to another. 95 // a sequence of output unit preferences. 99 CharString unit; member 105 this->unit.append(other.unit, status); in UnitPreference() 117 * only be useful to internal code and unit testing code. 178 * Returns the set of unit preferences in the particular category that best 196 * @param preferenceCount The number of unit preferences that belong to the
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_data.h | 22 * to convert from one unit to another. 96 // a sequence of output unit preferences. 100 CharString unit; member 106 this->unit.append(other.unit, status); in UnitPreference() 118 * only be useful to internal code and unit testing code. 179 * Returns the set of unit preferences in the particular category that best 197 * @param preferenceCount The number of unit preferences that belong to the
|
/kernel/linux/linux-5.10/sound/firewire/ |
H A D | amdtp-stream.c | 72 * @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...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | ppp-comp.h | 44 int opt_len, int unit, int opthdr, int debug); 64 int opt_len, int unit, int opthdr, int mru,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ppp-comp.h | 44 int opt_len, int unit, int opthdr, int debug); 64 int opt_len, int unit, int opthdr, int mru,
|
/third_party/backends/japi/ |
H A D | SaneOption.java | 59 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 D | decoding-helpers.js | 16 .map(unit => unit.charCodeAt(0))
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | measure.h | 34 * 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 D | ksm03.c | 64 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 D | ksm01.c | 64 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-5.10/drivers/ata/ |
H A D | libata-pata-timings.c | 57 #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 D | dump_pagetables.c | 123 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()
|