Home
last modified time | relevance | path

Searched refs:ff (Results 1 – 25 of 30) sorted by relevance

12

/drivers/input/
Dff-core.c38 static int check_effect_access(struct ff_device *ff, int effect_id, in check_effect_access() argument
41 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
42 !ff->effect_owners[effect_id]) in check_effect_access()
45 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
65 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() argument
71 if (!test_bit(FF_PERIODIC, ff->ffbit)) in compat_effect()
109 struct ff_device *ff = dev->ff; in input_ff_upload() local
131 if (!test_bit(effect->type, ff->ffbit)) { in input_ff_upload()
132 ret = compat_effect(ff, effect); in input_ff_upload()
137 mutex_lock(&ff->mutex); in input_ff_upload()
[all …]
Dff-memless.c210 static int get_compatible_type(struct ff_device *ff, int effect_type) in get_compatible_type() argument
213 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type()
216 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type()
355 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
406 struct ml_device *ml = dev->ff->private; in ml_effect_timer()
421 struct ml_device *ml = dev->ff->private; in ml_ff_set_gain()
437 struct ml_device *ml = dev->ff->private; in ml_ff_playback()
468 struct ml_device *ml = dev->ff->private; in ml_ff_upload()
488 static void ml_ff_destroy(struct ff_device *ff) in ml_ff_destroy() argument
490 struct ml_device *ml = ff->private; in ml_ff_destroy()
[all …]
DMakefile8 input-core-y := input.o input-compat.o input-mt.o ff-core.o
10 obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
/drivers/fmc/
Dfmc-fakedev.c141 struct ff_dev *ff = ff_current_dev; in ff_work_fn() local
144 fmc_device_unregister_n(ff->fmc, ff_nr_dev); in ff_work_fn()
145 device_unregister(&ff->dev); in ff_work_fn()
148 ff = ff_dev_create(); in ff_work_fn()
149 if (IS_ERR(ff)) { in ff_work_fn()
153 ret = fmc_device_register_n(ff->fmc, ff_nr_dev); in ff_work_fn()
155 dev_warn(&ff->dev, "can't re-register FMC devices\n"); in ff_work_fn()
156 device_unregister(&ff->dev); in ff_work_fn()
160 ff_current_dev = ff; in ff_work_fn()
247 struct ff_dev *ff = container_of(dev, struct ff_dev, dev); in ff_dev_release() local
[all …]
/drivers/input/joystick/iforce/
Diforce-main.c224 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
259 struct ff_device *ff; in iforce_init_device() local
431 for (i = 0; iforce->type->ff[i] >= 0; i++) in iforce_init_device()
432 set_bit(iforce->type->ff[i], input_dev->ffbit); in iforce_init_device()
438 ff = input_dev->ff; in iforce_init_device()
439 ff->upload = iforce_upload_effect; in iforce_init_device()
440 ff->erase = iforce_erase_effect; in iforce_init_device()
441 ff->set_gain = iforce_set_gain; in iforce_init_device()
442 ff->set_autocenter = iforce_set_autocenter; in iforce_init_device()
443 ff->playback = iforce_playback; in iforce_init_device()
DMakefile9 iforce-y := iforce-ff.o iforce-main.o iforce-packets.o
Diforce-packets.c141 if (!iforce->dev->ff) in mark_core_as_ready()
144 for (i = 0; i < iforce->dev->ff->max_effects; ++i) { in mark_core_as_ready()
DKconfig31 and <file:Documentation/input/ff.txt>.
Diforce.h97 signed short *ff; member
/drivers/pci/pcie/aer/
Daerdrv_acpi.c66 int ff; in aer_hest_parse() local
72 ff = !!(p->flags & ACPI_HEST_FIRMWARE_FIRST); in aer_hest_parse()
79 info->firmware_first |= ff; in aer_hest_parse()
86 info->firmware_first = ff; in aer_hest_parse()
89 info->firmware_first = ff; in aer_hest_parse()
/drivers/video/fbdev/
Dpxa168fb.h407 #define DMA_FF_UNDERFLOW_ENA(ff) ((ff) << 29) argument
413 #define GRA_FF_UNDERFLOW_ENA(ff) ((ff) << 25) argument
440 #define DMA_FF_UNDERFLOW(ff) ((ff) << 29) argument
446 #define GRA_FF_UNDERFLOW(ff) ((ff) << 25) argument
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h654 #define DMA_FF_UNDERFLOW_ENA(ff) ((ff)<<29) argument
662 #define GRA_FF_UNDERFLOW_ENA(ff) ((ff)<<25) argument
704 #define PN2_DMA_FF_UNDERFLOW_ENA(ff) ((ff)<<5) argument
710 #define PN2_GRA_FF_UNDERFLOW_ENA(ff) ((ff)<<1) argument
763 #define DMA_FF_UNDERFLOW(ff) ((ff)<<29) argument
771 #define GRA_FF_UNDERFLOW(ff) ((ff)<<25) argument
807 #define PN2_DMA_FF_UNDERFLOW(ff) ((ff)<<5) argument
813 #define PN2_GRA_FF_UNDERFLOW(ff) ((ff)<<1) argument
/drivers/media/platform/exynos4-is/
Dfimc-capture.c1034 struct fimc_frame *ff = &ctx->d_frame; in __fimc_capture_set_format() local
1041 ret = __video_try_or_set_format(fimc, f, false, &inp_fmt, &ff->fmt); in __fimc_capture_set_format()
1048 for (i = 0; i < ff->fmt->memplanes; i++) { in __fimc_capture_set_format()
1049 ff->bytesperline[i] = pix->plane_fmt[i].bytesperline; in __fimc_capture_set_format()
1050 ff->payload[i] = pix->plane_fmt[i].sizeimage; in __fimc_capture_set_format()
1053 set_frame_bounds(ff, pix->width, pix->height); in __fimc_capture_set_format()
1056 set_frame_crop(ff, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1058 fimc_capture_mark_jpeg_xfer(ctx, ff->fmt->color); in __fimc_capture_set_format()
1150 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate() local
1151 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-core.h527 static inline u32 fimc_get_format_depth(struct fimc_fmt *ff) in fimc_get_format_depth() argument
531 if (ff != NULL) in fimc_get_format_depth()
532 for (i = 0; i < ff->colplanes; i++) in fimc_get_format_depth()
533 depth += ff->depth[i]; in fimc_get_format_depth()
Dfimc-lite.c803 struct flite_frame *ff = &fimc->out_frame; in fimc_pipeline_validate() local
804 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
805 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
/drivers/hid/usbhid/
Dhid-pidff.c525 struct pidff_device *pidff = dev->ff->private; in pidff_playback()
547 struct pidff_device *pidff = dev->ff->private; in pidff_erase_effect()
567 struct pidff_device *pidff = dev->ff->private; in pidff_upload_effect()
718 struct pidff_device *pidff = dev->ff->private; in pidff_set_gain()
756 struct pidff_device *pidff = dev->ff->private; in pidff_set_autocenter()
1238 struct ff_device *ff; in hid_pidff_init() local
1308 ff = dev->ff; in hid_pidff_init()
1309 ff->private = pidff; in hid_pidff_init()
1310 ff->upload = pidff_upload_effect; in hid_pidff_init()
1311 ff->erase = pidff_erase_effect; in hid_pidff_init()
[all …]
/drivers/hid/
Dhid-lgff.c40 const signed short *ff; member
143 ff_bits = devices[i].ff; in lgff_init()
156 dev->ff->set_autocenter = hid_lgff_set_autocenter; in lgff_init()
Dhid-lg4ff.c642 dev->ff->set_autocenter = hid_lg4ff_set_autocenter_ffex; in lg4ff_init()
644 dev->ff->set_autocenter = hid_lg4ff_set_autocenter_default; in lg4ff_init()
646 dev->ff->set_autocenter(dev, 0); in lg4ff_init()
Dhid-lg3ff.c151 dev->ff->set_autocenter = hid_lg3ff_set_autocenter; in lg3ff_init()
/drivers/input/misc/
Duinput.c271 dev->ff->upload = uinput_dev_upload_effect; in uinput_create_device()
272 dev->ff->erase = uinput_dev_erase_effect; in uinput_create_device()
273 dev->ff->playback = uinput_dev_playback; in uinput_create_device()
274 dev->ff->set_gain = uinput_dev_set_gain; in uinput_create_device()
275 dev->ff->set_autocenter = uinput_dev_set_autocenter; in uinput_create_device()
/drivers/usb/class/
DKconfig14 If your modem only reports "Cls=ff(vend.)" in the descriptors in
/drivers/scsi/fcoe/
Dfcoe_ctlr.c1998 struct fip_fc4_feat *ff; in fcoe_ctlr_vn_send() local
2055 ff = (struct fip_fc4_feat *)(frame + 1); in fcoe_ctlr_vn_send()
2056 ff->fd_desc.fip_dtype = FIP_DT_FC4F; in fcoe_ctlr_vn_send()
2057 ff->fd_desc.fip_dlen = sizeof(*ff) / FIP_BPW; in fcoe_ctlr_vn_send()
2058 ff->fd_fts = fip->lp->fcts; in fcoe_ctlr_vn_send()
2066 ff->fd_ff.fd_feat[FC_TYPE_FCP * 4 / 32] = htonl(fcp_feat); in fcoe_ctlr_vn_send()
2068 size = (struct fip_size_desc *)(ff + 1); in fcoe_ctlr_vn_send()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c2269 int i, ff; in bnx2x_set_admin_app_up() local
2272 for (i = 0, ff = -1; i < DCBX_CONFIG_MAX_APP_PROTOCOL; i++) { in bnx2x_set_admin_app_up()
2278 if (ff < 0 && !app_ent->valid) in bnx2x_set_admin_app_up()
2279 ff = i; in bnx2x_set_admin_app_up()
2285 else if (ff >= 0) in bnx2x_set_admin_app_up()
2288 &bp->dcbx_config_params.admin_priority_app_table[ff], in bnx2x_set_admin_app_up()
/drivers/zorro/
Dzorro.ids54 02ff Kolff Computer Supplies
84 03ff ASDG
/drivers/tty/vt/
Dcp437.uni177 0x98 U+00ff

12