Home
last modified time | relevance | path

Searched refs:cdev (Results 1 – 25 of 100) sorted by relevance

1234

/aosp_15_r20/hardware/google/pixel/thermal/utils/
Dthermal_stats_helper.cpp134 const auto &cdev = binded_cdev_info_pair.first; in initializeSensorCdevRequestStats() local
139 request_stats_info.record_by_default_threshold_all_or_name_set_, cdev)) { in initializeSensorCdevRequestStats()
149 const auto logging_name = cdev + kCompressedThresholdSuffix.data(); in initializeSensorCdevRequestStats()
151 sensor_cdev_request_stats_map_[sensor][cdev] in initializeSensorCdevRequestStats()
156 sensor_cdev_request_stats_map_[sensor][cdev].stats_by_default_threshold = in initializeSensorCdevRequestStats()
160 << sensor << "-" << cdev << "]"; in initializeSensorCdevRequestStats()
164 if (request_stats_info.record_by_threshold.count(cdev)) { in initializeSensorCdevRequestStats()
165 for (const auto &threshold_list : request_stats_info.record_by_threshold.at(cdev)) { in initializeSensorCdevRequestStats()
169 LOG(ERROR) << "For sensor " << sensor << " bindedCdev: " << cdev in initializeSensorCdevRequestStats()
175 sensor_cdev_request_stats_map_[sensor][cdev] in initializeSensorCdevRequestStats()
[all …]
Dthermal_stats_helper.h141 void updateSensorCdevRequestStats(std::string_view trigger_sensor, std::string_view cdev,
193 std::string_view sensor, std::string_view cdev,
/aosp_15_r20/external/rust/android-crates-io/crates/gpio-cdev/
DCHANGELOG.md24 - Update Tokio to 1.x. [#55](https://github.com/rust-embedded/gpio-cdev/pull/55).
39 …vents from a line as a Stream via tokio. [#35](https://github.com/rust-embedded/gpio-cdev/pull/35).
65 [Unreleased]: https://github.com/rust-embedded/gpio-cdev/compare/0.6.0...HEAD
66 [v0.6.0]: https://github.com/rust-embedded/gpio-cdev/compare/0.5.1...0.6.0
67 [v0.5.1]: https://github.com/rust-embedded/gpio-cdev/compare/0.5.0...0.5.1
68 [v0.5.0]: https://github.com/rust-embedded/gpio-cdev/compare/0.4.0...0.5.0
69 [v0.4.0]: https://github.com/rust-embedded/gpio-cdev/compare/0.3.0...0.4.0
DREADME.md1 # gpio-cdev
3 …(https://github.com/rust-embedded/gpio-cdev/workflows/Build/badge.svg)](https://github.com/rust-em…
4 [![Version](https://img.shields.io/crates/v/gpio-cdev.svg)](https://crates.io/crates/gpio-cdev)
5 [![License](https://img.shields.io/crates/l/gpio-cdev.svg)](https://github.com/rust-embedded/gpio-c…
7 - [API Documentation](https://docs.rs/gpio-cdev)
9 rust-gpio-cdev is a Rust library/crate providing access to [GPIO character device
10 ABI](https://www.kernel.org/doc/Documentation/ABI/testing/gpio-cdev). This API,
26 gpio-cdev = "0.4"
37 directory](https://github.com/rust-embedded/rust-gpio-cdev/tree/master/examples).
DMETADATA1 name: "gpio-cdev"
11 homepage: "https://crates.io/crates/gpio-cdev"
14 value: "https://static.crates.io/crates/gpio-cdev/gpio-cdev-0.6.0.crate"
DCargo.toml14 name = "gpio-cdev"
21 homepage = "https://github.com/rust-embedded/gpio-cdev"
36 repository = "https://github.com/rust-embedded/gpio-cdev"
/aosp_15_r20/external/ublksrv/
H A Dublksrv_tgt.cpp295 static char *ublksrv_tgt_get_dev_data(struct ublksrv_ctrl_dev *cdev) in ublksrv_tgt_get_dev_data() argument
298 ublksrv_ctrl_get_dev_info(cdev); in ublksrv_tgt_get_dev_data()
304 const char *run_dir = ublksrv_ctrl_get_run_dir(cdev); in ublksrv_tgt_get_dev_data()
336 const struct ublksrv_ctrl_dev *cdev = ublksrv_get_ctrl_dev(dev); in ublksrv_io_handler_fn() local
338 ublksrv_ctrl_get_dev_info(cdev); in ublksrv_io_handler_fn()
349 if (!ublksrv_is_recovering(cdev)) { in ublksrv_io_handler_fn()
352 ret = ublksrv_json_write_queue_info(cdev, buf, buf_size, in ublksrv_io_handler_fn()
357 jbuf = ublksrv_ctrl_get_recovery_jbuf(cdev); in ublksrv_io_handler_fn()
656 static void ublksrv_tgt_set_params(struct ublksrv_ctrl_dev *cdev, in ublksrv_tgt_set_params() argument
660 ublksrv_ctrl_get_dev_info(cdev); in ublksrv_tgt_set_params()
[all …]
H A Dtgt_null.cpp50 const struct ublksrv_ctrl_dev *cdev = ublksrv_get_ctrl_dev(dev); in null_recovery_tgt() local
51 const char *jbuf = ublksrv_ctrl_get_recovery_jbuf(cdev); in null_recovery_tgt()
53 ublksrv_ctrl_get_dev_info(cdev); in null_recovery_tgt()
H A Ddemo_null.c81 static void demo_null_set_parameters(struct ublksrv_ctrl_dev *cdev, in demo_null_set_parameters() argument
85 ublksrv_ctrl_get_dev_info(cdev); in demo_null_set_parameters()
103 ret = ublksrv_ctrl_set_params(cdev, &p); in demo_null_set_parameters()
H A Ddemo_event.c354 static void demo_event_set_parameters(struct ublksrv_ctrl_dev *cdev, in demo_event_set_parameters() argument
358 ublksrv_ctrl_get_dev_info(cdev); in demo_event_set_parameters()
376 ret = ublksrv_ctrl_set_params(cdev, &p); in demo_event_set_parameters()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/media_tests/
H A Dregression_test.txt3 free on media_device, media_devnode, and cdev pointers when the driver is
18 Regressions test for cdev user-after free error on /dev/mediaX when driver
22 and cdev user-after-free fixes. This opens media dev files and sits in
24 seconds. The idea is when device file goes away, media devnode and cdev
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/gpio/
H A Dgpio-mockup.sh106 $BASE/gpio-mockup-cdev $cdev_opts /dev/$chip $offset
150 $BASE/gpio-mockup-cdev $cdev_opts -s$val /dev/$chip $offset &
158 $BASE/gpio-mockup-cdev $cdev_opts /dev/$chip $offset || true
350 cdev)
H A Dgpio-sim.sh317 $BASE_DIR/gpio-mockup-cdev -s 1 /dev/`configfs_chip_name chip bank` 4 2> /dev/null && \
329 $BASE_DIR/gpio-mockup-cdev /dev/`configfs_chip_name chip bank` 0
332 $BASE_DIR/gpio-mockup-cdev /dev/`configfs_chip_name chip bank` 1
381 $BASE_DIR/gpio-mockup-cdev -s 1 /dev/`configfs_chip_name chip bank` 0 &
392 $BASE_DIR/gpio-mockup-cdev -b pull-up /dev/`configfs_chip_name chip bank` 0
H A D.gitignore2 gpio-mockup-cdev
H A DMakefile5 TEST_GEN_PROGS_EXTENDED := gpio-mockup-cdev gpio-chip-info gpio-line-name
/aosp_15_r20/external/ublksrv/lib/
H A Dublksrv_json.cpp53 int ublksrv_json_write_dev_info(const struct ublksrv_ctrl_dev *cdev, in NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT()
56 const struct ublksrv_ctrl_dev_info *info = &cdev->dev_info; in NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE_WITH_DEFAULT()
289 int ublksrv_json_write_queue_info(const struct ublksrv_ctrl_dev *cdev, in ublksrv_json_write_queue_info() argument
296 cpu_set_t *cpuset = ublksrv_get_queue_affinity(cdev, qid); in ublksrv_json_write_queue_info()
H A Dublksrv.c400 const struct ublksrv_ctrl_dev *cdev = dev->ctrl_dev; in ublksrv_set_sched_affinity() local
401 unsigned dev_id = cdev->dev_info.dev_id; in ublksrv_set_sched_affinity()
402 cpu_set_t *cpuset = ublksrv_get_queue_affinity(cdev, q_id); in ublksrv_set_sched_affinity()
484 const struct ublksrv_ctrl_dev *cdev = dev->ctrl_dev; in ublksrv_calculate_depths() local
490 int aio_depth = (cdev->dev_info.ublksrv_flags & UBLKSRV_F_NEED_EVENTFD) in ublksrv_calculate_depths()
492 int depth = cdev->dev_info.queue_depth; in ublksrv_calculate_depths()
856 const struct ublksrv_ctrl_dev *cdev = q->dev->ctrl_dev; in ublksrv_queue_discard_io_pages() local
857 unsigned int io_buf_size = cdev->dev_info.max_io_buf_bytes; in ublksrv_queue_discard_io_pages()
/aosp_15_r20/device/google/gs201/conf/
Dinit.gs201.rc1005 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
1006 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
1007 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
1008 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
1009 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
1010 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
1011 chmod 664 /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
1012 chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
1013 chmod 664 /dev/thermal/cdev-by-name/tpu_cooling/user_vote
1014 chown system system /dev/thermal/cdev-by-name/gxp-cooling/user_vote
[all …]
/aosp_15_r20/device/google/zumapro/conf/
Dinit.zumapro.board.rc681 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
682 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
683 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
684 chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
685 chown system system /dev/thermal/cdev-by-name/gxp-cooling/user_vote
686 chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
687 chown system system /dev/thermal/cdev-by-name/fcc/cur_state
688 chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
689 chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state
690 chown system system /dev/thermal/cdev-by-name/chg_mdis/cur_state
[all …]
/aosp_15_r20/device/google/gs101/conf/
Dinit.gs101.rc948 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
949 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
950 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
951 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
952 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
953 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
954 chmod 664 /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
955 chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
956 chmod 664 /dev/thermal/cdev-by-name/tpu_cooling/user_vote
957 chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
[all …]
/aosp_15_r20/device/google/zuma/conf/
Dinit.zuma.rc1093 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
1094 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
1095 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
1096 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
1097 chmod 664 /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
1098 chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
1099 chmod 664 /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
1100 chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
1101 chmod 664 /dev/thermal/cdev-by-name/gxp-cooling/user_vote
1102 chown system system /dev/thermal/cdev-by-name/gxp-cooling/user_vote
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/common/
H A Dtracks_common.h147 tracks::FnNameBlueprint([](base::StringView cdev) {
149 static_cast<int>(cdev.size()), cdev.data());
/aosp_15_r20/external/ublksrv/qcow2/
H A Dtgt_qcow2.cpp138 const struct ublksrv_ctrl_dev *cdev = ublksrv_get_ctrl_dev(dev); in qcow2_recovery_tgt() local
139 const char *jbuf = ublksrv_ctrl_get_recovery_jbuf(cdev); in qcow2_recovery_tgt()
141 ublksrv_ctrl_get_dev_info(cdev); in qcow2_recovery_tgt()
/aosp_15_r20/external/tensorflow/tensorflow/go/
H A Dgraph.go144 cdev := C.CString(options.Device)
145 defer C.free(unsafe.Pointer(cdev))
146 C.TF_ImportGraphDefOptionsSetDefaultDevice(opts, cdev)
/aosp_15_r20/external/pigweed/pw_digital_io_linux/
H A Ddocs.rst12 using the `Linux userspace gpio-cdev interface
13 <https://www.kernel.org/doc/Documentation/ABI/testing/gpio-cdev>`_.

1234