Home
last modified time | relevance | path

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

12

/drivers/input/
Dff-core.c21 static int check_effect_access(struct ff_device *ff, int effect_id, in check_effect_access() argument
24 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()
25 !ff->effect_owners[effect_id]) in check_effect_access()
28 if (file && ff->effect_owners[effect_id] != file) in check_effect_access()
48 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() argument
54 if (!test_bit(FF_PERIODIC, ff->ffbit)) in compat_effect()
92 struct ff_device *ff = dev->ff; in input_ff_upload() local
114 if (!test_bit(effect->type, ff->ffbit)) { in input_ff_upload()
115 ret = compat_effect(ff, effect); in input_ff_upload()
120 mutex_lock(&ff->mutex); in input_ff_upload()
[all …]
Dff-memless.c195 static int get_compatible_type(struct ff_device *ff, int effect_type) in get_compatible_type() argument
198 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type()
201 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type()
352 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect()
418 struct ml_device *ml = dev->ff->private; in ml_ff_set_gain()
434 struct ml_device *ml = dev->ff->private; in ml_ff_playback()
465 struct ml_device *ml = dev->ff->private; in ml_ff_upload()
485 static void ml_ff_destroy(struct ff_device *ff) in ml_ff_destroy() argument
487 struct ml_device *ml = ff->private; in ml_ff_destroy()
511 struct ff_device *ff; in input_ff_create_memless() local
[all …]
DMakefile9 input-core-y := input.o input-compat.o input-mt.o input-poller.o ff-core.o
12 obj-$(CONFIG_INPUT_FF_MEMLESS) += ff-memless.o
/drivers/clk/mediatek/
Dclk-mtk.c144 const struct mtk_fixed_factor *ff = &clks[i]; in mtk_clk_register_factors() local
146 if (!IS_ERR_OR_NULL(clk_data->hws[ff->id])) { in mtk_clk_register_factors()
147 pr_warn("Trying to register duplicate clock ID: %d\n", ff->id); in mtk_clk_register_factors()
151 hw = clk_hw_register_fixed_factor(NULL, ff->name, ff->parent_name, in mtk_clk_register_factors()
152 CLK_SET_RATE_PARENT, ff->mult, ff->div); in mtk_clk_register_factors()
155 pr_err("Failed to register clk %s: %pe\n", ff->name, in mtk_clk_register_factors()
160 clk_data->hws[ff->id] = hw; in mtk_clk_register_factors()
167 const struct mtk_fixed_factor *ff = &clks[i]; in mtk_clk_register_factors() local
169 if (IS_ERR_OR_NULL(clk_data->hws[ff->id])) in mtk_clk_register_factors()
172 clk_hw_unregister_fixed_factor(clk_data->hws[ff->id]); in mtk_clk_register_factors()
[all …]
/drivers/input/joystick/iforce/
Diforce-main.c192 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
215 struct ff_device *ff; in iforce_init_device() local
372 for (i = 0; iforce->type->ff[i] >= 0; i++) in iforce_init_device()
373 set_bit(iforce->type->ff[i], input_dev->ffbit); in iforce_init_device()
379 ff = input_dev->ff; in iforce_init_device()
380 ff->upload = iforce_upload_effect; in iforce_init_device()
381 ff->erase = iforce_erase_effect; in iforce_init_device()
382 ff->set_gain = iforce_set_gain; in iforce_init_device()
383 ff->set_autocenter = iforce_set_autocenter; in iforce_init_device()
384 ff->playback = iforce_playback; in iforce_init_device()
Diforce-packets.c104 if (!iforce->dev->ff) in mark_core_as_ready()
107 for (i = 0; i < iforce->dev->ff->max_effects; ++i) { in mark_core_as_ready()
DMakefile9 iforce-y := iforce-ff.o iforce-main.o iforce-packets.o
DKconfig32 and <file:Documentation/input/ff.rst>.
Diforce.h72 signed short *ff; member
/drivers/clk/pistachio/
Dclk.c108 struct pistachio_fixed_factor *ff, in pistachio_clk_register_fixed_factor() argument
115 clk = clk_register_fixed_factor(NULL, ff[i].name, ff[i].parent, in pistachio_clk_register_fixed_factor()
116 0, 1, ff[i].div); in pistachio_clk_register_fixed_factor()
117 p->clk_data.clks[ff[i].id] = clk; in pistachio_clk_register_fixed_factor()
Dclk.h162 struct pistachio_fixed_factor *ff,
/drivers/video/fbdev/
Dpxa168fb.h408 #define DMA_FF_UNDERFLOW_ENA(ff) ((ff) << 29) argument
414 #define GRA_FF_UNDERFLOW_ENA(ff) ((ff) << 25) argument
441 #define DMA_FF_UNDERFLOW(ff) ((ff) << 29) argument
447 #define GRA_FF_UNDERFLOW(ff) ((ff) << 25) argument
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h640 #define DMA_FF_UNDERFLOW_ENA(ff) ((ff)<<29) argument
648 #define GRA_FF_UNDERFLOW_ENA(ff) ((ff)<<25) argument
690 #define PN2_DMA_FF_UNDERFLOW_ENA(ff) ((ff)<<5) argument
696 #define PN2_GRA_FF_UNDERFLOW_ENA(ff) ((ff)<<1) argument
749 #define DMA_FF_UNDERFLOW(ff) ((ff)<<29) argument
757 #define GRA_FF_UNDERFLOW(ff) ((ff)<<25) argument
793 #define PN2_DMA_FF_UNDERFLOW(ff) ((ff)<<5) argument
799 #define PN2_GRA_FF_UNDERFLOW(ff) ((ff)<<1) argument
/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c1014 struct fimc_frame *ff = &ctx->d_frame; in __fimc_capture_set_format() local
1021 ret = __video_try_or_set_format(fimc, f, false, &inp_fmt, &ff->fmt); in __fimc_capture_set_format()
1028 for (i = 0; i < ff->fmt->memplanes; i++) { in __fimc_capture_set_format()
1029 ff->bytesperline[i] = pix->plane_fmt[i].bytesperline; in __fimc_capture_set_format()
1030 ff->payload[i] = pix->plane_fmt[i].sizeimage; in __fimc_capture_set_format()
1033 set_frame_bounds(ff, pix->width, pix->height); in __fimc_capture_set_format()
1036 set_frame_crop(ff, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1038 fimc_capture_mark_jpeg_xfer(ctx, ff->fmt->color); in __fimc_capture_set_format()
1130 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate() local
1131 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
[all …]
Dfimc-core.h518 static inline u32 fimc_get_format_depth(struct fimc_fmt *ff) in fimc_get_format_depth() argument
522 if (ff != NULL) in fimc_get_format_depth()
523 for (i = 0; i < ff->colplanes; i++) in fimc_get_format_depth()
524 depth += ff->depth[i]; in fimc_get_format_depth()
/drivers/hid/usbhid/
Dhid-pidff.c513 struct pidff_device *pidff = dev->ff->private; in pidff_playback()
535 struct pidff_device *pidff = dev->ff->private; in pidff_erase_effect()
555 struct pidff_device *pidff = dev->ff->private; in pidff_upload_effect()
712 struct pidff_device *pidff = dev->ff->private; in pidff_set_gain()
750 struct pidff_device *pidff = dev->ff->private; in pidff_set_autocenter()
1232 struct ff_device *ff; in hid_pidff_init() local
1305 ff = dev->ff; in hid_pidff_init()
1306 ff->private = pidff; in hid_pidff_init()
1307 ff->upload = pidff_upload_effect; in hid_pidff_init()
1308 ff->erase = pidff_erase_effect; in hid_pidff_init()
[all …]
/drivers/hid/
Dhid-lgff.c28 const signed short *ff; member
138 ff_bits = devices[i].ff; in lgff_init()
151 dev->ff->set_autocenter = hid_lgff_set_autocenter; in lgff_init()
Dhid-logitech-hidpp.c2339 struct hidpp_ff_private_data *data = dev->ff->private; in hidpp_ff_upload_effect()
2485 struct hidpp_ff_private_data *data = dev->ff->private; in hidpp_ff_playback()
2497 struct hidpp_ff_private_data *data = dev->ff->private; in hidpp_ff_erase_effect()
2507 struct hidpp_ff_private_data *data = dev->ff->private; in hidpp_ff_set_autocenter()
2529 struct hidpp_ff_private_data *data = dev->ff->private; in hidpp_ff_set_gain()
2547 struct hidpp_ff_private_data *data = idev->ff->private; in hidpp_ff_range_show()
2557 struct hidpp_ff_private_data *data = idev->ff->private; in hidpp_ff_range_store()
2573 static void hidpp_ff_destroy(struct ff_device *ff) in hidpp_ff_destroy() argument
2575 struct hidpp_ff_private_data *data = ff->private; in hidpp_ff_destroy()
2593 struct ff_device *ff; in hidpp_ff_init() local
[all …]
Dhid-lg3ff.c146 dev->ff->set_autocenter = hid_lg3ff_set_autocenter; in lg3ff_init()
/drivers/input/misc/
Duinput.c348 dev->ff->upload = uinput_dev_upload_effect; in uinput_create_device()
349 dev->ff->erase = uinput_dev_erase_effect; in uinput_create_device()
350 dev->ff->playback = uinput_dev_playback; in uinput_create_device()
351 dev->ff->set_gain = uinput_dev_set_gain; in uinput_create_device()
352 dev->ff->set_autocenter = uinput_dev_set_autocenter; in uinput_create_device()
Dda7280.c1150 struct ff_device *ff; in da7280_probe() local
1241 ff = input_dev->ff; in da7280_probe()
1242 ff->upload = da7280_haptics_upload_effect; in da7280_probe()
1243 ff->playback = da7280_haptics_playback; in da7280_probe()
/drivers/usb/class/
DKconfig15 If your modem only reports "Cls=ff(vend.)" in the descriptors in
/drivers/infiniband/hw/hfi1/
Dfirmware.c466 struct firmware_file *ff = (struct firmware_file *) in obtain_one_firmware() local
474 fdet->modulus = ff->modulus; in obtain_one_firmware()
475 fdet->exponent = ff->exponent; in obtain_one_firmware()
476 fdet->signature = ff->signature; in obtain_one_firmware()
479 fdet->firmware_ptr = ff->firmware; in obtain_one_firmware()
/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_dvbt2.h327 u8 ff; member
/drivers/scsi/fcoe/
Dfcoe_ctlr.c2025 struct fip_fc4_feat *ff; in fcoe_ctlr_vn_send() local
2082 ff = (struct fip_fc4_feat *)(frame + 1); in fcoe_ctlr_vn_send()
2083 ff->fd_desc.fip_dtype = FIP_DT_FC4F; in fcoe_ctlr_vn_send()
2084 ff->fd_desc.fip_dlen = sizeof(*ff) / FIP_BPW; in fcoe_ctlr_vn_send()
2085 ff->fd_fts = fip->lp->fcts; in fcoe_ctlr_vn_send()
2093 ff->fd_ff.fd_feat[FC_TYPE_FCP * 4 / 32] = htonl(fcp_feat); in fcoe_ctlr_vn_send()
2095 size = (struct fip_size_desc *)(ff + 1); in fcoe_ctlr_vn_send()

12