| /linux/drivers/misc/ |
| A D | tifm_7xx1.c | 42 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 D | tifm_core.c | 166 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/drivers/net/ethernet/sfc/ |
| A D | tc_conntrack.c | 138 struct flow_match_basic fm; in efx_tc_ct_parse_match() local 158 fm.mask->ip_proto); in efx_tc_ct_parse_match() 187 ntohl(fm.mask->src)); in efx_tc_ct_parse_match() 194 ntohl(fm.mask->dst)); in efx_tc_ct_parse_match() 205 &fm.mask->src); in efx_tc_ct_parse_match() 212 &fm.mask->dst); in efx_tc_ct_parse_match() 229 ntohs(fm.mask->src)); in efx_tc_ct_parse_match() 236 ntohs(fm.mask->dst)); in efx_tc_ct_parse_match() 247 struct flow_match_tcp fm; in efx_tc_ct_parse_match() local 264 ntohs(fm.key->flags), ntohs(fm.mask->flags)); in efx_tc_ct_parse_match() [all …]
|
| A D | tc.c | 253 struct flow_match_control fm; in efx_tc_flower_parse_match() local 257 switch (fm.key->addr_type) { in efx_tc_flower_parse_match() 322 struct flow_match_vlan fm; in efx_tc_flower_parse_match() local 325 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match() 329 fm.key->vlan_id); in efx_tc_flower_parse_match() 331 fm.mask->vlan_id); in efx_tc_flower_parse_match() 336 struct flow_match_vlan fm; in efx_tc_flower_parse_match() local 339 if (fm.mask->vlan_id || fm.mask->vlan_priority || fm.mask->vlan_tpid) { in efx_tc_flower_parse_match() 398 switch (fm.key->addr_type) { in efx_tc_flower_parse_match() 436 struct flow_match_ct fm; in efx_tc_flower_parse_match() local [all …]
|
| /linux/fs/fuse/ |
| A D | xattr.c | 22 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 D | inode.c | 508 if (fm) in fuse_ilookup() 509 *fm = fm_iter; in fuse_ilookup() 954 fm->fc = fc; in fuse_conn_init() 1406 if (fm->fc->dax) in fuse_send_init() 1598 fm->sb = sb; in fuse_fill_super_submount() 1653 if (!fm) in fuse_get_tree_submount() 1657 fsc->s_fs_info = fm; in fuse_get_tree_submount() 1735 fm->sb = sb; in fuse_fill_super_common() 1849 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in fuse_get_tree() 1850 if (!fm) { in fuse_get_tree() [all …]
|
| A D | file.c | 62 ff->fm = fm; in fuse_file_alloc() 529 if (fm->fc->no_flush) in fuse_flush() 544 fm->fc->no_flush = 1; in fuse_flush() 806 struct fuse_mount *fm = ff->fm; in fuse_send_read() local 952 struct fuse_mount *fm = ff->fm; in fuse_send_readpages() local 1090 struct fuse_mount *fm = ff->fm; in fuse_send_write() local 1137 struct fuse_mount *fm = ff->fm; in fuse_send_write_pages() local 2906 struct fuse_mount *fm = ff->fm; in fuse_file_poll() local 2912 if (fm->fc->no_poll) in fuse_file_poll() 3102 struct fuse_mount *fm = ff->fm; in fuse_file_fallocate() local [all …]
|
| A D | ioctl.c | 21 ret = fuse_simple_request(fm, args); in fuse_send_ioctl() 219 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local 305 if (max_pages > fm->fc->max_pages) in fuse_do_ioctl() 340 transferred = fuse_send_ioctl(fm, &ap.args, &outarg); in fuse_do_ioctl() 368 err = fuse_copy_ioctl_iovec(fm->fc, iov_page, vaddr, in fuse_do_ioctl() 378 err = fuse_verify_ioctl_iov(fm->fc, in_iov, in_iovs); in fuse_do_ioctl() 382 err = fuse_verify_ioctl_iov(fm->fc, out_iov, out_iovs); in fuse_do_ioctl() 440 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl() local 472 err = fuse_send_ioctl(fm, &args, &outarg); in fuse_priv_ioctl() 484 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_priv_ioctl_prepare() local [all …]
|
| A D | dir.c | 199 struct fuse_mount *fm; in fuse_dentry_revalidate() local 221 fm = get_fuse_mount(inode); in fuse_dentry_revalidate() 242 fuse_queue_forget(fm->fc, forget, in fuse_dentry_revalidate() 642 ff = fuse_file_alloc(fm, true); in fuse_create_open() 646 if (!fm->fc->dont_mask) in fuse_create_open() 860 if (!fm->fc->dont_mask) in fuse_mknod() 907 if (!fm->fc->dont_mask) in fuse_mkdir() 1485 if (fm->fc->no_access) in fuse_access() 1497 fm->fc->no_access = 1; in fuse_access() 1881 if (fm->fc->minor >= 23) { in fuse_flush_times() [all …]
|
| A D | cuse.c | 60 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() 321 static void cuse_process_init_reply(struct fuse_mount *fm, in cuse_process_init_reply() argument 324 struct fuse_conn *fc = fm->fc; in cuse_process_init_reply() 433 struct fuse_mount *fm = &cc->fm; in cuse_send_init() local 469 rc = fuse_simple_background(fm, &ap->args, GFP_KERNEL); in cuse_send_init() [all …]
|
| A D | fuse_i.h | 221 struct fuse_mount *fm; member 437 struct fuse_mount *fm; member 1151 struct fuse_mount *fm, 1156 return __fuse_simple_request(&invalid_mnt_idmap, fm, args); in fuse_simple_request() 1160 struct fuse_mount *fm, in fuse_simple_idmap_request() argument 1163 return __fuse_simple_request(idmap, fm, args); in fuse_simple_idmap_request() 1222 void fuse_send_init(struct fuse_mount *fm); 1236 bool fuse_mount_remove(struct fuse_mount *fm); 1246 void fuse_conn_destroy(struct fuse_mount *fm); 1249 void fuse_mount_destroy(struct fuse_mount *fm); [all …]
|
| A D | dev.c | 55 req->fm = fm; in fuse_request_init() 62 fuse_request_init(fm, req); in fuse_request_alloc() 112 struct fuse_mount *fm, in fuse_get_req() argument 115 struct fuse_conn *fc = fm->fc; in fuse_get_req() 117 bool no_idmap = !fm->sb || (fm->sb->s_iflags & SB_I_NOIDMAP); in fuse_get_req() 355 struct fuse_mount *fm = req->fm; in fuse_request_end() local 356 struct fuse_conn *fc = fm->fc; in fuse_request_end() 520 if (!req->fm->sb || req->fm->sb->s_iflags & SB_I_NOIDMAP) { in fuse_force_creds() 543 struct fuse_mount *fm, in __fuse_simple_request() argument 585 struct fuse_mount *fm = req->fm; in fuse_request_queue_background() local [all …]
|
| A D | virtio_fs.c | 1540 struct fuse_conn *fc = fm->fc; in virtio_fs_fill_super() 1592 fuse_send_init(fm); in virtio_fs_fill_super() 1605 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy() 1621 fuse_conn_destroy(fm); in virtio_fs_conn_destroy() 1640 last = fuse_mount_remove(fm); in virtio_kill_sb() 1642 virtio_fs_conn_destroy(fm); in virtio_kill_sb() 1645 fuse_mount_destroy(fm); in virtio_kill_sb() 1662 struct fuse_mount *fm; in virtio_fs_get_tree() local 1686 if (!fm) in virtio_fs_get_tree() 1699 fsc->s_fs_info = fm; in virtio_fs_get_tree() [all …]
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| A D | sparx5_psfp.c | 188 struct sparx5_psfp_fm *fm) in sparx5_sdlb_conf_set() argument 193 if (!fm->pol.rate && !fm->pol.burst) in sparx5_sdlb_conf_set() 198 sparx5_policer_conf_set(sparx5, &fm->pol); in sparx5_sdlb_conf_set() 200 return sparx5_sdlb_group_action(sparx5, fm->pol.group, fm->pol.idx); in sparx5_sdlb_conf_set() 267 struct sparx5_psfp_fm *fm, u32 *id) in sparx5_psfp_fm_add() argument 269 struct sparx5_policer *pol = &fm->pol; in sparx5_psfp_fm_add() 284 fm->pol.group = ret; in sparx5_psfp_fm_add() 286 ret = sparx5_sdlb_conf_set(sparx5, fm); in sparx5_psfp_fm_add() 290 *id = fm->pol.idx; in sparx5_psfp_fm_add() 297 struct sparx5_psfp_fm fm = { .pol.idx = id, in sparx5_psfp_fm_del() local [all …]
|
| /linux/drivers/mtd/ubi/ |
| A D | fastmap.c | 898 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in ubi_scan_fastmap() 899 if (!fm) { in ubi_scan_fastmap() 1077 ubi->fm = fm; in ubi_scan_fastmap() 1100 kfree(fm); in ubi_scan_fastmap() 1413 if (!ubi->fm) in invalidate_fastmap() 1419 fm = kzalloc(sizeof(*fm), GFP_NOFS); in invalidate_fastmap() 1420 if (!fm) in invalidate_fastmap() 1446 fm->e[0] = e; in invalidate_fastmap() 1448 ubi->fm = fm; in invalidate_fastmap() 1455 kfree(fm); in invalidate_fastmap() [all …]
|
| A D | fastmap-wl.c | 530 if (ubi->fm) { in ubi_fastmap_close() 531 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close() 532 kfree(ubi->fm->e[i]); in ubi_fastmap_close() 534 kfree(ubi->fm); in ubi_fastmap_close() 548 if (e && !ubi->fm_disabled && !ubi->fm && !ubi->fm_anchor && in may_reserve_for_fm()
|
| /linux/include/linux/ |
| A D | tifm.h | 122 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 D | opl3_midi.c | 311 struct fm_instrument *fm; in snd_opl3_note_on() local 355 fm = &patch->inst; in snd_opl3_note_on() 439 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on() 469 reg_val = fm->op[i].am_vib; in snd_opl3_note_on() 489 reg_val = fm->op[i].wave_select; in snd_opl3_note_on() 524 if (fm->fix_key) in snd_opl3_note_on() 525 note = fm->fix_key; in snd_opl3_note_on() 529 if (fm->trnsps) in snd_opl3_note_on() 530 note += (fm->trnsps - 64); in snd_opl3_note_on() 549 if (fm->fix_dur) { in snd_opl3_note_on() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/ |
| A D | mdp_format.c | 70 bp, flg, fm, np) \ argument 83 .fetch_mode = fm, \ 90 alpha, bp, flg, fm, np, th) \ argument 103 .fetch_mode = fm, \ 123 .fetch_mode = fm, \ 142 .fetch_mode = fm, \ 162 .fetch_mode = fm, \ 181 .fetch_mode = fm, \ 201 .fetch_mode = fm, \ 208 flg, fm, np) \ argument [all …]
|
| /linux/sound/soc/codecs/ |
| A D | cs42xx8.c | 268 u32 fm[2]; in cs42xx8_hw_params() local 284 fm[i] = CS42XX8_FM_AUTO; in cs42xx8_hw_params() 287 fm[i] = CS42XX8_FM_SINGLE; in cs42xx8_hw_params() 289 fm[i] = CS42XX8_FM_DOUBLE; in cs42xx8_hw_params() 291 fm[i] = CS42XX8_FM_QUAD; in cs42xx8_hw_params() 302 condition1 = ((fm[tx] == CS42XX8_FM_AUTO) ? in cs42xx8_hw_params() 306 (cs42xx8_ratios[i].ratio[fm[tx]] == ratio[tx])) && in cs42xx8_hw_params() 314 condition2 = ((fm[!tx] == CS42XX8_FM_AUTO) ? in cs42xx8_hw_params() 318 (cs42xx8_ratios[i].ratio[fm[!tx]] == ratio[!tx])); in cs42xx8_hw_params() 343 CS42XX8_FUNCMOD_xC_FM(tx, fm[tx]) | val); in cs42xx8_hw_params()
|
| /linux/drivers/regulator/ |
| A D | qcom_rpm-regulator.c | 32 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/Documentation/userspace-api/media/v4l/ |
| A D | common.rst | 51 ext-ctrls-fm-tx 52 ext-ctrls-fm-rx
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| A D | fman_tgec.c | 194 void *fm; member 372 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 624 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 654 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 688 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 751 tgec->fm = params->fm; in tgec_config() 754 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
|
| A D | fman_dtsec.c | 317 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/drivers/media/pci/ddbridge/ |
| A D | ddbridge-max.c | 355 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()
|