| /linux/drivers/net/ethernet/freescale/ |
| A D | fec_ptp.c | 123 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() 176 fep->next_counter = (val + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps() 194 writel(fep->next_counter, fep->hwp + FEC_TCCR(fep->pps_channel)); in fec_ptp_enable_pps() 195 fep->next_counter = (fep->next_counter + fep->reload_period) & fep->cc.mask; in fec_ptp_enable_pps() 197 writel(0, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() 258 memset(&fep->cc, 0, sizeof(fep->cc)); in fec_ptp_start_cyclecounter() 265 timecounter_init(&fep->tc, &fep->cc, 0); in fec_ptp_start_cyclecounter() 427 timecounter_init(&fep->tc, &fep->cc, ns); in fec_ptp_settime() 561 fep->next_counter = (fep->next_counter + fep->reload_period) & in fec_pps_interrupt() 604 fep->cycle_speed = clk_get_rate(fep->clk_ptp); in fec_ptp_init() [all …]
|
| A D | fec_main.c | 1029 writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED); in fec_restart() 1222 writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED); in fec_stop() 1573 if (fep->hwts_rx_en && fep->bufdesc_ex) in fec_enet_rx_queue() 1672 if (fec_enet_collect_events(fep) && fep->link) { in fec_enet_interrupt() 2248 fep->mii_bus->priv = fep; in fec_enet_mii_init() 2625 if (!fep->rx_time_itr || !fep->rx_pkts_itr || in fec_enet_itr_coal_set() 2626 !fep->tx_time_itr || !fep->tx_pkts_itr) in fec_enet_itr_coal_set() 3706 fep->wake_irq = fep->irq[2]; in fec_enet_get_wakeup_irq() 3708 fep->wake_irq = fep->irq[0]; in fec_enet_get_wakeup_irq() 3971 if (fep->bufdesc_ex && fep->ptp_clock) in fec_probe() [all …]
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| A D | fs_enet-main.c | 108 if (fep->tx_free == fep->tx_ring) in fs_enet_napi() 328 fpi = fep->fpi; in fs_enet_interrupt() 346 (*fep->ops->clear_int_events)(dev, fep->ev_napi); in fs_enet_interrupt() 369 fep->dirty_tx = fep->cur_tx = fep->tx_bd_base; in fs_init_bds() 370 fep->tx_free = fep->tx_ring; in fs_init_bds() 371 fep->cur_rx = fep->rx_bd_base; in fs_init_bds() 993 fep->fpi = fpi; in fs_enet_probe() 1000 fep->rx_skbuff = (struct sk_buff **)&fep[1]; in fs_enet_probe() 1001 fep->tx_skbuff = fep->rx_skbuff + fpi->rx_ring; in fs_enet_probe() 1014 fep->rx_bd_base = fep->ring_base; in fs_enet_probe() [all …]
|
| A D | mac-fcc.c | 93 if (!fep->interrupt) in do_pd_setup() 97 if (!fep->fcc.fccp) in do_pd_setup() 101 if (!fep->fcc.ep) in do_pd_setup() 105 if (!fep->fcc.fcccp) in do_pd_setup() 120 iounmap(fep->fcc.ep); in do_pd_setup() 122 iounmap(fep->fcc.fccp); in do_pd_setup() 139 fep->ev = FCC_EVENT; in setup_data() 150 fep->ring_base = (void __iomem __force *)dma_alloc_coherent(fep->dev, in allocate_bd() 165 if (fep->ring_base) in free_bd() 168 (void __force *)fep->ring_base, fep->ring_mem_addr); in free_bd() [all …]
|
| A D | mac-fec.c | 97 if (!fep->interrupt) in do_pd_setup() 101 if (!fep->fcc.fccp) in do_pd_setup() 119 fep->fec.hthi = 0; in setup_data() 120 fep->fec.htlo = 0; in setup_data() 123 fep->ev = FEC_EVENT; in setup_data() 134 fep->ring_base = (void __force __iomem *)dma_alloc_coherent(fep->dev, in allocate_bd() 149 if(fep->ring_base) in free_bd() 153 fep->ring_mem_addr); in free_bd() 173 fep->fec.hthi = 0; in set_multicast_start() 174 fep->fec.htlo = 0; in set_multicast_start() [all …]
|
| A D | mac-scc.c | 96 if (!fep->interrupt) in do_pd_setup() 100 if (!fep->scc.sccp) in do_pd_setup() 104 if (!fep->scc.ep) { in do_pd_setup() 105 iounmap(fep->scc.sccp); in do_pd_setup() 120 do_pd_setup(fep); in setup_data() 122 fep->scc.hthi = 0; in setup_data() 123 fep->scc.htlo = 0; in setup_data() 125 fep->ev_napi = SCC_NAPI_EVENT_MSK; in setup_data() 127 fep->ev_err = SCC_ERR_EVENT_MSK; in setup_data() 152 if (fep->ring_base) in free_bd() [all …]
|
| /linux/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 | 1458 fep->modulation = QPSK; in dib7000p_get_frontend() 1461 fep->modulation = QAM_16; in dib7000p_get_frontend() 1465 fep->modulation = QAM_64; in dib7000p_get_frontend() 1475 fep->code_rate_HP = FEC_1_2; in dib7000p_get_frontend() 1478 fep->code_rate_HP = FEC_2_3; in dib7000p_get_frontend() 1481 fep->code_rate_HP = FEC_3_4; in dib7000p_get_frontend() 1484 fep->code_rate_HP = FEC_5_6; in dib7000p_get_frontend() 1488 fep->code_rate_HP = FEC_7_8; in dib7000p_get_frontend() 1495 fep->code_rate_LP = FEC_1_2; in dib7000p_get_frontend() 1498 fep->code_rate_LP = FEC_2_3; in dib7000p_get_frontend() [all …]
|
| /linux/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()
|
| /linux/fs/exfat/ |
| A D | dir.c | 501 struct exfat_dentry *ep, *fep; in exfat_update_dir_chksum() local 504 fep = exfat_get_dentry(sb, p_dir, entry, &fbh, §or); in exfat_update_dir_chksum() 505 if (!fep) in exfat_update_dir_chksum() 508 num_entries = fep->dentry.file.num_ext + 1; in exfat_update_dir_chksum() 509 chksum = exfat_calc_chksum16(fep, DENTRY_SIZE, 0, CS_DIR_ENTRY); in exfat_update_dir_chksum() 522 fep->dentry.file.checksum = cpu_to_le16(chksum); in exfat_update_dir_chksum()
|
| /linux/arch/mips/include/asm/octeon/ |
| A D | cvmx-pciercx-defs.h | 282 __BITFIELD_FIELD(uint32_t fep:5,
|