Home
last modified time | relevance | path

Searched refs:fm (Results 1 – 25 of 63) sorted by relevance

123

/linux/drivers/misc/
A Dtifm_7xx1.c42 spin_lock(&fm->lock); in tifm_7xx1_isr()
45 spin_unlock(&fm->lock); in tifm_7xx1_isr()
67 if (fm->finish_me) in tifm_7xx1_isr()
74 spin_unlock(&fm->lock); in tifm_7xx1_isr()
164 dev_name(&fm->dev), fm->id, cnt); in tifm_7xx1_switch_media()
219 if (fm->sockets[cnt]) in tifm_7xx1_suspend()
278 fm->socket_change_set ^= good_sockets & fm->socket_change_set; in tifm_7xx1_resume()
334 if (!fm) { in tifm_7xx1_probe()
345 if (!fm->addr) { in tifm_7xx1_probe()
367 iounmap(fm->addr); in tifm_7xx1_probe()
[all …]
A Dtifm_core.c166 kfree(fm); in tifm_free()
179 fm = kzalloc(struct_size(fm, sockets, num_sockets), GFP_KERNEL); in tifm_alloc_adapter()
180 if (fm) { in tifm_alloc_adapter()
182 fm->dev.parent = dev; in tifm_alloc_adapter()
187 return fm; in tifm_alloc_adapter()
199 fm->id = rc; in tifm_add_adapter()
205 dev_set_name(&fm->dev, "tifm%u", fm->id); in tifm_add_adapter()
230 device_del(&fm->dev); in tifm_remove_adapter()
236 put_device(&fm->dev); in tifm_free_adapter()
281 fm->eject(fm, sock); in tifm_eject()
[all …]
/linux/fs/fuse/
A Dxattr.c22 if (fm->fc->no_setxattr) in fuse_setxattr()
40 err = fuse_simple_request(fm, &args); in fuse_setxattr()
42 fm->fc->no_setxattr = 1; in fuse_setxattr()
60 if (fm->fc->no_getxattr) in fuse_getxattr()
82 ret = fuse_simple_request(fm, &args); in fuse_getxattr()
86 fm->fc->no_getxattr = 1; in fuse_getxattr()
124 if (fm->fc->no_listxattr) in fuse_listxattr()
144 ret = fuse_simple_request(fm, &args); in fuse_listxattr()
150 fm->fc->no_listxattr = 1; in fuse_listxattr()
162 if (fm->fc->no_removexattr) in fuse_removexattr()
[all …]
A Dfile.c65 ff->fm = fm; in fuse_file_alloc()
111 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put()
495 if (fm->fc->no_flush) in fuse_flush()
510 fm->fc->no_flush = 1; in fuse_flush()
771 struct fuse_mount *fm = ff->fm; in fuse_send_read() local
920 struct fuse_mount *fm = ff->fm; in fuse_send_readpages() local
1050 struct fuse_mount *fm = ff->fm; in fuse_send_write() local
1097 struct fuse_mount *fm = ff->fm; in fuse_send_write_pages() local
2732 struct fuse_mount *fm = ff->fm; in fuse_file_poll() local
2927 struct fuse_mount *fm = ff->fm; in fuse_file_fallocate() local
[all …]
A Dinode.c414 if (fm) in fuse_ilookup()
415 *fm = fm_iter; in fuse_ilookup()
835 fm->fc = fc; in fuse_conn_init()
1224 if (fm->fc->dax) in fuse_send_init()
1409 fm->sb = sb; in fuse_fill_super_submount()
1448 if (!fm) in fuse_get_tree_submount()
1452 fsc->s_fs_info = fm; in fuse_get_tree_submount()
1530 fm->sb = sb; in fuse_fill_super_common()
1644 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in fuse_get_tree()
1645 if (!fm) { in fuse_get_tree()
[all …]
A Ddir.c200 struct fuse_mount *fm; in fuse_dentry_revalidate() local
222 fm = get_fuse_mount(inode); in fuse_dentry_revalidate()
243 fuse_queue_forget(fm->fc, forget, in fuse_dentry_revalidate()
489 ff = fuse_file_alloc(fm); in fuse_create_open()
493 if (!fm->fc->dont_mask) in fuse_create_open()
681 if (!fm->fc->dont_mask) in fuse_mknod()
710 if (!fm->fc->dont_mask) in fuse_mkdir()
1160 if (fm->fc->no_access) in fuse_access()
1172 fm->fc->no_access = 1; in fuse_access()
1521 if (fm->fc->minor >= 23) { in fuse_flush_times()
[all …]
A Dioctl.c151 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local
189 fuse_page_descs_length_init(ap.descs, 0, fm->fc->max_pages); in fuse_do_ioctl()
225 if (max_pages > fm->fc->max_pages) in fuse_do_ioctl()
262 transferred = fuse_simple_request(fm, &ap.args); in fuse_do_ioctl()
290 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr, in fuse_do_ioctl()
300 err = fuse_verify_ioctl_iov(fm->fc, in_iov, in_iovs); in fuse_do_ioctl()
304 err = fuse_verify_ioctl_iov(fm->fc, out_iov, out_iovs); in fuse_do_ioctl()
362 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl() local
396 err = fuse_simple_request(fm, &args); in fuse_priv_ioctl()
405 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_priv_ioctl_prepare() local
[all …]
A Dcuse.c60 struct fuse_mount fm; /* Dummy mount referencing fc */ member
138 rc = fuse_do_open(&cc->fm, 0, file, 0); in cuse_open()
147 struct fuse_mount *fm = ff->fm; in cuse_release() local
150 fuse_conn_put(fm->fc); in cuse_release()
159 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_ioctl()
172 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_compat_ioctl()
317 static void cuse_process_init_reply(struct fuse_mount *fm, in cuse_process_init_reply() argument
320 struct fuse_conn *fc = fm->fc; in cuse_process_init_reply()
429 struct fuse_mount *fm = &cc->fm; in cuse_send_init() local
465 rc = fuse_simple_background(fm, &ap->args, GFP_KERNEL); in cuse_send_init()
[all …]
A Ddev.c50 req->fm = fm; in fuse_request_init()
57 fuse_request_init(fm, req); in fuse_request_alloc()
108 struct fuse_conn *fc = fm->fc; in fuse_get_req()
282 struct fuse_mount *fm = req->fm; in fuse_request_end() local
283 struct fuse_conn *fc = fm->fc; in fuse_request_end()
489 struct fuse_conn *fc = fm->fc; in fuse_simple_request()
528 struct fuse_mount *fm = req->fm; in fuse_request_queue_background() local
529 struct fuse_conn *fc = fm->fc; in fuse_request_queue_background()
569 req = fuse_get_req(fm, true); in fuse_simple_background()
592 req = fuse_get_req(fm, false); in fuse_simple_notify_reply()
[all …]
A Dfuse_i.h179 struct fuse_mount *fm; member
265 void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error);
375 struct fuse_mount *fm; member
983 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm);
1095 void fuse_conn_init(struct fuse_conn *fc, struct fuse_mount *fm,
1108 void fuse_send_init(struct fuse_mount *fm);
1122 bool fuse_mount_remove(struct fuse_mount *fm);
1132 void fuse_conn_destroy(struct fuse_mount *fm);
1135 void fuse_mount_destroy(struct fuse_mount *fm);
1179 struct fuse_mount **fm);
[all …]
A Dcontrol.c167 struct fuse_mount *fm; in fuse_conn_congestion_threshold_write() local
188 fm = list_first_entry(&fc->mounts, struct fuse_mount, fc_entry); in fuse_conn_congestion_threshold_write()
190 clear_bdi_congested(fm->sb->s_bdi, BLK_RW_SYNC); in fuse_conn_congestion_threshold_write()
191 clear_bdi_congested(fm->sb->s_bdi, BLK_RW_ASYNC); in fuse_conn_congestion_threshold_write()
193 set_bdi_congested(fm->sb->s_bdi, BLK_RW_SYNC); in fuse_conn_congestion_threshold_write()
194 set_bdi_congested(fm->sb->s_bdi, BLK_RW_ASYNC); in fuse_conn_congestion_threshold_write()
A Dvirtio_fs.c1298 struct fuse_conn *fc = fm->fc; in virtio_fs_fill_super()
1350 fuse_send_init(fm); in virtio_fs_fill_super()
1363 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy()
1379 fuse_conn_destroy(fm); in virtio_fs_conn_destroy()
1398 last = fuse_mount_remove(fm); in virtio_kill_sb()
1400 virtio_fs_conn_destroy(fm); in virtio_kill_sb()
1403 fuse_mount_destroy(fm); in virtio_kill_sb()
1420 struct fuse_mount *fm; in virtio_fs_get_tree() local
1444 if (!fm) in virtio_fs_get_tree()
1457 fsc->s_fs_info = fm; in virtio_fs_get_tree()
[all …]
/linux/drivers/mtd/ubi/
A Dfastmap.c888 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in ubi_scan_fastmap()
889 if (!fm) { in ubi_scan_fastmap()
1067 ubi->fm = fm; in ubi_scan_fastmap()
1090 kfree(fm); in ubi_scan_fastmap()
1462 if (!ubi->fm) in invalidate_fastmap()
1468 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in invalidate_fastmap()
1469 if (!fm) in invalidate_fastmap()
1495 fm->e[0] = e; in invalidate_fastmap()
1497 ubi->fm = fm; in invalidate_fastmap()
1504 kfree(fm); in invalidate_fastmap()
[all …]
A Dfastmap-wl.c389 if (ubi->fm) { in ubi_fastmap_close()
390 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
391 kfree(ubi->fm->e[i]); in ubi_fastmap_close()
393 kfree(ubi->fm); in ubi_fastmap_close()
407 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
/linux/include/linux/
A Dtifm.h122 void (*eject)(struct tifm_adapter *fm,
124 int (*has_ms_pif)(struct tifm_adapter *fm,
132 int tifm_add_adapter(struct tifm_adapter *fm);
133 void tifm_remove_adapter(struct tifm_adapter *fm);
134 void tifm_free_adapter(struct tifm_adapter *fm);
137 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id,
/linux/sound/drivers/opl3/
A Dopl3_midi.c300 struct fm_instrument *fm; in snd_opl3_note_on() local
346 fm = &patch->inst; in snd_opl3_note_on()
434 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on()
466 reg_val = fm->op[i].am_vib; in snd_opl3_note_on()
486 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
521 if (fm->fix_key) in snd_opl3_note_on()
522 note = fm->fix_key; in snd_opl3_note_on()
526 if (fm->trnsps) in snd_opl3_note_on()
527 note += (fm->trnsps - 64); in snd_opl3_note_on()
548 if (fm->fix_dur) { in snd_opl3_note_on()
[all …]
/linux/sound/soc/codecs/
A Dcs42xx8.c269 u32 fm[2]; in cs42xx8_hw_params() local
285 fm[i] = CS42XX8_FM_AUTO; in cs42xx8_hw_params()
288 fm[i] = CS42XX8_FM_SINGLE; in cs42xx8_hw_params()
290 fm[i] = CS42XX8_FM_DOUBLE; in cs42xx8_hw_params()
292 fm[i] = CS42XX8_FM_QUAD; in cs42xx8_hw_params()
303 condition1 = ((fm[tx] == CS42XX8_FM_AUTO) ? in cs42xx8_hw_params()
307 (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) && in cs42xx8_hw_params()
315 condition2 = ((fm[!tx] == CS42XX8_FM_AUTO) ? in cs42xx8_hw_params()
319 (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx])); in cs42xx8_hw_params()
344 CS42XX8_FUNCMOD_xC_FM(tx, fm[tx]) | val); in cs42xx8_hw_params()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_formats.c34 bp, flg, fm, np) \ argument
46 .fetch_mode = fm, \
53 alpha, bp, flg, fm, np, th) \ argument
65 .fetch_mode = fm, \
85 .fetch_mode = fm, \
103 .fetch_mode = fm, \
122 .fetch_mode = fm, \
140 .fetch_mode = fm, \
159 .fetch_mode = fm, \
167 flg, fm, np) \ argument
[all …]
/linux/drivers/net/ethernet/freescale/fman/
A Dfman_tgec.c219 void *fm; member
401 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources()
694 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init()
724 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init()
758 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init()
823 tgec->fm = params->fm; in tgec_config()
826 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
A Dfman_dtsec.c344 void *fm; member
780 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr()
829 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
831 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
1396 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init()
1444 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init()
1467 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1470 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1537 dtsec->fm = params->fm; in dtsec_config()
1554 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
A Dfman_memac.c350 void *fm; member
691 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
694 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
1111 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init()
1132 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1135 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1192 memac->fm = params->fm; in memac_config()
1196 fman_get_revision(memac->fm, &memac->fm_rev_info); in memac_config()
/linux/drivers/regulator/
A Dqcom_rpm-regulator.c32 struct request_member fm; /* force mode */ member
45 (((reg)->parts->fm.mask >> (reg)->parts->fm.shift) == 3)
69 .fm = { 0, 0x03000000, 24 },
80 .fm = { 0, 0x03000000, 24 },
114 .fm = { 1, 0x00700000, 20 },
125 .fm = { 1, 0x00700000, 20 },
714 if (vreg->parts->fm.mask) { in rpm_reg_of_parse()
761 ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode); in rpm_reg_of_parse()
/linux/drivers/media/pci/ddbridge/
A Dddbridge-max.c364 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) in ddb_lnb_init_fmode() argument
368 if (link->lnb.fmode == fm) in ddb_lnb_init_fmode()
370 dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm); in ddb_lnb_init_fmode()
372 if (fm == 2 || fm == 1) { in ddb_lnb_init_fmode()
394 link->lnb.fmode = fm; in ddb_lnb_init_fmode()
/linux/Documentation/userspace-api/media/v4l/
A Dcommon.rst51 ext-ctrls-fm-tx
52 ext-ctrls-fm-rx
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_cmd.c507 u32 *fm; in vmw_cmd_send_fence() local
511 fm = VMW_CMD_RESERVE(dev_priv, bytes); in vmw_cmd_send_fence()
512 if (unlikely(fm == NULL)) { in vmw_cmd_send_fence()
535 *fm++ = SVGA_CMD_FENCE; in vmw_cmd_send_fence()
536 cmd_fence = (struct svga_fifo_cmd_fence *) fm; in vmw_cmd_send_fence()

Completed in 76 milliseconds

123