/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_ptp.c | 102 struct fec_enet_private *fep = in fec_ptp_read() local 106 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 108 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 110 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read() 113 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read() 123 static int fec_ptp_enable_pps(struct fec_enet_private *fep, uint enable) in fec_ptp_enable_pps() argument 130 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 132 if (fep->pps_enable == enable) { in fec_ptp_enable_pps() 133 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 140 writel(FEC_T_TF_MASK, fep->hwp + FEC_TCSR(fep->pps_channel)); in fec_ptp_enable_pps() [all …]
|
H A D | fec_main.c | 80 static int fec_enet_xdp_tx_xmit(struct fec_enet_private *fep, 399 struct fec_enet_private *fep = netdev_priv(ndev); in fec_dump() local 407 txq = fep->tx_queue[0]; in fec_dump() 447 fec_enet_create_page_pool(struct fec_enet_private *fep, in fec_enet_create_page_pool() argument 450 struct bpf_prog *xdp_prog = READ_ONCE(fep->xdp_prog); in fec_enet_create_page_pool() 455 .nid = dev_to_node(&fep->pdev->dev), in fec_enet_create_page_pool() 456 .dev = &fep->pdev->dev, in fec_enet_create_page_pool() 470 err = xdp_rxq_info_reg(&rxq->xdp_rxq, fep->netdev, rxq->id, 0); in fec_enet_create_page_pool() 494 struct fec_enet_private *fep = netdev_priv(ndev); in fec_enet_txq_submit_frag_skb() local 520 if (fep->bufdesc_ex) { in fec_enet_txq_submit_frag_skb() [all …]
|
H A D | fec.h | 705 void fec_ptp_restore_state(struct fec_enet_private *fep); 706 void fec_ptp_save_state(struct fec_enet_private *fep);
|
/openbmc/linux/drivers/net/ethernet/freescale/fs_enet/ |
H A D | fs_enet-main.c | 71 struct fs_enet_private *fep = netdev_priv(dev); in fs_set_multicast_list() local 73 (*fep->ops->set_multicast_list)(dev); in fs_set_multicast_list() 87 struct fs_enet_private *fep = container_of(napi, struct fs_enet_private, napi); in fs_enet_napi() local 88 struct net_device *dev = fep->ndev; in fs_enet_napi() 89 const struct fs_platform_info *fpi = fep->fpi; in fs_enet_napi() 98 spin_lock(&fep->tx_lock); in fs_enet_napi() 99 bdp = fep->dirty_tx; in fs_enet_napi() 102 (*fep->ops->napi_clear_event)(dev); in fs_enet_napi() 106 dirtyidx = bdp - fep->tx_bd_base; in fs_enet_napi() 108 if (fep->tx_free == fep->tx_ring) in fs_enet_napi() [all …]
|
H A D | mac-fec.c | 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->fec.fecp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 100 if (!fep->fec.fecp) in do_pd_setup() 113 struct fs_enet_private *fep = netdev_priv(dev); in setup_data() local 115 if (do_pd_setup(fep) != 0) in setup_data() 118 fep->fec.hthi = 0; in setup_data() 119 fep->fec.htlo = 0; in setup_data() [all …]
|
H A D | mac-fcc.c | 77 static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op) in fcc_cr_cmd() argument 79 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() 84 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument 86 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup() 87 struct fs_platform_info *fpi = fep->fpi; 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->fcc.fccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 95 if (!fep->fcc.fccp) in do_pd_setup() 98 fep->fcc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup() [all …]
|
H A D | mac-scc.c | 83 static inline int scc_cr_cmd(struct fs_enet_private *fep, u32 op) in scc_cr_cmd() argument 85 const struct fs_platform_info *fpi = fep->fpi; in scc_cr_cmd() 90 static int do_pd_setup(struct fs_enet_private *fep) in do_pd_setup() argument 92 struct platform_device *ofdev = to_platform_device(fep->dev); in do_pd_setup() 94 fep->interrupt = irq_of_parse_and_map(ofdev->dev.of_node, 0); in do_pd_setup() 95 if (!fep->interrupt) in do_pd_setup() 98 fep->scc.sccp = of_iomap(ofdev->dev.of_node, 0); in do_pd_setup() 99 if (!fep->scc.sccp) in do_pd_setup() 102 fep->scc.ep = of_iomap(ofdev->dev.of_node, 1); in do_pd_setup() 103 if (!fep->scc.ep) { in do_pd_setup() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | dib3000mc.c | 671 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 D | dib7000m.c | 1159 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() 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() 1182 case 0: fep->modulation = QPSK; break; in dib7000m_get_frontend() [all …]
|
H A D | dib7000p.c | 1422 struct dtv_frontend_properties *fep) in dib7000p_get_frontend() argument 1427 fep->inversion = INVERSION_AUTO; in dib7000p_get_frontend() 1429 fep->bandwidth_hz = BANDWIDTH_TO_HZ(state->current_bandwidth); in dib7000p_get_frontend() 1433 fep->transmission_mode = TRANSMISSION_MODE_2K; in dib7000p_get_frontend() 1436 fep->transmission_mode = TRANSMISSION_MODE_8K; in dib7000p_get_frontend() 1443 fep->guard_interval = GUARD_INTERVAL_1_32; in dib7000p_get_frontend() 1446 fep->guard_interval = GUARD_INTERVAL_1_16; in dib7000p_get_frontend() 1449 fep->guard_interval = GUARD_INTERVAL_1_8; in dib7000p_get_frontend() 1452 fep->guard_interval = GUARD_INTERVAL_1_4; in dib7000p_get_frontend() 1458 fep->modulation = QPSK; in dib7000p_get_frontend() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 1093 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 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()
|
H 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()
|
H 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()
|
H 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()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/uim/ |
H A D | uim_1.8.9.bb | 61 PACKAGES =+ "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-anthy uim-common libuim0 lib… 102 FILES:uim-fep = "${bindir}/uim-fep*"
|
/openbmc/linux/fs/exfat/ |
H A D | dir.c | 508 struct exfat_dentry *ep, *fep; in exfat_update_dir_chksum() local 511 fep = exfat_get_dentry(sb, p_dir, entry, &fbh); in exfat_update_dir_chksum() 512 if (!fep) in exfat_update_dir_chksum() 515 num_entries = fep->dentry.file.num_ext + 1; in exfat_update_dir_chksum() 516 chksum = exfat_calc_chksum16(fep, DENTRY_SIZE, 0, CS_DIR_ENTRY); in exfat_update_dir_chksum() 529 fep->dentry.file.checksum = cpu_to_le16(chksum); in exfat_update_dir_chksum()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_aer.c | 506 int fep = PCI_ERR_CAP_FEP(errcap); in pcie_aer_record_error() local 512 (pci_get_long(aer_cap + PCI_ERR_UNCOR_STATUS) & (1U << fep))) { in pcie_aer_record_error()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pciercx-defs.h | 282 __BITFIELD_FIELD(uint32_t fep:5,
|