Searched refs:fm (Results 1 - 25 of 56) sorted by relevance

123

/linux-master/drivers/misc/
H A Dtifm_7xx1.c21 static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, argument
26 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) argument
30 spin_lock_irqsave(&fm->lock, flags);
31 fm->socket_change_set |= 1 << sock->socket_id;
32 tifm_queue_work(&fm->media_switcher);
33 spin_unlock_irqrestore(&fm->lock, flags);
38 struct tifm_adapter *fm = dev_id; local
42 spin_lock(&fm->lock);
43 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS);
45 spin_unlock(&fm
137 struct tifm_adapter *fm = container_of(work, struct tifm_adapter, local
213 struct tifm_adapter *fm = pci_get_drvdata(dev); local
230 struct tifm_adapter *fm = pci_get_drvdata(dev); local
292 tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) argument
298 tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) argument
310 struct tifm_adapter *fm; local
381 struct tifm_adapter *fm = pci_get_drvdata(dev); local
[all...]
H A Dtifm_core.c164 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); local
166 kfree(fm);
177 struct tifm_adapter *fm; local
179 fm = kzalloc(struct_size(fm, sockets, num_sockets), GFP_KERNEL);
180 if (fm) {
181 fm->dev.class = &tifm_adapter_class;
182 fm->dev.parent = dev;
183 device_initialize(&fm->dev);
184 spin_lock_init(&fm
191 tifm_add_adapter(struct tifm_adapter *fm) argument
217 tifm_remove_adapter(struct tifm_adapter *fm) argument
234 tifm_free_adapter(struct tifm_adapter *fm) argument
247 tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, unsigned char type) argument
280 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); local
287 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); local
[all...]
/linux-master/drivers/media/pci/ddbridge/
H A Dddbridge-max.h17 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm);
H A Dddbridge-max.c355 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) argument
359 if (link->lnb.fmode == fm)
361 dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm);
363 if (fm == 2 || fm == 1) {
385 link->lnb.fmode = fm;
/linux-master/fs/fuse/
H A Dxattr.c17 struct fuse_mount *fm = get_fuse_mount(inode); local
22 if (fm->fc->no_setxattr)
33 args.in_args[0].size = fm->fc->setxattr_ext ?
40 err = fuse_simple_request(fm, &args);
42 fm->fc->no_setxattr = 1;
54 struct fuse_mount *fm = get_fuse_mount(inode); local
60 if (fm->fc->no_getxattr)
82 ret = fuse_simple_request(fm, &args);
86 fm->fc->no_getxattr = 1;
112 struct fuse_mount *fm local
158 struct fuse_mount *fm = get_fuse_mount(inode); local
[all...]
H A Dioctl.c12 static ssize_t fuse_send_ioctl(struct fuse_mount *fm, struct fuse_args *args, argument
20 ret = fuse_simple_request(fm, args);
171 struct fuse_mount *fm = ff->fm; local
204 ap.pages = fuse_pages_alloc(fm->fc->max_pages, GFP_KERNEL, &ap.descs);
209 fuse_page_descs_length_init(ap.descs, 0, fm->fc->max_pages);
245 if (max_pages > fm->fc->max_pages)
280 transferred = fuse_send_ioctl(fm, &ap.args, &outarg);
308 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr,
318 err = fuse_verify_ioctl_iov(fm
380 struct fuse_mount *fm = ff->fm; local
424 struct fuse_mount *fm = get_fuse_mount(inode); local
[all...]
H A Dinode.c496 struct fuse_mount **fm)
508 if (fm)
509 *fm = fm_iter;
581 static void fuse_send_destroy(struct fuse_mount *fm) argument
583 if (fm->fc->conn_init) {
589 fuse_simple_request(fm, &args);
610 struct fuse_mount *fm = get_fuse_mount_super(sb); local
615 if (!fuse_allow_current_process(fm->fc)) {
627 err = fuse_simple_request(fm, &args);
686 struct fuse_mount *fm local
495 fuse_ilookup(struct fuse_conn *fc, u64 nodeid, struct fuse_mount **fm) argument
907 fuse_conn_init(struct fuse_conn *fc, struct fuse_mount *fm, struct user_namespace *user_ns, const struct fuse_iqueue_ops *fiq_ops, void *fiq_priv) argument
1218 process_init_reply(struct fuse_mount *fm, struct fuse_args *args, int error) argument
1358 fuse_send_init(struct fuse_mount *fm) argument
1566 struct fuse_mount *fm = get_fuse_mount_super(sb); local
1622 struct fuse_mount *fm; local
1671 struct fuse_mount *fm = get_fuse_mount_super(sb); local
1817 struct fuse_mount *fm; local
1907 fuse_mount_remove(struct fuse_mount *fm) argument
1922 fuse_conn_destroy(struct fuse_mount *fm) argument
1943 struct fuse_mount *fm = get_fuse_mount_super(sb); local
1953 fuse_mount_destroy(struct fuse_mount *fm) argument
[all...]
H A Dfile.c25 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, argument
34 if (!fm->fc->atomic_o_trunc)
37 if (fm->fc->handle_killpriv_v2 &&
51 return fuse_simple_request(fm, &args);
54 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release) argument
62 ff->fm = fm;
76 ff->kh = atomic64_inc_return(&fm->fc->khctr);
93 static void fuse_release_end(struct fuse_mount *fm, struct fuse_args *args, argument
114 fuse_simple_request(ff->fm, arg
126 fuse_file_open(struct fuse_mount *fm, u64 nodeid, unsigned int open_flags, bool isdir) argument
172 fuse_do_open(struct fuse_mount *fm, u64 nodeid, struct file *file, bool isdir) argument
235 struct fuse_mount *fm = get_fuse_mount(inode); local
504 struct fuse_mount *fm = get_fuse_mount(inode); local
562 struct fuse_mount *fm = get_fuse_mount(inode); local
751 fuse_aio_complete_req(struct fuse_mount *fm, struct fuse_args *args, int err) argument
780 fuse_async_req_send(struct fuse_mount *fm, struct fuse_io_args *ia, size_t num_bytes) argument
806 struct fuse_mount *fm = ff->fm; local
854 struct fuse_mount *fm = get_fuse_mount(inode); local
912 fuse_readpages_end(struct fuse_mount *fm, struct fuse_args *args, int err) argument
956 struct fuse_mount *fm = ff->fm; local
1094 struct fuse_mount *fm = ff->fm; local
1141 struct fuse_mount *fm = ff->fm; local
1776 fuse_writepage_finish(struct fuse_mount *fm, struct fuse_writepage_args *wpa) argument
1860 struct fuse_mount *fm = get_fuse_mount(inode); variable in typeref:struct:fuse_mount
1910 fuse_writepage_end(struct fuse_mount *fm, struct fuse_args *args, int error) argument
1931 struct fuse_mount *fm = get_fuse_mount(inode); local
2653 struct fuse_mount *fm = get_fuse_mount(inode); local
2673 struct fuse_mount *fm = get_fuse_mount(inode); local
2741 struct fuse_mount *fm = get_fuse_mount(inode); local
2771 struct fuse_mount *fm = get_fuse_mount(inode); local
2897 struct fuse_mount *fm = ff->fm; local
3093 struct fuse_mount *fm = ff->fm; local
3190 struct fuse_mount *fm = ff_in->fm; local
[all...]
H A Ddir.c199 struct fuse_mount *fm; local
221 fm = get_fuse_mount(inode);
228 attr_version = fuse_get_attr_version(fm->fc);
231 fuse_lookup_init(fm->fc, &args, get_node_id(d_inode(parent)),
233 ret = fuse_simple_request(fm, &args);
242 fuse_queue_forget(fm->fc, forget,
366 struct fuse_mount *fm = get_fuse_mount_super(sb); local
383 attr_version = fuse_get_attr_version(fm->fc);
385 fuse_lookup_init(fm->fc, &args, nodeid, name, outarg);
386 err = fuse_simple_request(fm,
618 struct fuse_mount *fm = get_fuse_mount(dir); local
777 create_new_entry(struct fuse_mount *fm, struct fuse_args *args, struct inode *dir, struct dentry *entry, umode_t mode) argument
851 struct fuse_mount *fm = get_fuse_mount(dir); local
897 struct fuse_mount *fm = get_fuse_mount(dir); local
918 struct fuse_mount *fm = get_fuse_mount(dir); local
979 struct fuse_mount *fm = get_fuse_mount(dir); local
1002 struct fuse_mount *fm = get_fuse_mount(dir); local
1028 struct fuse_mount *fm = get_fuse_mount(olddir); local
1111 struct fuse_mount *fm = get_fuse_mount(inode); local
1189 struct fuse_mount *fm = get_fuse_mount(inode); local
1248 struct fuse_mount *fm = get_fuse_mount(inode); local
1458 struct fuse_mount *fm = get_fuse_mount(inode); local
1570 struct fuse_mount *fm = get_fuse_mount(inode); local
1642 struct fuse_mount *fm = get_fuse_mount(inode); local
1838 struct fuse_mount *fm = get_fuse_mount(inode); local
1875 struct fuse_mount *fm = get_fuse_mount(inode); local
[all...]
H A Dcuse.c60 struct fuse_mount fm; /* Dummy mount referencing fc */ member in struct:cuse_conn
138 rc = fuse_do_open(&cc->fm, 0, file, 0);
147 struct fuse_mount *fm = ff->fm; local
150 fuse_conn_put(fm->fc);
159 struct cuse_conn *cc = fc_to_cc(ff->fm->fc);
172 struct cuse_conn *cc = fc_to_cc(ff->fm->fc);
313 * @fm: The fuse mount information containing the CUSE connection.
321 static void cuse_process_init_reply(struct fuse_mount *fm, argument
324 struct fuse_conn *fc = fm
433 struct fuse_mount *fm = &cc->fm; local
[all...]
H A Ddev.c43 static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req) argument
50 req->fm = fm;
53 static struct fuse_req *fuse_request_alloc(struct fuse_mount *fm, gfp_t flags) argument
57 fuse_request_init(fm, req);
106 static struct fuse_req *fuse_get_req(struct fuse_mount *fm, bool for_background) argument
108 struct fuse_conn *fc = fm->fc;
130 req = fuse_request_alloc(fm, GFP_KERNEL);
160 struct fuse_conn *fc = req->fm->fc;
282 struct fuse_mount *fm local
485 fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args) argument
526 struct fuse_mount *fm = req->fm; local
550 fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args, gfp_t gfp_flags) argument
579 fuse_simple_notify_reply(struct fuse_mount *fm, struct fuse_args *args, u64 unique) argument
1651 fuse_retrieve_end(struct fuse_mount *fm, struct fuse_args *args, int error) argument
1661 fuse_retrieve(struct fuse_mount *fm, struct inode *inode, struct fuse_notify_retrieve_out *outarg) argument
1745 struct fuse_mount *fm; local
[all...]
H A Dfuse_i.h221 struct fuse_mount *fm; member in struct:fuse_file
314 void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error);
437 struct fuse_mount *fm; member in struct:fuse_req
1084 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm, bool release);
1157 ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args);
1158 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args,
1201 void fuse_conn_init(struct fuse_conn *fc, struct fuse_mount *fm,
1214 void fuse_send_init(struct fuse_mount *fm);
1228 bool fuse_mount_remove(struct fuse_mount *fm);
1238 void fuse_conn_destroy(struct fuse_mount *fm);
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c101 struct flow_match_control fm; local
103 flow_rule_match_control(fr, &fm);
104 if (IS_ALL_ONES(fm.mask->addr_type))
105 switch (fm.key->addr_type) {
138 struct flow_match_basic fm; local
140 flow_rule_match_basic(fr, &fm);
141 if (!IS_ALL_ONES(fm.mask->n_proto)) {
144 ntohs(fm.mask->n_proto));
147 conn->eth_proto = fm.key->n_proto;
155 if (!IS_ALL_ONES(fm
181 struct flow_match_ipv4_addrs fm; local
199 struct flow_match_ipv6_addrs fm; local
223 struct flow_match_ports fm; local
247 struct flow_match_tcp fm; local
[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; local
255 flow_rule_match_control(rule, &fm);
256 if (IS_ALL_ONES(fm.mask->addr_type))
257 switch (fm.key->addr_type) {
268 if (fm.mask->flags & FLOW_DIS_IS_FRAGMENT) {
269 match->value.ip_frag = fm
323 struct flow_match_vlan fm; local
337 struct flow_match_vlan fm; local
351 struct flow_match_eth_addrs fm; local
388 struct flow_match_control fm; local
440 struct flow_match_ct fm; local
[all...]
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_psfp.c188 struct sparx5_psfp_fm *fm)
193 if (!fm->pol.rate && !fm->pol.burst)
198 sparx5_policer_conf_set(sparx5, &fm->pol);
200 return sparx5_sdlb_group_action(sparx5, fm->pol.group, fm->pol.idx);
267 struct sparx5_psfp_fm *fm, u32 *id)
269 struct sparx5_policer *pol = &fm->pol;
273 ret = sparx5_psfp_fm_get(uidx, &fm->pol.idx);
284 fm
187 sparx5_sdlb_conf_set(struct sparx5 *sparx5, struct sparx5_psfp_fm *fm) argument
266 sparx5_psfp_fm_add(struct sparx5 *sparx5, u32 uidx, struct sparx5_psfp_fm *fm, u32 *id) argument
297 struct sparx5_psfp_fm fm = { .pol.idx = id, local
[all...]
/linux-master/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-master/sound/drivers/opl3/
H A Dopl3_midi.c300 struct fm_instrument *fm; local
346 fm = &patch->inst;
434 vol_op[i] = fm->op[i].ksl_level;
436 connection = fm->feedback_connection[0] & 0x01;
439 connection |= fm->feedback_connection[1] & 0x01;
466 reg_val = fm->op[i].am_vib;
476 reg_val = fm->op[i].attack_decay;
481 reg_val = fm->op[i].sustain_release;
486 reg_val = fm->op[i].wave_select;
492 reg_val = fm
[all...]
/linux-master/drivers/mtd/ubi/
H A Dfastmap.c543 * @fm: the fastmap to be attached
550 struct ubi_fastmap_layout *fm)
609 fm->max_pool_size = be16_to_cpu(fmpl->max_size);
610 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size);
623 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE ||
624 fm->max_pool_size < 0) {
625 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size);
629 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE ||
630 fm->max_wl_pool_size < 0) {
632 fm
548 ubi_attach_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_fastmap_layout *fm) argument
867 struct ubi_fastmap_layout *fm; local
1408 struct ubi_fastmap_layout *fm; local
1465 return_fm_pebs(struct ubi_device *ubi, struct ubi_fastmap_layout *fm) argument
[all...]
H A Dfastmap-wl.c117 * 3. fm pebs - 1: Twice fastmap size deducted by fastmap and fm_anchor
141 * left_free_count - returns the number of free pebs to fill fm pools
182 * ubi_refill_pools_and_lock - refills all fastmap PEB pools and takes fm locks.
530 if (ubi->fm) {
531 for (i = 0; i < ubi->fm->used_blocks; i++)
532 kfree(ubi->fm->e[i]);
534 kfree(ubi->fm);
548 if (e && !ubi->fm_disabled && !ubi->fm && !ubi->fm_anchor &&
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_port.h106 void *fm; member in struct:fman_port_params
H A Dfman_mac.h174 void *fm; member in struct:fman_mac_params
H A Dfman_memac.c291 void *fm; member in struct:fman_mac
512 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id,
515 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id,
946 err = fman_set_mac_max_frame(memac->fm, memac->mac_id,
967 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id,
970 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id,
1029 memac->fm = params->fm;
1032 fman_get_revision(memac->fm, &memac->fm_rev_info);
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c35 bp, flg, fm, np) \
47 .fetch_mode = fm, \
54 alpha, bp, flg, fm, np, th) \
66 .fetch_mode = fm, \
74 alpha, chroma, count, bp, flg, fm, np) \
86 .fetch_mode = fm, \
92 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \
104 .fetch_mode = fm, \
111 flg, fm, np, th) \
123 .fetch_mode = fm, \
[all...]
/linux-master/sound/soc/codecs/
H A Dcs42xx8.c268 u32 fm[2]; local
284 fm[i] = CS42XX8_FM_AUTO;
287 fm[i] = CS42XX8_FM_SINGLE;
289 fm[i] = CS42XX8_FM_DOUBLE;
291 fm[i] = CS42XX8_FM_QUAD;
302 condition1 = ((fm[tx] == CS42XX8_FM_AUTO) ?
306 (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) &&
314 condition2 = ((fm[!tx] == CS42XX8_FM_AUTO) ?
318 (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx]));
343 CS42XX8_FUNCMOD_xC_FM(tx, fm[t
[all...]
/linux-master/drivers/regulator/
H A Dqcom_rpm-regulator.c32 struct request_member fm; /* force mode */ member in struct:rpm_reg_parts
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) {
761 ret = rpm_reg_set(vreg, &vreg->parts->fm, force_mode);

Completed in 278 milliseconds

123