• Home
  • Raw
  • Download

Lines Matching refs:cpsw_priv

254 struct cpsw_priv {  struct
338 static int cpsw_ale_read(struct cpsw_priv *priv, int idx, u32 *ale_entry) in cpsw_ale_read()
350 static int cpsw_ale_write(struct cpsw_priv *priv, int idx, u32 *ale_entry) in cpsw_ale_write()
362 static int cpsw_ale_match_addr(struct cpsw_priv *priv, const u8 *addr) in cpsw_ale_match_addr()
381 static int cpsw_ale_match_free(struct cpsw_priv *priv) in cpsw_ale_match_free()
395 static int cpsw_ale_find_ageable(struct cpsw_priv *priv) in cpsw_ale_find_ageable()
415 static int cpsw_ale_add_ucast(struct cpsw_priv *priv, const u8 *addr, in cpsw_ale_add_ucast()
440 static int cpsw_ale_add_mcast(struct cpsw_priv *priv, const u8 *addr, in cpsw_ale_add_mcast()
469 static inline void cpsw_ale_control(struct cpsw_priv *priv, int bit, int val) in cpsw_ale_control()
483 static inline void cpsw_ale_port_state(struct cpsw_priv *priv, int port, in cpsw_ale_port_state()
602 struct cpsw_priv *priv) in cpsw_set_slave_mac()
616 struct cpsw_priv *priv, int *link) in cpsw_slave_update_link()
661 static int cpsw_update_link(struct cpsw_priv *priv) in cpsw_update_link()
672 static inline u32 cpsw_get_slave_port(struct cpsw_priv *priv, u32 slave_num) in cpsw_get_slave_port()
680 static void cpsw_slave_init(struct cpsw_slave *slave, struct cpsw_priv *priv) in cpsw_slave_init()
705 static struct cpdma_desc *cpdma_desc_alloc(struct cpsw_priv *priv) in cpdma_desc_alloc()
714 static void cpdma_desc_free(struct cpsw_priv *priv, struct cpdma_desc *desc) in cpdma_desc_free()
722 static int cpdma_submit(struct cpsw_priv *priv, struct cpdma_chan *chan, in cpdma_submit()
767 static int cpdma_process(struct cpsw_priv *priv, struct cpdma_chan *chan, in cpdma_process()
800 static int _cpsw_init(struct cpsw_priv *priv, u8 *enetaddr) in _cpsw_init()
913 static int cpsw_reap_completed_packets(struct cpsw_priv *priv) in cpsw_reap_completed_packets()
925 static void _cpsw_halt(struct cpsw_priv *priv) in _cpsw_halt()
940 static int _cpsw_send(struct cpsw_priv *priv, void *packet, int length) in _cpsw_send()
956 static int _cpsw_recv(struct cpsw_priv *priv, uchar **pkt) in _cpsw_recv()
974 struct cpsw_priv *priv) in cpsw_slave_setup()
984 static int cpsw_phy_init(struct cpsw_priv *priv, struct cpsw_slave *slave) in cpsw_phy_init()
1011 int _cpsw_register(struct cpsw_priv *priv) in _cpsw_register()
1047 struct cpsw_priv *priv = dev->priv; in cpsw_init()
1054 struct cpsw_priv *priv = dev->priv; in cpsw_halt()
1061 struct cpsw_priv *priv = dev->priv; in cpsw_send()
1068 struct cpsw_priv *priv = dev->priv; in cpsw_recv()
1084 struct cpsw_priv *priv; in cpsw_register()
1125 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_start()
1132 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_send()
1139 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_recv()
1147 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_free_pkt()
1154 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_stop()
1162 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_probe()
1183 static void cpsw_gmii_sel_am3352(struct cpsw_priv *priv, in cpsw_gmii_sel_am3352()
1238 static void cpsw_gmii_sel_dra7xx(struct cpsw_priv *priv, in cpsw_gmii_sel_dra7xx()
1288 static void cpsw_phy_sel(struct cpsw_priv *priv, const char *compat, in cpsw_phy_sel()
1302 struct cpsw_priv *priv = dev_get_priv(dev); in cpsw_eth_ofdata_to_platdata()
1475 .priv_auto_alloc_size = sizeof(struct cpsw_priv),