| /linux-6.15/drivers/misc/ |
| H 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 …]
|
| H 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-6.15/drivers/net/ethernet/sfc/ |
| H 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 …]
|
| H 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-6.15/fs/fuse/ |
| H 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 …]
|
| H A D | inode.c | 544 if (fm) in fuse_ilookup() 545 *fm = fm_iter; in fuse_ilookup() 993 fm->fc = fc; in fuse_conn_init() 1493 if (fm->fc->dax) in fuse_send_init() 1692 fm->sb = sb; in fuse_fill_super_submount() 1748 if (!fm) in fuse_get_tree_submount() 1752 fsc->s_fs_info = fm; in fuse_get_tree_submount() 1830 fm->sb = sb; in fuse_fill_super_common() 1944 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in fuse_get_tree() 1945 if (!fm) { in fuse_get_tree() [all …]
|
| H A D | file.c | 62 ff->fm = fm; in fuse_file_alloc() 544 if (fm->fc->no_flush) in fuse_flush() 559 fm->fc->no_flush = 1; in fuse_flush() 828 struct fuse_mount *fm = ff->fm; in fuse_send_read() local 971 struct fuse_mount *fm = ff->fm; in fuse_send_readpages() local 1131 struct fuse_mount *fm = ff->fm; in fuse_send_write() local 1178 struct fuse_mount *fm = ff->fm; in fuse_send_write_pages() local 2989 struct fuse_mount *fm = ff->fm; in fuse_file_poll() local 2995 if (fm->fc->no_poll) in fuse_file_poll() 3185 struct fuse_mount *fm = ff->fm; in fuse_file_fallocate() local [all …]
|
| H A D | dir.c | 202 struct fuse_mount *fm; in fuse_dentry_revalidate() local 224 fm = get_fuse_mount(inode); in fuse_dentry_revalidate() 647 if (!fm->fc->dont_mask) in fuse_create_open() 875 if (!fm->fc->dont_mask) in fuse_mknod() 922 if (!fm->fc->dont_mask) in fuse_mkdir() 1140 if (fm->fc->no_link) in fuse_link() 1158 fm->fc->no_link = 1; in fuse_link() 1160 if (fm->fc->no_link) in fuse_link() 1512 if (fm->fc->no_access) in fuse_access() 1524 fm->fc->no_access = 1; in fuse_access() [all …]
|
| H A D | ioctl.c | 23 ret = fuse_simple_request(fm, args); in fuse_send_ioctl() 221 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl() local 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() 441 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl() local 473 err = fuse_send_ioctl(fm, &args, &outarg); in fuse_priv_ioctl() 485 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_priv_ioctl_prepare() local [all …]
|
| H 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 470 rc = fuse_simple_background(fm, &ap->args, GFP_KERNEL); in cuse_send_init() [all …]
|
| H A D | fuse_i.h | 241 struct fuse_mount *fm; member 462 struct fuse_mount *fm; member 1232 struct fuse_mount *fm, 1237 return __fuse_simple_request(&invalid_mnt_idmap, fm, args); in fuse_simple_request() 1241 struct fuse_mount *fm, in fuse_simple_idmap_request() argument 1244 return __fuse_simple_request(idmap, fm, args); in fuse_simple_idmap_request() 1311 void fuse_send_init(struct fuse_mount *fm); 1325 bool fuse_mount_remove(struct fuse_mount *fm); 1335 void fuse_conn_destroy(struct fuse_mount *fm); 1338 void fuse_mount_destroy(struct fuse_mount *fm); [all …]
|
| H A D | dev.c | 136 req->fm = fm; in fuse_request_init() 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() 439 struct fuse_mount *fm = req->fm; in fuse_request_end() local 440 struct fuse_conn *fc = fm->fc; in fuse_request_end() 620 if (!req->fm->sb || req->fm->sb->s_iflags & SB_I_NOIDMAP) { in fuse_force_creds() 643 struct fuse_mount *fm, in __fuse_simple_request() argument 703 struct fuse_mount *fm = req->fm; in fuse_request_queue_background() local [all …]
|
| H A D | virtio_fs.c | 1546 struct fuse_conn *fc = fm->fc; in virtio_fs_fill_super() 1598 fuse_send_init(fm); in virtio_fs_fill_super() 1611 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy() 1627 fuse_conn_destroy(fm); in virtio_fs_conn_destroy() 1646 last = fuse_mount_remove(fm); in virtio_kill_sb() 1648 virtio_fs_conn_destroy(fm); in virtio_kill_sb() 1651 fuse_mount_destroy(fm); in virtio_kill_sb() 1668 struct fuse_mount *fm; in virtio_fs_get_tree() local 1695 if (!fm) in virtio_fs_get_tree() 1709 fsc->s_fs_info = fm; in virtio_fs_get_tree() [all …]
|
| /linux-6.15/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_psfp.c | 192 struct sparx5_psfp_fm *fm) in sparx5_sdlb_conf_set() argument 197 if (!fm->pol.rate && !fm->pol.burst) in sparx5_sdlb_conf_set() 202 sparx5_policer_conf_set(sparx5, &fm->pol); in sparx5_sdlb_conf_set() 204 return sparx5_sdlb_group_action(sparx5, fm->pol.group, fm->pol.idx); in sparx5_sdlb_conf_set() 271 struct sparx5_psfp_fm *fm, u32 *id) in sparx5_psfp_fm_add() argument 273 struct sparx5_policer *pol = &fm->pol; in sparx5_psfp_fm_add() 288 fm->pol.group = ret; in sparx5_psfp_fm_add() 290 ret = sparx5_sdlb_conf_set(sparx5, fm); in sparx5_psfp_fm_add() 294 *id = fm->pol.idx; in sparx5_psfp_fm_add() 301 struct sparx5_psfp_fm fm = { .pol.idx = id, in sparx5_psfp_fm_del() local [all …]
|
| /linux-6.15/drivers/mtd/ubi/ |
| H 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 …]
|
| H A D | fastmap-wl.c | 543 if (ubi->fm) { in ubi_fastmap_close() 544 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close() 545 kfree(ubi->fm->e[i]); in ubi_fastmap_close() 547 kfree(ubi->fm); in ubi_fastmap_close() 561 if (e && !ubi->fm_disabled && !ubi->fm && !ubi->fm_anchor && in may_reserve_for_fm()
|
| /linux-6.15/include/linux/ |
| H 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-6.15/sound/drivers/opl3/ |
| H 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-6.15/drivers/gpu/drm/msm/disp/ |
| H 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-6.15/sound/soc/codecs/ |
| H 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-6.15/drivers/net/ethernet/freescale/fman/ |
| H 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()
|
| H 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-6.15/drivers/regulator/ |
| H 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-6.15/Documentation/userspace-api/media/v4l/ |
| H A D | common.rst | 51 ext-ctrls-fm-tx 52 ext-ctrls-fm-rx
|
| /linux-6.15/drivers/media/pci/ddbridge/ |
| H 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()
|