/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_core.c | 21 static void sxgbe_core_init(void __iomem *ioaddr) in sxgbe_core_init() 44 static void sxgbe_core_dump_regs(void __iomem *ioaddr) in sxgbe_core_dump_regs() 69 static int sxgbe_core_host_irq_status(void __iomem *ioaddr, in sxgbe_core_host_irq_status() 88 static void sxgbe_core_set_umac_addr(void __iomem *ioaddr, in sxgbe_core_set_umac_addr() 118 static void sxgbe_enable_tx(void __iomem *ioaddr, bool enable) in sxgbe_enable_tx() 142 static int sxgbe_get_controller_version(void __iomem *ioaddr) in sxgbe_get_controller_version() 186 static void sxgbe_set_eee_mode(void __iomem *ioaddr) in sxgbe_set_eee_mode() 200 static void sxgbe_reset_eee_mode(void __iomem *ioaddr) in sxgbe_reset_eee_mode() 224 static void sxgbe_set_eee_timer(void __iomem *ioaddr, in sxgbe_set_eee_timer() 239 static void sxgbe_enable_rx_csum(void __iomem *ioaddr) in sxgbe_enable_rx_csum() [all …]
|
H A D | sxgbe_mtl.c | 20 static void sxgbe_mtl_init(void __iomem *ioaddr, unsigned int etsalg, in sxgbe_mtl_init() 54 static void sxgbe_mtl_dma_dm_rxqueue(void __iomem *ioaddr) in sxgbe_mtl_dma_dm_rxqueue() 61 static void sxgbe_mtl_set_txfifosize(void __iomem *ioaddr, int queue_num, in sxgbe_mtl_set_txfifosize() 103 static void sxgbe_mtl_fc_active(void __iomem *ioaddr, int queue_num, in sxgbe_mtl_fc_active() 115 static void sxgbe_mtl_fc_enable(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_fc_enable() 124 static void sxgbe_mtl_fc_deactive(void __iomem *ioaddr, int queue_num, in sxgbe_mtl_fc_deactive() 136 static void sxgbe_mtl_fep_enable(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_fep_enable() 146 static void sxgbe_mtl_fep_disable(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_fep_disable() 156 static void sxgbe_mtl_fup_enable(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_fup_enable() 166 static void sxgbe_mtl_fup_disable(void __iomem *ioaddr, int queue_num) in sxgbe_mtl_fup_disable() [all …]
|
H A D | sxgbe_dma.c | 21 static int sxgbe_dma_init(void __iomem *ioaddr, int fix_burst, int burst_map) in sxgbe_dma_init() 43 static void sxgbe_dma_channel_init(void __iomem *ioaddr, int cha_num, in sxgbe_dma_channel_init() 105 static void sxgbe_enable_dma_irq(void __iomem *ioaddr, int dma_cnum) in sxgbe_enable_dma_irq() 112 static void sxgbe_disable_dma_irq(void __iomem *ioaddr, int dma_cnum) in sxgbe_disable_dma_irq() 118 static void sxgbe_dma_start_tx(void __iomem *ioaddr, int tchannels) in sxgbe_dma_start_tx() 140 static void sxgbe_dma_stop_tx_queue(void __iomem *ioaddr, int dma_cnum) in sxgbe_dma_stop_tx_queue() 149 static void sxgbe_dma_stop_tx(void __iomem *ioaddr, int tchannels) in sxgbe_dma_stop_tx() 161 static void sxgbe_dma_start_rx(void __iomem *ioaddr, int rchannels) in sxgbe_dma_start_rx() 174 static void sxgbe_dma_stop_rx(void __iomem *ioaddr, int rchannels) in sxgbe_dma_stop_rx() 325 static void sxgbe_dma_rx_watchdog(void __iomem *ioaddr, u32 riwt) in sxgbe_dma_rx_watchdog() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwxgmac2_dma.c | 11 static int dwxgmac2_dma_reset(void __iomem *ioaddr) in dwxgmac2_dma_reset() 22 static void dwxgmac2_dma_init(void __iomem *ioaddr, in dwxgmac2_dma_init() 37 void __iomem *ioaddr, in dwxgmac2_dma_init_chan() 50 void __iomem *ioaddr, in dwxgmac2_dma_init_rx_chan() 67 void __iomem *ioaddr, in dwxgmac2_dma_init_tx_chan() 138 void __iomem *ioaddr, u32 *reg_space) in dwxgmac2_dma_dump_regs() 256 void __iomem *ioaddr, u32 chan, in dwxgmac2_enable_dma_irq() 270 void __iomem *ioaddr, u32 chan, in dwxgmac2_disable_dma_irq() 284 void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_start_tx() 312 void __iomem *ioaddr, u32 chan) in dwxgmac2_dma_start_rx() [all …]
|
H A D | dwmac1000_core.c | 26 void __iomem *ioaddr = hw->pcsr; in dwmac1000_core_init() local 73 void __iomem *ioaddr = hw->pcsr; in dwmac1000_rx_ipc_enable() local 90 void __iomem *ioaddr = hw->pcsr; in dwmac1000_dump_regs() local 101 void __iomem *ioaddr = hw->pcsr; in dwmac1000_set_umac_addr() local 110 void __iomem *ioaddr = hw->pcsr; in dwmac1000_get_umac_addr() local 223 void __iomem *ioaddr = hw->pcsr; in dwmac1000_flow_ctrl() local 249 void __iomem *ioaddr = hw->pcsr; in dwmac1000_pmt() local 300 void __iomem *ioaddr = hw->pcsr; in dwmac1000_irq_status() local 347 void __iomem *ioaddr = hw->pcsr; in dwmac1000_set_eee_mode() local 363 void __iomem *ioaddr = hw->pcsr; in dwmac1000_reset_eee_mode() local [all …]
|
H A D | dwxgmac2_core.c | 18 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_core_init() local 69 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_rx_ipc() local 85 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_rx_queue_enable() local 99 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_rx_queue_prio() local 140 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_tx_queue_prio() local 157 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_rx_queue_routing() local 187 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_prog_mtl_rx_algorithms() local 209 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_prog_mtl_tx_algorithms() local 248 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_set_mtl_tx_queue_weight() local 256 void __iomem *ioaddr = hw->pcsr; in dwxgmac2_map_mtl_to_dma() local [all …]
|
H A D | dwmac4_core.c | 27 void __iomem *ioaddr = hw->pcsr; in dwmac4_core_init() local 83 void __iomem *ioaddr = hw->pcsr; in dwmac4_rx_queue_enable() local 98 void __iomem *ioaddr = hw->pcsr; in dwmac4_rx_queue_priority() local 139 void __iomem *ioaddr = hw->pcsr; in dwmac4_tx_queue_priority() local 159 void __iomem *ioaddr = hw->pcsr; in dwmac4_rx_queue_routing() local 192 void __iomem *ioaddr = hw->pcsr; in dwmac4_prog_mtl_rx_algorithms() local 213 void __iomem *ioaddr = hw->pcsr; in dwmac4_prog_mtl_tx_algorithms() local 242 void __iomem *ioaddr = hw->pcsr; in dwmac4_set_mtl_tx_queue_weight() local 253 void __iomem *ioaddr = hw->pcsr; in dwmac4_map_mtl_dma() local 275 void __iomem *ioaddr = hw->pcsr; in dwmac4_config_cbs() local [all …]
|
H A D | dwmac4_lib.c | 16 int dwmac4_dma_reset(void __iomem *ioaddr) in dwmac4_dma_reset() 29 void dwmac4_set_rx_tail_ptr(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_set_rx_tail_ptr() 37 void dwmac4_set_tx_tail_ptr(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_set_tx_tail_ptr() 45 void dwmac4_dma_start_tx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_dma_start_tx() 59 void dwmac4_dma_stop_tx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_dma_stop_tx() 70 void dwmac4_dma_start_rx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_dma_start_rx() 86 void dwmac4_dma_stop_rx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_dma_stop_rx() 112 void dwmac4_enable_dma_irq(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_enable_dma_irq() 168 int dwmac4_dma_interrupt(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac4_dma_interrupt() 225 void stmmac_dwmac4_set_mac_addr(void __iomem *ioaddr, const u8 addr[6], in stmmac_dwmac4_set_mac_addr() [all …]
|
H A D | dwmac_lib.c | 17 int dwmac_dma_reset(void __iomem *ioaddr) in dwmac_dma_reset() 31 void dwmac_enable_dma_transmission(void __iomem *ioaddr) in dwmac_enable_dma_transmission() 36 void dwmac_enable_dma_irq(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac_enable_dma_irq() 49 void dwmac_disable_dma_irq(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac_disable_dma_irq() 62 void dwmac_dma_start_tx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac_dma_start_tx() 77 void dwmac_dma_start_rx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac_dma_start_rx() 162 int dwmac_dma_interrupt(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac_dma_interrupt() 243 void dwmac_dma_flush_tx_fifo(void __iomem *ioaddr) in dwmac_dma_flush_tx_fifo() 251 void stmmac_set_mac_addr(void __iomem *ioaddr, const u8 addr[6], in stmmac_set_mac_addr() 268 void stmmac_set_mac(void __iomem *ioaddr, bool enable) in stmmac_set_mac() [all …]
|
H A D | dwmac4_dma.c | 18 static void dwmac4_dma_axi(void __iomem *ioaddr, struct stmmac_axi *axi) in dwmac4_dma_axi() 73 void __iomem *ioaddr, in dwmac4_dma_init_rx_chan() 94 void __iomem *ioaddr, in dwmac4_dma_init_tx_chan() 119 void __iomem *ioaddr, in dwmac4_dma_init_channel() 137 void __iomem *ioaddr, in dwmac410_dma_init_channel() 155 static void dwmac4_dma_init(void __iomem *ioaddr, in dwmac4_dma_init() 191 void __iomem *ioaddr, u32 channel, in _dwmac4_dump_dma_regs() 262 void __iomem *ioaddr, int mode, in dwmac4_dma_rx_chan_op_mode() 331 void __iomem *ioaddr, int mode, in dwmac4_dma_tx_chan_op_mode() 385 static int dwmac4_get_hw_feature(void __iomem *ioaddr, in dwmac4_get_hw_feature() [all …]
|
H A D | dwmac1000_dma.c | 19 static void dwmac1000_dma_axi(void __iomem *ioaddr, struct stmmac_axi *axi) in dwmac1000_dma_axi() 73 static void dwmac1000_dma_init(void __iomem *ioaddr, in dwmac1000_dma_init() 114 void __iomem *ioaddr, in dwmac1000_dma_init_rx() 123 void __iomem *ioaddr, in dwmac1000_dma_init_tx() 153 void __iomem *ioaddr, int mode, in dwmac1000_dma_operation_mode_rx() 182 void __iomem *ioaddr, int mode, in dwmac1000_dma_operation_mode_tx() 216 void __iomem *ioaddr, u32 *reg_space) in dwmac1000_dump_dma_regs() 226 static int dwmac1000_get_hw_feature(void __iomem *ioaddr, in dwmac1000_get_hw_feature() 272 void __iomem *ioaddr, u32 riwt, u32 queue) in dwmac1000_rx_watchdog()
|
H A D | dwmac5.c | 78 void __iomem *ioaddr, bool correctable, in dwmac5_handle_mac_err() 126 void __iomem *ioaddr, bool correctable, in dwmac5_handle_mtl_err() 174 void __iomem *ioaddr, bool correctable, in dwmac5_handle_dma_err() 186 int dwmac5_safety_feat_config(void __iomem *ioaddr, unsigned int asp, in dwmac5_safety_feat_config() 268 void __iomem *ioaddr, unsigned int asp, in dwmac5_safety_feat_irq_status() 330 static int dwmac5_rxp_disable(void __iomem *ioaddr) in dwmac5_rxp_disable() 342 static void dwmac5_rxp_enable(void __iomem *ioaddr) in dwmac5_rxp_enable() 351 static int dwmac5_rxp_update_single_entry(void __iomem *ioaddr, in dwmac5_rxp_update_single_entry() 520 int dwmac5_flex_pps_config(void __iomem *ioaddr, int index, in dwmac5_flex_pps_config() 594 int dwmac5_est_configure(void __iomem *ioaddr, struct stmmac_est *cfg, in dwmac5_est_configure() [all …]
|
H A D | dwmac100_dma.c | 21 static void dwmac100_dma_init(void __iomem *ioaddr, in dwmac100_dma_init() 32 static void dwmac100_dma_init_rx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac100_dma_init_rx() 40 static void dwmac100_dma_init_tx(struct stmmac_priv *priv, void __iomem *ioaddr, in dwmac100_dma_init_tx() 54 void __iomem *ioaddr, int mode, in dwmac100_dma_operation_mode_tx() 70 void __iomem *ioaddr, u32 *reg_space) in dwmac100_dump_dma_regs() 86 void __iomem *ioaddr) in dwmac100_dma_diagnostic_fr()
|
H A D | dwmac100_core.c | 25 void __iomem *ioaddr = hw->pcsr; in dwmac100_core_init() local 39 void __iomem *ioaddr = hw->pcsr; in dwmac100_dump_mac_regs() local 66 void __iomem *ioaddr = hw->pcsr; in dwmac100_set_umac_addr() local 74 void __iomem *ioaddr = hw->pcsr; in dwmac100_get_umac_addr() local 81 void __iomem *ioaddr = (void __iomem *)dev->base_addr; in dwmac100_set_filter() local 131 void __iomem *ioaddr = hw->pcsr; in dwmac100_flow_ctrl() local 145 static void dwmac100_set_mac_loopback(void __iomem *ioaddr, bool enable) in dwmac100_set_mac_loopback()
|
H A D | stmmac_hwtstamp.c | 21 static void config_hw_tstamping(void __iomem *ioaddr, u32 data) in config_hw_tstamping() 26 static void config_sub_second_increment(void __iomem *ioaddr, in config_sub_second_increment() 65 void __iomem *ioaddr = priv->ptpaddr; in hwtstamp_correct_latency() local 105 static int init_systime(void __iomem *ioaddr, u32 sec, u32 nsec) in init_systime() 122 static int config_addend(void __iomem *ioaddr, u32 addend) in config_addend() 146 static int adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec, in adjust_systime() 189 static void get_systime(void __iomem *ioaddr, u64 *systime) in get_systime()
|
H A D | dwmac-sun8i.c | 309 void __iomem *ioaddr, in sun8i_dwmac_dma_init_rx() 318 void __iomem *ioaddr, in sun8i_dwmac_dma_init_tx() 350 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_dump_mac_regs() local 374 void __iomem *ioaddr, u32 chan, in sun8i_dwmac_disable_dma_irq() 440 void __iomem *ioaddr, in sun8i_dwmac_dma_interrupt() 617 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_core_init() local 649 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_set_umac_addr() local 670 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_get_umac_addr() local 679 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_rx_ipc_enable() local 692 void __iomem *ioaddr = hw->pcsr; in sun8i_dwmac_set_filter() local [all …]
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com20020.c | 94 int ioaddr = dev->base_addr, status; in com20020_check() local 156 int ioaddr = dev->base_addr; in com20020_set_hwaddr() local 169 int ioaddr = dev->base_addr; in com20020_netdev_open() local 180 int ioaddr = dev->base_addr; in com20020_netdev_close() local 206 int ioaddr = dev->base_addr; in com20020_found() local 285 u_int ioaddr = dev->base_addr; in com20020_reset() local 334 u_int ioaddr = dev->base_addr; in com20020_setmask() local 342 u_int ioaddr = dev->base_addr; in com20020_command() local 349 u_int ioaddr = dev->base_addr; in com20020_status() local 358 int ioaddr = dev->base_addr; in com20020_close() local [all …]
|
H A D | com90io.c | 73 int ioaddr = dev->base_addr; in get_buffer_byte() local 85 int ioaddr = dev->base_addr; in put_buffer_byte() local 98 int ioaddr = dev->base_addr; in get_whole_buffer() local 114 int ioaddr = dev->base_addr; in put_whole_buffer() local 132 int ioaddr = dev->base_addr, status; in com90io_probe() local 224 int ioaddr = dev->base_addr; in com90io_found() local 282 short ioaddr = dev->base_addr; in com90io_reset() local 313 short ioaddr = dev->base_addr; in com90io_command() local 320 short ioaddr = dev->base_addr; in com90io_status() local 327 short ioaddr = dev->base_addr; in com90io_setmask() local [all …]
|
/openbmc/linux/drivers/net/ |
H A D | sb1000.c | 149 unsigned short ioaddr[2], irq; in sb1000_probe_one() local 317 card_send_command(const int ioaddr[], const char* name, in card_send_command() 457 sb1000_reset(const int ioaddr[], const char* name) in sb1000_reset() 487 sb1000_check_CRC(const int ioaddr[], const char* name) in sb1000_check_CRC() 527 sb1000_activate(const int ioaddr[], const char* name) in sb1000_activate() 748 int ioaddr, ns; in sb1000_rx() local 910 int ioaddr[2]; in sb1000_error_dpc() local 935 int ioaddr[2], status; in sb1000_open() local 1001 int ioaddr[2], status, frequency; in sb1000_siocdevprivate() local 1098 int ioaddr[2]; in sb1000_interrupt() local [all …]
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | xircom_cb.c | 87 void __iomem *ioaddr; member 328 void __iomem *ioaddr = card->ioaddr; in xircom_interrupt() local 499 void __iomem *ioaddr = card->ioaddr; in initialize_card() local 537 void __iomem *ioaddr = card->ioaddr; in trigger_transmit() local 551 void __iomem *ioaddr = card->ioaddr; in trigger_receive() local 562 void __iomem *ioaddr = card->ioaddr; in setup_descriptors() local 626 void __iomem *ioaddr = card->ioaddr; in remove_descriptors() local 642 void __iomem *ioaddr = card->ioaddr; in link_status_changed() local 664 void __iomem *ioaddr = card->ioaddr; in transmit_active() local 678 void __iomem *ioaddr = card->ioaddr; in receive_active() local [all …]
|
/openbmc/linux/drivers/net/ethernet/realtek/ |
H A D | atp.c | 232 long ioaddr = *port; in atp_init() local 253 static int __init atp_probe1(long ioaddr) in atp_probe1() 370 long ioaddr = dev->base_addr; in get_node_ID() local 458 long ioaddr = dev->base_addr; in hardware_init() local 540 long ioaddr = dev->base_addr; in tx_timeout() local 557 long ioaddr = dev->base_addr; in atp_send_packet() local 598 long ioaddr; in atp_interrupt() local 722 long ioaddr = dev->base_addr; in atp_timed_checker() local 759 long ioaddr = dev->base_addr; in net_rx() local 831 long ioaddr = dev->base_addr; in net_close() local [all …]
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 319 static void smc_reset( int ioaddr ) in smc_reset() 359 static void smc_enable( int ioaddr ) in smc_enable() 385 static void smc_shutdown( int ioaddr ) in smc_shutdown() 471 unsigned int ioaddr = dev->base_addr; in smc_wait_to_send_packet() local 584 unsigned int ioaddr; in smc_hardware_send_packet() local 739 static int __init smc_findirq(int ioaddr) in smc_findirq() 1050 int ioaddr = dev->base_addr; in smc_open() local 1128 int ioaddr = dev->base_addr; in smc_rcv() local 1249 int ioaddr = dev->base_addr; in smc_tx() local 1314 int ioaddr = dev->base_addr; in smc_interrupt() local [all …]
|
/openbmc/linux/drivers/net/appletalk/ |
H A D | cops.c | 277 static int __init cops_probe1(struct net_device *dev, int ioaddr) in cops_probe1() 369 static int __init cops_irq (int ioaddr, int board) in cops_irq() 474 static void tangent_wait_reset(int ioaddr) in tangent_wait_reset() 488 int ioaddr=dev->base_addr; in cops_reset() local 517 int ioaddr=dev->base_addr; in cops_load() local 608 int ioaddr = dev->base_addr; in cops_nodeid() local 680 int ioaddr, status; in cops_poll() local 712 int ioaddr, status; in cops_interrupt() local 752 int ioaddr = dev->base_addr; in cops_rx() local 852 int ioaddr = dev->base_addr; in cops_timeout() local [all …]
|
/openbmc/linux/drivers/net/ethernet/3com/ |
H A D | 3c509.c | 404 int ioaddr, irq, if_port; in el3_pnp_probe() local 560 int ioaddr, irq, if_port; in el3_eisa_probe() local 658 int ioaddr = dev->base_addr; in el3_open() local 686 int ioaddr = dev->base_addr; in el3_tx_timeout() local 705 int ioaddr = dev->base_addr; in el3_start_xmit() local 766 int ioaddr, status; in el3_interrupt() local 881 int ioaddr = dev->base_addr; in update_stats() local 909 int ioaddr = dev->base_addr; in el3_rx() local 974 int ioaddr = dev->base_addr; in set_multicast_list() local 1320 int ioaddr; in el3_suspend() local [all …]
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_utils.c | 9 void tse_set_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_set_bit() 16 void tse_clear_bit(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_clear_bit() 23 int tse_bit_is_set(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_set() 29 int tse_bit_is_clear(void __iomem *ioaddr, size_t offs, u32 bit_mask) in tse_bit_is_clear()
|