Home
last modified time | relevance | path

Searched refs:fmode (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.1.9/drivers/media/pci/ddbridge/
Dddbridge-max.c35 static int fmode; variable
36 module_param(fmode, int, 0444);
37 MODULE_PARM_DESC(fmode, "frontend emulation mode");
76 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_send_master_cmd() local
78 if (fmode == 2 || fmode == 1) in max_send_master_cmd()
201 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_tone() local
205 switch (fmode) { in max_set_tone()
240 u32 fmode = dev->link[port->lnr].lnb.fmode; in max_set_voltage() local
245 switch (fmode) { in max_set_voltage()
249 if (fmode == 3) in max_set_voltage()
[all …]
Dddbridge.h285 u32 fmode; member
/linux-6.1.9/drivers/spi/
Dspi-stm32-qspi.c113 u32 fmode; member
283 if (qspi->fmode == CCR_FMODE_MM) in stm32_qspi_tx()
309 qspi->fmode == CCR_FMODE_APM) in stm32_qspi_wait_cmd()
381 ccr = qspi->fmode; in stm32_qspi_send()
403 if (op->addr.nbytes && qspi->fmode != CCR_FMODE_MM) in stm32_qspi_send()
406 if (qspi->fmode == CCR_FMODE_APM) in stm32_qspi_send()
418 if (err || err_poll_status || qspi->fmode == CCR_FMODE_MM) in stm32_qspi_send()
466 qspi->fmode = CCR_FMODE_APM; in stm32_qspi_poll_status()
489 qspi->fmode = CCR_FMODE_INDR; in stm32_qspi_exec_op()
491 qspi->fmode = CCR_FMODE_INDW; in stm32_qspi_exec_op()
[all …]
/linux-6.1.9/drivers/video/fbdev/
Damifb.c748 u_short fmode; member
780 u_short fmode; /* vmode */ member
1477 par->fmode = bplfetchmode[maxfmode]; in ami_decode_var()
1485 par->fmode |= FMODE_SSCAN2 | FMODE_BSCAN2; in ami_decode_var()
1556 if (IS_AGA && par->fmode & FMODE_BSCAN2) in ami_encode_var()
1637 if (IS_AGA && (par->fmode & FMODE_BSCAN2)) in ami_update_par()
1726 custom.fmode = par->fmode; in ami_init_display()
1864 delta = 1 << par->crsr.fmode; in ami_get_var_cursorinfo()
1926 u_short fmode; in ami_set_var_cursorinfo() local
1932 fmode = TAG_FMODE_1; in ami_set_var_cursorinfo()
[all …]
/linux-6.1.9/fs/ceph/
Dfile.c203 int fmode, bool isdir) in ceph_init_file_info() argument
236 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info()
237 fi->fmode = fmode; in ceph_init_file_info()
253 ceph_put_fmode(ci, fi->fmode, 1); in ceph_init_file_info()
264 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument
273 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file()
300 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument
308 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
364 int flags, fmode, wanted; in ceph_open() local
378 fmode = ceph_flags_to_mode(flags); in ceph_open()
[all …]
Dioctl.c248 if ((fi->fmode & CEPH_FILE_MODE_LAZY) == 0) { in ceph_ioctl_lazyio()
250 fi->fmode |= CEPH_FILE_MODE_LAZY; in ceph_ioctl_lazyio()
252 __ceph_touch_fmode(ci, mdsc, fi->fmode); in ceph_ioctl_lazyio()
Dcaps.c2859 int fmode = 0; in get_used_fmode() local
2861 fmode |= CEPH_FILE_MODE_RD; in get_used_fmode()
2863 fmode |= CEPH_FILE_MODE_WR; in get_used_fmode()
2864 return fmode; in get_used_fmode()
2910 if ((fi->fmode & CEPH_FILE_MODE_WR) && in ceph_get_caps()
2963 if ((fi->fmode & CEPH_FILE_MODE_WR) && in ceph_get_caps()
4379 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode() argument
4382 if (fmode & CEPH_FILE_MODE_RD) in __ceph_touch_fmode()
4384 if (fmode & CEPH_FILE_MODE_WR) in __ceph_touch_fmode()
4387 if (fmode && in __ceph_touch_fmode()
[all …]
Dsuper.h784 short fmode; /* initialized on open */ member
1222 struct ceph_mds_client *mdsc, int fmode);
1244 extern int ceph_renew_caps(struct inode *inode, int fmode);
/linux-6.1.9/drivers/media/usb/dvb-usb/
Dcxusb-analog.c192 if (bt656->fmode == LINE_SAMPLES) { in cxusb_medion_cf_refc_fld_chg()
248 bt656->fmode = LINE_SAMPLES; in cxusb_medion_cf_refc_start_sch()
253 bt656->fmode = VBI_SAMPLES; in cxusb_medion_cf_refc_start_sch()
283 bt656->fmode = START_SEARCH; in cxusb_medion_cf_refc_line_smpl()
298 bt656->fmode = START_SEARCH; in cxusb_medion_cf_refc_vbi_smpl()
309 if (bt656->fmode == START_SEARCH) { in cxusb_medion_cf_ref_code()
311 } else if (bt656->fmode == LINE_SAMPLES) { in cxusb_medion_cf_ref_code()
315 } else if (bt656->fmode == VBI_SAMPLES) { in cxusb_medion_cf_ref_code()
346 bt656->fmode = LINE_SAMPLES; in cxusb_medion_cs_start_sch()
362 bt656->fmode = START_SEARCH; in cxusb_medion_cs_line_smpl()
[all …]
Dcxusb.h106 enum cxusb_bt656_fmode fmode; member
/linux-6.1.9/fs/nfs/
Dnfs4trace.h505 __field(unsigned long, fmode)
523 __entry->fmode = (__force unsigned long)ctx->mode;
561 show_fs_fmode_flags(__entry->fmode),
594 __field(unsigned int, fmode)
605 __entry->fmode = (__force unsigned int)state->state;
615 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) :
638 __field(unsigned int, fmode)
650 __entry->fmode = (__force unsigned int)state->state;
663 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) :
891 fmode_t fmode
[all …]
Dnfs4proc.c1296 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() argument
1300 switch (fmode & (FMODE_READ | FMODE_WRITE)) { in nfs4_map_atomic_open_share()
1349 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument
1383 p->o_arg.fmode = fmode & (FMODE_READ|FMODE_WRITE); in nfs4_opendata_alloc()
1386 fmode, flags); in nfs4_opendata_alloc()
1478 fmode_t fmode) in nfs4_mode_match_open_stateid() argument
1480 switch(fmode & (FMODE_READ|FMODE_WRITE)) { in nfs4_mode_match_open_stateid()
1523 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1528 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1545 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags() argument
[all …]
Dnfs4state.c681 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked() argument
683 if (state->state == fmode) in nfs4_state_set_mode_locked()
686 if ((fmode & FMODE_WRITE) != (state->state & FMODE_WRITE)) { in nfs4_state_set_mode_locked()
687 if (fmode & FMODE_WRITE) in nfs4_state_set_mode_locked()
692 state->state = fmode; in nfs4_state_set_mode_locked()
777 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close() argument
786 switch (fmode & (FMODE_READ | FMODE_WRITE)) { in __nfs4_close()
821 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state() argument
823 __nfs4_close(state, fmode, GFP_KERNEL, 0); in nfs4_close_state()
826 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync() argument
[all …]
Dnfstrace.h501 __field(unsigned long, fmode)
511 __entry->fmode = (__force unsigned long)ctx->mode;
519 show_fs_fmode_flags(__entry->fmode),
539 __field(unsigned long, fmode)
550 __entry->fmode = (__force unsigned long)ctx->mode;
560 show_fs_fmode_flags(__entry->fmode),
Dnfs4_fs.h320 fmode_t fmode);
328 fmode_t fmode);
/linux-6.1.9/drivers/ptp/
Dptp_private.h123 int ptp_open(struct posix_clock *pc, fmode_t fmode);
/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_midi.c320 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) in snd_seq_oss_midi_open() argument
337 if (is_write_mode(fmode)) in snd_seq_oss_midi_open()
339 if (is_read_mode(fmode)) in snd_seq_oss_midi_open()
/linux-6.1.9/fs/isofs/
Dinode.c161 umode_t fmode; member
352 popt->fmode = popt->dmode = ISOFS_INVALID_MODE; in parse_options()
457 popt->fmode = option; in parse_options()
896 if (opt.fmode != ISOFS_INVALID_MODE) in isofs_fill_super()
897 sbi->s_fmode = opt.fmode & 0777; in isofs_fill_super()
/linux-6.1.9/fs/vboxsf/
Dvfsmod.h30 umode_t fmode; member
Dutils.c96 mode = sbi->o.fmode; in vboxsf_init_inode()
107 mode = sbi->o.fmode; in vboxsf_init_inode()
/linux-6.1.9/arch/m68k/include/asm/
Damigahw.h203 unsigned short fmode; member
/linux-6.1.9/drivers/char/
Dmem.c704 fmode_t fmode; member
736 filp->f_mode |= dev->fmode; in memory_open()
/linux-6.1.9/init/
Dinitramfs.c335 static void __init clean_path(char *path, umode_t fmode) in clean_path() argument
340 (st.mode ^ fmode) & S_IFMT) { in clean_path()
/linux-6.1.9/fs/xfs/
Dxfs_ioctl.c197 fmode_t fmode; in xfs_open_by_handle() local
219 fmode = OPEN_FMODE(permflag); in xfs_open_by_handle()
221 (fmode & FMODE_WRITE) && IS_APPEND(inode)) { in xfs_open_by_handle()
226 if ((fmode & FMODE_WRITE) && IS_IMMUTABLE(inode)) { in xfs_open_by_handle()
232 if (S_ISDIR(inode->i_mode) && (fmode & FMODE_WRITE)) { in xfs_open_by_handle()
/linux-6.1.9/fs/udf/
Dsuper.c217 umode_t fmode; member
590 uopt->fmode = option & 0777; in udf_parse_options()
620 uopt.fmode = sbi->s_fmode; in udf_remount_fs()
632 sbi->s_fmode = uopt.fmode; in udf_remount_fs()
2138 uopt.fmode = UDF_INVALID_MODE; in udf_fill_super()
2160 sbi->s_fmode = uopt.fmode; in udf_fill_super()

12