Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dfs_uart_pd.h62 static inline int fs_uart_get_id(struct fs_uart_platform_info *fpi) in fs_uart_get_id() argument
64 if(strstr(fpi->fs_type, "SMC")) in fs_uart_get_id()
65 return fs_uart_id_smc2fsid(fpi->fs_no); in fs_uart_get_id()
66 if(strstr(fpi->fs_type, "SCC")) in fs_uart_get_id()
67 return fs_uart_id_scc2fsid(fpi->fs_no); in fs_uart_get_id()
68 return fpi->fs_no; in fs_uart_get_id()
Dfs_enet_pd.h151 static inline int fs_get_id(struct fs_platform_info *fpi) in fs_get_id() argument
153 if(strstr(fpi->fs_type, "SCC")) in fs_get_id()
154 return fs_scc_index2id(fpi->fs_no); in fs_get_id()
155 if(strstr(fpi->fs_type, "FCC")) in fs_get_id()
156 return fs_fcc_index2id(fpi->fs_no); in fs_get_id()
157 if(strstr(fpi->fs_type, "FEC")) in fs_get_id()
158 return fs_fec_index2id(fpi->fs_no); in fs_get_id()
159 return fpi->fs_no; in fs_get_id()
/linux-2.6.39/drivers/net/fs_enet/
Dmac-fcc.c80 const struct fs_platform_info *fpi = fep->fpi; in fcc_cr_cmd() local
82 return cpm_command(fpi->cp_command, op); in fcc_cr_cmd()
88 struct fs_platform_info *fpi = fep->fpi; in do_pd_setup() local
108 fpi->dpram_offset = cpm_dpalloc(128, 8); in do_pd_setup()
109 if (IS_ERR_VALUE(fpi->dpram_offset)) { in do_pd_setup()
110 ret = fpi->dpram_offset; in do_pd_setup()
149 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
152 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
164 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
168 (fpi->tx_ring + fpi->rx_ring) * sizeof(cbd_t), in free_bd()
[all …]
Dfs_enet-main.c88 const struct fs_platform_info *fpi = fep->fpi; in fs_enet_rx_napi() local
155 if (pkt_len <= fpi->rx_copybreak) { in fs_enet_rx_napi()
222 const struct fs_platform_info *fpi = fep->fpi; in fs_enet_rx_non_napi() local
287 if (pkt_len <= fpi->rx_copybreak) { in fs_enet_rx_non_napi()
444 const struct fs_platform_info *fpi; in fs_enet_interrupt() local
451 fpi = fep->fpi; in fs_enet_interrupt()
458 if (fpi->use_napi) in fs_enet_interrupt()
467 if (!fpi->use_napi) in fs_enet_interrupt()
796 phydev = of_phy_connect(dev, fep->fpi->phy_node, &fs_adjust_link, 0, in fs_init_phy()
822 if (fep->fpi->use_napi) in fs_enet_open()
[all …]
Dmac-fec.c139 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
142 (fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
154 const struct fs_platform_info *fpi = fep->fpi; in free_bd() local
157 dma_free_coherent(fep->dev, (fpi->tx_ring + fpi->rx_ring) in free_bd()
250 const struct fs_platform_info *fpi = fep->fpi; in restart() local
291 tx_bd_base_phys = rx_bd_base_phys + sizeof(cbd_t) * fpi->rx_ring; in restart()
357 const struct fs_platform_info *fpi = fep->fpi; in stop() local
383 if (fpi->has_phy) { 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()
143 const struct fs_platform_info *fpi = fep->fpi; in allocate_bd() local
145 fep->ring_mem_addr = cpm_dpalloc((fpi->tx_ring + fpi->rx_ring) * in allocate_bd()
247 const struct fs_platform_info *fpi = fep->fpi; in restart() local
261 fep->ring_mem_addr + sizeof(cbd_t) * fpi->rx_ring); in restart()
Dfs_enet.h126 struct fs_platform_info *fpi; member
/linux-2.6.39/drivers/media/video/ivtv/
Divtv-streams.c421 itv->vbi.fpi = data[0]; in ivtv_vbi_setup()
422 if (!itv->vbi.fpi) in ivtv_vbi_setup()
423 itv->vbi.fpi = 1; in ivtv_vbi_setup()
426 itv->vbi.enc_start, data[1], itv->vbi.fpi); in ivtv_vbi_setup()
Divtv-driver.h558 int fpi; /* number of VBI frames per interrupt */ member
Divtv-irq.c139 size = itv->vbi.enc_size * itv->vbi.fpi; in stream_enc_dma_append()