/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | ti-ads131e08.c | 182 .unit = SPI_DELAY_UNIT_USECS, in ads131e08_read_reg() 211 .unit = SPI_DELAY_UNIT_USECS, in ads131e08_write_reg()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | ad7877.c | 285 req->xfer[1].delay.unit = SPI_DELAY_UNIT_USECS; in ad7877_read_adc() 291 req->xfer[2].delay.unit = SPI_DELAY_UNIT_USECS; in ad7877_read_adc()
|
/third_party/ffmpeg/fftools/ |
H A D | cmdutils.c | 500 static const AVOption *opt_find(void *obj, const char *name, const char *unit, in opt_find() argument 503 const AVOption *o = av_opt_find(obj, name, unit, opt_flags, search_flags); in opt_find()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_estdif.c | 83 #define CONST(name, help, val, unit) { name, help, 0, AV_OPT_TYPE_CONST, {.i64=val}, 0, 0, FLAGS, unit }
|
H A D | vf_fftfilt.c | 99 { "init", "eval expressions once during initialization", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_INIT}, .flags = FLAGS, .unit = "eval" }, 100 { "frame", "eval expressions per-frame", 0, AV_OPT_TYPE_CONST, {.i64=EVAL_MODE_FRAME}, .flags = FLAGS, .unit = "eval" },
|
H A D | vf_tinterlace.c | 65 { "tff", "top field first", 0, AV_OPT_TYPE_CONST, {.i64 = MODE_TFF}, INT_MIN, INT_MAX, FLAGS, .unit = "mode"}, 66 { "bff", "bottom field first", 0, AV_OPT_TYPE_CONST, {.i64 = MODE_BFF}, INT_MIN, INT_MAX, FLAGS, .unit = "mode"},
|
/third_party/backends/japi/ |
H A D | Jscanimage.java | 260 if (opt.unit == SaneOption.UNIT_NONE) in initSaneOptions() 298 opt.unit == SaneOption.UNIT_MM, in initSaneOptions() 460 Menu units = new Menu("Length unit"); in initMenu()
|
/third_party/FreeBSD/sys/dev/usb/input/ |
H A D | uhid.c | 737 int unit = device_get_unit(dev); in uhid_attach() local 858 unit, -1, uaa->info.bIfaceIndex, in uhid_attach()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | LanguageTestFmwk.java | 73 private static long approximateDuration(TimeUnit unit) { in approximateDuration() argument 74 return approxDurations[unit.ordinal()]; in approximateDuration()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | LanguageTestFmwk.java | 74 private static long approximateDuration(TimeUnit unit) { in approximateDuration() argument 75 return approxDurations[unit.ordinal()]; in approximateDuration()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | rastpos.c | 286 * \param unit texture unit number 291 const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) in compute_texgen() 294 &ctx->Texture.FixedFuncUnit[unit]; in compute_texgen() 290 compute_texgen(struct gl_context *ctx, const GLfloat vObj[4], const GLfloat vEye[4], const GLfloat normal[3], GLuint unit, GLfloat texcoord[4]) compute_texgen() argument
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestResultParser.cpp | 524 number->unit = getAttribute("Unit"); in handleElementStart() 699 valueInfo->unit = getAttribute("Unit"); in handleElementStart()
|
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_opengl3_loader.h | 356 typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); 358 GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
|
/third_party/skia/tests/ |
H A D | MathTest.cpp | 99 static float float_blend(int src, int dst, float unit) { in float_blend() argument 100 return dst + (src - dst) * unit; in float_blend()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | ncr53c8xx.c | 787 static int device_queue_depth(int unit, int target, int lun) in device_queue_depth() argument 814 if (h == unit && in device_queue_depth() 886 ** The maximum number of tags per logic unit. 930 ** n enables logic unit numbers 0..n-1. 1571 struct list_head link_ccbq; /* Link to unit CCB queue */ 1609 int unit; /* Unit number */ member 5081 ** Queue it in the corresponding unit queue. 5362 ** minsync unit is 4ns ! in ncr_negotiate() 7584 ** If unit supports tagged commands, allocate the in ncr_setup_lcb() 7981 numtags = device_queue_depth(np->unit, devic 8286 ncr_attach(struct scsi_host_template *tpnt, int unit, struct ncr_device *device) global() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ncr53c8xx.c | 791 static int device_queue_depth(int unit, int target, int lun) in device_queue_depth() argument 818 if (h == unit && in device_queue_depth() 890 ** The maximum number of tags per logic unit. 934 ** n enables logic unit numbers 0..n-1. 1568 struct list_head link_ccbq; /* Link to unit CCB queue */ 1606 int unit; /* Unit number */ member 4940 ** Queue it in the corresponding unit queue. 5221 ** minsync unit is 4ns ! in ncr_negotiate() 7418 ** If unit supports tagged commands, allocate the in ncr_setup_lcb() 7815 numtags = device_queue_depth(np->unit, devic 8079 ncr_attach(struct scsi_host_template *tpnt, int unit, struct ncr_device *device) global() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_tgsi_soa.c | 2073 unsigned unit = inst->Src[sampler_reg].Register.Index; in emit_tex() local 2264 params.texture_index = unit; in emit_tex() 2265 params.sampler_index = unit; in emit_tex() 2466 unsigned unit, target; in emit_fetch_texels() local 2488 unit = inst->Src[1].Register.Index; in emit_fetch_texels() 2491 target = bld->sv[unit].Resource; in emit_fetch_texels() 2566 params.texture_index = unit; in emit_fetch_texels() 2611 unsigned unit = inst->Src[1].Register.Index; in emit_size_query() local 2617 target = bld->sv[unit].Resource; in emit_size_query() 2653 params.texture_unit = unit; in emit_size_query() [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | hists.c | 3415 char bf[256], unit; in perf_evsel_menu__write() local 3433 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3435 unit, unit == ' ' ? "" : " ", ev_name); in perf_evsel_menu__write() 3443 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3445 nr_events, unit, unit == ' ' ? "" : " "); in perf_evsel_menu__write()
|
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | hists.c | 3417 char bf[256], unit; in perf_evsel_menu__write() local 3435 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3437 unit, unit == ' ' ? "" : " ", ev_name); in perf_evsel_menu__write() 3445 nr_events = convert_unit(nr_events, &unit); in perf_evsel_menu__write() 3447 nr_events, unit, unit == ' ' ? "" : " "); in perf_evsel_menu__write()
|
/third_party/backends/backend/ |
H A D | kodakaio.c | 2766 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 2778 s->opt[OPT_THRESHOLD].unit = SANE_UNIT_PERCENT; in init_options() 2790 s->opt[OPT_BIT_DEPTH].unit = SANE_UNIT_NONE; in init_options() 2807 s->opt[OPT_RESOLUTION].unit = SANE_UNIT_DPI; in init_options() 2824 s->opt[OPT_TRIALOPT].unit = SANE_UNIT_NONE; in init_options() 2881 s->opt[OPT_TL_X].unit = SANE_UNIT_MM; in init_options() 2891 s->opt[OPT_TL_Y].unit = SANE_UNIT_MM; in init_options() 2901 s->opt[OPT_BR_X].unit = SANE_UNIT_MM; in init_options() 2911 s->opt[OPT_BR_Y].unit = SANE_UNIT_MM; in init_options()
|
/device/soc/rockchip/common/sdk_linux/drivers/hid/ |
H A D | hid-input.c | 206 * See HID specification v1.11 6.2.2.7 Global Items for unit decoding
in hidinput_calc_abs_res() 218 if (field->unit == HID_FIELD_UNIT_CENTIMETERS) { /* If centimeters */
in hidinput_calc_abs_res() 221 } else if (field->unit == HID_FIELD_UNIT_INCHES) { /* If inches */
in hidinput_calc_abs_res() 240 if (field->unit == HID_FIELD_UNIT_DEGREES) { /* If degrees */
in hidinput_calc_abs_res() 248 } else if (field->unit != HID_FIELD_UNIT_RADIANS) { /* If not radians */
in hidinput_calc_abs_res() 257 /* Apply negative unit exponent */
in hidinput_calc_abs_res() 265 /* Apply positive unit exponent */
in hidinput_calc_abs_res()
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-input.c | 214 * See HID specification v1.11 6.2.2.7 Global Items for unit decoding in hidinput_calc_abs_res() 226 if (field->unit == 0x11) { /* If centimeters */ in hidinput_calc_abs_res() 229 } else if (field->unit == 0x13) { /* If inches */ in hidinput_calc_abs_res() 247 if (field->unit == 0x14) { /* If degrees */ in hidinput_calc_abs_res() 254 } else if (field->unit != 0x12) { /* If not radians */ in hidinput_calc_abs_res() 263 /* Apply negative unit exponent */ in hidinput_calc_abs_res() 270 /* Apply positive unit exponent */ in hidinput_calc_abs_res()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | synthetic-events.c | 1714 size_t size = strlen(evsel->unit); in perf_event__synthesize_event_update_unit() 1722 strlcpy(ev->data, evsel->unit, size + 1); in perf_event__synthesize_event_update_unit() 1811 return evsel->unit && *evsel->unit; in has_unit() 1827 * attr event - unit, scale, name in perf_event__synthesize_extra_attr() 1834 * Synthesize unit and scale only if it's defined. in perf_event__synthesize_extra_attr() 1839 pr_err("Couldn't synthesize evsel unit.\n"); in perf_event__synthesize_extra_attr()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | virtio_blk.c | 1113 int unit; in virtblk_name_format() local 1117 unit = base; in virtblk_name_format() 1121 *--p = 'a' + (index % unit); in virtblk_name_format() 1122 index = (index / unit) - 1; in virtblk_name_format()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | file_ops.c | 1145 cinfo.unit = uctxt->dd->unit; in get_ctxt_info() 1689 snprintf(name, sizeof(name), "%s_%d", class_name(), dd->unit); in user_add() 1690 ret = hfi1_cdev_init(dd->unit, name, &hfi1_file_ops, in user_add() 1700 * Create per-unit files in /dev 1708 * Remove per-unit files in /dev
|