| /drivers/net/ethernet/freescale/ |
| A D | fec_ptp.c | 194 fep->next_counter = (val + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps() 212 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps() 213 fep->next_counter = (fep->next_counter + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps() 255 fep->next_counter = (compare_val + fep->reload_period) & fep->cc.mask; in fec_ptp_pps_perout() 273 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_pps_perout() 274 fep->next_counter = (fep->next_counter + fep->reload_period) & fep->cc.mask; in fec_ptp_pps_perout() 318 memset(&fep->cc, 0, sizeof(fep->cc)); in fec_ptp_start_cyclecounter() 325 timecounter_init(&fep->tc, &fep->cc, 0); in fec_ptp_start_cyclecounter() 490 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_settime() 681 fep->next_counter = (fep->next_counter + fep->reload_period) & in fec_pps_interrupt() [all …]
|
| A D | fec_main.c | 1180 writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED); in fec_restart() 1402 writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED); in fec_stop() 1577 fep->hwts_tx_en) && fep->bufdesc_ex) { in fec_enet_tx_queue() 1886 if (fep->hwts_rx_en && fep->bufdesc_ex) in fec_enet_rx_queue() 1973 if (fec_enet_collect_events(fep) && fep->link) { in fec_enet_interrupt() 2644 fep->mii_bus->priv = fep; in fec_enet_mii_init() 4300 fep->wake_irq = fep->irq[2]; in fec_enet_get_wakeup_irq() 4302 fep->wake_irq = fep->irq[0]; in fec_enet_get_wakeup_irq() 4454 fep->itr_clk_rate = clk_get_rate(fep->clk_ahb); in fec_probe() 4571 if (fep->bufdesc_ex && fep->ptp_clock) in fec_probe() [all …]
|
| A D | fec.h | 702 void fec_ptp_restore_state(struct fec_enet_private *fep); 703 void fec_ptp_save_state(struct fec_enet_private *fep);
|
| /drivers/net/ethernet/freescale/fs_enet/ |
| A D | fs_enet-main.c | 110 if (fep->tx_free == fep->tx_ring) in fs_enet_napi() 325 (*fep->ops->clear_int_events)(dev, fep->ev_napi); in fs_enet_interrupt() 348 fep->dirty_tx = fep->tx_bd_base; in fs_init_bds() 349 fep->cur_tx = fep->tx_bd_base; in fs_init_bds() 350 fep->tx_free = fep->tx_ring; in fs_init_bds() 351 fep->cur_rx = fep->rx_bd_base; in fs_init_bds() 919 fep->fpi = fpi; in fs_enet_probe() 946 fep->rx_skbuff = (struct sk_buff **)&fep[1]; in fs_enet_probe() 947 fep->tx_skbuff = fep->rx_skbuff + fpi->rx_ring; in fs_enet_probe() 960 fep->rx_bd_base = fep->ring_base; in fs_enet_probe() [all …]
|
| A D | mac-fec.c | 92 if (!fep->interrupt) in do_pd_setup() 96 if (!fep->fec.fecp) in do_pd_setup() 114 fep->fec.hthi = 0; in setup_data() 115 fep->fec.htlo = 0; in setup_data() 118 fep->ev = FEC_EVENT; in setup_data() 129 fep->ring_base = (void __force __iomem *)dma_alloc_coherent(fep->dev, in allocate_bd() 144 if(fep->ring_base) in free_bd() 148 fep->ring_mem_addr); in free_bd() 168 fep->fec.hthi = 0; in set_multicast_start() 169 fep->fec.htlo = 0; in set_multicast_start() [all …]
|
| A D | mac-fcc.c | 87 if (!fep->interrupt) in do_pd_setup() 91 if (!fep->fcc.fccp) in do_pd_setup() 95 if (!fep->fcc.ep) in do_pd_setup() 99 if (!fep->fcc.fcccp) in do_pd_setup() 114 iounmap(fep->fcc.ep); in do_pd_setup() 116 iounmap(fep->fcc.fccp); in do_pd_setup() 133 fep->ev = FCC_EVENT; in setup_data() 144 fep->ring_base = (void __iomem __force *)dma_alloc_coherent(fep->dev, in allocate_bd() 159 if (fep->ring_base) in free_bd() 162 (void __force *)fep->ring_base, fep->ring_mem_addr); in free_bd() [all …]
|
| A D | mac-scc.c | 91 if (!fep->interrupt) in do_pd_setup() 95 if (!fep->scc.sccp) in do_pd_setup() 99 if (!fep->scc.ep) { in do_pd_setup() 100 iounmap(fep->scc.sccp); in do_pd_setup() 115 do_pd_setup(fep); in setup_data() 117 fep->scc.hthi = 0; in setup_data() 118 fep->scc.htlo = 0; in setup_data() 120 fep->ev_napi = SCC_NAPI_EVENT_MSK; in setup_data() 122 fep->ev_err = SCC_ERR_EVENT_MSK; in setup_data() 147 if (fep->ring_base) in free_bd() [all …]
|
| /drivers/media/dvb-frontends/ |
| A D | dib3000mc.c | 671 struct dtv_frontend_properties *fep) in dib3000mc_get_frontend() argument 676 fep->inversion = INVERSION_AUTO; in dib3000mc_get_frontend() 693 case 0: fep->modulation = QPSK; break; in dib3000mc_get_frontend() 694 case 1: fep->modulation = QAM_16; break; in dib3000mc_get_frontend() 696 default: fep->modulation = QAM_64; break; in dib3000mc_get_frontend() 702 fep->hierarchy = HIERARCHY_NONE; in dib3000mc_get_frontend() 704 case 1: fep->code_rate_HP = FEC_1_2; break; in dib3000mc_get_frontend() 705 case 2: fep->code_rate_HP = FEC_2_3; break; in dib3000mc_get_frontend() 746 fep->modulation == QAM_AUTO || in dib3000mc_set_frontend() 747 fep->code_rate_HP == FEC_AUTO) { in dib3000mc_set_frontend() [all …]
|
| A D | dib7000m.c | 1159 struct dtv_frontend_properties *fep) in dib7000m_get_frontend() argument 1164 fep->inversion = INVERSION_AUTO; in dib7000m_get_frontend() 1182 case 0: fep->modulation = QPSK; break; in dib7000m_get_frontend() 1183 case 1: fep->modulation = QAM_16; break; in dib7000m_get_frontend() 1185 default: fep->modulation = QAM_64; break; in dib7000m_get_frontend() 1191 fep->hierarchy = HIERARCHY_NONE; in dib7000m_get_frontend() 1193 case 1: fep->code_rate_HP = FEC_1_2; break; in dib7000m_get_frontend() 1194 case 2: fep->code_rate_HP = FEC_2_3; break; in dib7000m_get_frontend() 1239 fep->modulation == QAM_AUTO || in dib7000m_set_frontend() 1240 fep->code_rate_HP == FEC_AUTO) { in dib7000m_set_frontend() [all …]
|
| A D | dib7000p.c | 1453 fep->modulation = QPSK; in dib7000p_get_frontend() 1456 fep->modulation = QAM_16; in dib7000p_get_frontend() 1460 fep->modulation = QAM_64; in dib7000p_get_frontend() 1470 fep->code_rate_HP = FEC_1_2; in dib7000p_get_frontend() 1473 fep->code_rate_HP = FEC_2_3; in dib7000p_get_frontend() 1476 fep->code_rate_HP = FEC_3_4; in dib7000p_get_frontend() 1479 fep->code_rate_HP = FEC_5_6; in dib7000p_get_frontend() 1483 fep->code_rate_HP = FEC_7_8; in dib7000p_get_frontend() 1490 fep->code_rate_LP = FEC_1_2; in dib7000p_get_frontend() 1493 fep->code_rate_LP = FEC_2_3; in dib7000p_get_frontend() [all …]
|
| /drivers/media/usb/dvb-usb/ |
| A D | af9005-fe.c | 1099 fep->bandwidth_hz); in af9005_fe_set_frontend() 1235 fep->modulation = QPSK; in af9005_fe_get_frontend() 1239 fep->modulation = QAM_16; in af9005_fe_get_frontend() 1243 fep->modulation = QAM_64; in af9005_fe_get_frontend() 1294 fep->code_rate_HP = FEC_1_2; in af9005_fe_get_frontend() 1298 fep->code_rate_HP = FEC_2_3; in af9005_fe_get_frontend() 1302 fep->code_rate_HP = FEC_3_4; in af9005_fe_get_frontend() 1306 fep->code_rate_HP = FEC_5_6; in af9005_fe_get_frontend() 1310 fep->code_rate_HP = FEC_7_8; in af9005_fe_get_frontend() 1325 fep->code_rate_LP = FEC_1_2; in af9005_fe_get_frontend() [all …]
|
| A D | dtt200u-fe.c | 16 struct dtv_frontend_properties fep; member 149 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in dtt200u_fe_set_frontend() local 152 u16 freq = fep->frequency / 250000; in dtt200u_fe_set_frontend() 156 switch (fep->bandwidth_hz) { in dtt200u_fe_set_frontend() 188 struct dtv_frontend_properties *fep) in dtt200u_fe_get_frontend() argument 192 memcpy(fep, &state->fep, sizeof(struct dtv_frontend_properties)); in dtt200u_fe_get_frontend()
|
| A D | cinergyT2-fe.c | 226 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in cinergyt2_fe_set_frontend() local 235 param->tps = cpu_to_le16(compute_tps(fep)); in cinergyt2_fe_set_frontend() 236 param->freq = cpu_to_le32(fep->frequency / 1000); in cinergyt2_fe_set_frontend() 239 switch (fep->bandwidth_hz) { in cinergyt2_fe_set_frontend()
|
| A D | vp702x-fe.c | 137 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in vp702x_fe_set_frontend() local 140 u32 freq = fep->frequency/1000; in vp702x_fe_set_frontend() 155 sr = (u64) (fep->symbol_rate/1000) << 20; in vp702x_fe_set_frontend() 162 fep->frequency, freq, freq, fep->symbol_rate, in vp702x_fe_set_frontend()
|
| A D | vp7045-fe.c | 105 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in vp7045_fe_set_frontend() local 108 u32 freq = fep->frequency / 1000; in vp7045_fe_set_frontend() 115 switch (fep->bandwidth_hz) { in vp7045_fe_set_frontend()
|