| /linux/drivers/media/common/b2c2/ |
| A D | flexcop.c | 66 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 …]
|
| A D | flexcop-hw-filter.c | 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() 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 …]
|
| A D | flexcop-fe-tuner.c | 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() 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 …]
|
| A D | flexcop-i2c.c | 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() 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 …]
|
| A D | flexcop-common.h | 50 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 …]
|
| A D | flexcop-misc.c | 9 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 …]
|
| /linux/fs/ |
| A D | fs_context.c | 146 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 …]
|
| A D | fsopen.c | 71 if (fc) { in fscontext_release() 73 put_fs_context(fc); in fscontext_release() 93 put_fs_context(fc); in fscontext_create_fd() 99 fc->log.log = kzalloc(sizeof(*fc->log.log), GFP_KERNEL); in fscontext_alloc_log() 100 if (!fc->log.log) in fscontext_alloc_log() 103 fc->log.log->owner = fc->fs_type->owner; in fscontext_alloc_log() 138 if (IS_ERR(fc)) in SYSCALL_DEFINE2() 150 put_fs_context(fc); in SYSCALL_DEFINE2() 189 if (IS_ERR(fc)) { in SYSCALL_DEFINE3() 190 ret = PTR_ERR(fc); in SYSCALL_DEFINE3() [all …]
|
| A D | super.c | 760 s = alloc_super(fc->fs_type, fc->sb_flags, user_ns); in sget_fc() 1083 retval = fc->ops->reconfigure(fc); in reconfigure_super() 1094 (fc->sb_flags & fc->sb_flags_mask))); in reconfigure_super() 1556 if (fc) in setup_bdev_super() 1557 errorf(fc, "%s: Can't open blockdev", fc->source); in setup_bdev_super() 1577 if (fc) in setup_bdev_super() 1618 errorf(fc, "%s: Can't lookup blockdev", fc->source); in get_tree_bdev_flags() 1634 error = setup_bdev_super(s, fc->sb_flags, fc); in get_tree_bdev_flags() 1752 if (IS_ERR(fc)) in reconfigure_single() 1808 if (fc->root) in vfs_get_tree() [all …]
|
| /linux/drivers/isdn/hardware/mISDN/ |
| A D | avmfritz.c | 326 outb(fc->ctrlreg, fc->addr + 2); in enable_hwirq() 333 outb(fc->ctrlreg, fc->addr + 2); in disable_hwirq() 674 outb(fc->ctrlreg, fc->addr + 2); in avm_fritzv2_interrupt() 784 IRQF_SHARED, fc->name, fc); in init_card() 787 IRQF_SHARED, fc->name, fc); in init_card() 790 fc->name, fc->irq); in init_card() 795 ret = fc->isac.init(&fc->isac); in init_card() 818 fc->irq, fc->irqcnt); in init_card() 821 fc->name, fc->irq, 3 - cnt); in init_card() 826 free_irq(fc->irq, fc); in init_card() [all …]
|
| /linux/drivers/dma-buf/ |
| A D | st-dma-fence-chain.c | 119 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| A D | mlx5hws_definer.c | 166 HWS_SET32(tag, -1, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_ones_set() 177 HWS_SET32(tag, val, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_generic_set() 186 HWS_SET32(tag, STE_CVLAN, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_outer_vlan_type_set() 188 HWS_SET32(tag, STE_SVLAN, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_outer_vlan_type_set() 199 HWS_SET32(tag, STE_CVLAN, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_inner_vlan_type_set() 201 HWS_SET32(tag, STE_SVLAN, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_inner_vlan_type_set() 252 HWS_SET32(tag, dw, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_icmp_dw1_set() 265 HWS_SET32(tag, dw, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_icmpv6_dw1_set() 276 HWS_SET32(tag, STE_IPV4, fc->byte_off, fc->bit_off, fc->bit_mask); in hws_definer_l3_type_set() 1504 cd.fc = fc; in hws_definer_conv_match_params_to_hl() [all …]
|
| /linux/drivers/md/ |
| A D | dm-flakey.c | 261 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 …]
|
| /linux/fs/fuse/ |
| A D | control.c | 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() 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 …]
|
| A D | inode.c | 687 struct fuse_conn *fc = fm->fc; in fuse_sync_fs() local 923 memset(fc, 0, sizeof(*fc)); in fuse_conn_init() 954 fm->fc = fc; in fuse_conn_init() 963 fc->release(fc); in delayed_release() 1233 struct fuse_conn *fc = fm->fc; in process_init_reply() local 1510 fud->fc = fuse_conn_get(fc); in fuse_dev_install() 1532 struct fuse_conn *fc = fud->fc; in fuse_dev_free() local 1656 fm->fc = fuse_conn_get(fc); in fuse_get_tree_submount() 1696 struct fuse_conn *fc = fm->fc; in fuse_fill_super_common() local 1933 struct fuse_conn *fc = fm->fc; in fuse_mount_remove() local [all …]
|
| A D | dev.c | 115 struct fuse_conn *fc = fm->fc; in fuse_get_req() local 184 struct fuse_conn *fc = req->fm->fc; in fuse_put_request() local 356 struct fuse_conn *fc = fm->fc; in fuse_request_end() local 423 struct fuse_conn *fc = req->fm->fc; in request_wait_answer() local 518 struct fuse_conn *fc = req->fm->fc; in fuse_force_creds() local 546 struct fuse_conn *fc = fm->fc; in __fuse_simple_request() local 586 struct fuse_conn *fc = fm->fc; in fuse_request_queue_background() local 1255 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read() local 1721 struct fuse_conn *fc = fm->fc; in fuse_retrieve() local 1969 struct fuse_conn *fc = fud->fc; in fuse_dev_do_write() local [all …]
|
| A D | acl.c | 28 if (fc->no_getxattr) in __fuse_get_acl() 45 (size == -EOPNOTSUPP && fc->no_getxattr)) in __fuse_get_acl() 71 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_acl() local 73 if (fuse_no_acl(fc, inode)) in fuse_get_acl() 81 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_get_inode_acl() local 90 if (!fc->posix_acl) in fuse_get_inode_acl() 92 return __fuse_get_acl(fc, inode, type, rcu); in fuse_get_inode_acl() 99 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_set_acl() local 106 if (fc->no_setxattr || fuse_no_acl(fc, inode)) in fuse_set_acl() 146 if (fc->posix_acl && in fuse_set_acl() [all …]
|
| /linux/drivers/platform/x86/ |
| A D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 51 struct pinctrl_state *state = enable ? fc->gpio_state : fc->uart_state; in yt2_1380_fc_set_gpio_mode() 154 struct yt2_1380_fc *fc; in yt2_1380_fc_serdev_probe() local 157 fc = devm_kzalloc(dev, sizeof(*fc), GFP_KERNEL); in yt2_1380_fc_serdev_probe() 158 if (!fc) in yt2_1380_fc_serdev_probe() 161 fc->dev = dev; in yt2_1380_fc_serdev_probe() 170 if (IS_ERR(fc->extcon)) in yt2_1380_fc_serdev_probe() 174 if (IS_ERR(fc->pinctrl)) in yt2_1380_fc_serdev_probe() 181 fc->gpio_state = pinctrl_lookup_state(fc->pinctrl, "uart3_gpio"); in yt2_1380_fc_serdev_probe() 182 fc->uart_state = pinctrl_lookup_state(fc->pinctrl, "uart3_uart"); in yt2_1380_fc_serdev_probe() 183 if (IS_ERR(fc->gpio_state) || IS_ERR(fc->uart_state)) in yt2_1380_fc_serdev_probe() [all …]
|
| /linux/drivers/mtd/ |
| A D | mtdsuper.c | 57 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 …]
|
| /linux/include/linux/ |
| A D | fs_context.h | 158 struct fs_context *fc), 162 struct fs_context *fc); 171 struct fs_context *fc)); 191 #define __logfc(fc, l, fmt, ...) logfc((fc)->log.log, NULL, \ argument 203 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument 215 #define warnf(fc, fmt, ...) __logfc(fc, 'w', fmt, ## __VA_ARGS__) argument 217 #define warnfc(fc, fmt, ...) __plog((&(fc)->log), 'w', fmt, ## __VA_ARGS__) argument 227 #define errorf(fc, fmt, ...) __logfc(fc, 'e', fmt, ## __VA_ARGS__) argument 229 #define errorfc(fc, fmt, ...) __plog((&(fc)->log), 'e', fmt, ## __VA_ARGS__) argument 239 #define invalf(fc, fmt, ...) (errorf(fc, fmt, ## __VA_ARGS__), -EINVAL) argument [all …]
|
| /linux/drivers/media/pci/b2c2/ |
| A D | flexcop-dma.c | 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() 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 …]
|
| A D | flexcop-pci.c | 111 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 …]
|
| /linux/drivers/scsi/esas2r/ |
| A D | esas2r_flash.c | 208 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 …]
|
| /linux/fs/proc/ |
| A D | root.c | 60 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 …]
|
| /linux/fs/nfs/ |
| A D | fs_context.c | 546 if (fc->security) in nfs_fs_context_parse_param() 551 if (fc->source) in nfs_fs_context_parse_param() 1029 return fc->root != NULL; in is_remount_fc() 1195 if (is_remount_fc(fc)) { in nfs23_parse_monolithic() 1292 if (is_remount_fc(fc)) in nfs4_parse_monolithic() 1294 return nfs_invalf(fc, in nfs4_parse_monolithic() 1407 if (!fc->source) in nfs_fs_context_validate() 1551 fc->fs_private = ctx; in nfs_fs_context_dup() 1607 if (fc->root) { in nfs_init_fs_context() 1631 put_net(fc->net_ns); in nfs_init_fs_context() [all …]
|