Home
last modified time | relevance | path

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

123

/linux/drivers/misc/
H A 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 …]
H A 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/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c101 struct flow_match_control fm; in efx_tc_ct_parse_match() local
103 flow_rule_match_control(fr, &fm); in efx_tc_ct_parse_match()
104 if (IS_ALL_ONES(fm.mask->addr_type)) in efx_tc_ct_parse_match()
105 switch (fm.key->addr_type) { in efx_tc_ct_parse_match()
138 struct flow_match_basic fm; in efx_tc_ct_parse_match() local
140 flow_rule_match_basic(fr, &fm); in efx_tc_ct_parse_match()
141 if (!IS_ALL_ONES(fm.mask->n_proto)) { in efx_tc_ct_parse_match()
144 ntohs(fm.mask->n_proto)); in efx_tc_ct_parse_match()
147 conn->eth_proto = fm.key->n_proto; in efx_tc_ct_parse_match()
155 if (!IS_ALL_ONES(fm.mask->ip_proto)) { in efx_tc_ct_parse_match()
[all …]
H A Dtc.c227 struct flow_match_##_type fm; \
229 flow_rule_match_##_tcget(rule, &fm); \
230 match->value._field = fm.key->_tcfield; \
231 match->mask._field = fm.mask->_tcfield; \
253 struct flow_match_control fm; in efx_tc_flower_parse_match() local
255 flow_rule_match_control(rule, &fm); in efx_tc_flower_parse_match()
256 if (IS_ALL_ONES(fm.mask->addr_type)) in efx_tc_flower_parse_match()
257 switch (fm.key->addr_type) { in efx_tc_flower_parse_match()
268 if (fm.mask->flags & FLOW_DIS_IS_FRAGMENT) { in efx_tc_flower_parse_match()
269 match->value.ip_frag = fm.key->flags & FLOW_DIS_IS_FRAGMENT; in efx_tc_flower_parse_match()
[all …]
/linux/fs/fuse/
H A Dinode.c535 struct fuse_mount **fm) in fuse_ilookup() argument
547 if (fm) in fuse_ilookup()
548 *fm = fm_iter; in fuse_ilookup()
631 static void fuse_send_destroy(struct fuse_mount *fm) in fuse_send_destroy() argument
633 if (fm->fc->conn_init) { in fuse_send_destroy()
639 fuse_simple_request(fm, &args); in fuse_send_destroy()
660 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_statfs() local
665 if (!fuse_allow_current_process(fm->fc)) { in fuse_statfs()
677 err = fuse_simple_request(fm, &args); in fuse_statfs()
736 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_sync_fs() local
[all …]
H A Dfile.c26 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, in fuse_send_open() argument
35 if (!fm->fc->atomic_o_trunc) in fuse_send_open()
38 if (fm->fc->handle_killpriv_v2 && in fuse_send_open()
52 return fuse_simple_request(fm, &args); in fuse_send_open()
55 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release) in fuse_file_alloc() argument
63 ff->fm = fm; in fuse_file_alloc()
77 ff->kh = atomic64_inc_return(&fm->fc->khctr); in fuse_file_alloc()
94 static void fuse_release_end(struct fuse_mount *fm, struct fuse_args *args, in fuse_release_end() argument
114 } else if (args->opcode == FUSE_RELEASE && ff->fm->fc->no_open) { in fuse_file_put()
115 fuse_release_end(ff->fm, args, 0); in fuse_file_put()
[all …]
H A Ddir.c196 struct fuse_mount *fm; in fuse_epoch_work() local
201 inode = fuse_ilookup(fc, FUSE_ROOT_ID, &fm); in fuse_epoch_work()
205 shrink_dcache_sb(fm->sb); in fuse_epoch_work()
382 struct fuse_mount *fm; in fuse_dentry_revalidate() local
409 fm = get_fuse_mount(inode); in fuse_dentry_revalidate()
416 attr_version = fuse_get_attr_version(fm->fc); in fuse_dentry_revalidate()
418 fuse_lookup_init(fm->fc, &args, get_node_id(dir), in fuse_dentry_revalidate()
420 ret = fuse_simple_request(fm, &args); in fuse_dentry_revalidate()
428 fuse_queue_forget(fm->fc, forget, in fuse_dentry_revalidate()
554 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_lookup_name() local
[all …]
H A Dioctl.c15 static ssize_t fuse_send_ioctl(struct fuse_mount *fm, struct fuse_args *args, in fuse_send_ioctl() argument
23 ret = fuse_simple_request(fm, args); in fuse_send_ioctl()
221 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local
254 ap.folios = fuse_folios_alloc(fm->fc->max_pages, GFP_KERNEL, &ap.descs); in fuse_do_ioctl()
259 fuse_folio_descs_length_init(ap.descs, 0, fm->fc->max_pages); in fuse_do_ioctl()
307 if (max_pages > fm->fc->max_pages) in fuse_do_ioctl()
341 transferred = fuse_send_ioctl(fm, &ap.args, &outarg); in fuse_do_ioctl()
369 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr, in fuse_do_ioctl()
379 err = fuse_verify_ioctl_iov(fm->fc, in_iov, in_iovs); in fuse_do_ioctl()
383 err = fuse_verify_ioctl_iov(fm->fc, out_iov, out_iovs); in fuse_do_ioctl()
[all …]
H A Dcuse.c61 struct fuse_mount fm; /* Dummy mount referencing fc */ member
139 rc = fuse_do_open(&cc->fm, 0, file, 0); in cuse_open()
148 struct fuse_mount *fm = ff->fm; in cuse_release() local
151 fuse_conn_put(fm->fc); in cuse_release()
160 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_ioctl()
173 struct cuse_conn *cc = fc_to_cc(ff->fm->fc); in cuse_file_compat_ioctl()
322 static void cuse_process_init_reply(struct fuse_mount *fm, in cuse_process_init_reply() argument
325 struct fuse_conn *fc = fm->fc; in cuse_process_init_reply()
434 struct fuse_mount *fm = &cc->fm; in cuse_send_init() local
471 rc = fuse_simple_background(fm, &ap->args, GFP_KERNEL); in cuse_send_init()
[all …]
H A Dfuse_i.h256 struct fuse_mount *fm; member
350 void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error);
477 struct fuse_mount *fm; member
1183 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release);
1258 struct fuse_mount *fm,
1261 static inline ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args) in fuse_simple_request() argument
1263 return __fuse_simple_request(&invalid_mnt_idmap, fm, args); in fuse_simple_request()
1267 struct fuse_mount *fm, in fuse_simple_idmap_request() argument
1270 return __fuse_simple_request(idmap, fm, args); in fuse_simple_idmap_request()
1273 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args,
[all …]
H A Ddev.c129 static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req) in fuse_request_init() argument
136 req->fm = fm; in fuse_request_init()
140 static struct fuse_req *fuse_request_alloc(struct fuse_mount *fm, gfp_t flags) in fuse_request_alloc() argument
144 fuse_request_init(fm, req); in fuse_request_alloc()
195 struct fuse_mount *fm, in fuse_get_req() argument
198 struct fuse_conn *fc = fm->fc; in fuse_get_req()
200 bool no_idmap = !fm->sb || (fm->sb->s_iflags & SB_I_NOIDMAP); in fuse_get_req()
225 req = fuse_request_alloc(fm, GFP_KERNEL); in fuse_get_req()
268 struct fuse_conn *fc = req->fm->fc; in fuse_put_request()
460 struct fuse_mount *fm = req->fm; in fuse_request_end() local
[all …]
H A Dvirtio_fs.c1542 struct fuse_mount *fm = get_fuse_mount_super(sb); in virtio_fs_fill_super() local
1543 struct fuse_conn *fc = fm->fc; in virtio_fs_fill_super()
1595 fuse_send_init(fm); in virtio_fs_fill_super()
1606 static void virtio_fs_conn_destroy(struct fuse_mount *fm) in virtio_fs_conn_destroy() argument
1608 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy()
1624 fuse_conn_destroy(fm); in virtio_fs_conn_destroy()
1638 struct fuse_mount *fm = get_fuse_mount_super(sb); in virtio_kill_sb() local
1643 last = fuse_mount_remove(fm); in virtio_kill_sb()
1645 virtio_fs_conn_destroy(fm); in virtio_kill_sb()
1648 fuse_mount_destroy(fm); in virtio_kill_sb()
[all …]
H A Dfuse_trace.h93 __entry->connection = req->fm->fc->dev;
117 __entry->connection = req->fm->fc->dev;
/linux/drivers/mtd/ubi/
H A Dfastmap.c550 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument
609 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap()
610 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap()
623 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
624 fm->max_pool_size < 0) { in ubi_attach_fastmap()
625 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap()
629 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap()
630 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap()
632 fm->max_wl_pool_size); in ubi_attach_fastmap()
791 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap()
[all …]
H A Dubi.h591 struct ubi_fastmap_layout *fm; member
974 if (ubi->fm) { in ubi_free_fastmap()
977 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_free_fastmap()
978 kmem_cache_free(ubi_wl_entry_slab, ubi->fm->e[i]); in ubi_free_fastmap()
979 kfree(ubi->fm); in ubi_free_fastmap()
980 ubi->fm = NULL; in ubi_free_fastmap()
1237 if (ubi->fm) { in ubi_find_fm_block()
1238 for (i = 0; i < ubi->fm->used_blocks; i++) { in ubi_find_fm_block()
1239 if (ubi->fm->e[i]->pnum == pnum) in ubi_find_fm_block()
1240 return ubi->fm->e[i]; in ubi_find_fm_block()
/linux/include/linux/
H 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/drivers/gpu/drm/msm/disp/
H A Dmdp_format.c70 bp, flg, fm, np) \ argument
83 .fetch_mode = fm, \
90 alpha, bp, flg, fm, np, th) \ argument
103 .fetch_mode = fm, \
110 alpha, chroma, count, bp, flg, fm, np) \ argument
123 .fetch_mode = fm, \
129 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument
142 .fetch_mode = fm, \
149 flg, fm, np, th) \ argument
162 .fetch_mode = fm, \
[all …]
/linux/drivers/regulator/
H 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/
H A 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()
H A Dddbridge-max.h17 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm);
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.c317 void *fm; member
690 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr()
739 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
741 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources()
1267 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init()
1296 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init()
1319 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1322 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init()
1388 dtsec->fm = params->fm; in dtsec_config()
1391 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
/linux/Documentation/userspace-api/media/v4l/
H A Dcommon.rst52 ext-ctrls-fm-tx
53 ext-ctrls-fm-rx
/linux/Documentation/translations/zh_CN/networking/
H A Dgeneric-hdlc.rst92 nrz / nrzi / fm-mark / fm-space / manchester - 传输编码选项
/linux/fs/ext4/
H A Dfsmap.c647 struct ext4_fsmap *fm) in ext4_getfsmap_is_valid_device() argument
649 if (fm->fmr_device == 0 || fm->fmr_device == UINT_MAX || in ext4_getfsmap_is_valid_device()
650 fm->fmr_device == new_encode_dev(sb->s_bdev->bd_dev)) in ext4_getfsmap_is_valid_device()
653 fm->fmr_device == in ext4_getfsmap_is_valid_device()
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-i9300.dts26 fm-sel-gpios = <&gpl0 3 GPIO_ACTIVE_HIGH>;

123