/drivers/media/dvb/b2c2/ |
H A D | flexcop-eeprom.c | 89 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 D | flexcop-misc.c | 8 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 D | flexcop-sram.c | 8 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 D | flexcop-dma.c | 40 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 D | flexcop-i2c.c | 10 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 D | flexcop-hw-filter.c | 8 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 D | flexcop.c | 60 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 D | flexcop-common.h | 50 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...] |
/drivers/gpu/drm/nouveau/ |
H A D | nv10_fifo.c | 47 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...] |
H A D | nv40_fifo.c | 40 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 D | nv50_instmem.c | 71 u32 fc = (dev_priv->chipset == 0x50) ? 0x0000 : 0x4200; local 114 chan->ramin->pinst + fc, 115 chan->ramin->vinst + fc, 0x100,
|
/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac100_core.c | 144 unsigned int fc, unsigned int pause_time) 143 dwmac100_flow_ctrl(void __iomem *ioaddr, unsigned int duplex, unsigned int fc, unsigned int pause_time) argument
|
H A D | dwmac1000_core.c | 151 unsigned int fc, unsigned int pause_time) 156 if (fc & FLOW_RX) { 160 if (fc & FLOW_TX) { 150 dwmac1000_flow_ctrl(void __iomem *ioaddr, unsigned int duplex, unsigned int fc, unsigned int pause_time) argument
|
/drivers/net/wireless/wl1251/ |
H A D | rx.c | 153 u16 length, *fc; local 185 fc = (u16 *)skb->data; 187 if ((*fc & IEEE80211_FCTL_STYPE) == IEEE80211_STYPE_BEACON)
|
/drivers/bcma/ |
H A D | driver_chipcommon_pmu.c | 217 u32 tmp, div, ndiv, p1, p2, fc; local 243 fc = bcma_pmu_alp_clock(cc) / 1000000; 244 fc = (p1 * ndiv * fc) / p2; 247 return (fc / div) * 1000000;
|
/drivers/net/dsa/ |
H A D | mv88e6060.c | 231 int fc; local 256 fc = ((port_status & 0xc000) == 0xc000) ? 1 : 0; 262 fc ? "en" : "dis");
|
H A D | mv88e6xxx.c | 366 int fc; local 404 fc = (port_status & 0x8000) ? 1 : 0; 410 fc ? "en" : "dis");
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88x201x.c | 173 int *speed, int *duplex, int *fc) 189 if (fc) 190 *fc = PAUSE_RX | PAUSE_TX; 172 mv88x201x_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
|
H A D | my3126.c | 110 int *link_ok, int *speed, int *duplex, int *fc) 146 if (fc) 147 *fc = PAUSE_RX | PAUSE_TX; 109 my3126_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
|
H A D | mv88e1xxx.c | 241 int *speed, int *duplex, int *fc) 268 if (fc) 269 *fc = pause; 240 mv88e1xxx_get_link_status(struct cphy *cphy, int *link_ok, int *speed, int *duplex, int *fc) argument
|
/drivers/net/wireless/hostap/ |
H A D | hostap_80211_tx.c | 22 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...] |
/drivers/staging/wlan-ng/ |
H A D | p80211conv.c | 110 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/md/ |
H A D | dm-flakey.c | 18 #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 226 struct flakey_c *fc = ti->private; local 234 struct flakey_c *fc = ti->private; local 241 struct flakey_c *fc = ti->private; local 248 corrupt_bio_data(struct bio *bio, struct flakey_c *fc) argument 270 struct flakey_c *fc = ti->private; local 319 struct flakey_c *fc = ti->private; local 338 struct flakey_c *fc = ti->private; local 370 struct flakey_c *fc = ti->private; local 387 struct flakey_c *fc = ti->private; local 401 struct flakey_c *fc = ti->private; local [all...] |
/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | aq100x.c | 208 int *speed, int *duplex, int *fc) 207 aq100x_get_link_status(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc) argument
|
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_param.c | 343 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...] |