/linux/drivers/media/common/b2c2/ |
H A D | flexcop.c | 47 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() local 48 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1); in flexcop_dvb_start_feed() 53 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() local 54 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0); in flexcop_dvb_stop_feed() 57 static int flexcop_dvb_init(struct flexcop_device *fc) in flexcop_dvb_init() argument 59 int ret = dvb_register_adapter(&fc->dvb_adapter, in flexcop_dvb_init() 60 "FlexCop Digital TV device", fc->owner, in flexcop_dvb_init() 61 fc->dev, adapter_nr); in flexcop_dvb_init() 66 fc->dvb_adapter.priv = fc; in flexcop_dvb_init() 68 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init() [all …]
|
H A D | flexcop-hw-filter.c | 9 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 …]
|
H A D | flexcop-i2c.c | 11 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 …]
|
H A D | flexcop-fe-tuner.c | 34 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 …]
|
H A D | flexcop-common.h | 50 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 …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_definer.c | 115 #define HWS_CALC_HDR_SRC(fc, s_hdr) \ argument 117 (fc)->s_bit_mask = __mlx5_mask(fte_match_param, s_hdr); \ 118 (fc)->s_bit_off = __mlx5_dw_bit_off(fte_match_param, s_hdr); \ 119 (fc)->s_byte_off = MLX5_BYTE_OFF(fte_match_param, s_hdr); \ 122 #define HWS_CALC_HDR_DST(fc, d_hdr) \ argument 124 (fc)->bit_mask = __mlx5_mask(definer_hl, d_hdr); \ 125 (fc)->bit_off = __mlx5_dw_bit_off(definer_hl, d_hdr); \ 126 (fc)->byte_off = MLX5_BYTE_OFF(definer_hl, d_hdr); \ 129 #define HWS_CALC_HDR(fc, s_hdr, d_hdr) \ argument 131 HWS_CALC_HDR_SRC(fc, s_hdr); \ [all …]
|
/linux/fs/ |
H A D | fs_context.c | 39 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() 84 * @fc: The filesystem context to modify 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() [all …]
|
H A D | fsopen.c | 27 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() 86 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument 90 fd = anon_inode_getfd("[fscontext]", &fscontext_fops, fc, in fscontext_create_fd() [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | avmfritz.c | 173 struct fritzcard *fc = p; in ReadISAC_V1() local 176 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1() 177 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1() 183 struct fritzcard *fc = p; in WriteISAC_V1() local 186 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1() 187 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1() 193 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local 195 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1() 196 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1() 202 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local [all …]
|
/linux/drivers/dma-buf/ |
H A D | st-dma-fence-chain.c | 113 static int fence_chains_init(struct fence_chains *fc, unsigned int count, in fence_chains_init() argument 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() 133 fc->fences[i] = mock_fence(); in fence_chains_init() 134 if (!fc->fences[i]) { in fence_chains_init() 139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init() 140 fc->fences[i], in fence_chains_init() [all …]
|
/linux/drivers/md/ |
H A D | dm-flakey.c | 21 #define all_corrupt_bio_flags_match(bio, fc) \ argument 22 (((bio)->bi_opf & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags) 53 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, in parse_features() argument 89 if (test_and_set_bit(ERROR_READS, &fc->flags)) { in parse_features() 100 if (test_and_set_bit(DROP_WRITES, &fc->flags)) { in parse_features() 103 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 115 if (test_and_set_bit(ERROR_WRITES, &fc->flags)) { in parse_features() 119 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features() 136 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features() 146 fc->corrupt_bio_rw = WRITE; in parse_features() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_devtbl.h | 8 "QLA2340", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x100 */ 9 "QLA2342", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x101 */ 10 "QLA2344", "133MHz PCI-X to 2Gb FC, Quad Channel", /* 0x102 */ 11 "QCP2342", "cPCI to 2Gb FC, Dual Channel", /* 0x103 */ 12 "QSB2340", "SBUS to 2Gb FC, Single Channel", /* 0x104 */ 13 "QSB2342", "SBUS to 2Gb FC, Dual Channel", /* 0x105 */ 14 "QLA2310", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x106 */ 15 "QLA2332", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x107 */ 16 "QCP2332", "Sun cPCI to 2Gb FC, Dual Channel", /* 0x108 */ 17 "QCP2340", "cPCI to 2Gb FC, Single Channel", /* 0x109 */ [all …]
|
/linux/drivers/media/pci/b2c2/ |
H A D | flexcop-dma.c | 42 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 …]
|
H A D | flexcop-pci.c | 76 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 …]
|
/linux/fs/fuse/ |
H A D | inode.c | 141 static void fuse_cleanup_submount_lookup(struct fuse_conn *fc, in fuse_cleanup_submount_lookup() argument 147 fuse_queue_forget(fc, sl->forget, sl->nodeid, 1); in fuse_cleanup_submount_lookup() 162 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_evict_inode() local 167 fuse_queue_forget(fc, fi->forget, fi->nodeid, in fuse_evict_inode() 173 fuse_cleanup_submount_lookup(fc, fi->submount_lookup); in fuse_evict_inode() 211 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes_common() local 216 fi->attr_version = atomic64_inc_return(&fc->attr_version); in fuse_change_attributes_common() 224 inode->i_uid = make_kuid(fc->user_ns, attr->uid); in fuse_change_attributes_common() 225 inode->i_gid = make_kgid(fc->user_ns, attr->gid); in fuse_change_attributes_common() 272 if (!fc->default_permissions) in fuse_change_attributes_common() [all …]
|
H A D | dev.c | 83 void fuse_set_initialized(struct fuse_conn *fc) in fuse_set_initialized() argument 87 fc->initialized = 1; in fuse_set_initialized() 90 static bool fuse_block_alloc(struct fuse_conn *fc, bool for_background) in fuse_block_alloc() argument 92 return !fc->initialized || (for_background && fc->blocked); in fuse_block_alloc() 95 static void fuse_drop_waiting(struct fuse_conn *fc) in fuse_drop_waiting() argument 98 * lockess check of fc->connected is okay, because atomic_dec_and_test() in fuse_drop_waiting() 102 if (atomic_dec_and_test(&fc->num_waiting) && in fuse_drop_waiting() 103 !READ_ONCE(fc->connected)) { in fuse_drop_waiting() 105 wake_up_all(&fc->blocked_waitq); in fuse_drop_waiting() 115 struct fuse_conn *fc = fm->fc; in fuse_get_req() local [all …]
|
/linux/drivers/platform/x86/ |
H A D | lenovo-yoga-tab2-pro-1380-fastcharger.c | 49 static int yt2_1380_fc_set_gpio_mode(struct yt2_1380_fc *fc, bool enable) in yt2_1380_fc_set_gpio_mode() argument 51 struct pinctrl_state *state = enable ? fc->gpio_state : fc->uart_state; in yt2_1380_fc_set_gpio_mode() 54 ret = pinctrl_select_state(fc->pinctrl, state); in yt2_1380_fc_set_gpio_mode() 56 dev_err(fc->dev, "Error %d setting pinctrl state\n", ret); in yt2_1380_fc_set_gpio_mode() 64 static bool yt2_1380_fc_dedicated_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_dedicated_charger_connected() argument 66 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_DCP) > 0; in yt2_1380_fc_dedicated_charger_connected() 69 static bool yt2_1380_fc_fast_charger_connected(struct yt2_1380_fc *fc) in yt2_1380_fc_fast_charger_connected() argument 71 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_FAST) > 0; in yt2_1380_fc_fast_charger_connected() 76 struct yt2_1380_fc *fc = container_of(work, struct yt2_1380_fc, work); in yt2_1380_fc_worker() local 80 if (yt2_1380_fc_fast_charger_connected(fc)) in yt2_1380_fc_worker() [all …]
|
/linux/include/linux/ |
H A D | fs_context.h | 116 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 int vfs_parse_monolithic_sep(struct fs_context *fc, void *data, [all …]
|
H A D | nvme-fc-driver.h | 14 * ********************** FC-NVME LS API ******************** 16 * Data structures used by both FC-NVME hosts and FC-NVME 17 * targets to perform FC-NVME LS requests or transmit 25 * to the LLDD to perform a NVME-FC LS request and obtain 27 * Used by nvme-fc transport (host) to send LS's such as 30 * Used by the nvmet-fc transport (controller) to send 71 * to request the transmit the NVME-FC LS response to a 72 * NVME-FC LS request. The structure originates in the LLDD 75 * FC exchange context for the NVME-FC LS request that was 77 * Used by the LLDD to pass the nvmet-fc transport (controller) [all …]
|
/linux/drivers/scsi/esas2r/ |
H A D | esas2r_flash.c | 137 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 …]
|
/linux/drivers/mtd/ |
H A D | mtdsuper.c | 25 static int mtd_get_sb(struct fs_context *fc, in mtd_get_sb() argument 33 sb = sget_dev(fc, MKDEV(MTD_BLOCK_MAJOR, mtd->index)); in mtd_get_sb() 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() 76 static int mtd_get_sb_by_nr(struct fs_context *fc, int mtdnr, in mtd_get_sb_by_nr() argument 84 errorf(fc, "MTDSB: Device #%u doesn't appear to exist\n", mtdnr); in mtd_get_sb_by_nr() 88 return mtd_get_sb(fc, mtd, fill_super); in mtd_get_sb_by_nr() 93 * @fc: The filesystem context holding the parameters 96 int get_tree_mtd(struct fs_context *fc, in get_tree_mtd() argument [all …]
|
/linux/fs/nfs/ |
H A D | fs_context.c | 330 static int nfs_validate_transport_protocol(struct fs_context *fc, in nfs_validate_transport_protocol() argument 356 return nfs_invalf(fc, "NFS: Unsupported transport protocol udp"); in nfs_validate_transport_protocol() 358 return nfs_invalf(fc, "NFS: Transport does not support xprtsec"); in nfs_validate_transport_protocol() 384 static int nfs_auth_info_add(struct fs_context *fc, in nfs_auth_info_add() argument 398 return nfs_invalf(fc, "NFS: too many sec= flavors"); in nfs_auth_info_add() 407 static int nfs_parse_security_flavors(struct fs_context *fc, in nfs_parse_security_flavors() argument 410 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors() 455 return nfs_invalf(fc, "NFS: sec=%s option not recognized", p); in nfs_parse_security_flavors() 458 ret = nfs_auth_info_add(fc, &ctx->auth_info, pseudoflavor); in nfs_parse_security_flavors() 466 static int nfs_parse_xprtsec_policy(struct fs_context *fc, in nfs_parse_xprtsec_policy() argument [all …]
|
/linux/Documentation/translations/zh_TW/dev-tools/ |
H A D | kasan.rst | 202 ffff8801f44ec200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 203 ffff8801f44ec280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 206 ffff8801f44ec380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 207 ffff8801f44ec400: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
|
/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | kasan.rst | 202 ffff8801f44ec200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 203 ffff8801f44ec280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc 206 ffff8801f44ec380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb 207 ffff8801f44ec400: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc
|
/linux/fs/proc/ |
H A D | root.c | 58 static int proc_parse_hidepid_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_hidepid_param() argument 60 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param() 66 return invalf(fc, "proc: unexpected type of hidepid value\n"); in proc_parse_hidepid_param() 70 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 84 return invalf(fc, "proc: unknown value of hidepid - %s\n", param->string); in proc_parse_hidepid_param() 89 static int proc_parse_subset_param(struct fs_context *fc, char *value) in proc_parse_subset_param() argument 91 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param() 103 return invalf(fc, "proc: unsupported subset option - %s\n", value); in proc_parse_subset_param() 112 static int proc_parse_param(struct fs_context *fc, struct fs_parameter *param) in proc_parse_param() argument 114 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param() [all …]
|