Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/drivers/staging/sm750fb/
Dsm750_accel.c21 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 …]
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,
Dsm750.h58 void (*de_init)(struct lynx_accel *accel);
62 int (*de_fillrect)(struct lynx_accel *accel,
67 int (*de_copyarea)(struct lynx_accel *accel,
75 int (*de_imageblit)(struct lynx_accel *accel, const char *p_srcbuf,
88 struct lynx_accel accel; member
/linux-6.1.9/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-6.1.9/Documentation/devicetree/bindings/iio/
Dst,st-sensors.yaml27 - st,h3lis331dl-accel
31 - st,lis2dh12-accel
33 - st,lis331dl-accel
34 - st,lis331dlh-accel
36 - st,lis3dh-accel
39 - st,lis3lv02dl-accel
40 - st,lng2dm-accel
41 - st,lsm303agr-accel
42 - st,lsm303dl-accel
43 - st,lsm303dlh-accel
[all …]
/linux-6.1.9/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c36 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 …]
Dinv_icm42600_core.c60 .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 …]
Dinv_icm42600_accel.c78 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()
723 inv_icm42600_timestamp_init(ts, inv_icm42600_odr_to_period(st->conf.accel.odr)); in inv_icm42600_accel_init()
751 const void *accel, *gyro, *timestamp; in inv_icm42600_accel_parse_fifo() local
760 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm42600_accel_parse_fifo()
766 if (accel == NULL || !inv_icm42600_fifo_is_data_valid(accel)) in inv_icm42600_accel_parse_fifo()
776 memcpy(&buffer.accel, accel, sizeof(buffer.accel)); in inv_icm42600_accel_parse_fifo()
Dinv_icm42600_buffer.h34 unsigned int accel; member
39 size_t accel; member
75 ssize_t inv_icm42600_fifo_decode_packet(const void *packet, const void **accel,
/linux-6.1.9/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c26 u32 accel; in get_accel_mask() local
28 accel = ~(fuses | straps) >> ADF_C3XXX_ACCELERATORS_REG_OFFSET; in get_accel_mask()
29 accel &= ADF_C3XXX_ACCELERATORS_MASK; in get_accel_mask()
31 return accel; in get_accel_mask()
40 int accel; in get_ae_mask() local
45 for_each_set_bit(accel, &disabled, ADF_C3XXX_MAX_ACCELERATORS) in get_ae_mask()
46 straps |= ae_disable << (accel << 1); in get_ae_mask()
/linux-6.1.9/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c26 u32 accel; in get_accel_mask() local
28 accel = ~(fuses | straps) >> ADF_C62X_ACCELERATORS_REG_OFFSET; in get_accel_mask()
29 accel &= ADF_C62X_ACCELERATORS_MASK; in get_accel_mask()
31 return accel; in get_accel_mask()
40 int accel; in get_ae_mask() local
45 for_each_set_bit(accel, &disabled, ADF_C62X_MAX_ACCELERATORS) in get_ae_mask()
46 straps |= ae_disable << (accel << 1); in get_ae_mask()
/linux-6.1.9/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";
Dkionix,kxsd9.yaml4 $id: http://devicetree.org/schemas/iio/accel/kionix,kxsd9.yaml#
48 accel@18 {
64 accel@0 {
/linux-6.1.9/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-6.1.9/drivers/iio/accel/
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()
306 &st->accel[CHANNEL_SCAN_INDEX_X + i]); in accel_3d_parse_report()
311 st->accel[CHANNEL_SCAN_INDEX_X + i].size); in accel_3d_parse_report()
314 st->accel[0].index, in accel_3d_parse_report()
315 st->accel[0].report_id, in accel_3d_parse_report()
316 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
317 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
321 &st->accel[CHANNEL_SCAN_INDEX_X], in accel_3d_parse_report()
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()
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
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()
/linux-6.1.9/drivers/iio/imu/st_lsm9ds0/
Dst_lsm9ds0_core.c85 lsm9ds0->accel = devm_iio_device_alloc(dev, sizeof(*data)); in st_lsm9ds0_probe_accel()
86 if (!lsm9ds0->accel) in st_lsm9ds0_probe_accel()
89 lsm9ds0->accel->name = lsm9ds0->name; in st_lsm9ds0_probe_accel()
91 data = iio_priv(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
98 return st_accel_common_probe(lsm9ds0->accel); in st_lsm9ds0_probe_accel()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/video/fbdev/
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c120 struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg_csum() argument
137 } else if (unlikely(accel && accel->tls.tls_tisn)) { in mlx5e_txwqe_build_eseg_csum()
244 struct mlx5e_accel_tx_state *accel) in mlx5e_tx_wqe_inline_mode() argument
249 if (accel && accel->tls.tls_tisn) in mlx5e_tx_wqe_inline_mode()
263 struct mlx5e_accel_tx_state *accel, in mlx5e_sq_xmit_prepare() argument
283 u8 mode = mlx5e_tx_wqe_inline_mode(sq, skb, accel); in mlx5e_sq_xmit_prepare()
297 attr->insz = mlx5e_accel_tx_ids_len(sq, accel); in mlx5e_sq_xmit_prepare()
654 struct sk_buff *skb, struct mlx5e_accel_tx_state *accel, in mlx5e_txwqe_build_eseg() argument
658 mlx5e_txwqe_build_eseg_csum(sq, skb, accel, eseg); in mlx5e_txwqe_build_eseg()
666 struct mlx5e_accel_tx_state accel = {}; in mlx5e_xmit() local
[all …]
/linux-6.1.9/drivers/hid/
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-6.1.9/drivers/infiniband/hw/irdma/
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-6.1.9/Documentation/fb/
Dintelfb.rst56 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

123456789