Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/kernel/linux/linux-5.10/drivers/media/common/b2c2/
Dflexcop.c56 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() local
57 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1); in flexcop_dvb_start_feed()
62 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() local
63 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0); in flexcop_dvb_stop_feed()
66 static int flexcop_dvb_init(struct flexcop_device *fc) in flexcop_dvb_init() argument
68 int ret = dvb_register_adapter(&fc->dvb_adapter, in flexcop_dvb_init()
69 "FlexCop Digital TV device", fc->owner, in flexcop_dvb_init()
70 fc->dev, adapter_nr); in flexcop_dvb_init()
75 fc->dvb_adapter.priv = fc; in flexcop_dvb_init()
77 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init()
[all …]
Dflexcop-hw-filter.c9 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) in flexcop_rcv_data_ctrl() argument
15 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) in flexcop_smc_ctrl() argument
20 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_null_filter_ctrl() argument
25 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) in flexcop_set_mac_filter() argument
28 v41c = fc->read_ibi_reg(fc, mac_address_41c); in flexcop_set_mac_filter()
37 fc->write_ibi_reg(fc, mac_address_418, v418); in flexcop_set_mac_filter()
38 fc->write_ibi_reg(fc, mac_address_41c, v41c); in flexcop_set_mac_filter()
41 void flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) in flexcop_mac_filter_ctrl() argument
46 static void flexcop_pid_group_filter(struct flexcop_device *fc, in flexcop_pid_group_filter() argument
53 fc->write_ibi_reg(fc, pid_filter_30c, v30c); in flexcop_pid_group_filter()
[all …]
Dflexcop-fe-tuner.c34 struct flexcop_device *fc = fe->dvb->priv; in flexcop_fe_request_firmware() local
36 return request_firmware(fw, name, fc->dev); in flexcop_fe_request_firmware()
45 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_voltage() local
49 v = fc->read_ibi_reg(fc, misc_204); in flexcop_set_voltage()
66 return fc->write_ibi_reg(fc, misc_204, v); in flexcop_set_voltage()
73 struct flexcop_device *fc = fe->dvb->priv; in flexcop_sleep() local
74 if (fc->fe_sleep) in flexcop_sleep()
75 return fc->fe_sleep(fe); in flexcop_sleep()
85 struct flexcop_device *fc = fe->dvb->priv; in flexcop_set_tone() local
106 return fc->write_ibi_reg(fc,lnb_switch_freq_200,v); in flexcop_set_tone()
[all …]
Dflexcop-i2c.c11 static int flexcop_i2c_operation(struct flexcop_device *fc, in flexcop_i2c_operation() argument
20 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero); in flexcop_i2c_operation()
21 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */ in flexcop_i2c_operation()
24 r = fc->read_ibi_reg(fc, tw_sm_c_100); in flexcop_i2c_operation()
59 if (i2c->fc->dev_type == FC_SKY_REV27) in flexcop_i2c_read4()
62 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4()
66 ret = flexcop_i2c_operation(i2c->fc, &r100); in flexcop_i2c_read4()
76 r104 = i2c->fc->read_ibi_reg(i2c->fc, tw_sm_c_104); in flexcop_i2c_read4()
87 static int flexcop_i2c_write4(struct flexcop_device *fc, in flexcop_i2c_write4() argument
103 fc->write_ibi_reg(fc, tw_sm_c_104, r104); in flexcop_i2c_write4()
[all …]
Dflexcop-common.h50 struct flexcop_device *fc; member
104 int (*get_mac_addr) (struct flexcop_device *fc, int extended);
111 void flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len);
112 void flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no);
118 void flexcop_device_exit(struct flexcop_device *fc);
119 void flexcop_reset_block_300(struct flexcop_device *fc);
126 int flexcop_dma_control_timer_irq(struct flexcop_device *fc,
128 int flexcop_dma_control_size_irq(struct flexcop_device *fc,
130 int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma,
132 int flexcop_dma_xfer_control(struct flexcop_device *fc,
[all …]
Dflexcop-misc.c9 void flexcop_determine_revision(struct flexcop_device *fc) in flexcop_determine_revision() argument
11 flexcop_ibi_value v = fc->read_ibi_reg(fc,misc_204); in flexcop_determine_revision()
16 fc->rev = FLEXCOP_II; in flexcop_determine_revision()
20 fc->rev = FLEXCOP_IIB; in flexcop_determine_revision()
24 fc->rev = FLEXCOP_III; in flexcop_determine_revision()
32 if ((fc->has_32_hw_pid_filter = v.misc_204.Rev_N_sig_caps)) in flexcop_determine_revision()
65 void flexcop_device_name(struct flexcop_device *fc, in flexcop_device_name() argument
69 prefix, flexcop_device_names[fc->dev_type], in flexcop_device_name()
70 flexcop_bus_names[fc->bus_type], in flexcop_device_name()
71 flexcop_revision_names[fc->rev], suffix); in flexcop_device_name()
[all …]
Dflexcop-sram.c9 static void flexcop_sram_set_chip(struct flexcop_device *fc, in flexcop_sram_set_chip() argument
15 int flexcop_sram_init(struct flexcop_device *fc) in flexcop_sram_init() argument
17 switch (fc->rev) { in flexcop_sram_init()
20 flexcop_sram_set_chip(fc, FC_SRAM_1_32KB); in flexcop_sram_init()
23 flexcop_sram_set_chip(fc, FC_SRAM_1_48KB); in flexcop_sram_init()
31 int flexcop_sram_set_dest(struct flexcop_device *fc, flexcop_sram_dest_t dest, in flexcop_sram_set_dest() argument
35 v = fc->read_ibi_reg(fc, sram_dest_reg_714); in flexcop_sram_set_dest()
37 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) { in flexcop_sram_set_dest()
52 fc->write_ibi_reg(fc,sram_dest_reg_714,v); in flexcop_sram_set_dest()
59 void flexcop_wan_set_speed(struct flexcop_device *fc, flexcop_wan_speed_t s) in flexcop_wan_set_speed() argument
[all …]
/kernel/linux/linux-5.10/fs/
Dfs_context.c39 static int legacy_init_fs_context(struct fs_context *fc);
61 static int vfs_parse_sb_flag(struct fs_context *fc, const char *key) in vfs_parse_sb_flag() argument
67 fc->sb_flags |= token; in vfs_parse_sb_flag()
68 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
74 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
75 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
94 int vfs_parse_fs_param_source(struct fs_context *fc, struct fs_parameter *param) in vfs_parse_fs_param_source() argument
100 return invalf(fc, "Non-string source"); in vfs_parse_fs_param_source()
102 if (fc->source) in vfs_parse_fs_param_source()
103 return invalf(fc, "Multiple sources"); in vfs_parse_fs_param_source()
[all …]
Dfsopen.c27 struct fs_context *fc = file->private_data; in fscontext_read() local
28 struct fc_log *log = fc->log.log; in fscontext_read()
35 ret = mutex_lock_interruptible(&fc->uapi_mutex); in fscontext_read()
40 mutex_unlock(&fc->uapi_mutex); in fscontext_read()
50 mutex_unlock(&fc->uapi_mutex); in fscontext_read()
69 struct fs_context *fc = file->private_data; in fscontext_release() local
71 if (fc) { in fscontext_release()
73 put_fs_context(fc); in fscontext_release()
87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
91 fd = anon_inode_getfd("[fscontext]", &fscontext_fops, fc, in fscontext_create_fd()
[all …]
Dsuper.c486 bool mount_capable(struct fs_context *fc) in mount_capable() argument
488 if (!(fc->fs_type->fs_flags & FS_USERNS_MOUNT)) in mount_capable()
491 return ns_capable(fc->user_ns, CAP_SYS_ADMIN); in mount_capable()
512 struct super_block *sget_fc(struct fs_context *fc, in sget_fc() argument
518 struct user_namespace *user_ns = fc->global ? &init_user_ns : fc->user_ns; in sget_fc()
524 hlist_for_each_entry(old, &fc->fs_type->fs_supers, s_instances) { in sget_fc()
525 if (test(old, fc)) in sget_fc()
531 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
537 s->s_fs_info = fc->s_fs_info; in sget_fc()
538 err = set(s, fc); in sget_fc()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Davmfritz.c172 struct fritzcard *fc = p; in ReadISAC_V1() local
175 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1()
176 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1()
182 struct fritzcard *fc = p; in WriteISAC_V1() local
185 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1()
186 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1()
192 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local
194 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1()
195 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1()
201 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-flakey.c18 #define all_corrupt_bio_flags_match(bio, fc) \ argument
19 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
47 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, in parse_features() argument
82 if (test_and_set_bit(DROP_WRITES, &fc->flags)) { in parse_features()
85 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features()
97 if (test_and_set_bit(ERROR_WRITES, &fc->flags)) { in parse_features()
101 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features()
118 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features()
128 fc->corrupt_bio_rw = WRITE; in parse_features()
130 fc->corrupt_bio_rw = READ; in parse_features()
[all …]
/kernel/linux/linux-5.10/fs/fuse/
Dcontrol.c25 struct fuse_conn *fc; in fuse_ctl_file_conn_get() local
27 fc = file_inode(file)->i_private; in fuse_ctl_file_conn_get()
28 if (fc) in fuse_ctl_file_conn_get()
29 fc = fuse_conn_get(fc); in fuse_ctl_file_conn_get()
31 return fc; in fuse_ctl_file_conn_get()
37 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_abort_write() local
38 if (fc) { in fuse_conn_abort_write()
39 if (fc->abort_err) in fuse_conn_abort_write()
40 fc->aborted = true; in fuse_conn_abort_write()
41 fuse_abort_conn(fc); in fuse_conn_abort_write()
[all …]
Dinode.c128 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_evict_inode() local
133 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode()
144 static int fuse_reconfigure(struct fs_context *fc) in fuse_reconfigure() argument
146 struct super_block *sb = fc->root->d_sb; in fuse_reconfigure()
149 if (fc->sb_flags & SB_MANDLOCK) in fuse_reconfigure()
170 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes_common() local
175 fi->attr_version = atomic64_inc_return(&fc->attr_version); in fuse_change_attributes_common()
182 inode->i_uid = make_kuid(fc->user_ns, attr->uid); in fuse_change_attributes_common()
183 inode->i_gid = make_kgid(fc->user_ns, attr->gid); in fuse_change_attributes_common()
194 if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) { in fuse_change_attributes_common()
[all …]
Ddev.c78 void fuse_set_initialized(struct fuse_conn *fc) in fuse_set_initialized() argument
82 fc->initialized = 1; in fuse_set_initialized()
85 static bool fuse_block_alloc(struct fuse_conn *fc, bool for_background) in fuse_block_alloc() argument
87 return !fc->initialized || (for_background && fc->blocked); in fuse_block_alloc()
90 static void fuse_drop_waiting(struct fuse_conn *fc) in fuse_drop_waiting() argument
97 if (atomic_dec_and_test(&fc->num_waiting) && in fuse_drop_waiting()
98 !READ_ONCE(fc->connected)) { in fuse_drop_waiting()
100 wake_up_all(&fc->blocked_waitq); in fuse_drop_waiting()
108 struct fuse_conn *fc = fm->fc; in fuse_get_req() local
111 atomic_inc(&fc->num_waiting); in fuse_get_req()
[all …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Dst-dma-fence-chain.c119 static int fence_chains_init(struct fence_chains *fc, unsigned int count, in fence_chains_init() argument
125 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
127 if (!fc->chains) in fence_chains_init()
130 fc->fences = kvmalloc_array(count, sizeof(*fc->fences), in fence_chains_init()
132 if (!fc->fences) { in fence_chains_init()
137 fc->tail = NULL; in fence_chains_init()
139 fc->fences[i] = mock_fence(); in fence_chains_init()
140 if (!fc->fences[i]) { in fence_chains_init()
145 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
146 fc->fences[i], in fence_chains_init()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdsuper.c25 static int mtd_test_super(struct super_block *sb, struct fs_context *fc) in mtd_test_super() argument
27 struct mtd_info *mtd = fc->sget_key; in mtd_test_super()
29 if (sb->s_mtd == fc->sget_key) { in mtd_test_super()
45 static int mtd_set_super(struct super_block *sb, struct fs_context *fc) in mtd_set_super() argument
47 sb->s_mtd = fc->sget_key; in mtd_set_super()
56 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument
64 fc->sget_key = mtd; in mtd_get_sb()
65 sb = sget_fc(fc, mtd_test_super, mtd_set_super); in mtd_get_sb()
79 ret = fill_super(sb, fc); in mtd_get_sb()
86 BUG_ON(fc->root); in mtd_get_sb()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/b2c2/
Dflexcop-dma.c42 int flexcop_dma_config(struct flexcop_device *fc, in flexcop_dma_config() argument
54 fc->write_ibi_reg(fc, dma1_000, v0x0); in flexcop_dma_config()
55 fc->write_ibi_reg(fc, dma1_004, v0x4); in flexcop_dma_config()
56 fc->write_ibi_reg(fc, dma1_00c, v0xc); in flexcop_dma_config()
58 fc->write_ibi_reg(fc, dma2_010, v0x0); in flexcop_dma_config()
59 fc->write_ibi_reg(fc, dma2_014, v0x4); in flexcop_dma_config()
60 fc->write_ibi_reg(fc, dma2_01c, v0xc); in flexcop_dma_config()
72 int flexcop_dma_xfer_control(struct flexcop_device *fc, in flexcop_dma_xfer_control() argument
92 v0x0 = fc->read_ibi_reg(fc, r0x0); in flexcop_dma_xfer_control()
93 v0xc = fc->read_ibi_reg(fc, r0xc); in flexcop_dma_xfer_control()
[all …]
Dflexcop-pci.c76 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, in flexcop_pci_read_ibi_reg() argument
79 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_read_ibi_reg()
91 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, in flexcop_pci_write_ibi_reg() argument
94 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_write_ibi_reg()
109 struct flexcop_device *fc = fc_pci->fc_dev; in flexcop_pci_irq_check_work() local
111 if (fc->feedcount) { in flexcop_pci_irq_check_work()
119 spin_lock_irq(&fc->demux.lock); in flexcop_pci_irq_check_work()
120 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
122 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work()
125 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfs_context.h116 void (*free)(struct fs_context *fc);
117 int (*dup)(struct fs_context *fc, struct fs_context *src_fc);
118 int (*parse_param)(struct fs_context *fc, struct fs_parameter *param);
119 int (*parse_monolithic)(struct fs_context *fc, void *data);
120 int (*get_tree)(struct fs_context *fc);
121 int (*reconfigure)(struct fs_context *fc);
135 extern struct fs_context *vfs_dup_fs_context(struct fs_context *fc);
136 extern int vfs_parse_fs_param(struct fs_context *fc, struct fs_parameter *param);
137 extern int vfs_parse_fs_string(struct fs_context *fc, const char *key,
139 extern int generic_parse_monolithic(struct fs_context *fc, void *data);
[all …]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_flash.c137 struct esas2r_flash_context *fc = in esas2r_fmapi_callback() local
144 if (fc->sgc.cur_offset == NULL) in esas2r_fmapi_callback()
155 rq->interrupt_cb = fc->interrupt_cb; in esas2r_fmapi_callback()
169 (*fc->interrupt_cb)(a, rq); in esas2r_fmapi_callback()
179 struct esas2r_flash_context *fc = in build_flash_msg() local
181 struct esas2r_sg_context *sgc = &fc->sgc; in build_flash_msg()
185 if (fc->func == VDA_FLASH_BEGINW) { in build_flash_msg()
192 rq->interrupt_cb = fc->interrupt_cb; in build_flash_msg()
196 fc->func, in build_flash_msg()
198 fc->flsh_addr, in build_flash_msg()
[all …]
/kernel/linux/linux-5.10/fs/proc/
Droot.c61 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() argument
63 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param()
69 return invalf(fc, "proc: unexpected type of hidepid value\n"); in proc_parse_hidepid_param()
73 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param()
87 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param()
92 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() argument
94 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param()
106 return invalf(fc, "proc: unsupported subset option - %s\n", value); in proc_parse_subset_param()
115 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() argument
117 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param()
[all …]
/kernel/linux/linux-5.10/fs/sysfs/
Dmount.c26 static int sysfs_get_tree(struct fs_context *fc) in sysfs_get_tree() argument
28 struct kernfs_fs_context *kfc = fc->fs_private; in sysfs_get_tree()
31 ret = kernfs_get_tree(fc); in sysfs_get_tree()
36 fc->root->d_sb->s_iflags |= SB_I_USERNS_VISIBLE; in sysfs_get_tree()
40 static void sysfs_fs_context_free(struct fs_context *fc) in sysfs_fs_context_free() argument
42 struct kernfs_fs_context *kfc = fc->fs_private; in sysfs_fs_context_free()
46 kernfs_free_fs_context(fc); in sysfs_fs_context_free()
55 static int sysfs_init_fs_context(struct fs_context *fc) in sysfs_init_fs_context() argument
60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
72 fc->fs_private = kfc; in sysfs_init_fs_context()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dfs_context.c312 static int nfs_auth_info_add(struct fs_context *fc, in nfs_auth_info_add() argument
326 return nfs_invalf(fc, "NFS: too many sec= flavors"); in nfs_auth_info_add()
335 static int nfs_parse_security_flavors(struct fs_context *fc, in nfs_parse_security_flavors() argument
338 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors()
383 return nfs_invalf(fc, "NFS: sec=%s option not recognized", p); in nfs_parse_security_flavors()
386 ret = nfs_auth_info_add(fc, &ctx->auth_info, pseudoflavor); in nfs_parse_security_flavors()
394 static int nfs_parse_version_string(struct fs_context *fc, in nfs_parse_version_string() argument
397 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_version_string()
428 return nfs_invalf(fc, "NFS: Unsupported NFS version"); in nfs_parse_version_string()
436 static int nfs_fs_context_parse_param(struct fs_context *fc, in nfs_fs_context_parse_param() argument
[all …]
/kernel/linux/linux-5.10/net/ieee802154/
Dheader_ops.c83 struct ieee802154_hdr_fc *fc = &hdr->fc; in ieee802154_hdr_push() local
87 fc->dest_addr_mode = hdr->dest.mode; in ieee802154_hdr_push()
94 fc->source_addr_mode = hdr->source.mode; in ieee802154_hdr_push()
98 fc->intra_pan = true; in ieee802154_hdr_push()
100 rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc->intra_pan); in ieee802154_hdr_push()
105 if (fc->security_enabled) { in ieee802154_hdr_push()
106 fc->version = 1; in ieee802154_hdr_push()
115 memcpy(buf, fc, 2); in ieee802154_hdr_push()
207 dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false); in ieee802154_hdr_minlen()
208 slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, in ieee802154_hdr_minlen()
[all …]

12345678910>>...20