Home
last modified time | relevance | path

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

123456

/drivers/platform/x86/
Dclassmate-laptop.c220 struct cmpc_accel *accel; in cmpc_accel_sensitivity_show_v4() local
224 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_sensitivity_show_v4()
226 return sprintf(buf, "%d\n", accel->sensitivity); in cmpc_accel_sensitivity_show_v4()
235 struct cmpc_accel *accel; in cmpc_accel_sensitivity_store_v4() local
241 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_sensitivity_store_v4()
251 accel->sensitivity = sensitivity; in cmpc_accel_sensitivity_store_v4()
269 struct cmpc_accel *accel; in cmpc_accel_g_select_show_v4() local
273 accel = dev_get_drvdata(&inputdev->dev); in cmpc_accel_g_select_show_v4()
275 return sprintf(buf, "%d\n", accel->g_select); in cmpc_accel_g_select_show_v4()
284 struct cmpc_accel *accel; in cmpc_accel_g_select_store_v4() local
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c115 int accel; in matrox_cfbX_init() local
126 accel = (minfo->fbcon.var.accel_flags & FB_ACCELF_TEXT) == FB_ACCELF_TEXT; in matrox_cfbX_init()
133 if (accel && !(mpitch & 1)) { in matrox_cfbX_init()
141 if (accel) { in matrox_cfbX_init()
152 if (accel) { in matrox_cfbX_init()
160 if (accel) { in matrox_cfbX_init()
168 if (accel) { in matrox_cfbX_init()
192 …minfo->accel.m_dwg_rect = M_DWG_TRAP | M_DWG_SOLID | M_DWG_ARZERO | M_DWG_SGNZERO | M_DWG_SHIFTZER… in matrox_cfbX_init()
193 if (isMilleniumII(minfo)) minfo->accel.m_dwg_rect |= M_DWG_TRANSC; in matrox_cfbX_init()
194 minfo->accel.m_opmode = mopmode; in matrox_cfbX_init()
[all …]
Dmatroxfb_base.h373 struct matrox_accel_data accel; member
436 spinlock_t accel; member
726 #define CRITBEGIN spin_lock_irqsave(&minfo->lock.accel, critflags);
727 #define CRITEND spin_unlock_irqrestore(&minfo->lock.accel, critflags);
/drivers/iio/accel/
Dhid-sensor-accel-3d.c44 struct hid_sensor_hub_attribute_info accel[ACCEL_3D_CHANNEL_MAX]; member
127 report_id = accel_state->accel[chan->scan_index].report_id; in accel_3d_read_raw()
267 &st->accel[CHANNEL_SCAN_INDEX_X + i]); in accel_3d_parse_report()
272 st->accel[CHANNEL_SCAN_INDEX_X + i].size); in accel_3d_parse_report()
275 st->accel[0].index, in accel_3d_parse_report()
276 st->accel[0].report_id, in accel_3d_parse_report()
277 st->accel[1].index, st->accel[1].report_id, in accel_3d_parse_report()
278 st->accel[2].index, st->accel[2].report_id); in accel_3d_parse_report()
282 &st->accel[CHANNEL_SCAN_INDEX_X], in accel_3d_parse_report()
DMakefile7 obj-$(CONFIG_BMC150_ACCEL) += bmc150-accel.o
8 obj-$(CONFIG_HID_SENSOR_ACCEL_3D) += hid-sensor-accel-3d.o
/drivers/hid/
Dhid-wiimote-modules.c430 const __u8 *accel) in wiimod_accel_in_accel() argument
449 x = accel[2] << 2; in wiimod_accel_in_accel()
450 y = accel[3] << 2; in wiimod_accel_in_accel()
451 z = accel[4] << 2; in wiimod_accel_in_accel()
453 x |= (accel[0] >> 5) & 0x3; in wiimod_accel_in_accel()
454 y |= (accel[1] >> 4) & 0x2; in wiimod_accel_in_accel()
455 z |= (accel[1] >> 5) & 0x2; in wiimod_accel_in_accel()
457 input_report_abs(wdata->accel, ABS_RX, x - 0x200); in wiimod_accel_in_accel()
458 input_report_abs(wdata->accel, ABS_RY, y - 0x200); in wiimod_accel_in_accel()
459 input_report_abs(wdata->accel, ABS_RZ, z - 0x200); in wiimod_accel_in_accel()
[all …]
Dhid-wiimote.h148 struct input_dev *accel; member
195 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
267 extern void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel);
Dhid-wiimote-core.c272 void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) in wiiproto_req_accel() argument
274 accel = !!accel; in wiiproto_req_accel()
275 if (accel == !!(wdata->state.flags & WIIPROTO_FLAG_ACCEL)) in wiiproto_req_accel()
278 if (accel) in wiiproto_req_accel()
1842 input_free_device(wdata->accel); in wiimote_hid_probe()
/drivers/video/fbdev/
Dneofb.c232 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neoCalcVCLK()
233 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2230 || in neoCalcVCLK()
234 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2360 || in neoCalcVCLK()
235 info->fix.accel == FB_ACCEL_NEOMAGIC_NM2380) { in neoCalcVCLK()
974 switch (info->fix.accel) { in neofb_set_par()
1065 switch (info->fix.accel) { in neofb_set_par()
1092 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1103 if (info->fix.accel != FB_ACCEL_NEOMAGIC_NM2070) { in neofb_set_par()
1110 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2160) in neofb_set_par()
1113 if (info->fix.accel == FB_ACCEL_NEOMAGIC_NM2200 || in neofb_set_par()
[all …]
Dq40fb.c36 .accel = FB_ACCEL_NONE,
Dg364fb.c80 .accel = FB_ACCEL_NONE,
Dfm2fb.c136 .accel = FB_ACCEL_NONE,
/drivers/media/rc/
Dati_remote.c457 static const char accel[] = { 1, 2, 4, 6, 9, 13, 20 }; in ati_remote_compute_accel() local
466 acc = accel[0]; in ati_remote_compute_accel()
468 acc = accel[1]; in ati_remote_compute_accel()
470 acc = accel[2]; in ati_remote_compute_accel()
472 acc = accel[3]; in ati_remote_compute_accel()
474 acc = accel[4]; in ati_remote_compute_accel()
476 acc = accel[5]; in ati_remote_compute_accel()
478 acc = accel[6]; in ati_remote_compute_accel()
/drivers/video/fbdev/intelfb/
Dintelfbdrv.c233 static bool accel = 1; variable
246 module_param(accel, bool, S_IRUGO);
247 MODULE_PARM_DESC(accel, "Enable hardware acceleration");
357 if (get_opt_bool(this_opt, "accel", &accel)) in intelfb_setup()
618 dinfo->accel = accel; in intelfb_pci_register()
621 if (NOACCEL_CHIPSET(dinfo) && dinfo->accel == 1) { in intelfb_pci_register()
624 dinfo->accel = 0; in intelfb_pci_register()
637 if (dinfo->accel) { in intelfb_pci_register()
665 if (dinfo->accel) in intelfb_pci_register()
698 if (dinfo->accel) { in intelfb_pci_register()
[all …]
Dintelfb.h108 ((d)->accel && !(d)->ring_lockup && \
331 int accel; member
/drivers/video/fbdev/sis/
Dsis_accel.c308 if((!ivideo->accel) || (!ivideo->engineok)) in fbcon_sis_sync()
330 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_fillrect()
381 if((!ivideo->accel) || (!ivideo->engineok)) { in fbcon_sis_copyarea()
/drivers/video/fbdev/aty/
Dmach64_gx.c80 const union aty_pll *pll, u32 bpp, u32 accel) in aty_set_dac_514() argument
206 u32 accel) in aty_set_dac_ATI68860_B() argument
238 if (!accel) { in aty_set_dac_ATI68860_B()
289 u32 accel) in aty_set_dac_ATT21C498() argument
885 u32 accel) in aty_set_dac_unsupported() argument
/drivers/staging/iio/
DMakefile12 obj-y += accel/
DKconfig7 source "drivers/staging/iio/accel/Kconfig"
/drivers/staging/iio/accel/
Dadis16220_core.c241 in_supply, in_1, in_2, accel, temp enumerator
259 [accel] = { { ADIS16220_CAPT_BUFA, 16, 1 },
351 .address = accel,
/drivers/video/fbdev/via/
DMakefile7 viafb-y :=viafbdev.o hw.o via_i2c.o dvi.o lcd.o ioctl.o accel.o \
/drivers/iio/
DMakefile14 obj-y += accel/
DKconfig62 source "drivers/iio/accel/Kconfig"
/drivers/auxdisplay/
Dcfag12864bfb.c48 .accel = FB_ACCEL_NONE,
/drivers/video/fbdev/nvidia/
Dnvidia.c1183 info->fix.accel = FB_ACCEL_NV4; in nvidia_set_fbinfo()
1186 info->fix.accel = FB_ACCEL_NV_10; in nvidia_set_fbinfo()
1189 info->fix.accel = FB_ACCEL_NV_20; in nvidia_set_fbinfo()
1192 info->fix.accel = FB_ACCEL_NV_30; in nvidia_set_fbinfo()
1195 info->fix.accel = FB_ACCEL_NV_40; in nvidia_set_fbinfo()

123456