Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/misc/
Dtifm_7xx1.c21 static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, in tifm_7xx1_dummy_eject() argument
26 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject() argument
30 spin_lock_irqsave(&fm->lock, flags); in tifm_7xx1_eject()
31 fm->socket_change_set |= 1 << sock->socket_id; in tifm_7xx1_eject()
32 tifm_queue_work(&fm->media_switcher); in tifm_7xx1_eject()
33 spin_unlock_irqrestore(&fm->lock, flags); in tifm_7xx1_eject()
38 struct tifm_adapter *fm = dev_id; in tifm_7xx1_isr() local
42 spin_lock(&fm->lock); in tifm_7xx1_isr()
43 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr()
45 spin_unlock(&fm->lock); in tifm_7xx1_isr()
[all …]
Dtifm_core.c164 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() local
166 kfree(fm); in tifm_free()
177 struct tifm_adapter *fm; in tifm_alloc_adapter() local
179 fm = kzalloc(struct_size(fm, sockets, num_sockets), GFP_KERNEL); in tifm_alloc_adapter()
180 if (fm) { in tifm_alloc_adapter()
181 fm->dev.class = &tifm_adapter_class; in tifm_alloc_adapter()
182 fm->dev.parent = dev; in tifm_alloc_adapter()
183 device_initialize(&fm->dev); in tifm_alloc_adapter()
184 spin_lock_init(&fm->lock); in tifm_alloc_adapter()
185 fm->num_sockets = num_sockets; in tifm_alloc_adapter()
[all …]
/linux-6.1.9/fs/fuse/
Dxattr.c17 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_setxattr() local
22 if (fm->fc->no_setxattr) in fuse_setxattr()
33 args.in_args[0].size = fm->fc->setxattr_ext ? in fuse_setxattr()
40 err = fuse_simple_request(fm, &args); in fuse_setxattr()
42 fm->fc->no_setxattr = 1; in fuse_setxattr()
54 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_getxattr() local
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()
112 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_listxattr() local
[all …]
Dfile.c22 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, in fuse_send_open() argument
31 if (!fm->fc->atomic_o_trunc) in fuse_send_open()
34 if (fm->fc->handle_killpriv_v2 && in fuse_send_open()
48 return fuse_simple_request(fm, &args); in fuse_send_open()
57 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm) in fuse_file_alloc() argument
65 ff->fm = fm; in fuse_file_alloc()
79 ff->kh = atomic64_inc_return(&fm->fc->khctr); in fuse_file_alloc()
97 static void fuse_release_end(struct fuse_mount *fm, struct fuse_args *args, in fuse_release_end() argument
111 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put()
113 fuse_release_end(ff->fm, args, 0); in fuse_file_put()
[all …]
Dinode.c410 struct fuse_mount **fm) in fuse_ilookup() argument
422 if (fm) in fuse_ilookup()
423 *fm = fm_iter; in fuse_ilookup()
495 static void fuse_send_destroy(struct fuse_mount *fm) in fuse_send_destroy() argument
497 if (fm->fc->conn_init) { in fuse_send_destroy()
503 fuse_simple_request(fm, &args); in fuse_send_destroy()
524 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_statfs() local
529 if (!fuse_allow_current_process(fm->fc)) { in fuse_statfs()
541 err = fuse_simple_request(fm, &args); in fuse_statfs()
600 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_sync_fs() local
[all …]
Ddir.c209 struct fuse_mount *fm; in fuse_dentry_revalidate() local
231 fm = get_fuse_mount(inode); in fuse_dentry_revalidate()
238 attr_version = fuse_get_attr_version(fm->fc); in fuse_dentry_revalidate()
241 fuse_lookup_init(fm->fc, &args, get_node_id(d_inode(parent)), in fuse_dentry_revalidate()
243 ret = fuse_simple_request(fm, &args); in fuse_dentry_revalidate()
252 fuse_queue_forget(fm->fc, forget, in fuse_dentry_revalidate()
372 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_lookup_name() local
389 attr_version = fuse_get_attr_version(fm->fc); in fuse_lookup_name()
391 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg); in fuse_lookup_name()
392 err = fuse_simple_request(fm, &args); in fuse_lookup_name()
[all …]
Dioctl.c12 static ssize_t fuse_send_ioctl(struct fuse_mount *fm, struct fuse_args *args) in fuse_send_ioctl() argument
14 ssize_t ret = fuse_simple_request(fm, args); in fuse_send_ioctl()
162 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local
195 ap.pages = fuse_pages_alloc(fm->fc->max_pages, GFP_KERNEL, &ap.descs); in fuse_do_ioctl()
200 fuse_page_descs_length_init(ap.descs, 0, fm->fc->max_pages); in fuse_do_ioctl()
236 if (max_pages > fm->fc->max_pages) in fuse_do_ioctl()
273 transferred = fuse_send_ioctl(fm, &ap.args); in fuse_do_ioctl()
301 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr, in fuse_do_ioctl()
311 err = fuse_verify_ioctl_iov(fm->fc, in_iov, in_iovs); in fuse_do_ioctl()
315 err = fuse_verify_ioctl_iov(fm->fc, out_iov, out_iovs); in fuse_do_ioctl()
[all …]
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 …]
Dfuse_i.h179 struct fuse_mount *fm; member
266 void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error);
376 struct fuse_mount *fm; member
1008 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm);
1079 ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args);
1080 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args,
1120 void fuse_conn_init(struct fuse_conn *fc, struct fuse_mount *fm,
1133 void fuse_send_init(struct fuse_mount *fm);
1147 bool fuse_mount_remove(struct fuse_mount *fm);
1157 void fuse_conn_destroy(struct fuse_mount *fm);
[all …]
Ddev.c43 static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req) in fuse_request_init() argument
50 req->fm = fm; in fuse_request_init()
53 static struct fuse_req *fuse_request_alloc(struct fuse_mount *fm, gfp_t flags) in fuse_request_alloc() argument
57 fuse_request_init(fm, req); in fuse_request_alloc()
106 static struct fuse_req *fuse_get_req(struct fuse_mount *fm, bool for_background) in fuse_get_req() argument
108 struct fuse_conn *fc = fm->fc; in fuse_get_req()
130 req = fuse_request_alloc(fm, GFP_KERNEL); in fuse_get_req()
160 struct fuse_conn *fc = req->fm->fc; in fuse_put_request()
282 struct fuse_mount *fm = req->fm; in fuse_request_end() local
283 struct fuse_conn *fc = fm->fc; in fuse_request_end()
[all …]
Dvirtio_fs.c1295 struct fuse_mount *fm = get_fuse_mount_super(sb); in virtio_fs_fill_super() local
1296 struct fuse_conn *fc = fm->fc; in virtio_fs_fill_super()
1348 fuse_send_init(fm); in virtio_fs_fill_super()
1359 static void virtio_fs_conn_destroy(struct fuse_mount *fm) in virtio_fs_conn_destroy() argument
1361 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy()
1377 fuse_conn_destroy(fm); in virtio_fs_conn_destroy()
1391 struct fuse_mount *fm = get_fuse_mount_super(sb); in virtio_kill_sb() local
1396 last = fuse_mount_remove(fm); in virtio_kill_sb()
1398 virtio_fs_conn_destroy(fm); in virtio_kill_sb()
1401 fuse_mount_destroy(fm); in virtio_kill_sb()
[all …]
/linux-6.1.9/drivers/mtd/ubi/
Dfastmap.c549 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
608 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
609 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
622 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
623 fm->max_pool_size < 0) { in ubi_attach_fastmap()
624 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
628 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
629 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
631 fm->max_wl_pool_size); in ubi_attach_fastmap()
790 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
Dfastmap-wl.c464 if (ubi->fm) { in ubi_fastmap_close()
465 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close()
466 kfree(ubi->fm->e[i]); in ubi_fastmap_close()
468 kfree(ubi->fm); in ubi_fastmap_close()
482 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
/linux-6.1.9/include/linux/
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-6.1.9/sound/drivers/opl3/
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()
436 connection = fm->feedback_connection[0] & 0x01; in snd_opl3_note_on()
439 connection |= fm->feedback_connection[1] & 0x01; in snd_opl3_note_on()
466 reg_val = fm->op[i].am_vib; in snd_opl3_note_on()
476 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on()
481 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on()
486 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
492 reg_val = fm->feedback_connection[0]; in snd_opl3_note_on()
[all …]
/linux-6.1.9/sound/soc/codecs/
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-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.c35 bp, flg, fm, np) \ argument
47 .fetch_mode = fm, \
54 alpha, bp, flg, fm, np, th) \ argument
66 .fetch_mode = fm, \
74 alpha, chroma, count, bp, flg, fm, np) \ argument
86 .fetch_mode = fm, \
92 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument
104 .fetch_mode = fm, \
111 flg, fm, np, th) \ argument
123 .fetch_mode = fm, \
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/
Dtc.c135 struct flow_match_control fm; in efx_tc_flower_parse_match() local
137 flow_rule_match_control(rule, &fm); in efx_tc_flower_parse_match()
139 if (fm.mask->flags) { in efx_tc_flower_parse_match()
141 fm.mask->flags); in efx_tc_flower_parse_match()
155 struct flow_match_basic fm; in efx_tc_flower_parse_match() local
157 flow_rule_match_basic(rule, &fm); in efx_tc_flower_parse_match()
158 if (fm.mask->n_proto) { in efx_tc_flower_parse_match()
162 if (fm.mask->ip_proto) { in efx_tc_flower_parse_match()
/linux-6.1.9/drivers/regulator/
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-6.1.9/Documentation/userspace-api/media/v4l/
Dcommon.rst51 ext-ctrls-fm-tx
52 ext-ctrls-fm-rx
/linux-6.1.9/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c193 void *fm; member
375 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources()
648 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init()
678 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init()
712 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init()
776 tgec->fm = params->fm; in tgec_config()
779 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
Dfman_dtsec.c318 void *fm; member
754 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr()
803 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
805 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
1320 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init()
1368 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init()
1391 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1394 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1459 dtsec->fm = params->fm; in dtsec_config()
1463 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
Dfman_memac.c324 void *fm; member
665 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
668 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources()
1065 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init()
1086 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1089 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init()
1145 memac->fm = params->fm; in memac_config()
1149 fman_get_revision(memac->fm, &memac->fm_rev_info); in memac_config()
/linux-6.1.9/drivers/media/pci/ddbridge/
Dddbridge-max.c355 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) in ddb_lnb_init_fmode() argument
359 if (link->lnb.fmode == fm) in ddb_lnb_init_fmode()
361 dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm); in ddb_lnb_init_fmode()
363 if (fm == 2 || fm == 1) { in ddb_lnb_init_fmode()
385 link->lnb.fmode = fm; in ddb_lnb_init_fmode()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmd.c514 u32 *fm; in vmw_cmd_send_fence() local
518 fm = VMW_CMD_RESERVE(dev_priv, bytes); in vmw_cmd_send_fence()
519 if (unlikely(fm == NULL)) { in vmw_cmd_send_fence()
542 *fm++ = SVGA_CMD_FENCE; in vmw_cmd_send_fence()
543 cmd_fence = (struct svga_fifo_cmd_fence *) fm; in vmw_cmd_send_fence()

123