Searched refs:port_to_card (Results 1 – 5 of 5) sorted by relevance
91 return (desc + 1) % (transmit ? port_to_card(port)->tx_ring_buffers in next_desc()92 : port_to_card(port)->rx_ring_buffers); in next_desc()97 u16 rx_buffs = port_to_card(port)->rx_ring_buffers; in desc_abs_number()98 u16 tx_buffs = port_to_card(port)->tx_ring_buffers; in desc_abs_number()115 return (pkt_desc __iomem *)(win0base(port_to_card(port)) in desc_address()118 return (pkt_desc __iomem *)(winbase(port_to_card(port)) in desc_address()125 return port_to_card(port)->buff_offset + in buffer_offset()131 if (!(sca_in(get_msci(port) + ST3, port_to_card(port)) & ST3_DCD)) { in sca_set_carrier()148 card_t *card = port_to_card(port); in sca_init_port()220 card_t *card = port_to_card(port); in sca_msci_intr()[all …]
90 #define port_to_card(port) (port) macro
130 #define port_to_card(port) ((port)->card) macro
314 static inline struct gelic_card *port_to_card(struct gelic_port *p) in port_to_card() function
155 card = port_to_card(wl_port(wl)); in gelic_eurus_sync_cmd_worker()274 struct gelic_card *card = port_to_card(wl_port(wl)); in gelic_wl_get_ch_info()