Home
last modified time | relevance | path

Searched full:accel (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/Linux-v6.6/drivers/staging/sm750fb/
Dsm750_accel.c20 static inline void write_dpr(struct lynx_accel *accel, int offset, u32 regValue) in write_dpr() argument
22 writel(regValue, accel->dprBase + offset); in write_dpr()
25 static inline u32 read_dpr(struct lynx_accel *accel, int offset) in read_dpr() argument
27 return readl(accel->dprBase + offset); in read_dpr()
30 static inline void write_dpPort(struct lynx_accel *accel, u32 data) in write_dpPort() argument
32 writel(data, accel->dpPortBase); 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 …]
/Linux-v6.6/Documentation/devicetree/bindings/iio/
Dst,st-sensors.yaml24 - st,h3lis331dl-accel
28 - st,lis2dh12-accel
30 - st,lis331dl-accel
31 - st,lis331dlh-accel
33 - st,lis3dh-accel
36 - st,lis3lv02dl-accel
37 - st,lng2dm-accel
38 - st,lsm303agr-accel
39 - st,lsm303c-accel
40 - st,lsm303dl-accel
[all …]
/Linux-v6.6/drivers/iio/accel/
Dst_accel_i2c.c27 .compatible = "st,lis3lv02dl-accel",
31 .compatible = "st,lsm303dlh-accel",
35 .compatible = "st,lsm303dlhc-accel",
39 .compatible = "st,lis3dh-accel",
43 .compatible = "st,lsm330d-accel",
47 .compatible = "st,lsm330dl-accel",
51 .compatible = "st,lsm330dlc-accel",
55 .compatible = "st,lis331dl-accel",
59 .compatible = "st,lis331dlh-accel",
63 .compatible = "st,lsm303dl-accel",
[all …]
Dst_accel_spi.c22 * For old single-chip devices keep <device_name>-accel to maintain
32 .compatible = "st,lis3lv02dl-accel",
36 .compatible = "st,lis3dh-accel",
40 .compatible = "st,lsm330d-accel",
44 .compatible = "st,lsm330dl-accel",
48 .compatible = "st,lsm330dlc-accel",
52 .compatible = "st,lis331dlh-accel",
56 .compatible = "st,lsm330-accel",
60 .compatible = "st,lsm303agr-accel",
64 .compatible = "st,lis2dh12-accel",
[all …]
Dbmi088-accel-spi.c14 #include "bmi088-accel.h"
65 { .compatible = "bosch,bmi085-accel" },
66 { .compatible = "bosch,bmi088-accel" },
67 { .compatible = "bosch,bmi090l-accel" },
73 {"bmi085-accel", BOSCH_BMI085},
74 {"bmi088-accel", BOSCH_BMI088},
75 {"bmi090l-accel", BOSCH_BMI090L},
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()
[all …]
DMakefile29 obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o
30 obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o
31 obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o
32 obj-$(CONFIG_BMI088_ACCEL) += bmi088-accel-core.o
33 obj-$(CONFIG_BMI088_ACCEL_SPI) += bmi088-accel-spi.o
42 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
Ddmard09.c56 s16 accel; in dmard09_read_raw() local
73 accel = get_unaligned_le16(&buf[chan->address]); in dmard09_read_raw()
76 accel <<= 4; in dmard09_read_raw()
77 accel >>= 7; in dmard09_read_raw()
79 *val = accel; in dmard09_read_raw()
Dadxl345_core.c91 __le16 accel; in adxl345_read_raw() local
105 &accel, sizeof(accel)); in adxl345_read_raw()
109 *val = sign_extend32(le16_to_cpu(accel), 12); in adxl345_read_raw()
129 * 8-bit resolution at +/- 2g, that is 4x accel data scale in adxl345_read_raw()
160 * 8-bit resolution at +/- 2g, that is 4x accel data scale in adxl345_write_raw()
/Linux-v6.6/drivers/platform/x86/
Dclassmate-laptop.c207 struct cmpc_accel *accel; in cmpc_accel_sensitivity_show_v4() local
211 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_sensitivity_show_v4()
213 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show_v4()
222 struct cmpc_accel *accel; in cmpc_accel_sensitivity_store_v4() local
228 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_sensitivity_store_v4()
238 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store_v4()
256 struct cmpc_accel *accel; in cmpc_accel_g_select_show_v4() local
260 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_g_select_show_v4()
262 return sprintf(buf, "%d\n", accel->g_select); in cmpc_accel_g_select_show_v4()
271 struct cmpc_accel *accel; in cmpc_accel_g_select_store_v4() local
[all …]
/Linux-v6.6/drivers/accel/
Ddrm_accel.c32 return kasprintf(GFP_KERNEL, "accel/%s", dev_name(dev)); in accel_devnode()
37 accel_class = class_create("accel"); in accel_sysfs_init()
82 * accel_debugfs_init() - Initialize debugfs for accel minor
108 * accel_set_device_instance_params() - Set some device parameters for accel device
112 * This function creates the dev_t of the device using the accel major and
114 * device instance to the accel sysfs class and device type, respectively.
124 * accel_minor_alloc() - Allocates a new accel minor
126 * This function access the accel minors idr and allocates from it
127 * a new id to represent a new accel minor
144 * accel_minor_remove() - Remove an accel minor
[all …]
DKconfig24 different device files, called accel/accel* (in /dev, sysfs
27 source "drivers/accel/habanalabs/Kconfig"
28 source "drivers/accel/ivpu/Kconfig"
29 source "drivers/accel/qaic/Kconfig"
/Linux-v6.6/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c37 struct inv_icm42600_fifo_sensor_data accel; member
44 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel, in inv_icm42600_fifo_decode_packet() argument
54 *accel = NULL; in inv_icm42600_fifo_decode_packet()
69 /* accel + gyro */ in inv_icm42600_fifo_decode_packet()
72 *accel = &pack2->accel; in inv_icm42600_fifo_decode_packet()
79 /* accel only */ in inv_icm42600_fifo_decode_packet()
81 *accel = &pack1->data; in inv_icm42600_fifo_decode_packet()
90 *accel = NULL; in inv_icm42600_fifo_decode_packet()
111 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr); in inv_icm42600_buffer_update_fifo_period()
188 * set for gyro and accel sensors. Since watermark is all about acceptable data
[all …]
Dinv_icm42600_core.c60 .accel = {
144 enum inv_icm42600_sensor_mode accel, in inv_icm42600_set_pwr_mgmt0() argument
148 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0()
155 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0()
159 INV_ICM42600_PWR_MGMT0_ACCEL(accel); in inv_icm42600_set_pwr_mgmt0()
167 st->conf.accel.mode = accel; in inv_icm42600_set_pwr_mgmt0()
177 /* accel startup time */ in inv_icm42600_set_pwr_mgmt0()
178 if (accel != oldaccel && oldaccel == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0()
211 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf()
225 /* set ACCEL_CONFIG0 register (accel fullscale & odr) */ in inv_icm42600_set_accel_conf()
[all …]
Dinv_icm42600_accel.c79 struct inv_icm42600_fifo_sensor_data accel; member
92 /* 3-axis accel + temperature */
121 /* enable accel sensor */ in inv_icm42600_accel_update_scan_mode()
179 /* enable accel sensor */ in inv_icm42600_accel_read_sensor()
185 /* read accel register data */ in inv_icm42600_accel_read_sensor()
222 idx = st->conf.accel.fs; in inv_icm42600_accel_read_scale()
296 odr = st->conf.accel.odr; in inv_icm42600_accel_read_odr()
668 st->fifo.watermark.accel = val; in inv_icm42600_accel_hwfifo_set_watermark()
689 ret = st->fifo.nb.accel; in inv_icm42600_accel_hwfifo_flush()
716 name = devm_kasprintf(dev, GFP_KERNEL, "%s-accel", st->name); in inv_icm42600_accel_init()
[all …]
Dinv_icm42600_buffer.h23 * @watermark: watermark configuration values for accel and gyro.
25 * @nb: gyro, accel and total samples in the FIFO data buffer.
34 unsigned int accel; member
39 size_t accel; member
75 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel,
/Linux-v6.6/Documentation/accel/
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-v6.6/Documentation/devicetree/bindings/iio/accel/
Dbosch,bmi088.yaml4 $id: http://devicetree.org/schemas/iio/accel/bosch,bmi088.yaml#
20 - bosch,bmi085-accel
21 - bosch,bmi088-accel
22 - bosch,bmi090l-accel
62 bmi088-accel@1 {
63 compatible = "bosch,bmi088-accel";
/Linux-v6.6/drivers/crypto/intel/qat/qat_c62x/
Dadf_c62x_hw_data.c30 u32 accel; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
33 accel &= ADF_C62X_ACCELERATORS_MASK; in get_accel_mask()
35 return accel; in get_accel_mask()
44 int accel; in get_ae_mask() local
46 /* If an accel is disabled, then disable the corresponding two AEs */ in get_ae_mask()
49 for_each_set_bit(accel, &disabled, ADF_C62X_MAX_ACCELERATORS) in get_ae_mask()
50 straps |= ae_disable << (accel << 1); in get_ae_mask()
/Linux-v6.6/drivers/crypto/intel/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c30 u32 accel; in get_accel_mask() local
32 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
33 accel &= ADF_C3XXX_ACCELERATORS_MASK; in get_accel_mask()
35 return accel; in get_accel_mask()
44 int accel; in get_ae_mask() local
46 /* If an accel is disabled, then disable the corresponding two AEs */ in get_ae_mask()
49 for_each_set_bit(accel, &disabled, ADF_C3XXX_MAX_ACCELERATORS) in get_ae_mask()
50 straps |= ae_disable << (accel << 1); in get_ae_mask()
/Linux-v6.6/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c116 int accel; in matrox_cfbX_init() local
127 accel = (minfo->fbcon.var.accel_flags & FB_ACCELF_TEXT) == FB_ACCELF_TEXT; in matrox_cfbX_init()
134 if (accel && !(mpitch & 1)) { in matrox_cfbX_init()
142 if (accel) { in matrox_cfbX_init()
153 if (accel) { in matrox_cfbX_init()
161 if (accel) { in matrox_cfbX_init()
169 if (accel) { in matrox_cfbX_init()
193 …minfo->accel.m_dwg_rect = M_DWG_TRAP | M_DWG_SOLID | M_DWG_ARZERO | M_DWG_SGNZERO | M_DWG_SHIFTZER… in matrox_cfbX_init()
194 if (isMilleniumII(minfo)) minfo->accel.m_dwg_rect |= M_DWG_TRANSC; in matrox_cfbX_init()
195 minfo->accel.m_opmode = mopmode; in matrox_cfbX_init()
[all …]
/Linux-v6.6/drivers/iio/imu/st_lsm9ds0/
Dst_lsm9ds0_core.c33 lsm9ds0->accel = devm_iio_device_alloc(dev, sizeof(*data)); in st_lsm9ds0_probe_accel()
34 if (!lsm9ds0->accel) in st_lsm9ds0_probe_accel()
37 lsm9ds0->accel->name = lsm9ds0->name; in st_lsm9ds0_probe_accel()
39 data = iio_priv(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
44 return st_accel_common_probe(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
/Linux-v6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst102 .. [#accel] Traffic acceleration counter.
173 - The number of TSO packets transmitted on ring i [#accel]_.
177 - The number of TSO bytes transmitted on ring i [#accel]_.
182 encapsulation transmitted on ring i [#accel]_.
187 encapsulation transmitted on ring i [#accel]_.
216 - The number of LRO packets received on ring i [#accel]_.
220 - The number of LRO bytes received on ring i [#accel]_.
240 - Packets received with a `CHECKSUM_UNNECESSARY` on ring i [#accel]_.
245 on ring i [#accel]_.
249 - Packets received with a `CHECKSUM_NONE` on ring i [#accel]_.
[all …]
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dtrace_cm.h213 __field(int, accel)
229 __entry->accel = cm_node->accelerated;
238 …TP_printk("iwdev=%p caller=%pS cm_id=%p node=%p refcnt=%d vlan_id=%d accel=%d state=%s eve…
245 __entry->accel,
290 __field(int, accel)
304 __entry->accel = cm_node->accelerated;
312 …TP_printk("iwdev=%p caller=%pS node=%p refcnt=%d vlan_id=%d accel=%d state=%s event_type=%s…
318 __entry->accel,
412 __field(int, accel)
425 __entry->accel = cm_node->accelerated;
[all …]
/Linux-v6.6/tools/testing/selftests/wireguard/qemu/
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 -no-acpi
123 QEMU_MACHINE := -cpu host -machine microvm,accel=kvm,pit=off,pic=off,rtc=off -no-acpi
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=kvm
[all …]

12345678910>>...14