Home
last modified time | relevance | path

Searched full:fep (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c101 struct fec_enet_private *fep = in fec_ptp_read() local
105 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
107 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
109 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read()
112 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read()
117 * @fep: the fec_enet_private structure handle
122 static int fec_ptp_enable_pps(struct fec_enet_private *fep, uint enable) in fec_ptp_enable_pps() argument
129 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
131 if (fep->perout_enable) { in fec_ptp_enable_pps()
132 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
[all …]
H A Dfec_main.c81 static int fec_enet_xdp_tx_xmit(struct fec_enet_private *fep,
358 struct fec_enet_private *fep = netdev_priv(ndev); in fec_dump() local
366 txq = fep->tx_queue[0]; in fec_dump()
470 fec_enet_create_page_pool(struct fec_enet_private *fep, in fec_enet_create_page_pool() argument
473 struct bpf_prog *xdp_prog = READ_ONCE(fep->xdp_prog); in fec_enet_create_page_pool()
475 .order = fep->pagepool_order, in fec_enet_create_page_pool()
478 .nid = dev_to_node(&fep->pdev->dev), in fec_enet_create_page_pool()
479 .dev = &fep->pdev->dev, in fec_enet_create_page_pool()
482 .max_len = fep->rx_frame_size, in fec_enet_create_page_pool()
496 static void fec_txq_trigger_xmit(struct fec_enet_private *fep, in fec_txq_trigger_xmit() argument
[all …]
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dmac-fec.c87 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument
89 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup()
91 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup()
92 if (!fep->interrupt) in do_pd_setup()
95 fep->fec.fecp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
96 if (!fep->fec.fecp) in do_pd_setup()
109 struct fs_enet_private *fep = netdev_priv(dev); in setup_data() local
111 if (do_pd_setup(fep) != 0) in setup_data()
114 fep->fec.hthi = 0; in setup_data()
115 fep->fec.htlo = 0; in setup_data()
[all …]
H A Dmac-fcc.c73 static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op) in fcc_cr_cmd() argument
75 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd()
80 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument
82 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup()
83 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup()
86 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup()
87 if (!fep->interrupt) in do_pd_setup()
90 fep->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
91 if (!fep->fcc.fccp) in do_pd_setup()
94 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
[all …]
H A Dmac-scc.c79 static inline int scc_cr_cmd(struct fs_enet_private *fep, u32 op) in scc_cr_cmd() argument
81 const struct fs_platform_info *fpi = fep->fpi; in scc_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()
90 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup()
91 if (!fep->interrupt) in do_pd_setup()
94 fep->scc.sccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup()
95 if (!fep->scc.sccp) in do_pd_setup()
98 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup()
99 if (!fep->scc.ep) { in do_pd_setup()
[all …]
/linux/drivers/media/dvb-frontends/
H A Ddib3000mc.c671 struct dtv_frontend_properties *fep) in dib3000mc_get_frontend() argument
676 fep->inversion = INVERSION_AUTO; in dib3000mc_get_frontend()
678 fep->bandwidth_hz = state->current_bandwidth; in dib3000mc_get_frontend()
681 case 0: fep->transmission_mode = TRANSMISSION_MODE_2K; break; in dib3000mc_get_frontend()
682 case 1: fep->transmission_mode = TRANSMISSION_MODE_8K; break; in dib3000mc_get_frontend()
686 case 0: fep->guard_interval = GUARD_INTERVAL_1_32; break; in dib3000mc_get_frontend()
687 case 1: fep->guard_interval = GUARD_INTERVAL_1_16; break; in dib3000mc_get_frontend()
688 case 2: fep->guard_interval = GUARD_INTERVAL_1_8; break; in dib3000mc_get_frontend()
689 case 3: fep->guard_interval = GUARD_INTERVAL_1_4; break; in dib3000mc_get_frontend()
693 case 0: fep->modulation = QPSK; break; in dib3000mc_get_frontend()
[all …]
H A Ddib7000m.c1159 struct dtv_frontend_properties *fep) in dib7000m_get_frontend() argument
1164 fep->inversion = INVERSION_AUTO; in dib7000m_get_frontend()
1166 fep->bandwidth_hz = BANDWIDTH_TO_HZ(state->current_bandwidth); in dib7000m_get_frontend()
1169 case 0: fep->transmission_mode = TRANSMISSION_MODE_2K; break; in dib7000m_get_frontend()
1170 case 1: fep->transmission_mode = TRANSMISSION_MODE_8K; break; in dib7000m_get_frontend()
1171 /* case 2: fep->transmission_mode = TRANSMISSION_MODE_4K; break; */ in dib7000m_get_frontend()
1175 case 0: fep->guard_interval = GUARD_INTERVAL_1_32; break; in dib7000m_get_frontend()
1176 case 1: fep->guard_interval = GUARD_INTERVAL_1_16; break; in dib7000m_get_frontend()
1177 case 2: fep->guard_interval = GUARD_INTERVAL_1_8; break; in dib7000m_get_frontend()
1178 case 3: fep->guard_interval = GUARD_INTERVAL_1_4; break; in dib7000m_get_frontend()
[all …]
H A Ddib7000p.c1417 struct dtv_frontend_properties *fep) in dib7000p_get_frontend() argument
1422 fep->inversion = INVERSION_AUTO; in dib7000p_get_frontend()
1424 fep->bandwidth_hz = BANDWIDTH_TO_HZ(state->current_bandwidth); in dib7000p_get_frontend()
1428 fep->transmission_mode = TRANSMISSION_MODE_2K; in dib7000p_get_frontend()
1431 fep->transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_get_frontend()
1433 /* case 2: fep->transmission_mode = TRANSMISSION_MODE_4K; break; */ in dib7000p_get_frontend()
1438 fep->guard_interval = GUARD_INTERVAL_1_32; in dib7000p_get_frontend()
1441 fep->guard_interval = GUARD_INTERVAL_1_16; in dib7000p_get_frontend()
1444 fep->guard_interval = GUARD_INTERVAL_1_8; in dib7000p_get_frontend()
1447 fep->guard_interval = GUARD_INTERVAL_1_4; in dib7000p_get_frontend()
[all …]
/linux/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c1093 struct dtv_frontend_properties *fep = &fe->dtv_property_cache; in af9005_fe_set_frontend() local
1098 deb_info("af9005_fe_set_frontend freq %d bw %d\n", fep->frequency, in af9005_fe_set_frontend()
1099 fep->bandwidth_hz); in af9005_fe_set_frontend()
1159 ret = af9005_fe_select_bw(state->d, fep->bandwidth_hz); in af9005_fe_set_frontend()
1162 ret = af9005_fe_program_cfoe(state->d, fep->bandwidth_hz); in af9005_fe_set_frontend()
1218 struct dtv_frontend_properties *fep) in af9005_fe_get_frontend() argument
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()
1258 fep->hierarchy = HIERARCHY_NONE; in af9005_fe_get_frontend()
[all …]
H A Ddtt200u-fe.c16 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()
H A Dvp702x-fe.c137 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()
165 /* if (fep->inversion == INVERSION_ON) in vp702x_fe_set_frontend()
171 /* if (fep->symbol_rate > 8000000) in vp702x_fe_set_frontend()
174 if (fep->frequency < 1531000) in vp702x_fe_set_frontend()
H A DcinergyT2-fe.c226 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()
H A Dvp7045-fe.c105 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/tools/testing/selftests/kvm/x86/
H A Dpmu_counters_test.c224 #define GUEST_MEASURE_EVENT(_msr, _value, clflush, FEP) \ argument
229 FEP "enter $0, $0\n\t" \
233 FEP "leave\n\t" \
234 FEP "loop 1b\n\t" \
235 FEP "mov %%edi, %%ecx\n\t" \
236 FEP "xor %%eax, %%eax\n\t" \
237 FEP "xor %%edx, %%edx\n\t" \
244 #define GUEST_TEST_EVENT(_idx, _pmc, _pmc_msr, _ctrl_msr, _value, FEP) \ argument
249 GUEST_MEASURE_EVENT(_ctrl_msr, _value, "clflushopt %[m]", FEP); \
251 GUEST_MEASURE_EVENT(_ctrl_msr, _value, "clflush %[m]", FEP); \
[all …]
H A Dfastops_test.c20 #define guest_execute_fastop_1(FEP, insn, __val, __flags) \ argument
22 __asm__ __volatile__(fastop(FEP insn " %[val]") \
44 #define guest_execute_fastop_2(FEP, insn, __input, __output, __flags) \ argument
46 __asm__ __volatile__(fastop(FEP insn " %[input], %[output]") \
69 #define guest_execute_fastop_cl(FEP, insn, __shift, __output, __flags) \ argument
71 __asm__ __volatile__(fastop(FEP insn " %%cl, %[output]") \
/linux/drivers/tty/serial/jsm/
H A Djsm.h207 u8 ch_mostat; /* FEP output modem status */
208 u8 ch_mistat; /* FEP input modem status */
H A Djsm_tty.c112 * Take data from the user or kernel and send it out to the FEP.
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pciercx-defs.h282 __BITFIELD_FIELD(uint32_t fep:5,
/linux/tools/testing/selftests/kvm/include/x86/
H A Dprocessor.h1247 #define __KVM_ASM_SAFE(insn, fep) \ argument
1251 fep "1: " insn "\n\t" \