Home
last modified time | relevance | path

Searched refs:unit (Results 976 - 1000 of 1638) sorted by relevance

1...<<31323334353637383940>>...66

/kernel/linux/linux-6.6/drivers/video/fbdev/core/
H A Dfbcon.c183 int unit);
737 int unit) in con2fb_acquire_newinfo()
776 int unit, int show_logo) in con2fb_init_display()
794 fbcon_set_disp(info, &info->var, unit); in con2fb_init_display()
811 * @unit: virtual console number to map
815 * Maps a virtual console @unit to a frame buffer device
820 static int set_con2fb_map(int unit, int newidx, int user) in set_con2fb_map() argument
822 struct vc_data *vc = vc_cons[unit].d; in set_con2fb_map()
823 int oldidx = con2fb_map[unit]; in set_con2fb_map()
845 err = con2fb_acquire_newinfo(vc, info, unit); in set_con2fb_map()
736 con2fb_acquire_newinfo(struct vc_data *vc, struct fb_info *info, int unit) con2fb_acquire_newinfo() argument
775 con2fb_init_display(struct vc_data *vc, struct fb_info *info, int unit, int show_logo) con2fb_init_display() argument
1333 fbcon_set_disp(struct fb_info *info, struct fb_var_screeninfo *var, int unit) fbcon_set_disp() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DProgram.cpp290 // Returns the index of the texture image unit (0-19) corresponding to a sampler index (0-15 for the pixel shader and 0-3 for the vertex shader)
3052 // texture image unit, and this is the current program, then ValidateProgram will fail, and
3066 unsigned int unit = samplersPS[i].logicalTextureUnit;
3068 if(unit >= MAX_COMBINED_TEXTURE_IMAGE_UNITS)
3072 appendToInfoLog("Sampler uniform (%d) exceeds MAX_COMBINED_TEXTURE_IMAGE_UNITS (%d)", unit, MAX_COMBINED_TEXTURE_IMAGE_UNITS);
3078 if(textureUnitType[unit] != TEXTURE_UNKNOWN)
3080 if(samplersPS[i].textureType != textureUnitType[unit])
3084 appendToInfoLog("Samplers of conflicting types refer to the same texture image unit (%d).", unit);
3092 textureUnitType[unit]
[all...]
/third_party/backends/backend/
H A Dmustek_usb2.c394 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options()
422 s->opt[OPT_AUTO_WARMUP].unit = SANE_UNIT_NONE; in init_options()
442 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_NONE; in init_options()
454 s->opt[OPT_GAMMA_VALUE].unit = SANE_UNIT_NONE; in init_options()
478 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options()
489 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options()
499 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options()
509 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
H A Dhp4200.c2492 s->opt[OPT_NUM_OPTS].unit = SANE_UNIT_NONE; in init_options()
2503 s->opt[OPT_RES].unit = SANE_UNIT_DPI; in init_options()
2514 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options()
2525 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options()
2536 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options()
2547 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
2558 s->opt[OPT_BACKTRACK].unit = SANE_UNIT_NONE; in init_options()
2569 s->opt[OPT_GAMMA_VECTOR_R].unit = SANE_UNIT_NONE; in init_options()
2581 s->opt[OPT_GAMMA_VECTOR_G].unit = SANE_UNIT_NONE; in init_options()
2593 s->opt[OPT_GAMMA_VECTOR_B].unit in init_options()
[all...]
H A Dartec_eplus48u.c2740 s->opt[OPT_NUM_OPTS].unit = SANE_UNIT_NONE; in init_options()
2750 s->opt[OPT_MODE_GROUP].unit = SANE_UNIT_NONE; in init_options()
2767 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_NONE; in init_options()
2777 s->opt[OPT_BLACK_LEVEL].unit = SANE_UNIT_NONE; in init_options()
2787 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options()
2806 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options()
2816 s->opt[OPT_CONTRAST].unit = SANE_UNIT_NONE; in init_options()
2826 s->opt[OPT_GAMMA].unit = SANE_UNIT_NONE; in init_options()
2837 s->opt[OPT_GAMMA_R].unit = SANE_UNIT_NONE; in init_options()
2847 s->opt[OPT_GAMMA_G].unit in init_options()
[all...]
H A Ddmc.c263 DBG(1, "DMCAttach: test unit ready failed (%s)\n", in DMCAttach()
397 c->opt[i].unit = SANE_UNIT_NONE; in DMCInitOptions()
420 c->opt[OPT_TL_X].unit = SANE_UNIT_PIXEL; in DMCInitOptions()
430 c->opt[OPT_TL_Y].unit = SANE_UNIT_PIXEL; in DMCInitOptions()
440 c->opt[OPT_BR_X].unit = SANE_UNIT_PIXEL; in DMCInitOptions()
450 c->opt[OPT_BR_Y].unit = SANE_UNIT_PIXEL; in DMCInitOptions()
H A Dteco2.c1901 dev->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in teco_init_options()
1919 dev->opt[OPT_TL_X].unit = SANE_UNIT_MM; in teco_init_options()
1929 dev->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in teco_init_options()
1939 dev->opt[OPT_BR_X].unit = SANE_UNIT_MM; in teco_init_options()
1949 dev->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in teco_init_options()
1987 dev->opt[OPT_GAMMA_VECTOR_R].unit = SANE_UNIT_NONE; in teco_init_options()
1999 dev->opt[OPT_GAMMA_VECTOR_G].unit = SANE_UNIT_NONE; in teco_init_options()
2011 dev->opt[OPT_GAMMA_VECTOR_B].unit = SANE_UNIT_NONE; in teco_init_options()
2023 dev->opt[OPT_GAMMA_VECTOR_GRAY].unit = SANE_UNIT_NONE; in teco_init_options()
2045 dev->opt[OPT_THRESHOLD].unit in teco_init_options()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DRelativeDateTimeFormatterTest.java811 public RelativeDateTimeUnit unit; in TestRelativeDateTimeUnitFormatters()
819 unit = ut; in TestRelativeDateTimeUnitFormatters()
856 if (item.unit == RelativeDateTimeUnit.TUESDAY && offset != -1.0 && offset != 0.0 && offset != 1.0) { in TestRelativeDateTimeUnitFormatters()
859 String result = reldatefmt.format(offset, item.unit); in TestRelativeDateTimeUnitFormatters()
860 assertEquals("RelativeDateTimeUnit format locale "+item.localeID +", dec "+item.decPlaces +", width "+item.width + ", unit "+item.unit, in TestRelativeDateTimeUnitFormatters()
863 if (item.unit == RelativeDateTimeUnit.TUESDAY) { in TestRelativeDateTimeUnitFormatters()
866 result = reldatefmt.formatNumeric(offset, item.unit); in TestRelativeDateTimeUnitFormatters()
867 assertEquals("RelativeDateTimeUnit formatNum locale "+item.localeID +", dec "+item.decPlaces +", width "+item.width + ", unit "+item.unit, in TestRelativeDateTimeUnitFormatters()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DRelativeDateTimeFormatterTest.java808 public RelativeDateTimeUnit unit; in TestRelativeDateTimeUnitFormatters()
816 unit = ut; in TestRelativeDateTimeUnitFormatters()
853 if (item.unit == RelativeDateTimeUnit.TUESDAY && offset != -1.0 && offset != 0.0 && offset != 1.0) { in TestRelativeDateTimeUnitFormatters()
856 String result = reldatefmt.format(offset, item.unit); in TestRelativeDateTimeUnitFormatters()
857 assertEquals("RelativeDateTimeUnit format locale "+item.localeID +", dec "+item.decPlaces +", width "+item.width + ", unit "+item.unit, in TestRelativeDateTimeUnitFormatters()
860 if (item.unit == RelativeDateTimeUnit.TUESDAY) { in TestRelativeDateTimeUnitFormatters()
863 result = reldatefmt.formatNumeric(offset, item.unit); in TestRelativeDateTimeUnitFormatters()
864 assertEquals("RelativeDateTimeUnit formatNum locale "+item.localeID +", dec "+item.decPlaces +", width "+item.width + ", unit "+item.unit, in TestRelativeDateTimeUnitFormatters()
[all...]
/third_party/backends/backend/escl/
H A Descl.c901 s->opt[OPT_MODE].unit = SANE_UNIT_NONE; in init_options()
942 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options()
974 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options()
985 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options()
996 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options()
1007 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
1038 s->opt[OPT_BRIGHTNESS].unit = SANE_UNIT_NONE; in init_options()
1057 s->opt[OPT_CONTRAST].unit = SANE_UNIT_NONE; in init_options()
1076 s->opt[OPT_SHARPEN].unit = SANE_UNIT_NONE; in init_options()
1096 s->opt[OPT_THRESHOLD].unit in init_options()
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dfloppy.c305 /* reverse mapping from unit and fdc to drive */
306 #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
782 static inline int is_selected(int dor, int unit) in is_selected() argument
784 return ((dor & (0x10 << unit)) && (dor & 3) == unit); in is_selected()
795 unsigned char unit; in set_dor() local
806 unit = olddor & 0x3; in set_dor()
807 if (is_selected(olddor, unit) && !is_selected(newdor, unit)) { in set_dor()
4616 int i, unit, drive, err; do_floppy_init() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c1364 u32 unit; in dispc_init_fifos() local
1367 unit = dispc->feat->buffer_size_unit; in dispc_init_fifos()
1374 size *= unit; in dispc_init_fifos()
1453 u32 unit; in dispc_ovl_set_fifo_threshold() local
1455 unit = dispc->feat->buffer_size_unit; in dispc_ovl_set_fifo_threshold()
1457 WARN_ON(low % unit != 0); in dispc_ovl_set_fifo_threshold()
1458 WARN_ON(high % unit != 0); in dispc_ovl_set_fifo_threshold()
1460 low /= unit; in dispc_ovl_set_fifo_threshold()
1461 high /= unit; in dispc_ovl_set_fifo_threshold()
1471 lo_start, lo_end) * unit, in dispc_ovl_set_fifo_threshold()
1590 u32 unit = dispc->feat->buffer_size_unit; dispc_init_mflag() local
1609 u32 unit = dispc->feat->buffer_size_unit; dispc_init_mflag() local
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dfloppy.c304 /* reverse mapping from unit and fdc to drive */
305 #define REVDRIVE(fdc, unit) ((unit) + ((fdc) << 2))
782 static inline int is_selected(int dor, int unit) in is_selected() argument
784 return ((dor & (0x10 << unit)) && (dor & 3) == unit); in is_selected()
795 unsigned char unit; in set_dor() local
806 unit = olddor & 0x3; in set_dor()
807 if (is_selected(olddor, unit) && !is_selected(newdor, unit)) { in set_dor()
4569 int i, unit, drive, err; do_floppy_init() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c1374 u32 unit; in dispc_init_fifos() local
1377 unit = dispc->feat->buffer_size_unit; in dispc_init_fifos()
1384 size *= unit; in dispc_init_fifos()
1463 u32 unit; in dispc_ovl_set_fifo_threshold() local
1465 unit = dispc->feat->buffer_size_unit; in dispc_ovl_set_fifo_threshold()
1467 WARN_ON(low % unit != 0); in dispc_ovl_set_fifo_threshold()
1468 WARN_ON(high % unit != 0); in dispc_ovl_set_fifo_threshold()
1470 low /= unit; in dispc_ovl_set_fifo_threshold()
1471 high /= unit; in dispc_ovl_set_fifo_threshold()
1481 lo_start, lo_end) * unit, in dispc_ovl_set_fifo_threshold()
1600 u32 unit = dispc->feat->buffer_size_unit; dispc_init_mflag() local
1619 u32 unit = dispc->feat->buffer_size_unit; dispc_init_mflag() local
[all...]
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-probe.c914 int unit = *part >> PARTN_BITS; in ata_probe() local
915 ide_drive_t *drive = hwif->devices[unit]; in ata_probe()
967 unsigned int unit = drive->dn & 1; in ide_init_disk() local
970 disk->first_minor = unit << PARTN_BITS; in ide_init_disk()
971 sprintf(disk->disk_name, "hd%c", 'a' + hwif->index * MAX_DRIVES + unit); in ide_init_disk()
/kernel/linux/linux-5.10/drivers/net/plip/
H A Dplip.c1256 static int unit; in plip_attach() local
1264 if (unit == PLIP_MAX) { in plip_attach()
1269 sprintf(name, "plip%d", unit); in plip_attach()
1293 &plip_cb, unit); in plip_attach()
1316 dev_plip[unit++] = dev; in plip_attach()
/kernel/linux/linux-5.10/drivers/powercap/
H A Dintel_rapl_common.c70 #define ENERGY_UNIT_SCALE 1000 /* scale from driver unit to powercap unit */
118 enum unit_type unit; member
127 .unit = u, \
582 pr_info("DRAM domain energy unit %dpj\n", in rapl_init_domains()
589 pr_info("Platform domain energy unit %dpj\n", in rapl_init_domains()
612 /* per domain unit takes precedence */ in rapl_unit_xlate()
635 /* name, mask, shift, msr index, unit divisor */
685 * is pre-assigned based on RAPL unit MSRs read at init time.
729 *data = rapl_unit_xlate(rd, rp->unit, valu in rapl_read_data_raw()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
H A Dsavage_state.c88 static int savage_verify_texaddr(drm_savage_private_t * dev_priv, int unit, in savage_verify_texaddr() argument
92 DRM_ERROR("bad texAddr%d %08x (reserved bits)\n", unit, addr); in savage_verify_texaddr()
101 unit, addr); in savage_verify_texaddr()
107 unit, addr); in savage_verify_texaddr()
116 unit, addr); in savage_verify_texaddr()
/kernel/linux/linux-6.6/drivers/net/plip/
H A Dplip.c1268 static int unit; in plip_attach() local
1276 if (unit == PLIP_MAX) { in plip_attach()
1281 sprintf(name, "plip%d", unit); in plip_attach()
1305 &plip_cb, unit); in plip_attach()
1328 dev_plip[unit++] = dev; in plip_attach()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_pmu.c940 .unit = (__unit), \
948 .unit = (__unit), \
990 const char *unit; in create_event_attributes() member
1071 if (events[i].unit) { in create_event_attributes()
1073 str = kasprintf(GFP_KERNEL, "%s.unit", in create_event_attributes()
1076 str = kasprintf(GFP_KERNEL, "%s-gt%u.unit", in create_event_attributes()
1083 events[i].unit); in create_event_attributes()
1109 str = kasprintf(GFP_KERNEL, "%s-%s.unit", in create_event_attributes()
/third_party/ffmpeg/libavfilter/
H A Daf_firequalizer.c467 double m0, m1, m2, msum, unit; in cubic_interpolate_func() local
481 unit = res[1].freq - res[0].freq; in cubic_interpolate_func()
483 unit * (res[0].gain - res[-1].gain) / (res[0].freq - res[-1].freq) : 0; in cubic_interpolate_func()
486 unit * (res[2].gain - res[1].gain) / (res[2].freq - res[1].freq) : 0; in cubic_interpolate_func()
498 x = (freq - res[0].freq) / unit; in cubic_interpolate_func()
/kernel/linux/linux-5.10/arch/powerpc/perf/
H A Dgeneric-compat-pmu.c17 * [ pmc ] [unit ] [ ] m [ pmcxsel ]
26 * MMCR1[x:y] = unit (PMCxUNIT)
68 PMU_FORMAT_ATTR(unit, "config:12-15");
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
H A Ddasd.h210 unsigned int unit; /* Track that is in error */ member
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/
H A Ddasd.h224 unsigned int unit; /* Track that is in error */ member
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_eeprom.c151 int t = dd->unit; in qib_get_eeprom_info()

Completed in 51 milliseconds

1...<<31323334353637383940>>...66