/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 44 #include <sysdev/bestcomm/fec.h> 48 #define DRIVER_NAME "mpc52xx-fec" 57 struct mpc52xx_fec __iomem *fec; member in struct:mpc52xx_fec_priv 107 struct mpc52xx_fec __iomem *fec = priv->fec; local 109 out_be32(&fec->paddr1, *(u32 *)(&mac[0])); 110 out_be32(&fec->paddr2, (*(u16 *)(&mac[4]) << 16) | FEC_PADDR2_TYPE); 116 struct mpc52xx_fec __iomem *fec = priv->fec; local 118 *(u32 *)(&mac[0]) = in_be32(&fec 183 struct mpc52xx_fec __iomem *fec = priv->fec; local 455 struct mpc52xx_fec __iomem *fec = priv->fec; local 495 struct mpc52xx_fec __iomem *fec = priv->fec; local 544 struct mpc52xx_fec __iomem *fec = priv->fec; local 561 struct mpc52xx_fec __iomem *fec = priv->fec; local 604 struct mpc52xx_fec __iomem *fec = priv->fec; local 655 struct mpc52xx_fec __iomem *fec = priv->fec; local 709 struct mpc52xx_fec __iomem *fec = priv->fec; local 749 struct mpc52xx_fec __iomem *fec = priv->fec; local [all...] |
H A D | Makefile | 5 obj-$(CONFIG_FEC) += fec.o
|
H A D | fec_mpc52xx_phy.c | 32 struct mpc52xx_fec __iomem *fec = priv->regs; local 38 out_be32(&fec->ievent, FEC_IEVENT_MII); 39 out_be32(&fec->mii_data, value); 42 while (!(in_be32(&fec->ievent) & FEC_IEVENT_MII) && --tries) 49 in_be32(&fec->mii_data) & FEC_MII_DATA_DATAMSK : 0; 142 { .compatible = "mpc5200b-fec-phy", }, 149 .name = "mpc5200b-fec-phy", 157 /* let fec driver call it, since this has to be registered before it */
|
/drivers/net/ethernet/freescale/fs_enet/ |
H A D | Makefile | 8 fs_enet-$(CONFIG_FS_ENET_HAS_FEC) += mac-fec.o 11 obj-$(CONFIG_FS_ENET_MDIO_FEC) += mii-fec.o
|
H A D | mii-fec.c | 42 #include "fec.h" 54 struct fec_info* fec = bus->priv; local 55 struct fec __iomem *fecp = fec->fecp; 77 struct fec_info* fec = bus->priv; local 78 struct fec __iomem *fecp = fec->fecp; 110 struct fec_info *fec; local 123 fec = kzalloc(sizeof(struct fec_info), GFP_KERNEL); 124 if (!fec) 204 struct fec_info *fec = bus->priv; local [all...] |
H A D | mac-fec.c | 48 #include "fec.h" 83 static int whack_reset(struct fec __iomem *fecp) 105 fep->fec.fecp = of_iomap(ofdev->dev.of_node, 0); 125 fep->fec.hthi = 0; 126 fep->fec.htlo = 0; 171 struct fec __iomem *fecp = fep->fec.fecp; 180 fep->fec.hthi = 0; 181 fep->fec.htlo = 0; 211 fep->fec [all...] |
H A D | fs_enet.h | 23 struct fec { struct 65 struct fec __iomem *fecp; 164 } fec; member in union:fs_enet_private::__anon2185
|
/drivers/media/dvb/frontends/ |
H A D | cx24123.c | 337 static int cx24123_set_fec(struct cx24123_state *state, fe_code_rate_t fec) argument 341 if ((fec < FEC_NONE) || (fec > FEC_AUTO)) 342 fec = FEC_AUTO; 345 if (fec == FEC_1_2) 352 switch (fec) { 399 static int cx24123_get_fec(struct cx24123_state *state, fe_code_rate_t *fec) argument 410 *fec = FEC_1_2; 413 *fec = FEC_2_3; 416 *fec [all...] |
H A D | cx24110.c | 180 static int cx24110_set_fec (struct cx24110_state* state, fe_code_rate_t fec) argument 192 if (fec>FEC_AUTO) 193 fec=FEC_AUTO; 195 if (fec==FEC_AUTO) { /* (re-)establish AutoAcq behaviour */ 210 if(rate[fec]>0) { 211 cx24110_writereg(state,0x05,(cx24110_readreg(state,0x05)&0xf0)|rate[fec]); 213 cx24110_writereg(state,0x22,(cx24110_readreg(state,0x22)&0xf0)|rate[fec]); 215 cx24110_writereg(state,0x1a,g1[fec]); 216 cx24110_writereg(state,0x1b,g2[fec]);
|
H A D | stv0900_priv.h | 274 enum fe_stv0900_fec fec; member in struct:stv0900_search_params 287 enum fe_stv0900_fec fec; member in struct:stv0900_signal_info 325 enum fe_stv0900_fec fec[2]; member in struct:stv0900_internal
|
H A D | tda8083.c | 109 static int tda8083_set_fec (struct tda8083_state* state, fe_code_rate_t fec) argument 111 if (fec == FEC_AUTO) 114 if (fec >= FEC_1_2 && fec <= FEC_8_9) 115 return tda8083_writereg (state, 0x07, 1 << (FEC_8_9 - fec));
|
H A D | tda10071_priv.h | 57 fe_code_rate_t fec; member in struct:tda10071_modcod
|
H A D | ves1x93.c | 159 static int ves1x93_set_fec (struct ves1x93_state* state, fe_code_rate_t fec) argument 161 if (fec == FEC_AUTO) 163 else if (fec < FEC_1_2 || fec > FEC_8_9) 166 return ves1x93_writereg (state, 0x0d, fec - FEC_1_2);
|
H A D | cx24116.c | 79 /* configured fec (not tuned) or actual FEC (tuned) 1=1/2 2=2/3 etc */ 83 /* mask to determine configured fec (not tuned) or actual fec (tuned) */ 164 fe_code_rate_t fec; member in struct:cx24116_tuning 371 /* A table of modulation, fec and configuration bytes for the demod. 378 fe_code_rate_t fec; member in struct:cx24116_modfec 384 /*mod fec mask val */ 427 (f == CX24116_MODFEC_MODES[i].fec)) { 437 fe_delivery_system_t delsys, fe_modulation_t mod, fe_code_rate_t fec) 441 dprintk("%s(0x%02x,0x%02x)\n", __func__, mod, fec); 436 cx24116_set_fec(struct cx24116_state *state, fe_delivery_system_t delsys, fe_modulation_t mod, fe_code_rate_t fec) argument [all...] |
H A D | stv090x_priv.h | 258 enum stv090x_fec fec; member in struct:stv090x_state
|
H A D | dib8000.c | 2155 switch (state->fe[0]->dtv_property_cache.layer[i].fec) { 2600 state->fe[0]->dtv_property_cache.layer[0].fec = FEC_2_3; 2838 state->fe[sub_index_frontend]->dtv_property_cache.layer[i].fec = state->fe[index_frontend]->dtv_property_cache.layer[i].fec; 2899 fe->dtv_property_cache.layer[i].fec = FEC_1_2; 2903 fe->dtv_property_cache.layer[i].fec = FEC_2_3; 2907 fe->dtv_property_cache.layer[i].fec = FEC_3_4; 2911 fe->dtv_property_cache.layer[i].fec = FEC_5_6; 2915 fe->dtv_property_cache.layer[i].fec = FEC_7_8; 2952 state->fe[index_frontend]->dtv_property_cache.layer[i].fec [all...] |
H A D | stv0900_sw.c | 704 enum fe_stv0900_fec fec, 718 switch (fec) { 744 switch (fec) { 1228 result->fec = stv0900_get_vit_fec(intp, d); 1764 intp->fec[demod], demod); 1817 intp->fec[demod], demod); 702 stv0900_set_viterbi_standard(struct stv0900_internal *intp, enum fe_stv0900_search_standard standard, enum fe_stv0900_fec fec, enum fe_stv0900_demod_num demod) argument
|
H A D | stv0299.c | 137 static int stv0299_set_FEC (struct stv0299_state* state, fe_code_rate_t fec) argument 141 switch (fec) {
|
H A D | stv0900_core.c | 1586 p_search.fec = STV0900_FEC_UNKNOWN; 1600 intp->fec[demod] = p_search.fec; 1607 p_result.fec = intp->result[demod].fec;
|
H A D | stv090x.c | 1013 switch (state->fec) { 1048 switch (state->fec) { 2561 state->fec = STV090x_PR12; 2565 state->fec = STV090x_PR23; 2569 state->fec = STV090x_PR34; 2573 state->fec = STV090x_PR56; 2577 state->fec = STV090x_PR67; 2581 state->fec = STV090x_PR78; 2585 state->fec = STV090x_PRERR; 2874 if (state->fec [all...] |
/drivers/media/dvb/bt8xx/ |
H A D | dst_common.h | 118 fe_code_rate_t fec; member in struct:dst_state
|
H A D | dst.c | 445 static int dst_set_fec(struct dst_state *state, fe_code_rate_t fec) argument 447 state->fec = fec; 453 return state->fec;
|
/drivers/media/dvb/dvb-core/ |
H A D | dvb_frontend.h | 365 fe_code_rate_t fec; member in struct:dtv_frontend_properties::__anon1470
|
H A D | dvb_frontend.c | 943 c->layer[i].fec = FEC_AUTO; 1329 tvp->u.data = c->layer[0].fec; 1341 tvp->u.data = c->layer[1].fec; 1353 tvp->u.data = c->layer[2].fec; 1553 c->layer[i].fec = FEC_AUTO; 1670 c->layer[0].fec = tvp->u.data; 1682 c->layer[1].fec = tvp->u.data; 1694 c->layer[2].fec = tvp->u.data;
|
/drivers/net/wan/ |
H A D | pc300.h | 238 u16 fec; member in struct:falc
|