/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-habanalabs | 1 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 D | debugfs-driver-habanalabs | 1 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/staging/sm750fb/ |
H A D | sm750_accel.c | 20 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/Documentation/devicetree/bindings/iio/ |
H A D | st,st-sensors.yaml | 24 - st,h3lis331dl-accel 28 - st,lis2dh12-accel 31 - st,lis331dl-accel 32 - st,lis331dlh-accel 34 - st,lis3dh-accel 37 - st,lis3lv02dl-accel 38 - st,lng2dm-accel 39 - st,lsm303agr-accel 40 - st,lsm303c-accel 41 - st,lsm303dl-accel [all …]
|
/linux/drivers/iio/accel/ |
H A D | st_accel_i2c.c | 26 .compatible = "st,lis3lv02dl-accel", 30 .compatible = "st,lsm303dlh-accel", 34 .compatible = "st,lsm303dlhc-accel", 38 .compatible = "st,lis3dh-accel", 42 .compatible = "st,lsm330d-accel", 46 .compatible = "st,lsm330dl-accel", 50 .compatible = "st,lsm330dlc-accel", 54 .compatible = "st,lis331dl-accel", 58 .compatible = "st,lis331dlh-accel", 62 .compatible = "st,lsm303dl-accel", [all …]
|
H A D | st_accel_spi.c | 22 * 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 …]
|
H A D | bmi088-accel-i2c.c | 17 #include "bmi088-accel.h" 40 { .compatible = "bosch,bmi085-accel" }, 41 { .compatible = "bosch,bmi088-accel" }, 42 { .compatible = "bosch,bmi090l-accel" }, 48 { "bmi085-accel", BOSCH_BMI085 }, 49 { "bmi088-accel", BOSCH_BMI088 }, 50 { "bmi090l-accel", BOSCH_BMI090L },
|
H A D | bmi088-accel-spi.c | 16 #include "bmi088-accel.h" 67 { .compatible = "bosch,bmi085-accel" }, 68 { .compatible = "bosch,bmi088-accel" }, 69 { .compatible = "bosch,bmi090l-accel" }, 75 {"bmi085-accel", BOSCH_BMI085}, 76 {"bmi088-accel", BOSCH_BMI088}, 77 {"bmi090l-accel", BOSCH_BMI090L},
|
H A D | hid-sensor-accel-3d.c | 27 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 …]
|
H A D | Makefile | 32 obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o 33 obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o 34 obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o 35 obj-$(CONFIG_BMI088_ACCEL) += bmi088-accel-core.o 36 obj-$(CONFIG_BMI088_ACCEL_I2C) += bmi088-accel-i2c.o 37 obj-$(CONFIG_BMI088_ACCEL_SPI) += bmi088-accel-spi.o 46 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
H A D | dmard09.c | 56 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()
|
H A D | adxl345_core.c | 47 __le16 accel; in adxl345_read_raw() local 61 &accel, sizeof(accel)); in adxl345_read_raw() 65 *val = sign_extend32(le16_to_cpu(accel), 12); in adxl345_read_raw() 77 * 8-bit resolution at +/- 2g, that is 4x accel data scale in adxl345_read_raw() 108 * 8-bit resolution at +/- 2g, that is 4x accel data scale in adxl345_write_raw()
|
/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 37 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 …]
|
H A D | inv_icm42600_core.c | 104 .accel = { 120 .accel = { 214 enum inv_icm42600_sensor_mode accel, in inv_icm42600_set_pwr_mgmt0() argument 218 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0() 225 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0() 229 INV_ICM42600_PWR_MGMT0_ACCEL(accel); in inv_icm42600_set_pwr_mgmt0() 237 st->conf.accel.mode = accel; in inv_icm42600_set_pwr_mgmt0() 247 /* accel startup time */ in inv_icm42600_set_pwr_mgmt0() 248 if (accel != oldaccel && oldaccel == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0() 281 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf() [all …]
|
/linux/drivers/accel/ |
H A D | drm_accel.c | 31 return kasprintf(GFP_KERNEL, "accel/%s", dev_name(dev)); in accel_devnode() 35 .name = "accel", 95 struct drm_minor *minor = dev->accel; in accel_debugfs_register() 104 * accel_set_device_instance_params() - Set some device parameters for accel device 108 * This function creates the dev_t of the device using the accel major and 110 * device instance to the accel sysfs class and device type, respectively. 120 * accel_open - open method for ACCEL file 125 * It looks up the correct ACCEL device and instantiates all the per-file 196 unregister_chrdev(ACCEL_MAJOR, "accel"); in accel_core_exit() 208 DRM_ERROR("Cannot create ACCEL class: %d\n", ret); in accel_core_init() [all …]
|
H A D | Kconfig | 24 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/Documentation/accel/ |
H A D | introduction.rst | 13 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/devicetree/bindings/iio/accel/ |
H A D | bosch,bmi088.yaml | 4 $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/drivers/crypto/intel/qat/qat_c62x/ |
H A D | adf_c62x_hw_data.c | 32 u32 accel; in get_accel_mask() local 34 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask() 35 accel &= ADF_C62X_ACCELERATORS_MASK; in get_accel_mask() 37 return accel; in get_accel_mask() 46 int accel; in get_ae_mask() local 48 /* If an accel is disabled, then disable the corresponding two AEs */ in get_ae_mask() 51 for_each_set_bit(accel, &disabled, ADF_C62X_MAX_ACCELERATORS) in get_ae_mask() 52 straps |= ae_disable << (accel << 1); in get_ae_mask()
|
/linux/drivers/crypto/intel/qat/qat_c3xxx/ |
H A D | adf_c3xxx_hw_data.c | 32 u32 accel; in get_accel_mask() local 34 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask() 35 accel &= ADF_C3XXX_ACCELERATORS_MASK; in get_accel_mask() 37 return accel; in get_accel_mask() 46 int accel; in get_ae_mask() local 48 /* If an accel is disabled, then disable the corresponding two AEs */ in get_ae_mask() 51 for_each_set_bit(accel, &disabled, ADF_C3XXX_MAX_ACCELERATORS) in get_ae_mask() 52 straps |= ae_disable << (accel << 1); in get_ae_mask()
|
/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_accel.c | 116 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/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | counters.rst | 102 .. [#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]_. 213 - Number of header only packets in header/data split mode [#accel]_. 218 [#accel]_. 226 [#accel]_. 234 [#accel]_. 238 - The number of LRO packets received on ring i [#accel]_. [all …]
|
/linux/drivers/iio/imu/st_lsm9ds0/ |
H A D | st_lsm9ds0_core.c | 32 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/infiniband/hw/irdma/ |
H A D | trace_cm.h | 213 __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/tools/testing/selftests/wireguard/qemu/ |
H A D | Makefile | 63 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=kvm [all …]
|