/Linux-v4.19/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 98 static int fec_ptp_enable_pps(struct fec_enet_private *fep, uint enable) in fec_ptp_enable_pps() argument 106 if (!(fep->hwts_tx_en || fep->hwts_rx_en)) { in fec_ptp_enable_pps() 107 dev_err(&fep->pdev->dev, "No ptp stack is running\n"); in fec_ptp_enable_pps() 111 if (fep->pps_enable == enable) in fec_ptp_enable_pps() 114 fep->pps_channel = DEFAULT_PPS_CHANNEL; in fec_ptp_enable_pps() 115 fep->reload_period = PPS_OUPUT_RELOAD_PERIOD; in fec_ptp_enable_pps() 117 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 122 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() 128 val = readl(fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() 131 writel(val, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() [all …]
|
D | fec_main.c | 295 struct fec_enet_private *fep = netdev_priv(ndev); in fec_dump() local 303 txq = fep->tx_queue[0]; in fec_dump() 347 struct fec_enet_private *fep = netdev_priv(ndev); in fec_enet_txq_submit_frag_skb() local 373 if (fep->bufdesc_ex) { in fec_enet_txq_submit_frag_skb() 376 SKBTX_HW_TSTAMP && fep->hwts_tx_en)) in fec_enet_txq_submit_frag_skb() 381 if (fep->bufdesc_ex) { in fec_enet_txq_submit_frag_skb() 382 if (fep->quirks & FEC_QUIRK_HAS_AVB) in fec_enet_txq_submit_frag_skb() 393 if (((unsigned long) bufaddr) & fep->tx_align || in fec_enet_txq_submit_frag_skb() 394 fep->quirks & FEC_QUIRK_SWAP_FRAME) { in fec_enet_txq_submit_frag_skb() 398 if (fep->quirks & FEC_QUIRK_SWAP_FRAME) in fec_enet_txq_submit_frag_skb() [all …]
|
/Linux-v4.19/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 72 struct fs_enet_private *fep = netdev_priv(dev); in fs_set_multicast_list() local 74 (*fep->ops->set_multicast_list)(dev); in fs_set_multicast_list() 88 struct fs_enet_private *fep = container_of(napi, struct fs_enet_private, napi); in fs_enet_napi() local 89 struct net_device *dev = fep->ndev; in fs_enet_napi() 90 const struct fs_platform_info *fpi = fep->fpi; in fs_enet_napi() 99 spin_lock(&fep->tx_lock); in fs_enet_napi() 100 bdp = fep->dirty_tx; in fs_enet_napi() 103 (*fep->ops->napi_clear_event)(dev); in fs_enet_napi() 107 dirtyidx = bdp - fep->tx_bd_base; in fs_enet_napi() 109 if (fep->tx_free == fep->tx_ring) in fs_enet_napi() [all …]
|
D | mac-fcc.c | 79 static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op) in fcc_cr_cmd() argument 81 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() 86 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument 88 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup() 89 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup() 92 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup() 93 if (!fep->interrupt) in do_pd_setup() 96 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 97 if (!fep->fcc.fccp) in do_pd_setup() 100 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup() [all …]
|
D | mac-fec.c | 92 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument 94 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup() 96 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup() 97 if (!fep->interrupt) in do_pd_setup() 100 fep->fec.fecp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 101 if (!fep->fcc.fccp) in do_pd_setup() 114 struct fs_enet_private *fep = netdev_priv(dev); in setup_data() local 116 if (do_pd_setup(fep) != 0) in setup_data() 119 fep->fec.hthi = 0; in setup_data() 120 fep->fec.htlo = 0; in setup_data() [all …]
|
D | mac-scc.c | 84 static inline int scc_cr_cmd(struct fs_enet_private *fep, u32 op) in scc_cr_cmd() argument 86 const struct fs_platform_info *fpi = fep->fpi; in scc_cr_cmd() 91 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument 93 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup() 95 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup() 96 if (!fep->interrupt) in do_pd_setup() 99 fep->scc.sccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 100 if (!fep->scc.sccp) in do_pd_setup() 103 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup() 104 if (!fep->scc.ep) { in do_pd_setup() [all …]
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | dib3000mc.c | 674 struct dtv_frontend_properties *fep) in dib3000mc_get_frontend() argument 679 fep->inversion = INVERSION_AUTO; in dib3000mc_get_frontend() 681 fep->bandwidth_hz = state->current_bandwidth; in dib3000mc_get_frontend() 684 case 0: fep->transmission_mode = TRANSMISSION_MODE_2K; break; in dib3000mc_get_frontend() 685 case 1: fep->transmission_mode = TRANSMISSION_MODE_8K; break; in dib3000mc_get_frontend() 689 case 0: fep->guard_interval = GUARD_INTERVAL_1_32; break; in dib3000mc_get_frontend() 690 case 1: fep->guard_interval = GUARD_INTERVAL_1_16; break; in dib3000mc_get_frontend() 691 case 2: fep->guard_interval = GUARD_INTERVAL_1_8; break; in dib3000mc_get_frontend() 692 case 3: fep->guard_interval = GUARD_INTERVAL_1_4; break; in dib3000mc_get_frontend() 696 case 0: fep->modulation = QPSK; break; in dib3000mc_get_frontend() [all …]
|
D | dib7000m.c | 1162 struct dtv_frontend_properties *fep) in dib7000m_get_frontend() argument 1167 fep->inversion = INVERSION_AUTO; in dib7000m_get_frontend() 1169 fep->bandwidth_hz = BANDWIDTH_TO_HZ(state->current_bandwidth); in dib7000m_get_frontend() 1172 case 0: fep->transmission_mode = TRANSMISSION_MODE_2K; break; in dib7000m_get_frontend() 1173 case 1: fep->transmission_mode = TRANSMISSION_MODE_8K; break; in dib7000m_get_frontend() 1178 case 0: fep->guard_interval = GUARD_INTERVAL_1_32; break; in dib7000m_get_frontend() 1179 case 1: fep->guard_interval = GUARD_INTERVAL_1_16; break; in dib7000m_get_frontend() 1180 case 2: fep->guard_interval = GUARD_INTERVAL_1_8; break; in dib7000m_get_frontend() 1181 case 3: fep->guard_interval = GUARD_INTERVAL_1_4; break; in dib7000m_get_frontend() 1185 case 0: fep->modulation = QPSK; break; in dib7000m_get_frontend() [all …]
|
D | dib7000p.c | 1425 struct dtv_frontend_properties *fep) in dib7000p_get_frontend() argument 1430 fep->inversion = INVERSION_AUTO; in dib7000p_get_frontend() 1432 fep->bandwidth_hz = BANDWIDTH_TO_HZ(state->current_bandwidth); in dib7000p_get_frontend() 1436 fep->transmission_mode = TRANSMISSION_MODE_2K; in dib7000p_get_frontend() 1439 fep->transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_get_frontend() 1446 fep->guard_interval = GUARD_INTERVAL_1_32; in dib7000p_get_frontend() 1449 fep->guard_interval = GUARD_INTERVAL_1_16; in dib7000p_get_frontend() 1452 fep->guard_interval = GUARD_INTERVAL_1_8; in dib7000p_get_frontend() 1455 fep->guard_interval = GUARD_INTERVAL_1_4; in dib7000p_get_frontend() 1461 fep->modulation = QPSK; in dib7000p_get_frontend() [all …]
|
/Linux-v4.19/drivers/media/usb/dvb-usb/ |
D | af9005-fe.c | 1102 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in af9005_fe_set_frontend() local 1107 deb_info("af9005_fe_set_frontend freq %d bw %d\n", fep->frequency, in af9005_fe_set_frontend() 1108 fep->bandwidth_hz); in af9005_fe_set_frontend() 1168 ret = af9005_fe_select_bw(state->d, fep->bandwidth_hz); in af9005_fe_set_frontend() 1171 ret = af9005_fe_program_cfoe(state->d, fep->bandwidth_hz); in af9005_fe_set_frontend() 1227 struct dtv_frontend_properties *fep) in af9005_fe_get_frontend() argument 1244 fep->modulation = QPSK; in af9005_fe_get_frontend() 1248 fep->modulation = QAM_16; in af9005_fe_get_frontend() 1252 fep->modulation = QAM_64; in af9005_fe_get_frontend() 1267 fep->hierarchy = HIERARCHY_NONE; in af9005_fe_get_frontend() [all …]
|
D | dtt200u-fe.c | 19 struct dtv_frontend_properties fep; member 152 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in dtt200u_fe_set_frontend() local 155 u16 freq = fep->frequency / 250000; in dtt200u_fe_set_frontend() 159 switch (fep->bandwidth_hz) { in dtt200u_fe_set_frontend() 191 struct dtv_frontend_properties *fep) in dtt200u_fe_get_frontend() argument 195 memcpy(fep, &state->fep, sizeof(struct dtv_frontend_properties)); in dtt200u_fe_get_frontend()
|
D | cinergyT2-fe.c | 236 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in cinergyt2_fe_set_frontend() local 245 param->tps = cpu_to_le16(compute_tps(fep)); in cinergyt2_fe_set_frontend() 246 param->freq = cpu_to_le32(fep->frequency / 1000); in cinergyt2_fe_set_frontend() 249 switch (fep->bandwidth_hz) { in cinergyt2_fe_set_frontend()
|
D | vp702x-fe.c | 141 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in vp702x_fe_set_frontend() local 144 u32 freq = fep->frequency/1000; in vp702x_fe_set_frontend() 159 sr = (u64) (fep->symbol_rate/1000) << 20; in vp702x_fe_set_frontend() 166 fep->frequency, freq, freq, fep->symbol_rate, in vp702x_fe_set_frontend()
|
D | vp7045-fe.c | 109 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in vp7045_fe_set_frontend() local 112 u32 freq = fep->frequency / 1000; in vp7045_fe_set_frontend() 119 switch (fep->bandwidth_hz) { in vp7045_fe_set_frontend()
|
/Linux-v4.19/drivers/misc/mic/scif/ |
D | scif_fd.c | 171 struct scif_endpt *fep = NULL; in scif_fdioctl() local 186 fep = tmpep; in scif_fdioctl() 191 if (!fep) { in scif_fdioctl()
|
D | scif_api.c | 95 struct scif_endpt *fep = NULL; in scif_disconnect_ep() local 121 fep = tmpep; in scif_disconnect_ep() 127 if (!fep) { in scif_disconnect_ep()
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-pciercx-defs.h | 282 __BITFIELD_FIELD(uint32_t fep:5,
|