Searched refs:fc (Results 1 - 25 of 216) sorted by relevance

123456789

/drivers/media/dvb/b2c2/
H A Dflexcop.c60 struct flexcop_device *fc = dvbdmxfeed->demux->priv; local
61 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1);
66 struct flexcop_device *fc = dvbdmxfeed->demux->priv; local
67 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0);
70 static int flexcop_dvb_init(struct flexcop_device *fc) argument
72 int ret = dvb_register_adapter(&fc->dvb_adapter,
73 "FlexCop Digital TV device", fc->owner,
74 fc->dev, adapter_nr);
79 fc->dvb_adapter.priv = fc;
149 flexcop_dvb_exit(struct flexcop_device *fc) argument
169 flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len) argument
175 flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no) argument
181 flexcop_reset(struct flexcop_device *fc) argument
212 flexcop_reset_block_300(struct flexcop_device *fc) argument
230 struct flexcop_device *fc = kzalloc(sizeof(struct flexcop_device), local
250 flexcop_device_kfree(struct flexcop_device *fc) argument
257 flexcop_device_initialize(struct flexcop_device *fc) argument
300 flexcop_device_exit(struct flexcop_device *fc) argument
[all...]
H A Dflexcop-hw-filter.c8 static void flexcop_rcv_data_ctrl(struct flexcop_device *fc, int onoff) argument
14 void flexcop_smc_ctrl(struct flexcop_device *fc, int onoff) argument
19 static void flexcop_null_filter_ctrl(struct flexcop_device *fc, int onoff) argument
24 void flexcop_set_mac_filter(struct flexcop_device *fc, u8 mac[6]) argument
27 v41c = fc->read_ibi_reg(fc, mac_address_41c);
36 fc->write_ibi_reg(fc, mac_address_418, v418);
37 fc->write_ibi_reg(fc, mac_address_41
40 flexcop_mac_filter_ctrl(struct flexcop_device *fc, int onoff) argument
45 flexcop_pid_group_filter(struct flexcop_device *fc, u16 pid, u16 mask) argument
55 flexcop_pid_group_filter_ctrl(struct flexcop_device *fc, int onoff) argument
73 flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
80 flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
87 flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
93 flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
99 flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
105 flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument
111 flexcop_pid_control(struct flexcop_device *fc, int index, u16 pid, int onoff) argument
159 flexcop_toggle_fullts_streaming(struct flexcop_device *fc, int onoff) argument
170 flexcop_pid_feed_control(struct flexcop_device *fc, struct dvb_demux_feed *dvbdmxfeed, int onoff) argument
216 flexcop_hw_filter_init(struct flexcop_device *fc) argument
[all...]
H A Dflexcop-misc.c8 void flexcop_determine_revision(struct flexcop_device *fc) argument
10 flexcop_ibi_value v = fc->read_ibi_reg(fc,misc_204);
15 fc->rev = FLEXCOP_II;
19 fc->rev = FLEXCOP_IIB;
23 fc->rev = FLEXCOP_III;
32 if ((fc->has_32_hw_pid_filter = v.misc_204.Rev_N_sig_caps))
66 void flexcop_device_name(struct flexcop_device *fc, argument
70 prefix, flexcop_device_names[fc->dev_type],
71 flexcop_bus_names[fc
75 flexcop_dump_reg(struct flexcop_device *fc, flexcop_ibi_register reg, int num) argument
[all...]
H A Dflexcop-i2c.c10 static int flexcop_i2c_operation(struct flexcop_device *fc, argument
19 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero);
20 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */
23 r = fc->read_ibi_reg(fc, tw_sm_c_100);
58 if (i2c->fc->dev_type == FC_SKY_REV27)
61 ret = flexcop_i2c_operation(i2c->fc, &r100);
65 ret = flexcop_i2c_operation(i2c->fc,
86 flexcop_i2c_write4(struct flexcop_device *fc, flexcop_ibi_value r100, u8 *buf) argument
225 flexcop_i2c_init(struct flexcop_device *fc) argument
280 flexcop_i2c_exit(struct flexcop_device *fc) argument
[all...]
H A Dflexcop-common.h50 struct flexcop_device *fc; member in struct:flexcop_i2c_adapter
103 int (*get_mac_addr) (struct flexcop_device *fc, int extended);
110 void flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len);
111 void flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no);
117 void flexcop_device_exit(struct flexcop_device *fc);
118 void flexcop_reset_block_300(struct flexcop_device *fc);
125 int flexcop_dma_control_timer_irq(struct flexcop_device *fc,
127 int flexcop_dma_control_size_irq(struct flexcop_device *fc,
129 int flexcop_dma_config(struct flexcop_device *fc, struct flexcop_dma *dma,
131 int flexcop_dma_xfer_control(struct flexcop_device *fc,
[all...]
H A Dflexcop-dma.c40 int flexcop_dma_config(struct flexcop_device *fc, argument
52 fc->write_ibi_reg(fc,dma1_000,v0x0);
53 fc->write_ibi_reg(fc,dma1_004,v0x4);
54 fc->write_ibi_reg(fc,dma1_00c,v0xc);
56 fc->write_ibi_reg(fc,dma2_010,v0x0);
57 fc
70 flexcop_dma_xfer_control(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, flexcop_dma_addr_index_t index, int onoff) argument
111 flexcop_dma_remap(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, int onoff) argument
123 flexcop_dma_control_size_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff) argument
140 flexcop_dma_control_timer_irq(struct flexcop_device *fc, flexcop_dma_index_t no, int onoff) argument
158 flexcop_dma_config_timer(struct flexcop_device *fc, flexcop_dma_index_t dma_idx, u8 cycles) argument
[all...]
H A Dflexcop-fe-tuner.c33 struct flexcop_device *fc = fe->dvb->priv; local
37 v = fc->read_ibi_reg(fc, misc_204);
54 return fc->write_ibi_reg(fc, misc_204, v);
61 struct flexcop_device *fc = fe->dvb->priv; local
62 if (fc->fe_sleep)
63 return fc->fe_sleep(fe);
73 struct flexcop_device *fc = fe->dvb->priv; local
94 return fc
158 skystar2_rev23_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
271 skystar2_rev26_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
305 skystar2_rev27_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
371 skystar2_rev28_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
432 airstar_dvbt_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
451 struct flexcop_device *fc = fe->dvb->priv; local
460 airstar_atsc1_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
476 airstar_atsc2_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
499 airstar_atsc3_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
593 cablestar2_attach(struct flexcop_device *fc, struct i2c_adapter *i2c) argument
638 flexcop_frontend_init(struct flexcop_device *fc) argument
671 flexcop_frontend_exit(struct flexcop_device *fc) argument
[all...]
H A Dflexcop-pci.c75 static flexcop_ibi_value flexcop_pci_read_ibi_reg(struct flexcop_device *fc, argument
78 struct flexcop_pci *fc_pci = fc->bus_specific;
90 static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, argument
93 struct flexcop_pci *fc_pci = fc->bus_specific;
108 struct flexcop_device *fc = fc_pci->fc_dev; local
110 if (fc->feedcount) {
118 spin_lock_irq(&fc->demux.lock);
119 list_for_each_entry(feed, &fc->demux.feed_list,
121 flexcop_pid_feed_control(fc, feed, 0);
124 list_for_each_entry(feed, &fc
148 struct flexcop_device *fc = fc_pci->fc_dev; local
232 flexcop_pci_stream_control(struct flexcop_device *fc, int onoff) argument
345 struct flexcop_device *fc; local
[all...]
H A Dflexcop-sram.c8 static void flexcop_sram_set_chip(struct flexcop_device *fc, argument
14 int flexcop_sram_init(struct flexcop_device *fc) argument
16 switch (fc->rev) {
19 flexcop_sram_set_chip(fc, FC_SRAM_1_32KB);
22 flexcop_sram_set_chip(fc, FC_SRAM_1_48KB);
30 int flexcop_sram_set_dest(struct flexcop_device *fc, flexcop_sram_dest_t dest, argument
34 v = fc->read_ibi_reg(fc, sram_dest_reg_714);
36 if (fc->rev != FLEXCOP_III && target == FC_SRAM_DEST_TARGET_FC3_CA) {
51 fc
58 flexcop_wan_set_speed(struct flexcop_device *fc, flexcop_wan_speed_t s) argument
64 flexcop_sram_ctrl(struct flexcop_device *fc, int usb_wan, int sramdma, int maximumfill) argument
[all...]
H A Dflexcop-eeprom.c89 static int flexcop_eeprom_read(struct flexcop_device *fc,
92 return fc->i2c_request(fc,FC_READ,FC_I2C_PORT_EEPROM,0x50,addr,buf,len);
106 static int flexcop_eeprom_request(struct flexcop_device *fc, argument
112 ret = fc->i2c_request(&fc->fc_i2c_adap[1], op, chipaddr,
120 static int flexcop_eeprom_lrc_read(struct flexcop_device *fc, u16 addr, argument
123 int ret = flexcop_eeprom_request(fc, FC_READ, addr, buf, len, retries);
132 int flexcop_eeprom_check_mac_addr(struct flexcop_device *fc, int extended) argument
137 if ((ret = flexcop_eeprom_lrc_read(fc,
[all...]
H A Dflexcop-usb.c69 static int flexcop_usb_readwrite_dw(struct flexcop_device *fc, u16 wRegOffsPCI, u32 *val, u8 read) argument
71 struct flexcop_usb *fc_usb = fc->bus_specific;
192 static int flexcop_usb_get_mac_addr(struct flexcop_device *fc, int extended) argument
194 return flexcop_usb_memory_req(fc->bus_specific, B2C2_USB_READ_V8_MEM,
196 fc->dvb_adapter.proposed_mac, 6);
227 struct flexcop_usb *fc_usb = i2c->fc->bus_specific;
273 static flexcop_ibi_value flexcop_usb_read_ibi_reg(struct flexcop_device *fc, argument
278 flexcop_usb_readwrite_dw(fc, reg, &val.raw, 1);
282 static int flexcop_usb_write_ibi_reg(struct flexcop_device *fc, argument
285 return flexcop_usb_readwrite_dw(fc, re
379 flexcop_usb_stream_control(struct flexcop_device *fc, int onoff) argument
511 struct flexcop_device *fc = NULL; local
[all...]
H A Dflexcop-reg.h161 flexcop_ibi_value v = fc->read_ibi_reg(fc,reg); \
163 fc->write_ibi_reg(fc,reg,v); \
/drivers/md/
H A Ddm-flakey.c18 #define all_corrupt_bio_flags_match(bio, fc) \
19 (((bio)->bi_rw & (fc)->corrupt_bio_flags) == (fc)->corrupt_bio_flags)
42 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, argument
72 if (test_and_set_bit(DROP_WRITES, &fc->flags)) {
89 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error);
99 fc->corrupt_bio_rw = WRITE;
101 fc->corrupt_bio_rw = READ;
111 r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error);
119 r = dm_read_arg(_args + 3, as, &fc
159 struct flakey_c *fc; local
227 struct flakey_c *fc = ti->private; local
235 struct flakey_c *fc = ti->private; local
242 struct flakey_c *fc = ti->private; local
249 corrupt_bio_data(struct bio *bio, struct flakey_c *fc) argument
271 struct flakey_c *fc = ti->private; local
320 struct flakey_c *fc = ti->private; local
339 struct flakey_c *fc = ti->private; local
371 struct flakey_c *fc = ti->private; local
388 struct flakey_c *fc = ti->private; local
402 struct flakey_c *fc = ti->private; local
[all...]
/drivers/isdn/hardware/mISDN/
H A Davmfritz.c181 struct fritzcard *fc = p; local
184 outb(idx, fc->addr + CHIP_INDEX);
185 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf));
191 struct fritzcard *fc = p; local
194 outb(idx, fc->addr + CHIP_INDEX);
195 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf));
201 struct fritzcard *fc = p; local
203 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX);
204 insb(fc->addr + CHIP_WINDOW, data, size);
210 struct fritzcard *fc local
219 struct fritzcard *fc = p; local
228 struct fritzcard *fc = p; local
237 struct fritzcard *fc = p; local
248 struct fritzcard *fc = p; local
257 Sel_BCS(struct fritzcard *fc, u32 channel) argument
270 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) argument
278 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) argument
285 struct fritzcard *fc = bch->hw; local
318 read_status(struct fritzcard *fc, u32 channel) argument
331 enable_hwirq(struct fritzcard *fc) argument
338 disable_hwirq(struct fritzcard *fc) argument
347 struct fritzcard *fc = bch->hw; local
401 struct fritzcard *fc = bch->hw; local
442 struct fritzcard *fc = bch->hw; local
508 struct fritzcard *fc = bch->hw; local
572 HDLC_irq_main(struct fritzcard *fc) argument
598 struct fritzcard *fc = dev_id; local
625 struct fritzcard *fc = dev_id; local
659 struct fritzcard *fc = bch->hw; local
706 inithdlc(struct fritzcard *fc) argument
713 clear_pending_hdlc_ints(struct fritzcard *fc) argument
724 reset_avm(struct fritzcard *fc) argument
756 init_card(struct fritzcard *fc) argument
814 struct fritzcard *fc = bch->hw; local
834 struct fritzcard *fc = bch->hw; local
865 channel_ctrl(struct fritzcard *fc, struct mISDN_ctrl_req *cq) argument
890 open_bchannel(struct fritzcard *fc, struct channel_req *rq) argument
915 struct fritzcard *fc = dch->hw; local
949 setup_fritz(struct fritzcard *fc) argument
[all...]
/drivers/gpu/drm/nouveau/
H A Dnv40_fifo.c40 uint32_t fc = NV40_RAMFC(chan->id); local
57 nv_wi32(dev, fc + 0, chan->pushbuf_base);
58 nv_wi32(dev, fc + 4, chan->pushbuf_base);
59 nv_wi32(dev, fc + 12, chan->pushbuf->pinst >> 4);
60 nv_wi32(dev, fc + 24, NV_PFIFO_CACHE1_DMA_FETCH_TRIG_128_BYTES |
67 nv_wi32(dev, fc + 60, 0x0001FFFF);
81 uint32_t fc = NV40_RAMFC(chid), tmp, tmp2; local
83 nv_wr32(dev, NV04_PFIFO_CACHE1_DMA_PUT, nv_ri32(dev, fc + 0));
84 nv_wr32(dev, NV04_PFIFO_CACHE1_DMA_GET, nv_ri32(dev, fc + 4));
85 nv_wr32(dev, NV10_PFIFO_CACHE1_REF_CNT, nv_ri32(dev, fc
149 uint32_t fc, tmp; local
[all...]
H A Dnv10_fifo.c47 uint32_t fc = NV10_RAMFC(chan->id); local
64 nv_wi32(dev, fc + 0, chan->pushbuf_base);
65 nv_wi32(dev, fc + 4, chan->pushbuf_base);
66 nv_wi32(dev, fc + 12, chan->pushbuf->pinst >> 4);
67 nv_wi32(dev, fc + 20, NV_PFIFO_CACHE1_DMA_FETCH_TRIG_128_BYTES |
85 uint32_t fc = NV10_RAMFC(chid), tmp; local
87 nv_wr32(dev, NV04_PFIFO_CACHE1_DMA_PUT, nv_ri32(dev, fc + 0));
88 nv_wr32(dev, NV04_PFIFO_CACHE1_DMA_GET, nv_ri32(dev, fc + 4));
89 nv_wr32(dev, NV10_PFIFO_CACHE1_REF_CNT, nv_ri32(dev, fc + 8));
91 tmp = nv_ri32(dev, fc
139 uint32_t fc, tmp; local
[all...]
/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c343 unsigned int fc = FlowControl[bd]; local
344 ixgb_validate_option(&fc, &opt);
345 adapter->hw.fc.type = fc;
347 adapter->hw.fc.type = opt.def;
361 adapter->hw.fc.high_water = RxFCHighThresh[bd];
362 ixgb_validate_option(&adapter->hw.fc.high_water, &opt);
364 adapter->hw.fc.high_water = opt.def;
366 if (!(adapter->hw.fc.type & ixgb_fc_tx_pause) )
380 adapter->hw.fc
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.h31 #include <scsi/fc/fc_fs.h>
32 #include <scsi/fc/fc_fcoe.h>
/drivers/net/wireless/hostap/
H A Dhostap_80211_tx.c22 u16 fc; local
32 fc = le16_to_cpu(hdr->frame_control);
34 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2,
35 (fc & IEEE80211_FCTL_STYPE) >> 4,
36 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "",
37 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : "");
66 u16 fc, ethertype = 0; local
139 fc = IEEE80211_FTYPE_DATA | IEEE80211_STYPE_DATA;
152 fc |
275 u16 fc; local
387 u16 fc; local
[all...]
H A Dhostap_80211_rx.c24 u16 fc; local
36 fc = le16_to_cpu(hdr->frame_control);
38 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2,
39 (fc & IEEE80211_FCTL_STYPE) >> 4,
40 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "",
41 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : "");
68 u16 fc; local
92 fc = le16_to_cpu(fhdr->frame_control);
94 if (type == PRISM2_RX_MGMT && (fc
554 hostap_rx_frame_wds(local_info_t *local, struct ieee80211_hdr *hdr, u16 fc, struct net_device **wds) argument
612 u16 fc, ethertype; local
724 u16 fc, type, stype, sc; local
[all...]
/drivers/staging/wlan-ng/
H A Dp80211conv.c110 u16 fc; local
176 fc = cpu_to_le16(WLAN_SET_FC_FTYPE(WLAN_FTYPE_DATA) |
186 fc |= cpu_to_le16(WLAN_SET_FC_TODS(1));
192 fc |= cpu_to_le16(WLAN_SET_FC_FROMDS(1));
221 fc |= cpu_to_le16(WLAN_SET_FC_ISWEP(1));
226 p80211_hdr->a3.fc = fc;
280 u16 fc; local
298 fc = le16_to_cpu(w_hdr->a3.fc);
[all...]
/drivers/scsi/libfc/
H A Dfc_elsct.c26 #include <scsi/fc/fc_gs.h>
27 #include <scsi/fc/fc_ns.h>
28 #include <scsi/fc/fc_els.h>
/drivers/scsi/fnic/
H A Dfnic_io.h21 #include <scsi/fc/fc_fcp.h>
/drivers/net/wireless/iwlwifi/
H A Diwl-agn-tx.c45 __le16 fc, __le32 *tx_flags)
62 __le16 fc = hdr->frame_control; local
72 if (ieee80211_is_probe_resp(fc))
74 else if (ieee80211_is_back_req(fc))
79 (ieee80211_is_auth(fc) || ieee80211_is_assoc_req(fc) ||
80 ieee80211_is_reassoc_req(fc) ||
86 if (ieee80211_has_morefrags(fc))
89 if (ieee80211_is_data_qos(fc)) {
101 iwlagn_tx_cmd_protection(priv, info, fc,
43 iwlagn_tx_cmd_protection(struct iwl_priv *priv, struct ieee80211_tx_info *info, __le16 fc, __le32 *tx_flags) argument
118 iwlagn_tx_cmd_build_rate(struct iwl_priv *priv, struct iwl_tx_cmd *tx_cmd, struct ieee80211_tx_info *info, __le16 fc) argument
291 __le16 fc; local
[all...]
/drivers/staging/rtl8187se/ieee80211/
H A Dieee80211_rx.c53 u16 fc = le16_to_cpu(hdr->frame_ctl); local
57 skb_pull(skb, ieee80211_get_hdrlen(fc));
101 u16 fc = le16_to_cpu(hdr->frame_ctl); local
110 if (((fc & IEEE80211_FCTL_DSTODS) == IEEE80211_FCTL_DSTODS)&&IEEE80211_QOS_HAS_SEQ(fc)) {
115 } else if (IEEE80211_QOS_HAS_SEQ(fc)) {
132 (IEEE80211_QOS_HAS_SEQ(fc)?2:0) /* QOS Control */);
169 u16 fc = le16_to_cpu(hdr->frame_ctl); local
177 if(((fc & IEEE80211_FCTL_DSTODS) == IEEE80211_FCTL_DSTODS)&&IEEE80211_QOS_HAS_SEQ(fc)) {
259 u16 fc, ethertype; local
373 u16 fc = le16_to_cpu(header->frame_ctl); local
480 u16 fc, type, stype, sc; local
[all...]

Completed in 1704 milliseconds

123456789