Home
last modified time | relevance | path

Searched refs:fpi (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c87 const struct fs_platform_info *fpi = fep->fpi; in fs_enet_rx_napi() local
157 if (pkt_len <= fpi->rx_copybreak) { in fs_enet_rx_napi()
339 const struct fs_platform_info *fpi; in fs_enet_interrupt() local
346 fpi = fep->fpi; in fs_enet_interrupt()
734 iface = fep->fpi->use_rmii ? in fs_init_phy()
737 phydev = of_phy_connect(dev, fep->fpi->phy_node, &fs_adjust_link, 0, in fs_init_phy()
943 struct fs_platform_info *fpi; in fs_enet_probe() local
955 fpi = kzalloc(sizeof(*fpi), GFP_KERNEL); in fs_enet_probe()
956 if (!fpi) in fs_enet_probe()
964 fpi->cp_command = *data; in fs_enet_probe()
[all …]
Dmac-fcc.c81 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() local
83 return cpm_command(fpi->cp_command, op); in fcc_cr_cmd()
89 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup() local
109 fpi->dpram_offset = cpm_dpalloc(128, 32); in do_pd_setup()
110 if (IS_ERR_VALUE(fpi->dpram_offset)) { in do_pd_setup()
111 ret = fpi->dpram_offset; in do_pd_setup()
152 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
155 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
167 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
171 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t), in free_bd()
[all …]
Dmac-fec.c141 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
144 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
156 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
159 dma_free_coherent(fep->dev, (fpi->tx_ring + fpi->rx_ring) in free_bd()
252 const struct fs_platform_info *fpi = fep->fpi; in restart() local
293 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart()
330 FS(fecp, r_cntrl, fpi->use_rmii ? in restart()
363 const struct fs_platform_info *fpi = fep->fpi; in stop() local
389 if (fpi->has_phy) { in stop()
390 FS(fecp, r_cntrl, fpi->use_rmii ? in stop()
Dmac-scc.c92 const struct fs_platform_info *fpi = fep->fpi; in scc_cr_cmd() local
94 return cpm_command(fpi->cp_command, op); in scc_cr_cmd()
145 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
147 fep->ring_mem_addr = cpm_dpalloc((fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
249 const struct fs_platform_info *fpi = fep->fpi; in restart() local
263 fep->ring_mem_addr + sizeof(cbd_t) * fpi->rx_ring); in restart()
Dfs_enet.h130 struct fs_platform_info *fpi; member
/drivers/media/pci/ivtv/
Divtv-streams.c444 itv->vbi.fpi = data[0]; in ivtv_vbi_setup()
445 if (!itv->vbi.fpi) in ivtv_vbi_setup()
446 itv->vbi.fpi = 1; in ivtv_vbi_setup()
449 itv->vbi.enc_start, data[1], itv->vbi.fpi); in ivtv_vbi_setup()
Divtv-driver.h557 int fpi; /* number of VBI frames per interrupt */ member
Divtv-irq.c170 size = itv->vbi.enc_size * itv->vbi.fpi; in stream_enc_dma_append()
/drivers/net/can/m_can/
Dm_can.c313 u32 fpi, unsigned int offset, u32 val) in m_can_fifo_write() argument
316 fpi * TXB_ELEMENT_SIZE + offset); in m_can_fifo_write()