Home
last modified time | relevance | path

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

12345678

/linux/drivers/staging/sm750fb/
H A Dsm750_accel.c20 static inline void write_dpr(struct lynx_accel *accel, int offset, u32 reg_value) in write_dpr() argument
22 writel(reg_value, accel->dpr_base + offset); in write_dpr()
25 static inline u32 read_dpr(struct lynx_accel *accel, int offset) in read_dpr() argument
27 return readl(accel->dpr_base + offset); in read_dpr()
30 static inline void write_dpPort(struct lynx_accel *accel, u32 data) in write_dpPort() argument
32 writel(data, accel->dp_port_base); in write_dpPort()
35 void sm750_hw_de_init(struct lynx_accel *accel) in sm750_hw_de_init() argument
40 write_dpr(accel, DE_MASKS, 0xFFFFFFFF); in sm750_hw_de_init()
52 write_dpr(accel, DE_STRETCH_FORMAT, in sm750_hw_de_init()
53 (read_dpr(accel, DE_STRETCH_FORMAT) & ~clr) | reg); in sm750_hw_de_init()
[all …]
H A Dsm750_accel.h188 void sm750_hw_set2dformat(struct lynx_accel *accel, int fmt);
190 void sm750_hw_de_init(struct lynx_accel *accel);
192 int sm750_hw_fillrect(struct lynx_accel *accel,
212 int sm750_hw_copyarea(struct lynx_accel *accel,
238 int sm750_hw_imageblit(struct lynx_accel *accel, const char *pSrcbuf,
H A Dsm750.c192 sm750_dev->accel.de_fillrect(&sm750_dev->accel, in lynxfb_ops_fillrect()
226 sm750_dev->accel.de_copyarea(&sm750_dev->accel, in lynxfb_ops_copyarea()
275 sm750_dev->accel.de_imageblit(&sm750_dev->accel, in lynxfb_ops_imageblit()
620 sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ? in sm750fb_set_drv()
863 fix->accel = FB_ACCEL_SMI; in lynxfb_set_fbinfo()
1075 sm750_dev->accel.de_init = sm750_hw_de_init; in lynxfb_pci_probe()
1076 sm750_dev->accel.de_fillrect = sm750_hw_fillrect; in lynxfb_pci_probe()
1077 sm750_dev->accel.de_copyarea = sm750_hw_copyarea; in lynxfb_pci_probe()
1078 sm750_dev->accel.de_imageblit = sm750_hw_imageblit; in lynxfb_pci_probe()
/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/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()
/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c27 struct hid_sensor_hub_attribute_info accel[ACCEL_3D_CHANNEL_MAX]; member
152 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
153 min = accel_state->accel[chan->scan_index].logical_minimum; in accel_3d_read_raw()
307 &st->accel[CHANNEL_SCAN_INDEX_X + i]); in accel_3d_parse_report()
312 st->accel[CHANNEL_SCAN_INDEX_X + i].size); in accel_3d_parse_report()
315 st->accel[0].index, in accel_3d_parse_report()
316 st->accel[0].report_id, in accel_3d_parse_report()
317 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
318 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
322 &st->accel[CHANNEL_SCAN_INDEX_X], in accel_3d_parse_report()
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/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c121 struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg_csum() argument
125 if (unlikely(mlx5e_psp_txwqe_build_eseg_csum(sq, skb, &accel->psp_st, eseg))) in mlx5e_txwqe_build_eseg_csum()
143 } else if (unlikely(accel && accel->tls.tls_tisn)) { in mlx5e_txwqe_build_eseg_csum()
254 struct mlx5e_accel_tx_state *accel) in mlx5e_tx_wqe_inline_mode() argument
259 if (accel->tls.tls_tisn) in mlx5e_tx_wqe_inline_mode()
272 struct mlx5e_accel_tx_state *accel, in mlx5e_sq_xmit_prepare() argument
292 u8 mode = mlx5e_tx_wqe_inline_mode(sq, skb, accel); in mlx5e_sq_xmit_prepare()
306 attr->insz = mlx5e_accel_tx_ids_len(sq, skb, accel); in mlx5e_sq_xmit_prepare()
667 struct sk_buff *skb, struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg() argument
670 mlx5e_accel_tx_eseg(priv, skb, accel, eseg, ihs); in mlx5e_txwqe_build_eseg()
[all …]
/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/iio/imu/inv_icm42600/
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/video/fbdev/
H A Dneofb.c227 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK()
228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK()
229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK()
230 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK()
969 switch (info->fix.accel) { in neofb_set_par()
1060 switch (info->fix.accel) { in neofb_set_par()
1087 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1098 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1105 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2160) in neofb_set_par()
1108 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
[all …]
/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/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/Documentation/iio/
H A Dadxl313.rst238 … Event: time: 1748795762298351281, type: accel(x|y|z), channel: 0, evtype: mag, direction: rising
239 … Event: time: 1748795762302653704, type: accel(x|y|z), channel: 0, evtype: mag, direction: rising
240 … Event: time: 1748795762304340726, type: accel(x|y|z), channel: 0, evtype: mag, direction: rising
261 … Event: time: 1748796324115962975, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
262 … Event: time: 1748796329329981772, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
263 … Event: time: 1748796334543399706, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
277 …Event: time: 1748796880354686777, type: accel(x|y|z), channel: 0, evtype: mag_adaptive, direction:…
279 … Event: time: 1748796885543252017, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
281 …Event: time: 1748796887756634678, type: accel(x|y|z), channel: 0, evtype: mag_adaptive, direction:…
283 … Event: time: 1748796892964368352, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
H A Dadxl345.rst356 Event: time: 1739063415957073383, type: accel(z), channel: 0, evtype: mag, direction: rising
357 Event: time: 1739063415963770218, type: accel(z), channel: 0, evtype: mag, direction: rising
358 …Event: time: 1739063416002563061, type: accel(z), channel: 0, evtype: gesture, direction: singletap
359 … Event: time: 1739063426271128739, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
360 … Event: time: 1739063436539080713, type: accel(x&y&z), channel: 0, evtype: mag, direction: falling
361 Event: time: 1739063438357970381, type: accel(z), channel: 0, evtype: mag, direction: rising
362 Event: time: 1739063446726161586, type: accel(z), channel: 0, evtype: mag, direction: rising
363 Event: time: 1739063446727892670, type: accel(z), channel: 0, evtype: mag, direction: rising
364 Event: time: 1739063446743019768, type: accel(z), channel: 0, evtype: mag, direction: rising
365 Event: time: 1739063446744650696, type: accel(z), channel: 0, evtype: mag, direction: rising
[all …]
/linux/drivers/hid/
H A Dhid-wiimote-modules.c426 const __u8 *accel) in wiimod_accel_in_accel() argument
445 x = accel[2] << 2; in wiimod_accel_in_accel()
446 y = accel[3] << 2; in wiimod_accel_in_accel()
447 z = accel[4] << 2; in wiimod_accel_in_accel()
449 x |= (accel[0] >> 5) & 0x3; in wiimod_accel_in_accel()
450 y |= (accel[1] >> 4) & 0x2; in wiimod_accel_in_accel()
451 z |= (accel[1] >> 5) & 0x2; in wiimod_accel_in_accel()
453 input_report_abs(wdata->accel, ABS_RX, x - 0x200); in wiimod_accel_in_accel()
454 input_report_abs(wdata->accel, ABS_RY, y - 0x200); in wiimod_accel_in_accel()
455 input_report_abs(wdata->accel, ABS_RZ, z - 0x200); in wiimod_accel_in_accel()
[all …]
/linux/tools/testing/selftests/kho/
H A Dvmtest.sh111 -accel kvm -accel hvf -accel tcg \
/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 …]

12345678