| /linux-6.15/drivers/media/common/b2c2/ |
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H 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 …]
|
| H A D | flexcop-common.h | 50 struct flexcop_device *fc; member 118 void flexcop_device_exit(struct flexcop_device *fc); 130 int flexcop_dma_xfer_control(struct flexcop_device *fc, 133 int flexcop_dma_config_timer(struct flexcop_device *fc, 152 void flexcop_sram_ctrl(struct flexcop_device *fc, 157 int flexcop_frontend_init(struct flexcop_device *fc); 158 void flexcop_frontend_exit(struct flexcop_device *fc); 161 int flexcop_i2c_init(struct flexcop_device *fc); 162 void flexcop_i2c_exit(struct flexcop_device *fc); 165 int flexcop_sram_init(struct flexcop_device *fc); [all …]
|
| H 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() 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()
|
| /linux-6.15/fs/ |
| H 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 …]
|
| H 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 …]
|
| /linux-6.15/drivers/isdn/hardware/mISDN/ |
| H 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-6.15/drivers/dma-buf/ |
| H 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-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | 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() 1505 cd.fc = fc; in hws_definer_conv_match_params_to_hl() [all …]
|
| /linux-6.15/drivers/md/ |
| H 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-6.15/fs/fuse/ |
| H 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 …]
|
| H A D | inode.c | 723 struct fuse_conn *fc = fm->fc; in fuse_sync_fs() local 959 memset(fc, 0, sizeof(*fc)); in fuse_conn_init() 993 fm->fc = fc; in fuse_conn_init() 1004 fc->release(fc); in delayed_release() 1304 struct fuse_conn *fc = fm->fc; in process_init_reply() local 1604 fud->fc = fuse_conn_get(fc); in fuse_dev_install() 1626 struct fuse_conn *fc = fud->fc; in fuse_dev_free() local 1751 fm->fc = fuse_conn_get(fc); in fuse_get_tree_submount() 1791 struct fuse_conn *fc = fm->fc; in fuse_fill_super_common() local 2028 struct fuse_conn *fc = fm->fc; in fuse_mount_remove() local [all …]
|
| H A D | dev.c | 175 (fc->io_uring && fc->connected && !fuse_uring_ready(fc)); in fuse_block_alloc() 198 struct fuse_conn *fc = fm->fc; in fuse_get_req() local 267 struct fuse_conn *fc = req->fm->fc; in fuse_put_request() local 440 struct fuse_conn *fc = fm->fc; in fuse_request_end() local 525 struct fuse_conn *fc = req->fm->fc; in request_wait_answer() local 646 struct fuse_conn *fc = fm->fc; in __fuse_simple_request() local 704 struct fuse_conn *fc = fm->fc; in fuse_request_queue_background() local 1384 struct fuse_conn *fc = fud->fc; in fuse_dev_do_read() local 1853 struct fuse_conn *fc = fm->fc; in fuse_retrieve() local 2110 struct fuse_conn *fc = fud->fc; in fuse_dev_do_write() local [all …]
|
| H 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 …]
|
| H A D | dev_uring_i.h | 110 struct fuse_conn *fc; member 139 void fuse_uring_destruct(struct fuse_conn *fc); 146 bool fuse_uring_request_expired(struct fuse_conn *fc); 148 static inline void fuse_uring_abort(struct fuse_conn *fc) in fuse_uring_abort() argument 150 struct fuse_ring *ring = fc->ring; in fuse_uring_abort() 163 struct fuse_ring *ring = fc->ring; in fuse_uring_wait_stopped_queues() 170 static inline bool fuse_uring_ready(struct fuse_conn *fc) in fuse_uring_ready() argument 172 return fc->ring && fc->ring->ready; in fuse_uring_ready() 177 static inline void fuse_uring_destruct(struct fuse_conn *fc) in fuse_uring_destruct() argument 186 static inline void fuse_uring_abort(struct fuse_conn *fc) in fuse_uring_abort() argument [all …]
|
| /linux-6.15/drivers/platform/x86/ |
| H 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-6.15/drivers/mtd/ |
| H 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-6.15/include/linux/ |
| H A D | fs_context.h | 156 struct fs_context *fc), 160 struct fs_context *fc); 169 struct fs_context *fc)); 189 #define __logfc(fc, l, fmt, ...) logfc((fc)->log.log, NULL, \ argument 201 #define infof(fc, fmt, ...) __logfc(fc, 'i', fmt, ## __VA_ARGS__) argument 213 #define warnf(fc, fmt, ...) __logfc(fc, 'w', fmt, ## __VA_ARGS__) argument 215 #define warnfc(fc, fmt, ...) __plog((&(fc)->log), 'w', fmt, ## __VA_ARGS__) argument 225 #define errorf(fc, fmt, ...) __logfc(fc, 'e', fmt, ## __VA_ARGS__) argument 227 #define errorfc(fc, fmt, ...) __plog((&(fc)->log), 'e', fmt, ## __VA_ARGS__) argument 237 #define invalf(fc, fmt, ...) (errorf(fc, fmt, ## __VA_ARGS__), -EINVAL) argument [all …]
|
| /linux-6.15/drivers/media/pci/b2c2/ |
| H 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() 58 fc->write_ibi_reg(fc, dma2_010, v0x0); 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_timer_irq() [all …]
|
| H 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-6.15/drivers/scsi/esas2r/ |
| H 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-6.15/fs/proc/ |
| H 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-6.15/fs/sysfs/ |
| H A D | mount.c | 26 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 …]
|