Home
last modified time | relevance | path

Searched refs:accel (Results 1 – 25 of 142) sorted by relevance

123456

/linux/Documentation/ABI/testing/
H A Dsysfs-driver-habanalabs1 What: /sys/class/accel/accel<n>/device/armcp_kernel_ver
9 What: /sys/class/accel/accel<n>/device/armcp_ver
17 What: /sys/class/accel/accel<n>/device/clk_max_freq_mhz
27 What: /sys/class/accel/accel<n>/device/clk_cur_freq_mhz
34 What: /sys/class/accel/accel<n>/device/cpld_ver
40 What: /sys/class/accel/accel<n>/device/cpucp_kernel_ver
46 What: /sys/class/accel/accel<n>/device/cpucp_ver
52 What: /sys/class/accel/accel<n>/device/device_type
59 What: /sys/class/accel/accel<n>/device/eeprom
66 What: /sys/class/accel/accel<n>/device/fuse_ver
[all …]
H A Ddebugfs-driver-habanalabs1 What: /sys/kernel/debug/accel/<parent_device>/addr
11 What: /sys/kernel/debug/accel/<parent_device>/clk_gate
17 What: /sys/kernel/debug/accel/<parent_device>/command_buffers
24 What: /sys/kernel/debug/accel/<parent_device>/command_submission
31 What: /sys/kernel/debug/accel/<parent_device>/command_submission_jobs
38 What: /sys/kernel/debug/accel/<parent_device>/data32
53 What: /sys/kernel/debug/accel/<parent_device>/data64
68 What: /sys/kernel/debug/accel/<parent_device>/data_dma
86 What: /sys/kernel/debug/accel/<parent_device>/device
94 What: /sys/kernel/debug/accel/<parent_device>/device_release_watchdog_timeout
[all …]
/linux/drivers/iio/imu/inv_icm45600/
H A Dinv_icm45600_buffer.c41 struct inv_icm45600_fifo_sensor_data accel; member
48 const struct inv_icm45600_fifo_sensor_data **accel, in inv_icm45600_fifo_decode_packet() argument
73 *accel = &pack2->accel; in inv_icm45600_fifo_decode_packet()
82 *accel = &pack1->data; in inv_icm45600_fifo_decode_packet()
91 *accel = NULL; in inv_icm45600_fifo_decode_packet()
112 period_accel = inv_icm45600_odr_to_period(st->conf.accel.odr); in inv_icm45600_buffer_update_fifo_period()
187 wm_accel = inv_icm45600_wm_truncate(st->fifo.watermark.accel, packet_size, in inv_icm45600_buffer_update_watermark()
191 period_accel = inv_icm45600_odr_to_period(st->conf.accel.odr) / NSEC_PER_USEC; in inv_icm45600_buffer_update_watermark()
368 watermark = &st->fifo.watermark.accel; in inv_icm45600_buffer_postdisable()
400 const struct inv_icm45600_fifo_sensor_data *accel, *gyro; in inv_icm45600_buffer_fifo_read() local
[all …]
H A Dinv_icm45600_core.c147 .accel = {
162 .accel = {
291 enum inv_icm45600_sensor_mode accel, in inv_icm45600_set_pwr_mgmt0() argument
295 enum inv_icm45600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm45600_set_pwr_mgmt0()
301 if (gyro == oldgyro && accel == oldaccel) in inv_icm45600_set_pwr_mgmt0()
305 FIELD_PREP(INV_ICM45600_PWR_MGMT0_ACCEL_MODE_MASK, accel); in inv_icm45600_set_pwr_mgmt0()
311 st->conf.accel.mode = accel; in inv_icm45600_set_pwr_mgmt0()
315 if (accel != oldaccel && oldaccel == INV_ICM45600_SENSOR_MODE_OFF) in inv_icm45600_set_pwr_mgmt0()
352 struct inv_icm45600_sensor_conf *oldconf = &st->conf.accel; in inv_icm45600_set_accel_conf()
440 return inv_icm45600_set_pwr_mgmt0(st, conf->mode, st->conf.accel.mode, in inv_icm45600_set_gyro_conf()
[all …]
H A Dinv_icm45600_accel.c79 struct inv_icm45600_fifo_sensor_data accel; member
226 idx = st->conf.accel.fs; in inv_icm45600_accel_read_scale()
312 odr = st->conf.accel.odr; in inv_icm45600_accel_read_odr()
341 if (st->conf.accel.mode != INV_ICM45600_SENSOR_MODE_OFF) in _inv_icm45600_accel_write_odr()
652 st->fifo.watermark.accel = val; in inv_icm45600_accel_hwfifo_set_watermark()
671 return st->fifo.nb.accel; in inv_icm45600_accel_hwfifo_flush()
719 ts_chip.init_period = inv_icm45600_odr_to_period(st->conf.accel.odr); in inv_icm45600_accel_init()
753 const struct inv_icm45600_fifo_sensor_data *accel, *gyro; in inv_icm45600_accel_parse_fifo() local
760 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm45600_accel_parse_fifo()
766 if (accel == NULL || !inv_icm45600_fifo_is_data_valid(accel)) in inv_icm45600_accel_parse_fifo()
[all …]
H A Dinv_icm45600_buffer.h41 unsigned int accel; member
48 size_t accel; member
77 const struct inv_icm45600_fifo_sensor_data **accel,
H A Dinv_icm45600.h104 struct inv_icm45600_sensor_conf accel; member
109 enum inv_icm45600_sensor_mode accel; member
163 s64 accel; member
/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.c38 struct inv_icm42600_fifo_sensor_data accel; member
45 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel, in inv_icm42600_fifo_decode_packet() argument
55 *accel = NULL; in inv_icm42600_fifo_decode_packet()
73 *accel = &pack2->accel; in inv_icm42600_fifo_decode_packet()
82 *accel = &pack1->data; in inv_icm42600_fifo_decode_packet()
91 *accel = NULL; in inv_icm42600_fifo_decode_packet()
112 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr); in inv_icm42600_buffer_update_fifo_period()
213 wm_accel = inv_icm42600_wm_truncate(st->fifo.watermark.accel, packet_size); in inv_icm42600_buffer_update_watermark()
216 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
390 watermark = &st->fifo.watermark.accel; in inv_icm42600_buffer_postdisable()
[all …]
H A Dinv_icm42600_accel.c104 if (st->conf.accel.mode != INV_ICM42600_SENSOR_MODE_OFF) in inv_icm42600_accel_power_mode_set()
110 if (st->conf.accel.odr >= INV_ICM42600_ODR_6_25HZ_LP && in inv_icm42600_accel_power_mode_set()
111 st->conf.accel.odr <= INV_ICM42600_ODR_1_5625HZ_LP) in inv_icm42600_accel_power_mode_set()
116 if (st->conf.accel.odr <= INV_ICM42600_ODR_1KHZ_LN) in inv_icm42600_accel_power_mode_set()
141 switch (st->conf.accel.mode) { in inv_icm42600_accel_power_mode_get()
144 power_mode = st->conf.accel.mode; in inv_icm42600_accel_power_mode_get()
205 struct inv_icm42600_fifo_sensor_data accel; member
536 idx = st->conf.accel.fs; in inv_icm42600_accel_read_scale()
619 odr = st->conf.accel.odr; in inv_icm42600_accel_read_odr()
654 if (conf.odr == st->conf.accel.odr) in inv_icm42600_accel_write_odr()
[all …]
H A Dinv_icm42600_buffer.h34 unsigned int accel; member
41 size_t accel; member
77 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel,
/linux/drivers/iio/imu/st_lsm9ds0/
H A Dst_lsm9ds0_core.c32 lsm9ds0->accel = devm_iio_device_alloc(dev, sizeof(*data)); in st_lsm9ds0_probe_accel()
33 if (!lsm9ds0->accel) in st_lsm9ds0_probe_accel()
36 lsm9ds0->accel->name = lsm9ds0->name; in st_lsm9ds0_probe_accel()
38 data = iio_priv(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
43 return st_accel_common_probe(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
H A Dst_lsm9ds0.h17 struct iio_dev *accel; member
/linux/drivers/iio/accel/
H A DMakefile34 obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
35 obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
36 obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
37 obj-$(CONFIG_BMI088_ACCEL) += bmi088-accel-core.o
38 obj-$(CONFIG_BMI088_ACCEL_I2C) += bmi088-accel-i2c.o
39 obj-$(CONFIG_BMI088_ACCEL_SPI) += bmi088-accel-spi.o
48 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
/linux/Documentation/accel/
H A Dintroduction.rst13 Machine-Learning (ML) and/or Deep-Learning (DL) computations, the accel layer
47 characteristics as those of GPUs, the accel subsystem will use the
48 DRM subsystem's code and functionality. i.e. the accel core code will
49 be part of the DRM subsystem and an accel device will be a new type of DRM
65 tree - drivers/accel/.
70 - device char files - /dev/accel/accel\*
71 - sysfs - /sys/class/accel/accel\*/
72 - debugfs - /sys/kernel/debug/accel/\*/
81 accel subsystem.
/linux/Documentation/accel/amdxdna/
H A Dindex.rst4 accel/amdxdna NPU driver
7 The accel/amdxdna driver supports the AMD NPU (Neural Processing Unit).
/linux/tools/testing/selftests/wireguard/qemu/
H A DMakefile63 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
75 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
87 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
99 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm
112 QEMU_MACHINE := -cpu host -machine microvm,accel=kvm,pit=off,pic=off,rtc=off,acpi=off
123 QEMU_MACHINE := -cpu host -machine microvm,accel=kvm,pit=off,pic=off,rtc=off,acpi=off
133 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
145 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
157 QEMU_MACHINE := -cpu host -machine malta,accel=kvm
169 QEMU_MACHINE := -cpu host -machine malta,accel
[all...]
/linux/drivers/infiniband/hw/irdma/
H A Dtrace_cm.h213 __field(int, accel)
229 __entry->accel = cm_node->accelerated;
245 __entry->accel,
290 __field(int, accel)
304 __entry->accel = cm_node->accelerated;
318 __entry->accel,
412 __field(int, accel)
425 __entry->accel = cm_node->accelerated;
437 __entry->accel,
/linux/tools/testing/selftests/kho/
H A Dvmtest.sh115 -accel kvm -accel hvf -accel tcg \
/linux/drivers/staging/iio/
H A DMakefile6 obj-y += accel/
H A DKconfig8 source "drivers/staging/iio/accel/Kconfig"
/linux/Documentation/driver-api/crypto/iaa/
H A Diaa-crypto.rst132 accel-config
153 The userspace tool to help doing that is called accel-config. Using
154 accel-config to configure device or loading a previously saved config
158 cover the sysfs interface but assumes you will be using accel-config.
163 The accel-config tool along with instructions for building it can be
182accel-config config-wq --group-id=0 --mode=dedicated --type=kernel --priority=10 --name="iaa_crypt…
184 accel-config config-engine iax1/engine1.0 --group-id=0
188 accel-config enable-device iax1
192 accel-config enable-wq iax1/wq1.0
551 accel-config disable-wq iax${i}/wq${i}.0
[all …]
/linux/drivers/hid/
H A Dhid-wiimote.h149 struct input_dev *accel; member
199 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
270 extern void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel);
/linux/drivers/video/fbdev/via/
H A DMakefile8 viafb-y :=viafbdev.o hw.o via_i2c.o dvi.o lcd.o ioctl.o accel.o \
/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c295 if((!ivideo->accel) || (!ivideo->engineok)) in fbcon_sis_sync()
317 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_fillrect()
368 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_copyarea()
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.h352 struct matrox_accel_data accel; member
415 spinlock_t accel; member
700 #define CRITBEGIN spin_lock_irqsave(&minfo->lock.accel, critflags);
701 #define CRITEND spin_unlock_irqrestore(&minfo->lock.accel, critflags);

123456