Home
last modified time | relevance | path

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

12345678910>>...23

/openbmc/linux/drivers/media/common/b2c2/
H A Dflexcop.c66 fc->dvb_adapter.priv = fc; in flexcop_dvb_init()
70 fc->demux.priv = fc; in flexcop_dvb_init()
85 fc->dmxdev.demux = &fc->demux.dmx; in flexcop_dvb_init()
93 ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->hw_frontend); in flexcop_dvb_init()
100 ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->mem_frontend); in flexcop_dvb_init()
106 ret = fc->demux.dmx.connect_frontend(&fc->demux.dmx, &fc->hw_frontend); in flexcop_dvb_init()
112 ret = dvb_net_init(&fc->dvb_adapter, &fc->dvbnet, &fc->demux.dmx); in flexcop_dvb_init()
124 fc->demux.dmx.remove_frontend(&fc->demux.dmx, &fc->mem_frontend); in flexcop_dvb_init()
126 fc->demux.dmx.remove_frontend(&fc->demux.dmx, &fc->hw_frontend); in flexcop_dvb_init()
193 fc->write_ibi_reg(fc,misc_204,v204); in flexcop_reset()
[all …]
H A Dflexcop-hw-filter.c28 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()
53 fc->write_ibi_reg(fc, pid_filter_30c, v30c); in flexcop_pid_group_filter()
67 v208 = fc->read_ibi_reg(fc, ctrl_208); \
71 fc->write_ibi_reg(fc, vregname, vpid); \
72 fc->write_ibi_reg(fc, ctrl_208, v208)
151 vid = fc->read_ibi_reg(fc, index_reg_310); in flexcop_pid_control()
212 fc->stream_control(fc, onoff); in flexcop_pid_feed_control()
239 v = fc->read_ibi_reg(fc, pid_filter_308); in flexcop_hw_filter_init()
[all …]
H A Dflexcop-fe-tuner.c49 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()
106 return fc->write_ibi_reg(fc,lnb_switch_freq_200,v); in flexcop_set_tone()
176 if (!fc->fe) in skystar2_rev23_attach()
287 if (!fc->fe) in skystar2_rev26_attach()
295 fc->fe_sleep = fc->fe->ops.sleep; in skystar2_rev26_attach()
327 if (!fc->fe) in skystar2_rev27_attach()
334 fc->fe_sleep = fc->fe->ops.sleep; in skystar2_rev27_attach()
348 fc->write_ibi_reg(fc, tw_sm_c_108, r108); in skystar2_rev27_attach()
390 if (!fc->fe) in skystar2_rev28_attach()
[all …]
H A Dflexcop-i2c.c20 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()
76 r104 = i2c->fc->read_ibi_reg(i2c->fc, tw_sm_c_104); in flexcop_i2c_read4()
103 fc->write_ibi_reg(fc, tw_sm_c_104, r104); in flexcop_i2c_write4()
222 fc->fc_i2c_adap[0].fc = fc; in flexcop_i2c_init()
223 fc->fc_i2c_adap[1].fc = fc; in flexcop_i2c_init()
224 fc->fc_i2c_adap[2].fc = fc; in flexcop_i2c_init()
236 i2c_set_adapdata(&fc->fc_i2c_adap[0].i2c_adap, &fc->fc_i2c_adap[0]); in flexcop_i2c_init()
237 i2c_set_adapdata(&fc->fc_i2c_adap[1].i2c_adap, &fc->fc_i2c_adap[1]); in flexcop_i2c_init()
[all …]
H A Dflexcop-common.h50 struct flexcop_device *fc; member
118 void flexcop_device_exit(struct flexcop_device *fc);
132 int flexcop_dma_xfer_control(struct flexcop_device *fc,
154 void flexcop_sram_ctrl(struct flexcop_device *fc,
159 int flexcop_frontend_init(struct flexcop_device *fc);
160 void flexcop_frontend_exit(struct flexcop_device *fc);
163 int flexcop_i2c_init(struct flexcop_device *fc);
164 void flexcop_i2c_exit(struct flexcop_device *fc);
167 int flexcop_sram_init(struct flexcop_device *fc);
171 void flexcop_device_name(struct flexcop_device *fc,
[all …]
H A 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()
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()
74 void flexcop_dump_reg(struct flexcop_device *fc, in flexcop_dump_reg() argument
[all …]
/openbmc/linux/fs/
H A Dfs_context.c146 ret = fc->ops->parse_param(fc, param); in vfs_parse_fs_param()
286 if (!fc) in alloc_fs_context()
301 fc->user_ns = get_user_ns(fc->cred->user_ns); in alloc_fs_context()
397 if (!fc) in vfs_dup_fs_context()
414 ret = fc->ops->dup(fc, src_fc); in vfs_dup_fs_context()
519 if (fc->need_free && fc->ops && fc->ops->free) in put_fs_context()
520 fc->ops->free(fc); in put_fs_context()
662 root = fc->fs_type->mount(fc->fs_type, fc->sb_flags, in legacy_get_tree()
737 if (fc->need_free && fc->ops && fc->ops->free) in vfs_clean_context()
738 fc->ops->free(fc); in vfs_clean_context()
[all …]
H A Dfsopen.c71 if (fc) { in fscontext_release()
73 put_fs_context(fc); in fscontext_release()
94 put_fs_context(fc); in fscontext_create_fd()
100 fc->log.log = kzalloc(sizeof(*fc->log.log), GFP_KERNEL); in fscontext_alloc_log()
101 if (!fc->log.log) in fscontext_alloc_log()
104 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log()
139 if (IS_ERR(fc)) in SYSCALL_DEFINE2()
151 put_fs_context(fc); in SYSCALL_DEFINE2()
190 if (IS_ERR(fc)) { in SYSCALL_DEFINE3()
191 ret = PTR_ERR(fc); in SYSCALL_DEFINE3()
[all …]
H A Dsuper.c794 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc()
1140 retval = fc->ops->reconfigure(fc); in reconfigure_super()
1151 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super()
1486 if (fc) in setup_bdev_super()
1487 errorf(fc, "%s: Can't open blockdev", fc->source); in setup_bdev_super()
1511 if (fc) in setup_bdev_super()
1550 errorf(fc, "%s: Can't lookup blockdev", fc->source); in get_tree_bdev()
1574 error = setup_bdev_super(s, fc->sb_flags, fc); in get_tree_bdev()
1688 if (IS_ERR(fc)) in reconfigure_single()
1744 if (fc->root) in vfs_get_tree()
[all …]
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Davmfritz.c325 outb(fc->ctrlreg, fc->addr + 2); in enable_hwirq()
332 outb(fc->ctrlreg, fc->addr + 2); in disable_hwirq()
673 outb(fc->ctrlreg, fc->addr + 2); in avm_fritzv2_interrupt()
783 IRQF_SHARED, fc->name, fc); in init_card()
786 IRQF_SHARED, fc->name, fc); in init_card()
789 fc->name, fc->irq); in init_card()
794 ret = fc->isac.init(&fc->isac); in init_card()
817 fc->irq, fc->irqcnt); in init_card()
820 fc->name, fc->irq, 3 - cnt); in init_card()
825 free_irq(fc->irq, fc); in init_card()
[all …]
/openbmc/linux/fs/fuse/
H A Dcontrol.c28 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()
38 if (fc) { in fuse_conn_abort_write()
56 if (!fc) in fuse_conn_waiting_read()
110 if (!fc) in fuse_conn_max_background_read()
130 if (fc) { in fuse_conn_max_background_write()
133 fc->blocked = fc->num_background >= fc->max_background; in fuse_conn_max_background_write()
152 if (!fc) in fuse_conn_congestion_threshold_read()
174 if (!fc) in fuse_conn_congestion_threshold_write()
[all …]
H A Dinode.c683 struct fuse_conn *fc = fm->fc; in fuse_sync_fs() local
907 memset(fc, 0, sizeof(*fc)); in fuse_conn_init()
935 fm->fc = fc; in fuse_conn_init()
956 fc->release(fc); in fuse_conn_put()
1199 struct fuse_conn *fc = fm->fc; in process_init_reply() local
1442 fud->fc = fuse_conn_get(fc); in fuse_dev_install()
1464 struct fuse_conn *fc = fud->fc; in fuse_dev_free() local
1584 fm->fc = fuse_conn_get(fc); in fuse_get_tree_submount()
1624 struct fuse_conn *fc = fm->fc; in fuse_fill_super_common() local
1861 struct fuse_conn *fc = fm->fc; in fuse_mount_remove() local
[all …]
H A Dacl.c29 if (fc->no_getxattr) in __fuse_get_acl()
44 acl = posix_acl_from_xattr(fc->user_ns, value, size); in __fuse_get_acl()
46 (size == -EOPNOTSUPP && fc->no_getxattr)) in __fuse_get_acl()
72 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_acl() local
74 if (fuse_no_acl(fc, inode)) in fuse_get_acl()
82 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_inode_acl() local
91 if (!fc->posix_acl) in fuse_get_inode_acl()
101 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_set_acl() local
108 if (fc->no_setxattr || fuse_no_acl(fc, inode)) in fuse_set_acl()
148 if (fc->posix_acl && in fuse_set_acl()
[all …]
H A Ddev.c108 struct fuse_conn *fc = fm->fc; in fuse_get_req() local
160 struct fuse_conn *fc = req->fm->fc; in fuse_put_request() local
283 struct fuse_conn *fc = fm->fc; in fuse_request_end() local
366 struct fuse_conn *fc = req->fm->fc; in request_wait_answer() local
467 struct fuse_conn *fc = req->fm->fc; in fuse_force_creds() local
487 struct fuse_conn *fc = fm->fc; in fuse_simple_request() local
527 struct fuse_conn *fc = fm->fc; in fuse_request_queue_background() local
1208 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read() local
1672 struct fuse_conn *fc = fm->fc; in fuse_retrieve() local
1854 struct fuse_conn *fc = fud->fc; in fuse_dev_do_write() local
[all …]
/openbmc/linux/drivers/dma-buf/
H A Dst-dma-fence-chain.c119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
121 if (!fc->chains) in fence_chains_init()
124 fc->fences = kvmalloc_array(count, sizeof(*fc->fences), in fence_chains_init()
126 if (!fc->fences) { in fence_chains_init()
131 fc->tail = NULL; in fence_chains_init()
139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
147 fc->tail = fc->chains[i]; in fence_chains_init()
160 kvfree(fc->fences); in fence_chains_init()
162 kvfree(fc->chains); in fence_chains_init()
174 kvfree(fc->fences); in fence_chains_fini()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-flakey.c261 fc = kzalloc(sizeof(*fc), GFP_KERNEL); in flakey_ctr()
262 if (!fc) { in flakey_ctr()
285 if (!(fc->up_interval + fc->down_interval)) { in flakey_ctr()
291 if (fc->up_interval + fc->down_interval < fc->up_interval) { in flakey_ctr()
314 kfree(fc); in flakey_ctr()
323 kfree(fc); in flakey_dtr()
491 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
604 (unsigned long long)fc->start, fc->up_interval, in flakey_status()
626 fc->corrupt_bio_value, fc->corrupt_bio_flags); in flakey_status()
661 return dm_report_zones(fc->dev->bdev, fc->start, in flakey_report_zones()
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtdsuper.c57 ret = fill_super(sb, fc); in mtd_get_sb()
64 BUG_ON(fc->root); in mtd_get_sb()
65 fc->root = dget(sb->s_root); in mtd_get_sb()
98 struct fs_context *fc)) in get_tree_mtd()
106 if (!fc->source) in get_tree_mtd()
116 if (fc->source[0] == 'm' && in get_tree_mtd()
117 fc->source[1] == 't' && in get_tree_mtd()
124 fc->source + 4); in get_tree_mtd()
131 fc->source + 4); in get_tree_mtd()
152 errorf(fc, "MTD: Couldn't look up '%s': %d", fc->source, ret); in get_tree_mtd()
[all …]
/openbmc/linux/include/linux/
H A Dfs_context.h158 struct fs_context *fc),
162 struct fs_context *fc);
165 struct fs_context *fc));
185 #define __logfc(fc, l, fmt, ...) logfc((fc)->log.log, NULL, \ argument
197 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument
209 #define warnf(fc, fmt, ...) __logfc(fc, 'w', fmt, ## __VA_ARGS__) argument
211 #define warnfc(fc, fmt, ...) __plog((&(fc)->log), 'w', fmt, ## __VA_ARGS__) argument
221 #define errorf(fc, fmt, ...) __logfc(fc, 'e', fmt, ## __VA_ARGS__) argument
223 #define errorfc(fc, fmt, ...) __plog((&(fc)->log), 'e', fmt, ## __VA_ARGS__) argument
233 #define invalf(fc, fmt, ...) (errorf(fc, fmt, ## __VA_ARGS__), -EINVAL) argument
[all …]
/openbmc/linux/drivers/media/pci/b2c2/
H A Dflexcop-dma.c54 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()
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()
104 fc->write_ibi_reg(fc, r0x0, v0x0); in flexcop_dma_xfer_control()
105 fc->write_ibi_reg(fc, r0xc, v0xc); in flexcop_dma_xfer_control()
122 fc->write_ibi_reg(fc, r, v); in flexcop_dma_remap()
138 fc->write_ibi_reg(fc, ctrl_208, v); in flexcop_dma_control_size_irq()
155 fc->write_ibi_reg(fc, ctrl_208, v); in flexcop_dma_control_timer_irq()
[all …]
H A Dflexcop-pci.c111 if (fc->feedcount) { in flexcop_pci_irq_check_work()
155 v = fc->read_ibi_reg(fc, irq_20c); in flexcop_pci_isr()
186 fc->read_ibi_reg(fc,dma1_008).dma_0x8.dma_cur_addr << 2; in flexcop_pci_isr()
346 struct flexcop_device *fc; in flexcop_pci_probe() local
356 fc_pci = fc->bus_specific; in flexcop_pci_probe()
357 fc_pci->fc_dev = fc; in flexcop_pci_probe()
371 fc->bus_type = FC_PCI; in flexcop_pci_probe()
372 fc->dev = &pdev->dev; in flexcop_pci_probe()
373 fc->owner = THIS_MODULE; in flexcop_pci_probe()
398 flexcop_device_exit(fc); in flexcop_pci_probe()
[all …]
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_flash.c208 fc->curr_len = fc->sgc.length; in build_flash_msg()
223 fc->flsh_addr += fc->curr_len; in build_flash_msg()
366 fc->sgc.length = fc->cmp_len; in fw_download_proc()
368 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc()
393 fc->sgc.cur_offset = fc->sgc_offset + in fw_download_proc()
407 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
442 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
478 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
512 fc->sgc.cur_offset = fc->sgc_offset in fw_download_proc()
544 && fc->sgc.length > fc->cmp_len) in fw_download_proc()
[all …]
/openbmc/linux/fs/proc/
H A Droot.c60 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param()
91 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param()
114 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param()
128 if (proc_parse_hidepid_param(fc, param)) in proc_parse_param()
146 struct fs_context *fc, in proc_apply_options() argument
149 struct proc_fs_context *ctx = fc->fs_private; in proc_apply_options()
215 struct super_block *sb = fc->root->d_sb; in proc_reconfigure()
226 return get_tree_nodev(fc, proc_fill_super); in proc_get_tree()
253 put_user_ns(fc->user_ns); in proc_init_fs_context()
255 fc->fs_private = ctx; in proc_init_fs_context()
[all …]
/openbmc/linux/fs/sysfs/
H A 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()
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()
60 if (!(fc->sb_flags & SB_KERNMOUNT)) { in sysfs_init_fs_context()
72 fc->fs_private = kfc; in sysfs_init_fs_context()
73 fc->ops = &sysfs_fs_context_ops; in sysfs_init_fs_context()
75 put_user_ns(fc->user_ns); in sysfs_init_fs_context()
76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
[all …]
/openbmc/linux/fs/nfs/
H A Dfs_context.c544 if (fc->security) in nfs_fs_context_parse_param()
549 if (fc->source) in nfs_fs_context_parse_param()
1018 return fc->root != NULL; in is_remount_fc()
1184 if (is_remount_fc(fc)) { in nfs23_parse_monolithic()
1281 if (is_remount_fc(fc)) in nfs4_parse_monolithic()
1283 return nfs_invalf(fc, in nfs4_parse_monolithic()
1396 if (!fc->source) in nfs_fs_context_validate()
1540 fc->fs_private = ctx; in nfs_fs_context_dup()
1596 if (fc->root) { in nfs_init_fs_context()
1620 put_net(fc->net_ns); in nfs_init_fs_context()
[all …]
/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c445 fc->iov[2].iov_len = iov->iov_len - fc->iov[0].iov_len - fc->iov[1].iov_len; in of_dpa_flow_pkt_parse()
451 fc->iovcnt = iovcnt + 2; in of_dpa_flow_pkt_parse()
501 fc->iov[0].iov_base = &fc->ethhdr_rewrite; in of_dpa_flow_pkt_hdr_rewrite()
505 fc->vlanhdr_rewrite = fc->vlanhdr; in of_dpa_flow_pkt_hdr_rewrite()
507 fc->iov[1].iov_base = &fc->vlanhdr_rewrite; in of_dpa_flow_pkt_hdr_rewrite()
744 of_dpa_eg(fc); in of_dpa_acl_hit()
836 rx_produce(fc->of_dpa->world, fc->in_pport, fc->iov, fc->iovcnt, in of_dpa_output_l2_interface()
841 fc->iov, fc->iovcnt); in of_dpa_output_l2_interface()
1015 ops->miss(fc); in of_dpa_flow_ig_tbl()
1031 ops->hit(fc, flow); in of_dpa_flow_ig_tbl()
[all …]

12345678910>>...23