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

12345678910

/drivers/media/common/b2c2/
H A Dflexcop.c61 struct flexcop_device *fc = dvbdmxfeed->demux->priv; local
62 return flexcop_pid_feed_control(fc, dvbdmxfeed, 1);
67 struct flexcop_device *fc = dvbdmxfeed->demux->priv; local
68 return flexcop_pid_feed_control(fc, dvbdmxfeed, 0);
71 static int flexcop_dvb_init(struct flexcop_device *fc) argument
73 int ret = dvb_register_adapter(&fc->dvb_adapter,
74 "FlexCop Digital TV device", fc->owner,
75 fc->dev, adapter_nr);
80 fc->dvb_adapter.priv = fc;
150 flexcop_dvb_exit(struct flexcop_device *fc) argument
170 flexcop_pass_dmx_data(struct flexcop_device *fc, u8 *buf, u32 len) argument
176 flexcop_pass_dmx_packets(struct flexcop_device *fc, u8 *buf, u32 no) argument
182 flexcop_reset(struct flexcop_device *fc) argument
213 flexcop_reset_block_300(struct flexcop_device *fc) argument
231 struct flexcop_device *fc = kzalloc(sizeof(struct flexcop_device), local
251 flexcop_device_kfree(struct flexcop_device *fc) argument
258 flexcop_device_initialize(struct flexcop_device *fc) argument
301 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-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-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-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)
46 static int parse_features(struct dm_arg_set *as, struct flakey_c *fc, argument
76 if (test_and_set_bit(DROP_WRITES, &fc->flags)) {
93 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error);
103 fc->corrupt_bio_rw = WRITE;
105 fc->corrupt_bio_rw = READ;
115 r = dm_read_arg(_args + 2, as, &fc->corrupt_bio_value, &ti->error);
123 r = dm_read_arg(_args + 3, as, &fc
163 struct flakey_c *fc; local
232 struct flakey_c *fc = ti->private; local
240 struct flakey_c *fc = ti->private; local
247 struct flakey_c *fc = ti->private; local
255 corrupt_bio_data(struct bio *bio, struct flakey_c *fc) argument
276 struct flakey_c *fc = ti->private; local
326 struct flakey_c *fc = ti->private; local
345 struct flakey_c *fc = ti->private; local
376 struct flakey_c *fc = ti->private; local
393 struct flakey_c *fc = ti->private; local
407 struct flakey_c *fc = ti->private; local
[all...]
/drivers/isdn/hardware/mISDN/
H A Davmfritz.c185 struct fritzcard *fc = p; local
188 outb(idx, fc->addr + CHIP_INDEX);
189 return inb(fc->addr + CHIP_WINDOW + (offset & 0xf));
195 struct fritzcard *fc = p; local
198 outb(idx, fc->addr + CHIP_INDEX);
199 outb(value, fc->addr + CHIP_WINDOW + (offset & 0xf));
205 struct fritzcard *fc = p; local
207 outb(AVM_ISAC_FIFO, fc->addr + CHIP_INDEX);
208 insb(fc->addr + CHIP_WINDOW, data, size);
214 struct fritzcard *fc local
223 struct fritzcard *fc = p; local
232 struct fritzcard *fc = p; local
241 struct fritzcard *fc = p; local
252 struct fritzcard *fc = p; local
261 Sel_BCS(struct fritzcard *fc, u32 channel) argument
274 __write_ctrl_pci(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) argument
282 __write_ctrl_pciv2(struct fritzcard *fc, struct hdlc_hw *hdlc, u32 channel) argument
289 struct fritzcard *fc = bch->hw; local
322 read_status(struct fritzcard *fc, u32 channel) argument
335 enable_hwirq(struct fritzcard *fc) argument
342 disable_hwirq(struct fritzcard *fc) argument
351 struct fritzcard *fc = bch->hw; local
408 struct fritzcard *fc = bch->hw; local
450 struct fritzcard *fc = bch->hw; local
538 struct fritzcard *fc = bch->hw; local
609 HDLC_irq_main(struct fritzcard *fc) argument
635 struct fritzcard *fc = dev_id; local
662 struct fritzcard *fc = dev_id; local
696 struct fritzcard *fc = bch->hw; local
738 inithdlc(struct fritzcard *fc) argument
745 clear_pending_hdlc_ints(struct fritzcard *fc) argument
756 reset_avm(struct fritzcard *fc) argument
788 init_card(struct fritzcard *fc) argument
852 struct fritzcard *fc = bch->hw; local
880 channel_ctrl(struct fritzcard *fc, struct mISDN_ctrl_req *cq) argument
908 open_bchannel(struct fritzcard *fc, struct channel_req *rq) argument
932 struct fritzcard *fc = dch->hw; local
966 setup_fritz(struct fritzcard *fc) argument
[all...]
/drivers/media/pci/b2c2/
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-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
343 struct flexcop_device *fc; local
[all...]
/drivers/fmc/
H A Dfmc-chardev.c33 struct fc_instance *fc; local
36 list_for_each_entry(fc, &fc_devices, list)
37 if (fc->misc.minor == minor)
39 if (fc->misc.minor != minor)
41 fmc = fc->fmc;
130 struct fc_instance *fc; local
138 fc = kzalloc(sizeof(*fc), GFP_KERNEL);
139 if (!fc)
141 fc
164 struct fc_instance *fc; local
[all...]
/drivers/scsi/esas2r/
H A Desas2r_flash.c137 struct esas2r_flash_context *fc = local
144 if (fc->sgc.cur_offset == NULL)
155 rq->interrupt_cb = fc->interrupt_cb;
169 (*fc->interrupt_cb)(a, rq);
179 struct esas2r_flash_context *fc = local
181 struct esas2r_sg_context *sgc = &fc->sgc;
185 if (fc->func == VDA_FLASH_BEGINW) {
192 rq->interrupt_cb = fc->interrupt_cb;
196 fc->func,
198 fc
305 struct esas2r_flash_context *fc = local
326 struct esas2r_flash_context *fc = local
664 calc_fi_checksum(struct esas2r_flash_context *fc) argument
692 verify_fi(struct esas2r_adapter *a, struct esas2r_flash_context *fc) argument
1392 struct esas2r_flash_context *fc = &a->flash_context; 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.h32 #include <scsi/fc/fc_fs.h>
33 #include <scsi/fc/fc_fcoe.h>
/drivers/net/ethernet/atheros/alx/
H A Dethtool.c215 u8 fc = 0; local
218 fc |= ALX_FC_TX;
220 fc |= ALX_FC_RX;
222 fc |= ALX_FC_ANEG;
228 if (!((fc ^ hw->flowctrl) & ALX_FC_ANEG))
230 if (fc & hw->flowctrl & ALX_FC_ANEG &&
231 (fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX))
236 err = alx_setup_speed_duplex(hw, hw->adv_cfg, fc);
242 if ((fc ^ hw->flowctrl) & (ALX_FC_RX | ALX_FC_TX))
243 alx_cfg_mac_flowcontrol(hw, fc);
[all...]
/drivers/media/usb/b2c2/
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
376 flexcop_usb_stream_control(struct flexcop_device *fc, int onoff) argument
508 struct flexcop_device *fc = NULL; local
[all...]
/drivers/net/wireless/hostap/
H A Dhostap_80211_tx.c23 u16 fc; local
33 fc = le16_to_cpu(hdr->frame_control);
35 fc, (fc & IEEE80211_FCTL_FTYPE) >> 2,
36 (fc & IEEE80211_FCTL_STYPE) >> 4,
37 fc & IEEE80211_FCTL_TODS ? " [ToDS]" : "",
38 fc & IEEE80211_FCTL_FROMDS ? " [FromDS]" : "");
67 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));
220 fc |= cpu_to_le16(WLAN_SET_FC_ISWEP(1));
225 p80211_hdr->a3.fc = fc;
279 u16 fc; local
297 fc = le16_to_cpu(w_hdr->a3.fc);
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dcommon.c40 __le16 fc; local
42 fc = hdr->frame_control;
47 strip_mic = is_valid_tkip && ieee80211_is_data(fc) &&
48 ieee80211_has_protected(fc) &&
62 mic_error = is_valid_tkip && !ieee80211_is_ctl(fc) &&
63 !ieee80211_has_morefrags(fc) &&
128 __le16 fc; local
133 fc = hdr->frame_control;
134 padpos = ieee80211_hdrlen(fc);
153 ieee80211_has_protected(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>

Completed in 458 milliseconds

12345678910