/Linux-v5.10/drivers/misc/ |
D | tifm_7xx1.c | 21 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 …]
|
D | tifm_core.c | 165 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() local 167 kfree(fm); in tifm_free() 178 struct tifm_adapter *fm; in tifm_alloc_adapter() local 180 fm = kzalloc(sizeof(struct tifm_adapter) in tifm_alloc_adapter() 182 if (fm) { in tifm_alloc_adapter() 183 fm->dev.class = &tifm_adapter_class; in tifm_alloc_adapter() 184 fm->dev.parent = dev; in tifm_alloc_adapter() 185 device_initialize(&fm->dev); in tifm_alloc_adapter() 186 spin_lock_init(&fm->lock); in tifm_alloc_adapter() 187 fm->num_sockets = num_sockets; in tifm_alloc_adapter() [all …]
|
/Linux-v5.10/fs/fuse/ |
D | xattr.c | 17 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_setxattr() local 22 if (fm->fc->no_setxattr) in fuse_setxattr() 37 err = fuse_simple_request(fm, &args); in fuse_setxattr() 39 fm->fc->no_setxattr = 1; in fuse_setxattr() 52 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_getxattr() local 58 if (fm->fc->no_getxattr) in fuse_getxattr() 80 ret = fuse_simple_request(fm, &args); in fuse_getxattr() 84 fm->fc->no_getxattr = 1; in fuse_getxattr() 110 struct fuse_mount *fm = get_fuse_mount(inode); in fuse_listxattr() local 116 if (!fuse_allow_current_process(fm->fc)) in fuse_listxattr() [all …]
|
D | inode.c | 360 struct fuse_mount **fm) in fuse_ilookup() argument 372 if (fm) in fuse_ilookup() 373 *fm = fm_iter; in fuse_ilookup() 439 static void fuse_send_destroy(struct fuse_mount *fm) in fuse_send_destroy() argument 441 if (fm->fc->conn_init) { in fuse_send_destroy() 447 fuse_simple_request(fm, &args); in fuse_send_destroy() 453 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_put_super() local 455 fuse_mount_put(fm); in fuse_put_super() 475 struct fuse_mount *fm = get_fuse_mount_super(sb); in fuse_statfs() local 480 if (!fuse_allow_current_process(fm->fc)) { in fuse_statfs() [all …]
|
D | file.c | 35 static int fuse_send_open(struct fuse_mount *fm, u64 nodeid, struct file *file, in fuse_send_open() argument 43 if (!fm->fc->atomic_o_trunc) in fuse_send_open() 54 return fuse_simple_request(fm, &args); in fuse_send_open() 63 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm) in fuse_file_alloc() argument 71 ff->fm = fm; in fuse_file_alloc() 85 ff->kh = atomic64_inc_return(&fm->fc->khctr); in fuse_file_alloc() 103 static void fuse_release_end(struct fuse_mount *fm, struct fuse_args *args, in fuse_release_end() argument 117 if (isdir ? ff->fm->fc->no_opendir : ff->fm->fc->no_open) { in fuse_file_put() 119 fuse_release_end(ff->fm, args, 0); in fuse_file_put() 121 fuse_simple_request(ff->fm, args); in fuse_file_put() [all …]
|
D | dir.c | 200 struct fuse_mount *fm; in fuse_dentry_revalidate() local 222 fm = get_fuse_mount(inode); in fuse_dentry_revalidate() 229 attr_version = fuse_get_attr_version(fm->fc); in fuse_dentry_revalidate() 232 fuse_lookup_init(fm->fc, &args, get_node_id(d_inode(parent)), in fuse_dentry_revalidate() 234 ret = fuse_simple_request(fm, &args); in fuse_dentry_revalidate() 243 fuse_queue_forget(fm->fc, forget, in fuse_dentry_revalidate() 314 struct fuse_mount *fm; in fuse_dentry_automount() local 327 fm = kzalloc(sizeof(struct fuse_mount), GFP_KERNEL); in fuse_dentry_automount() 328 if (!fm) in fuse_dentry_automount() 331 refcount_set(&fm->count, 1); in fuse_dentry_automount() [all …]
|
D | fuse_i.h | 184 struct fuse_mount *fm; member 270 void (*end)(struct fuse_mount *fm, struct fuse_args *args, int error); 380 struct fuse_mount *fm; member 824 struct fuse_mount *fm = get_fuse_mount_super(sb); in get_fuse_conn_super() local 826 return fm ? fm->fc : NULL; in get_fuse_conn_super() 836 struct fuse_mount *fm = get_fuse_mount(inode); in get_fuse_conn() local 838 return fm ? fm->fc : NULL; in get_fuse_conn() 917 struct fuse_file *fuse_file_alloc(struct fuse_mount *fm); 985 ssize_t fuse_simple_request(struct fuse_mount *fm, struct fuse_args *args); 986 int fuse_simple_background(struct fuse_mount *fm, struct fuse_args *args, [all …]
|
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() 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 …]
|
D | dev.c | 43 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 …]
|
D | control.c | 167 struct fuse_mount *fm; in fuse_conn_congestion_threshold_write() local 188 fm = list_first_entry(&fc->mounts, struct fuse_mount, fc_entry); in fuse_conn_congestion_threshold_write() 190 clear_bdi_congested(fm->sb->s_bdi, BLK_RW_SYNC); in fuse_conn_congestion_threshold_write() 191 clear_bdi_congested(fm->sb->s_bdi, BLK_RW_ASYNC); in fuse_conn_congestion_threshold_write() 193 set_bdi_congested(fm->sb->s_bdi, BLK_RW_SYNC); in fuse_conn_congestion_threshold_write() 194 set_bdi_congested(fm->sb->s_bdi, BLK_RW_ASYNC); in fuse_conn_congestion_threshold_write()
|
D | virtio_fs.c | 1295 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() 1341 fuse_send_init(fm); in virtio_fs_fill_super() 1352 static void virtio_fs_conn_destroy(struct fuse_mount *fm) in virtio_fs_conn_destroy() argument 1354 struct fuse_conn *fc = fm->fc; in virtio_fs_conn_destroy() 1370 fuse_conn_destroy(fm); in virtio_fs_conn_destroy() 1384 struct fuse_mount *fm = get_fuse_mount_super(sb); in virtio_kill_sb() local 1388 if (fm) { in virtio_kill_sb() 1389 last = fuse_mount_remove(fm); in virtio_kill_sb() 1391 virtio_fs_conn_destroy(fm); in virtio_kill_sb() [all …]
|
/Linux-v5.10/drivers/mtd/ubi/ |
D | fastmap.c | 548 struct ubi_fastmap_layout *fm) in ubi_attach_fastmap() argument 607 fm->max_pool_size = be16_to_cpu(fmpl->max_size); in ubi_attach_fastmap() 608 fm->max_wl_pool_size = be16_to_cpu(fmpl_wl->max_size); in ubi_attach_fastmap() 621 if (fm->max_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap() 622 fm->max_pool_size < 0) { in ubi_attach_fastmap() 623 ubi_err(ubi, "bad maximal pool size: %i", fm->max_pool_size); in ubi_attach_fastmap() 627 if (fm->max_wl_pool_size > UBI_FM_MAX_POOL_SIZE || in ubi_attach_fastmap() 628 fm->max_wl_pool_size < 0) { in ubi_attach_fastmap() 630 fm->max_wl_pool_size); in ubi_attach_fastmap() 781 ai->bad_peb_count - fm->used_blocks)) in ubi_attach_fastmap() [all …]
|
D | fastmap-wl.c | 389 if (ubi->fm) { in ubi_fastmap_close() 390 for (i = 0; i < ubi->fm->used_blocks; i++) in ubi_fastmap_close() 391 kfree(ubi->fm->e[i]); in ubi_fastmap_close() 393 kfree(ubi->fm); in ubi_fastmap_close() 407 if (e && !ubi->fm_disabled && !ubi->fm && in may_reserve_for_fm()
|
/Linux-v5.10/include/linux/ |
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-v5.10/sound/drivers/opl3/ |
D | opl3_midi.c | 301 struct fm_instrument *fm; in snd_opl3_note_on() local 347 fm = &patch->inst; in snd_opl3_note_on() 435 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on() 437 connection = fm->feedback_connection[0] & 0x01; in snd_opl3_note_on() 440 connection |= fm->feedback_connection[1] & 0x01; in snd_opl3_note_on() 467 reg_val = fm->op[i].am_vib; in snd_opl3_note_on() 477 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on() 482 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on() 487 reg_val = fm->op[i].wave_select; in snd_opl3_note_on() 493 reg_val = fm->feedback_connection[0]; in snd_opl3_note_on() [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | cs42xx8.c | 269 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-v5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 34 bp, flg, fm, np) \ argument 46 .fetch_mode = fm, \ 53 alpha, bp, flg, fm, np, th) \ argument 65 .fetch_mode = fm, \ 73 alpha, chroma, count, bp, flg, fm, np) \ argument 85 .fetch_mode = fm, \ 91 #define PSEUDO_YUV_FMT(fmt, a, r, g, b, e0, e1, chroma, flg, fm, np) \ argument 103 .fetch_mode = fm, \ 110 flg, fm, np, th) \ argument 122 .fetch_mode = fm, \ [all …]
|
/Linux-v5.10/drivers/net/ethernet/freescale/fman/ |
D | fman_tgec.c | 219 void *fm; member 401 fman_unregister_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in free_init_resources() 694 (fman_reset_mac(tgec->fm, tgec->mac_id) != 0)) { in tgec_init() 724 err = fman_set_mac_max_frame(tgec->fm, tgec->mac_id, in tgec_init() 758 fman_register_intr(tgec->fm, FMAN_MOD_MAC, tgec->mac_id, in tgec_init() 823 tgec->fm = params->fm; in tgec_config() 826 fman_get_revision(tgec->fm, &tgec->fm_rev_info); in tgec_config()
|
D | fman_dtsec.c | 344 void *fm; member 780 fman_reset_mac(dtsec->fm, dtsec->mac_id); in dtsec_isr() 829 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 831 fman_unregister_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in free_init_resources() 1396 (fman_reset_mac(dtsec->fm, dtsec->mac_id) != 0)) { in dtsec_init() 1444 err = fman_set_mac_max_frame(dtsec->fm, dtsec->mac_id, max_frm_ln); in dtsec_init() 1467 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1470 fman_register_intr(dtsec->fm, FMAN_MOD_MAC, dtsec->mac_id, in dtsec_init() 1537 dtsec->fm = params->fm; in dtsec_config() 1554 fman_get_revision(dtsec->fm, &dtsec->fm_rev_info); in dtsec_config()
|
D | fman_memac.c | 349 void *fm; member 687 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 690 fman_unregister_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in free_init_resources() 1107 err = fman_set_mac_max_frame(memac->fm, memac->mac_id, in memac_init() 1128 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1131 fman_register_intr(memac->fm, FMAN_MOD_MAC, memac->mac_id, in memac_init() 1188 memac->fm = params->fm; in memac_config() 1192 fman_get_revision(memac->fm, &memac->fm_rev_info); in memac_config()
|
/Linux-v5.10/drivers/regulator/ |
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-v5.10/Documentation/userspace-api/media/v4l/ |
D | common.rst | 50 ext-ctrls-fm-tx 51 ext-ctrls-fm-rx
|
/Linux-v5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-max.c | 364 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm) in ddb_lnb_init_fmode() argument 368 if (link->lnb.fmode == fm) in ddb_lnb_init_fmode() 370 dev_info(dev->dev, "Set fmode link %u = %u\n", l, fm); in ddb_lnb_init_fmode() 372 if (fm == 2 || fm == 1) { in ddb_lnb_init_fmode() 394 link->lnb.fmode = fm; in ddb_lnb_init_fmode()
|
D | ddbridge-max.h | 26 int ddb_lnb_init_fmode(struct ddb *dev, struct ddb_link *link, u32 fm);
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 539 u32 *fm; in vmw_fifo_send_fence() local 543 fm = VMW_FIFO_RESERVE(dev_priv, bytes); in vmw_fifo_send_fence() 544 if (unlikely(fm == NULL)) { in vmw_fifo_send_fence() 567 *fm++ = SVGA_CMD_FENCE; in vmw_fifo_send_fence() 568 cmd_fence = (struct svga_fifo_cmd_fence *) fm; in vmw_fifo_send_fence()
|