/Linux-v4.19/drivers/media/common/b2c2/ |
D | flexcop.c | 56 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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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() [all …]
|
D | flexcop-sram.c | 9 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 …]
|
/Linux-v4.19/fs/afs/ |
D | rotate.c | 24 static void afs_init_fs_cursor(struct afs_fs_cursor *fc, struct afs_vnode *vnode) in afs_init_fs_cursor() argument 26 memset(fc, 0, sizeof(*fc)); in afs_init_fs_cursor() 35 bool afs_begin_vnode_operation(struct afs_fs_cursor *fc, struct afs_vnode *vnode, in afs_begin_vnode_operation() argument 38 afs_init_fs_cursor(fc, vnode); in afs_begin_vnode_operation() 39 fc->vnode = vnode; in afs_begin_vnode_operation() 40 fc->key = key; in afs_begin_vnode_operation() 41 fc->ac.error = SHRT_MAX; in afs_begin_vnode_operation() 44 fc->ac.error = -EINTR; in afs_begin_vnode_operation() 45 fc->flags |= AFS_FS_CURSOR_STOP; in afs_begin_vnode_operation() 50 fc->flags |= AFS_FS_CURSOR_CUR_ONLY; in afs_begin_vnode_operation() [all …]
|
D | dir.c | 607 struct afs_fs_cursor fc; in afs_do_lookup() local 670 if (afs_begin_vnode_operation(&fc, dvnode, key)) { in afs_do_lookup() 671 while (afs_select_fileserver(&fc)) { in afs_do_lookup() 673 &fc.cbi->server->flags)) { in afs_do_lookup() 674 fc.ac.abort_code = RX_INVALID_OPERATION; in afs_do_lookup() 675 fc.ac.error = -ECONNABORTED; in afs_do_lookup() 678 afs_fs_inline_bulk_status(&fc, in afs_do_lookup() 686 if (fc.ac.error == 0) in afs_do_lookup() 687 cbi = afs_get_cb_interest(fc.cbi); in afs_do_lookup() 688 if (fc.ac.abort_code == RX_INVALID_OPERATION) in afs_do_lookup() [all …]
|
D | server.c | 532 static bool afs_do_probe_fileserver(struct afs_fs_cursor *fc) in afs_do_probe_fileserver() argument 536 fc->ac.addr = NULL; in afs_do_probe_fileserver() 537 fc->ac.start = READ_ONCE(fc->ac.alist->index); in afs_do_probe_fileserver() 538 fc->ac.index = fc->ac.start; in afs_do_probe_fileserver() 539 fc->ac.error = 0; in afs_do_probe_fileserver() 540 fc->ac.begun = false; in afs_do_probe_fileserver() 542 while (afs_iterate_addresses(&fc->ac)) { in afs_do_probe_fileserver() 543 afs_fs_get_capabilities(afs_v2net(fc->vnode), fc->cbi->server, in afs_do_probe_fileserver() 544 &fc->ac, fc->key); in afs_do_probe_fileserver() 545 switch (fc->ac.error) { in afs_do_probe_fileserver() [all …]
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | avmfritz.c | 185 struct fritzcard *fc = p; in ReadISAC_V1() local 188 outb(idx, fc->addr + CHIP_INDEX); in ReadISAC_V1() 189 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf)); in ReadISAC_V1() 195 struct fritzcard *fc = p; in WriteISAC_V1() local 198 outb(idx, fc->addr + CHIP_INDEX); in WriteISAC_V1() 199 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf)); in WriteISAC_V1() 205 struct fritzcard *fc = p; in ReadFiFoISAC_V1() local 207 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX); in ReadFiFoISAC_V1() 208 insb(fc->addr + CHIP_WINDOW, data, size); in ReadFiFoISAC_V1() 214 struct fritzcard *fc = p; in WriteFiFoISAC_V1() local [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-flakey.c | 18 #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 …]
|
/Linux-v4.19/drivers/media/pci/b2c2/ |
D | flexcop-dma.c | 41 int flexcop_dma_config(struct flexcop_device *fc, in flexcop_dma_config() argument 53 fc->write_ibi_reg(fc,dma1_000,v0x0); in flexcop_dma_config() 54 fc->write_ibi_reg(fc,dma1_004,v0x4); in flexcop_dma_config() 55 fc->write_ibi_reg(fc,dma1_00c,v0xc); in flexcop_dma_config() 57 fc->write_ibi_reg(fc,dma2_010,v0x0); in flexcop_dma_config() 58 fc->write_ibi_reg(fc,dma2_014,v0x4); in flexcop_dma_config() 59 fc->write_ibi_reg(fc,dma2_01c,v0xc); in flexcop_dma_config() 70 int flexcop_dma_xfer_control(struct flexcop_device *fc, in flexcop_dma_xfer_control() argument 89 v0x0 = fc->read_ibi_reg(fc,r0x0); in flexcop_dma_xfer_control() 90 v0xc = fc->read_ibi_reg(fc,r0xc); in flexcop_dma_xfer_control() [all …]
|
D | flexcop-pci.c | 75 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, in flexcop_pci_read_ibi_reg() argument 78 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_read_ibi_reg() 90 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, in flexcop_pci_write_ibi_reg() argument 93 struct flexcop_pci *fc_pci = fc->bus_specific; in flexcop_pci_write_ibi_reg() 108 struct flexcop_device *fc = fc_pci->fc_dev; in flexcop_pci_irq_check_work() local 110 if (fc->feedcount) { in flexcop_pci_irq_check_work() 118 spin_lock_irq(&fc->demux.lock); in flexcop_pci_irq_check_work() 119 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() 121 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work() 124 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work() [all …]
|
/Linux-v4.19/Documentation/dev-tools/ |
D | kasan.rst | 107 ffff8800693bc300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 108 ffff8800693bc380: fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 fc 109 ffff8800693bc400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 110 ffff8800693bc480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 111 ffff8800693bc500: fc fc fc fc fc fc fc fc fc fc fc 00 00 00 00 00 112 >ffff8800693bc580: 00 00 00 00 00 00 00 00 00 00 03 fc fc fc fc fc 114 ffff8800693bc600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 115 ffff8800693bc680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc 116 ffff8800693bc700: fc fc fc fc fb fb fb fb fb fb fb fb fb fb fb fb
|
/Linux-v4.19/fs/fuse/ |
D | control.c | 24 struct fuse_conn *fc; in fuse_ctl_file_conn_get() local 26 fc = file_inode(file)->i_private; in fuse_ctl_file_conn_get() 27 if (fc) in fuse_ctl_file_conn_get() 28 fc = fuse_conn_get(fc); in fuse_ctl_file_conn_get() 30 return fc; in fuse_ctl_file_conn_get() 36 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_abort_write() local 37 if (fc) { in fuse_conn_abort_write() 38 fuse_abort_conn(fc, true); in fuse_conn_abort_write() 39 fuse_conn_put(fc); in fuse_conn_abort_write() 52 struct fuse_conn *fc = fuse_ctl_file_conn_get(file); in fuse_conn_waiting_read() local [all …]
|
D | inode.c | 134 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_evict_inode() local 136 fuse_queue_forget(fc, fi->forget, fi->nodeid, fi->nlookup); in fuse_evict_inode() 165 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes_common() local 168 fi->attr_version = ++fc->attr_version; in fuse_change_attributes_common() 174 inode->i_uid = make_kuid(fc->user_ns, attr->uid); in fuse_change_attributes_common() 175 inode->i_gid = make_kgid(fc->user_ns, attr->gid); in fuse_change_attributes_common() 180 if (!fc->writeback_cache || !S_ISREG(inode->i_mode)) { in fuse_change_attributes_common() 198 if (!fc->default_permissions) in fuse_change_attributes_common() 207 struct fuse_conn *fc = get_fuse_conn(inode); in fuse_change_attributes() local 209 bool is_wb = fc->writeback_cache; in fuse_change_attributes() [all …]
|
D | dev.c | 118 void fuse_set_initialized(struct fuse_conn *fc) in fuse_set_initialized() argument 122 fc->initialized = 1; in fuse_set_initialized() 125 static bool fuse_block_alloc(struct fuse_conn *fc, bool for_background) in fuse_block_alloc() argument 127 return !fc->initialized || (for_background && fc->blocked); in fuse_block_alloc() 130 static void fuse_drop_waiting(struct fuse_conn *fc) in fuse_drop_waiting() argument 132 if (fc->connected) { in fuse_drop_waiting() 133 atomic_dec(&fc->num_waiting); in fuse_drop_waiting() 134 } else if (atomic_dec_and_test(&fc->num_waiting)) { in fuse_drop_waiting() 136 wake_up_all(&fc->blocked_waitq); in fuse_drop_waiting() 140 static struct fuse_req *__fuse_get_req(struct fuse_conn *fc, unsigned npages, in __fuse_get_req() argument [all …]
|
D | file.c | 24 static int fuse_send_open(struct fuse_conn *fc, u64 nodeid, struct file *file, in fuse_send_open() argument 32 if (!fc->atomic_o_trunc) in fuse_send_open() 43 return fuse_simple_request(fc, &args); in fuse_send_open() 46 struct fuse_file *fuse_file_alloc(struct fuse_conn *fc) in fuse_file_alloc() argument 54 ff->fc = fc; in fuse_file_alloc() 66 spin_lock(&fc->lock); in fuse_file_alloc() 67 ff->kh = ++fc->khctr; in fuse_file_alloc() 68 spin_unlock(&fc->lock); in fuse_file_alloc() 85 static void fuse_release_end(struct fuse_conn *fc, struct fuse_req *req) in fuse_release_end() argument 95 if (ff->fc->no_open) { in fuse_file_put() [all …]
|
D | dir.c | 21 struct fuse_conn *fc = get_fuse_conn(dir); in fuse_use_readdirplus() local 24 if (!fc->do_readdirplus) in fuse_use_readdirplus() 26 if (!fc->readdirplus_auto) in fuse_use_readdirplus() 142 static void fuse_lookup_init(struct fuse_conn *fc, struct fuse_args *args, in fuse_lookup_init() argument 157 u64 fuse_get_attr_version(struct fuse_conn *fc) in fuse_get_attr_version() argument 165 spin_lock(&fc->lock); in fuse_get_attr_version() 166 curr_version = fc->attr_version; in fuse_get_attr_version() 167 spin_unlock(&fc->lock); in fuse_get_attr_version() 185 struct fuse_conn *fc; in fuse_dentry_revalidate() local 207 fc = get_fuse_conn(inode); in fuse_dentry_revalidate() [all …]
|
D | cuse.c | 59 struct fuse_conn fc; /* fuse connection */ member 71 static struct cuse_conn *fc_to_cc(struct fuse_conn *fc) in fc_to_cc() argument 73 return container_of(fc, struct cuse_conn, fc); in fc_to_cc() 122 fuse_conn_get(&pos->fc); in cuse_open() 136 rc = fuse_do_open(&cc->fc, 0, file, 0); in cuse_open() 138 fuse_conn_put(&cc->fc); in cuse_open() 145 struct fuse_conn *fc = ff->fc; in cuse_release() local 148 fuse_conn_put(fc); in cuse_release() 157 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_ioctl() 170 struct cuse_conn *cc = fc_to_cc(ff->fc); in cuse_file_compat_ioctl() [all …]
|
/Linux-v4.19/drivers/scsi/esas2r/ |
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-v4.19/drivers/fmc/ |
D | fmc-chardev.c | 33 struct fc_instance *fc; in fc_open() local 36 list_for_each_entry(fc, &fc_devices, list) in fc_open() 37 if (fc->misc.minor == minor) in fc_open() 39 if (fc->misc.minor != minor) in fc_open() 41 fmc = fc->fmc; in fc_open() 130 struct fc_instance *fc; in fc_probe() local 137 fc = kzalloc(sizeof(*fc), GFP_KERNEL); in fc_probe() 138 if (!fc) in fc_probe() 140 fc->fmc = fmc; in fc_probe() 141 fc->misc.minor = MISC_DYNAMIC_MINOR; in fc_probe() [all …]
|
/Linux-v4.19/net/ieee802154/ |
D | header_ops.c | 91 struct ieee802154_hdr_fc *fc = &hdr->fc; in ieee802154_hdr_push() local 95 fc->dest_addr_mode = hdr->dest.mode; in ieee802154_hdr_push() 102 fc->source_addr_mode = hdr->source.mode; in ieee802154_hdr_push() 106 fc->intra_pan = true; in ieee802154_hdr_push() 108 rc = ieee802154_hdr_push_addr(buf + pos, &hdr->source, fc->intra_pan); in ieee802154_hdr_push() 113 if (fc->security_enabled) { in ieee802154_hdr_push() 114 fc->version = 1; in ieee802154_hdr_push() 123 memcpy(buf, fc, 2); in ieee802154_hdr_push() 215 dlen = ieee802154_hdr_addr_len(hdr->fc.dest_addr_mode, false); in ieee802154_hdr_minlen() 216 slen = ieee802154_hdr_addr_len(hdr->fc.source_addr_mode, in ieee802154_hdr_minlen() [all …]
|
/Linux-v4.19/arch/s390/crypto/ |
D | paes_s390.c | 36 unsigned long fc; member 42 unsigned long fc; member 62 unsigned long fc; in __paes_set_key() local 68 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KM_PAES_128 : in __paes_set_key() 73 ctx->fc = (fc && cpacf_test_func(&km_functions, fc)) ? fc : 0; in __paes_set_key() 75 return ctx->fc ? 0 : -EINVAL; in __paes_set_key() 106 k = cpacf_km(ctx->fc | modifier, ctx->pk.protkey, in ecb_paes_crypt() 161 unsigned long fc; in __cbc_paes_set_key() local 167 fc = (ctx->pk.type == PKEY_KEYTYPE_AES_128) ? CPACF_KMC_PAES_128 : in __cbc_paes_set_key() 172 ctx->fc = (fc && cpacf_test_func(&kmc_functions, fc)) ? fc : 0; in __cbc_paes_set_key() [all …]
|