/Linux-v5.10/drivers/staging/sm750fb/ |
D | sm750_accel.c | 21 static inline void write_dpr(struct lynx_accel *accel, int offset, u32 regValue) in write_dpr() argument 23 writel(regValue, accel->dprBase + offset); in write_dpr() 26 static inline u32 read_dpr(struct lynx_accel *accel, int offset) in read_dpr() argument 28 return readl(accel->dprBase + offset); in read_dpr() 31 static inline void write_dpPort(struct lynx_accel *accel, u32 data) in write_dpPort() argument 33 writel(data, accel->dpPortBase); in write_dpPort() 36 void sm750_hw_de_init(struct lynx_accel *accel) in sm750_hw_de_init() argument 41 write_dpr(accel, DE_MASKS, 0xFFFFFFFF); in sm750_hw_de_init() 53 write_dpr(accel, DE_STRETCH_FORMAT, in sm750_hw_de_init() 54 (read_dpr(accel, DE_STRETCH_FORMAT) & ~clr) | reg); in sm750_hw_de_init() [all …]
|
D | sm750_accel.h | 188 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,
|
D | sm750.c | 194 sm750_dev->accel.de_fillrect(&sm750_dev->accel, in lynxfb_ops_fillrect() 228 sm750_dev->accel.de_copyarea(&sm750_dev->accel, in lynxfb_ops_copyarea() 277 sm750_dev->accel.de_imageblit(&sm750_dev->accel, in lynxfb_ops_imageblit() 611 sm750_dev->accel.de_wait = (sm750_dev->revid == SM750LE_REVISION_ID) ? in sm750fb_set_drv() 815 fix->accel = FB_ACCEL_SMI; in lynxfb_set_fbinfo() 1046 sm750_dev->accel.de_init = sm750_hw_de_init; in lynxfb_pci_probe() 1047 sm750_dev->accel.de_fillrect = sm750_hw_fillrect; in lynxfb_pci_probe() 1048 sm750_dev->accel.de_copyarea = sm750_hw_copyarea; in lynxfb_pci_probe() 1049 sm750_dev->accel.de_imageblit = sm750_hw_imageblit; in lynxfb_pci_probe()
|
D | sm750_hw.c | 63 sm750_dev->accel.dprBase = sm750_dev->pvReg + DE_BASE_ADDR_TYPE1; in hw_sm750_map() 64 sm750_dev->accel.dpPortBase = sm750_dev->pvReg + DE_PORT_ADDR_TYPE1; in hw_sm750_map() 279 sm750_hw_set2dformat(&sm750_dev->accel, fmt); in hw_sm750_crtc_setMode() 506 sm750_dev->accel.de_init(&sm750_dev->accel); in hw_sm750_initAccel()
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/ |
D | st-sensors.txt | 30 - st,lis3lv02d (deprecated, use st,lis3lv02dl-accel) 31 - st,lis302dl-spi (deprecated, use st,lis3lv02dl-accel) 32 - st,lis3lv02dl-accel 33 - st,lsm303dlh-accel 34 - st,lsm303dlhc-accel 35 - st,lis3dh-accel 36 - st,lsm330d-accel 37 - st,lsm330dl-accel 38 - st,lsm330dlc-accel 39 - st,lis331dl-accel [all …]
|
/Linux-v5.10/drivers/platform/x86/ |
D | classmate-laptop.c | 207 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-v5.10/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_buffer.c | 36 struct inv_icm42600_fifo_sensor_data accel; member 43 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel, in inv_icm42600_fifo_decode_packet() argument 53 *accel = NULL; in inv_icm42600_fifo_decode_packet() 71 *accel = &pack2->accel; in inv_icm42600_fifo_decode_packet() 80 *accel = &pack1->data; in inv_icm42600_fifo_decode_packet() 89 *accel = NULL; in inv_icm42600_fifo_decode_packet() 110 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr); in inv_icm42600_buffer_update_fifo_period() 216 wm_accel = inv_icm42600_wm_truncate(st->fifo.watermark.accel, packet_size); in inv_icm42600_buffer_update_watermark() 219 period_accel = inv_icm42600_odr_to_period(st->conf.accel.odr) / 1000UL; in inv_icm42600_buffer_update_watermark() 391 watermark = &st->fifo.watermark.accel; in inv_icm42600_buffer_postdisable() [all …]
|
D | inv_icm42600_core.c | 60 .accel = { 139 enum inv_icm42600_sensor_mode accel, in inv_icm42600_set_pwr_mgmt0() argument 143 enum inv_icm42600_sensor_mode oldaccel = st->conf.accel.mode; in inv_icm42600_set_pwr_mgmt0() 150 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0() 154 INV_ICM42600_PWR_MGMT0_ACCEL(accel); in inv_icm42600_set_pwr_mgmt0() 162 st->conf.accel.mode = accel; in inv_icm42600_set_pwr_mgmt0() 173 if (accel != oldaccel && oldaccel == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0() 206 struct inv_icm42600_sensor_conf *oldconf = &st->conf.accel; in inv_icm42600_set_accel_conf() 277 val = INV_ICM42600_GYRO_ACCEL_CONFIG0_ACCEL_FILT(st->conf.accel.filter) | in inv_icm42600_set_gyro_conf() 286 return inv_icm42600_set_pwr_mgmt0(st, conf->mode, st->conf.accel.mode, in inv_icm42600_set_gyro_conf() [all …]
|
D | inv_icm42600_accel.c | 78 struct inv_icm42600_fifo_sensor_data accel; member 221 idx = st->conf.accel.fs; in inv_icm42600_accel_read_scale() 295 odr = st->conf.accel.odr; in inv_icm42600_accel_read_odr() 667 st->fifo.watermark.accel = val; in inv_icm42600_accel_hwfifo_set_watermark() 688 ret = st->fifo.nb.accel; in inv_icm42600_accel_hwfifo_flush() 728 inv_icm42600_timestamp_init(ts, inv_icm42600_odr_to_period(st->conf.accel.odr)); in inv_icm42600_accel_init() 754 const void *accel, *gyro, *timestamp; in inv_icm42600_accel_parse_fifo() local 763 &accel, &gyro, &temp, ×tamp, &odr); in inv_icm42600_accel_parse_fifo() 769 if (accel == NULL || !inv_icm42600_fifo_is_data_valid(accel)) in inv_icm42600_accel_parse_fifo() 779 memcpy(&buffer.accel, accel, sizeof(buffer.accel)); in inv_icm42600_accel_parse_fifo()
|
D | inv_icm42600_buffer.h | 34 unsigned int accel; member 39 size_t accel; member 75 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel,
|
D | inv_icm42600.h | 104 struct inv_icm42600_sensor_conf accel; member 110 enum inv_icm42600_sensor_mode accel; member 147 int64_t accel; member
|
/Linux-v5.10/drivers/video/fbdev/matrox/ |
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-v5.10/drivers/iio/accel/ |
D | hid-sensor-accel-3d.c | 29 struct hid_sensor_hub_attribute_info accel[ACCEL_3D_CHANNEL_MAX]; member 146 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw() 147 min = accel_state->accel[chan->scan_index].logical_minimum; in accel_3d_read_raw() 300 &st->accel[CHANNEL_SCAN_INDEX_X + i]); in accel_3d_parse_report() 305 st->accel[CHANNEL_SCAN_INDEX_X + i].size); in accel_3d_parse_report() 308 st->accel[0].index, in accel_3d_parse_report() 309 st->accel[0].report_id, in accel_3d_parse_report() 310 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report() 311 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report() 315 &st->accel[CHANNEL_SCAN_INDEX_X], in accel_3d_parse_report()
|
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()
|
D | Makefile | 20 obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel-core.o 21 obj-$(CONFIG_BMC150_ACCEL_I2C) += bmc150-accel-i2c.o 22 obj-$(CONFIG_BMC150_ACCEL_SPI) += bmc150-accel-spi.o 28 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
|
D | adxl345_core.c | 90 __le16 accel; in adxl345_read_raw() local 104 &accel, sizeof(accel)); in adxl345_read_raw() 108 *val = sign_extend32(le16_to_cpu(accel), 12); in adxl345_read_raw()
|
/Linux-v5.10/drivers/video/fbdev/ |
D | neofb.c | 226 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK() 227 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK() 228 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK() 229 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK() 968 switch (info->fix.accel) { in neofb_set_par() 1059 switch (info->fix.accel) { in neofb_set_par() 1086 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par() 1097 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par() 1104 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2160) in neofb_set_par() 1107 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par() [all …]
|
/Linux-v5.10/tools/testing/selftests/wireguard/qemu/ |
D | Makefile | 76 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm 86 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm 96 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm 106 QEMU_MACHINE := -cpu host -machine virt,gic_version=host,accel=kvm 117 QEMU_MACHINE := -cpu host -machine q35,accel=kvm 127 QEMU_MACHINE := -cpu host -machine q35,accel=kvm 137 QEMU_MACHINE := -cpu host -machine malta,accel=kvm 148 QEMU_MACHINE := -cpu host -machine malta,accel=kvm 159 QEMU_MACHINE := -cpu host -machine malta,accel=kvm 170 QEMU_MACHINE := -cpu host -machine malta,accel=kvm [all …]
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 165 struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg_csum() argument 179 } else if (unlikely(accel && accel->tls.tls_tisn)) { in mlx5e_txwqe_build_eseg_csum() 279 struct mlx5e_accel_tx_state *accel) in mlx5e_tx_wqe_inline_mode() argument 284 if (accel && accel->tls.tls_tisn) in mlx5e_tx_wqe_inline_mode() 298 struct mlx5e_accel_tx_state *accel, in mlx5e_sq_xmit_prepare() argument 316 u8 mode = mlx5e_tx_wqe_inline_mode(sq, skb, accel); in mlx5e_sq_xmit_prepare() 330 attr->insz = mlx5e_accel_tx_ids_len(sq, accel); in mlx5e_sq_xmit_prepare() 617 struct sk_buff *skb, struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg() argument 623 mlx5e_txwqe_build_eseg_csum(sq, skb, accel, eseg); in mlx5e_txwqe_build_eseg() 631 struct mlx5e_accel_tx_state accel = {}; in mlx5e_xmit() local [all …]
|
D | Makefile | 68 mlx5_core-$(CONFIG_MLX5_IPSEC) += accel/ipsec_offload.o 71 mlx5_core-$(CONFIG_MLX5_ACCEL) += lib/crypto.o accel/tls.o accel/ipsec.o
|
/Linux-v5.10/drivers/hid/ |
D | hid-wiimote-modules.c | 426 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 …]
|
D | hid-wiimote.h | 148 struct input_dev *accel; member 198 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel); 269 extern void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel);
|
/Linux-v5.10/Documentation/fb/ |
D | intelfb.rst | 56 e. "accel" 58 by using 'fbset -accel true/false'. 99 append="video=intelfb:mode=800x600-32@75,accel,hwcursor,vram=8" 127 modprobe intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1 131 options intelfb mode=800x600-32@75 vram=8 accel=1 hwcursor=1
|
/Linux-v5.10/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 229 static bool accel = 1; variable 242 module_param(accel, bool, S_IRUGO); 243 MODULE_PARM_DESC(accel, "Enable hardware acceleration"); 353 if (get_opt_bool(this_opt, "accel", &accel)) in intelfb_setup() 586 dinfo->accel = accel; in intelfb_pci_register() 589 if (NOACCEL_CHIPSET(dinfo) && dinfo->accel == 1) { in intelfb_pci_register() 592 dinfo->accel = 0; in intelfb_pci_register() 605 if (dinfo->accel) { in intelfb_pci_register() 633 if (dinfo->accel) in intelfb_pci_register() 666 if (dinfo->accel) { in intelfb_pci_register() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | ste-href-tvk1281618-r2.dtsi | 13 compatible = "st,lsm303dlh-accel"; 53 compatible = "st,lis331dl-accel";
|