Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/progs/
Dtest_libbpf_get_fd_by_id_opts.c27 int BPF_PROG(check_access, struct bpf_map *map, fmode_t fmode) in BPF_PROG() argument
32 if (fmode & FMODE_WRITE) in BPF_PROG()
/linux-6.6.21/drivers/spi/
Dspi-stm32-qspi.c112 u32 fmode; member
282 if (qspi->fmode == CCR_FMODE_MM) in stm32_qspi_tx()
308 qspi->fmode == CCR_FMODE_APM) in stm32_qspi_wait_cmd()
380 ccr = qspi->fmode; in stm32_qspi_send()
402 if (op->addr.nbytes && qspi->fmode != CCR_FMODE_MM) in stm32_qspi_send()
405 if (qspi->fmode == CCR_FMODE_APM) in stm32_qspi_send()
417 if (err || err_poll_status || qspi->fmode == CCR_FMODE_MM) in stm32_qspi_send()
465 qspi->fmode = CCR_FMODE_APM; in stm32_qspi_poll_status()
488 qspi->fmode = CCR_FMODE_INDR; in stm32_qspi_exec_op()
490 qspi->fmode = CCR_FMODE_INDW; in stm32_qspi_exec_op()
[all …]
/linux-6.6.21/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.6.21/fs/ceph/
Dfile.c199 int fmode, bool isdir) in ceph_init_file_info() argument
232 ceph_get_fmode(ci, fmode, 1); in ceph_init_file_info()
233 fi->fmode = fmode; in ceph_init_file_info()
249 ceph_put_fmode(ci, fi->fmode, 1); in ceph_init_file_info()
260 static int ceph_init_file(struct inode *inode, struct file *file, int fmode) in ceph_init_file() argument
269 ret = ceph_init_file_info(inode, file, fmode, in ceph_init_file()
296 int ceph_renew_caps(struct inode *inode, int fmode) in ceph_renew_caps() argument
304 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
360 int flags, fmode, wanted; in ceph_open() local
379 fmode = ceph_flags_to_mode(flags); in ceph_open()
[all …]
Dioctl.c249 if ((fi->fmode & CEPH_FILE_MODE_LAZY) == 0) { in ceph_ioctl_lazyio()
251 fi->fmode |= CEPH_FILE_MODE_LAZY; in ceph_ioctl_lazyio()
253 __ceph_touch_fmode(ci, mdsc, fi->fmode); in ceph_ioctl_lazyio()
Dcaps.c2925 int fmode = 0; in get_used_fmode() local
2927 fmode |= CEPH_FILE_MODE_RD; in get_used_fmode()
2929 fmode |= CEPH_FILE_MODE_WR; in get_used_fmode()
2930 return fmode; in get_used_fmode()
2975 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) && in __ceph_get_caps()
3028 if (fi && (fi->fmode & CEPH_FILE_MODE_WR) && in __ceph_get_caps()
4580 struct ceph_mds_client *mdsc, int fmode) in __ceph_touch_fmode() argument
4583 if (fmode & CEPH_FILE_MODE_RD) in __ceph_touch_fmode()
4585 if (fmode & CEPH_FILE_MODE_WR) in __ceph_touch_fmode()
4588 if (fmode && in __ceph_touch_fmode()
[all …]
/linux-6.6.21/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.6.21/fs/nfs/
Dnfs4trace.h507 __field(unsigned long, fmode)
525 __entry->fmode = (__force unsigned long)ctx->mode;
563 show_fs_fmode_flags(__entry->fmode),
596 __field(unsigned int, fmode)
607 __entry->fmode = (__force unsigned int)state->state;
617 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) :
640 __field(unsigned int, fmode)
652 __entry->fmode = (__force unsigned int)state->state;
665 __entry->fmode ? show_fs_fmode_flags(__entry->fmode) :
893 fmode_t fmode
[all …]
Dnfs4proc.c1299 fmode_t fmode, int openflags) in nfs4_map_atomic_open_share() argument
1303 switch (fmode & (FMODE_READ | FMODE_WRITE)) { in nfs4_map_atomic_open_share()
1352 struct nfs4_state_owner *sp, fmode_t fmode, int flags, in nfs4_opendata_alloc() argument
1386 p->o_arg.fmode = fmode & (FMODE_READ|FMODE_WRITE); in nfs4_opendata_alloc()
1389 fmode, flags); in nfs4_opendata_alloc()
1481 fmode_t fmode) in nfs4_mode_match_open_stateid() argument
1483 switch(fmode & (FMODE_READ|FMODE_WRITE)) { in nfs4_mode_match_open_stateid()
1526 static int can_open_delegated(struct nfs_delegation *delegation, fmode_t fmode, in can_open_delegated() argument
1531 if ((delegation->type & fmode) != fmode) in can_open_delegated()
1548 static void update_open_stateflags(struct nfs4_state *state, fmode_t fmode) in update_open_stateflags() argument
[all …]
Dnfs4state.c685 nfs4_state_set_mode_locked(struct nfs4_state *state, fmode_t fmode) in nfs4_state_set_mode_locked() argument
687 if (state->state == fmode) in nfs4_state_set_mode_locked()
690 if ((fmode & FMODE_WRITE) != (state->state & FMODE_WRITE)) { in nfs4_state_set_mode_locked()
691 if (fmode & FMODE_WRITE) in nfs4_state_set_mode_locked()
696 state->state = fmode; in nfs4_state_set_mode_locked()
781 fmode_t fmode, gfp_t gfp_mask, int wait) in __nfs4_close() argument
790 switch (fmode & (FMODE_READ | FMODE_WRITE)) { in __nfs4_close()
825 void nfs4_close_state(struct nfs4_state *state, fmode_t fmode) in nfs4_close_state() argument
827 __nfs4_close(state, fmode, GFP_KERNEL, 0); in nfs4_close_state()
830 void nfs4_close_sync(struct nfs4_state *state, fmode_t fmode) in nfs4_close_sync() argument
[all …]
Dnfstrace.h498 __field(unsigned long, fmode)
508 __entry->fmode = (__force unsigned long)ctx->mode;
516 show_fs_fmode_flags(__entry->fmode),
536 __field(unsigned long, fmode)
547 __entry->fmode = (__force unsigned long)ctx->mode;
557 show_fs_fmode_flags(__entry->fmode),
Dnfs4_fs.h322 fmode_t fmode);
330 fmode_t fmode);
/linux-6.6.21/drivers/ptp/
Dptp_private.h127 int ptp_open(struct posix_clock *pc, fmode_t fmode);
/linux-6.6.21/sound/core/seq/oss/
Dseq_oss_midi.c322 snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int fmode) in snd_seq_oss_midi_open() argument
341 if (is_write_mode(fmode)) in snd_seq_oss_midi_open()
343 if (is_read_mode(fmode)) in snd_seq_oss_midi_open()
/linux-6.6.21/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.6.21/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.6.21/arch/m68k/include/asm/
Damigahw.h203 unsigned short fmode; member
/linux-6.6.21/drivers/char/
Dmem.c696 fmode_t fmode; member
729 filp->f_mode |= dev->fmode; in memory_open()
/linux-6.6.21/init/
Dinitramfs.c329 static void __init clean_path(char *path, umode_t fmode) in clean_path() argument
334 (st.mode ^ fmode) & S_IFMT) { in clean_path()
/linux-6.6.21/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.6.21/fs/udf/
Dsuper.c221 umode_t fmode; member
594 uopt->fmode = option & 0777; in udf_parse_options()
624 uopt.fmode = sbi->s_fmode; in udf_remount_fs()
636 sbi->s_fmode = uopt.fmode; in udf_remount_fs()
2101 uopt.fmode = UDF_INVALID_MODE; in udf_fill_super()
2123 sbi->s_fmode = uopt.fmode; in udf_fill_super()

12