| /linux/drivers/net/ethernet/amd/ |
| H A D | amd8111e.c | 98 static int amd8111e_read_phy(struct amd8111e_priv *lp, in amd8111e_read_phy() 127 static int amd8111e_write_phy(struct amd8111e_priv *lp, in amd8111e_write_phy() 159 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_mdio_read() local 171 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_mdio_write() local 181 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_ext_phy() local 221 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_free_skbs() local 257 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_rx_buff_len() local 279 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_init_ring() local 367 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_coalesce() local 423 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_restart() local [all …]
|
| H A D | 7990.c | 45 #define WRITERAP(lp, x) out_be16(lp->base + LANCE_RAP, (x)) argument 46 #define WRITERDP(lp, x) out_be16(lp->base + LANCE_RDP, (x)) argument 47 #define READRDP(lp) in_be16(lp->base + LANCE_RDP) argument 59 #define WRITERAP(lp, x) (lp->writerap(lp, x)) argument 60 #define WRITERDP(lp, x) (lp->writerdp(lp, x)) argument 61 #define READRDP(lp) (lp->readrdp(lp)) argument 66 static inline void WRITERAP(struct lance_private *lp, __u16 value) in WRITERAP() 73 static inline void WRITERDP(struct lance_private *lp, __u16 value) in WRITERDP() 80 static inline __u16 READRDP(struct lance_private *lp) in READRDP() 116 static void load_csrs(struct lance_private *lp) in load_csrs() [all …]
|
| H A D | pcnet32.c | 448 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_netif_stop() local 457 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_netif_start() local 476 struct pcnet32_private *lp, in pcnet32_realloc_tx_ring() 536 struct pcnet32_private *lp, in pcnet32_realloc_rx_ring() 643 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_purge_rx_ring() local 679 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_suspend() local 711 static void pcnet32_clr_suspend(struct pcnet32_private *lp, ulong ioaddr) in pcnet32_clr_suspend() 721 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_get_link_ksettings() local 751 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_set_link_ksettings() local 798 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_get_drvinfo() local [all …]
|
| H A D | hplance.c | 131 struct hplance_private *lp; in hplance_init() local 174 struct lance_private *lp = (struct lance_private *)priv; in hplance_writerap() local 183 struct lance_private *lp = (struct lance_private *)priv; in hplance_writerdp() local 192 struct lance_private *lp = (struct lance_private *)priv; in hplance_readrdp() local 204 struct lance_private *lp = netdev_priv(dev); in hplance_open() local 217 struct lance_private *lp = netdev_priv(dev); in hplance_close() local
|
| H A D | sunlance.c | 295 static void load_csrs(struct lance_private *lp) in load_csrs() 318 struct lance_private *lp = netdev_priv(dev); in lance_init_ring_dvma() local 375 struct lance_private *lp = netdev_priv(dev); in lance_init_ring_pio() local 434 static void init_restart_ledma(struct lance_private *lp) in init_restart_ledma() 462 static int init_restart_lance(struct lance_private *lp) in init_restart_lance() 505 struct lance_private *lp = netdev_priv(dev); in lance_rx_dvma() local 564 struct lance_private *lp = netdev_priv(dev); in lance_tx_dvma() local 674 struct lance_private *lp = netdev_priv(dev); in lance_rx_pio() local 732 struct lance_private *lp = netdev_priv(dev); in lance_tx_pio() local 813 struct lance_private *lp = netdev_priv(dev); in lance_interrupt() local [all …]
|
| H A D | mvme147.c | 76 struct m147lance_private *lp; in mvme147lance_probe() local 143 static void m147lance_writerap(struct lance_private *lp, unsigned short value) in m147lance_writerap() 148 static void m147lance_writerdp(struct lance_private *lp, unsigned short value) in m147lance_writerdp() 153 static unsigned short m147lance_readrdp(struct lance_private *lp) in m147lance_readrdp() 193 struct m147lance_private *lp = netdev_priv(dev_mvme147_lance); in m147lance_exit() local
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | ll_temac_main.c | 69 static u32 _temac_ior_be(struct temac_local *lp, int offset) in _temac_ior_be() argument 74 static void _temac_iow_be(struct temac_local *lp, int offset, u32 value) in _temac_iow_be() argument 79 static u32 _temac_ior_le(struct temac_local *lp, int offset) in _temac_ior_le() argument 84 static void _temac_iow_le(struct temac_local *lp, int offset, u32 value) in _temac_iow_le() argument 89 static bool hard_acs_rdy(struct temac_local *lp) in hard_acs_rdy() argument 94 hard_acs_rdy_or_timeout(struct temac_local * lp,ktime_t timeout) hard_acs_rdy_or_timeout() argument 111 temac_indirect_busywait(struct temac_local * lp) temac_indirect_busywait() argument 126 temac_indirect_in32(struct temac_local * lp,int reg) temac_indirect_in32() argument 144 temac_indirect_in32_locked(struct temac_local * lp,int reg) temac_indirect_in32_locked() argument 169 temac_indirect_out32(struct temac_local * lp,int reg,u32 value) temac_indirect_out32() argument 185 temac_indirect_out32_locked(struct temac_local * lp,int reg,u32 value) temac_indirect_out32_locked() argument 209 temac_dma_in32_be(struct temac_local * lp,int reg) temac_dma_in32_be() argument 214 temac_dma_in32_le(struct temac_local * lp,int reg) temac_dma_in32_le() argument 225 temac_dma_out32_be(struct temac_local * lp,int reg,u32 value) temac_dma_out32_be() argument 230 temac_dma_out32_le(struct temac_local * lp,int reg,u32 value) temac_dma_out32_le() argument 244 temac_dma_dcr_in(struct temac_local * lp,int reg) temac_dma_dcr_in() argument 252 temac_dma_dcr_out(struct temac_local * lp,int reg,u32 value) temac_dma_dcr_out() argument 261 temac_dcr_setup(struct temac_local * lp,struct platform_device * op,struct device_node * np) temac_dcr_setup() argument 286 temac_dcr_setup(struct temac_local * lp,struct platform_device * op,struct device_node * np) temac_dcr_setup() argument 299 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_release() local 327 struct temac_local *lp = netdev_priv(ndev); temac_dma_bd_init() local 418 struct temac_local *lp = netdev_priv(ndev); temac_do_set_mac_address() local 459 struct temac_local *lp = netdev_priv(ndev); temac_set_multicast_list() local 599 struct temac_local *lp = netdev_priv(ndev); temac_setoptions() local 622 struct temac_local *lp = netdev_priv(ndev); temac_device_reset() local 709 struct temac_local *lp = netdev_priv(ndev); temac_adjust_link() local 773 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit_done() local 819 temac_check_tx_bd_space(struct temac_local * lp,int num_frag) temac_check_tx_bd_space() argument 848 struct temac_local *lp = netdev_priv(ndev); temac_start_xmit() local 956 ll_temac_recv_buffers_available(struct temac_local * lp) ll_temac_recv_buffers_available() argument 970 struct temac_local *lp = netdev_priv(ndev); ll_temac_recv() local 1108 struct temac_local *lp = container_of(work, struct temac_local, ll_temac_restart_work_func() local 1118 struct temac_local *lp = netdev_priv(ndev); ll_temac_tx_irq() local 1137 struct temac_local *lp = netdev_priv(ndev); ll_temac_rx_irq() local 1156 struct temac_local *lp = netdev_priv(ndev); temac_open() local 1202 struct temac_local *lp = netdev_priv(ndev); temac_stop() local 1224 struct temac_local *lp = netdev_priv(ndev); temac_poll_controller() local 1257 struct temac_local *lp = netdev_priv(ndev); temac_show_llink_regs() local 1289 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_ringparam() local 1307 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_ringparam() local 1329 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_get_coalesce() local 1344 struct temac_local *lp = netdev_priv(ndev); ll_temac_ethtools_set_coalesce() local 1387 struct temac_local *lp; temac_probe() local 1632 struct temac_local *lp = netdev_priv(ndev); temac_remove() local [all...] |
| H A D | xilinx_axienet_main.c | 133 axienet_get_rx_desc(struct axienet_local * lp,int i) axienet_get_rx_desc() argument 138 axienet_get_tx_desc(struct axienet_local * lp,int i) axienet_get_tx_desc() argument 152 axienet_dma_in32(struct axienet_local * lp,off_t reg) axienet_dma_in32() argument 157 desc_set_phys_addr(struct axienet_local * lp,dma_addr_t addr,struct axidma_bd * desc) desc_set_phys_addr() argument 165 desc_get_phys_addr(struct axienet_local * lp,struct axidma_bd * desc) desc_get_phys_addr() argument 187 struct axienet_local *lp = netdev_priv(ndev); axienet_dma_bd_release() local 226 axienet_dma_rate(struct axienet_local * lp) axienet_dma_rate() argument 244 axienet_calc_cr(struct axienet_local * lp,u32 count,u32 usec) axienet_calc_cr() argument 276 axienet_coalesce_params(struct axienet_local * lp,u32 cr,u32 * count,u32 * usec) axienet_coalesce_params() argument 290 axienet_dma_start(struct axienet_local * lp) axienet_dma_start() argument 341 struct axienet_local *lp = netdev_priv(ndev); axienet_dma_bd_init() local 415 struct axienet_local *lp = netdev_priv(ndev); axienet_set_mac_address() local 469 struct axienet_local *lp = netdev_priv(ndev); axienet_set_multicast_list() local 539 struct axienet_local *lp = netdev_priv(ndev); axienet_setoptions() local 553 axienet_stat(struct axienet_local * lp,enum temac_stat stat) axienet_stat() argument 564 axienet_stats_update(struct axienet_local * lp,bool reset) axienet_stats_update() argument 581 struct axienet_local *lp = container_of(work, struct axienet_local, axienet_refresh_stats() local 592 __axienet_device_reset(struct axienet_local * lp) __axienet_device_reset() argument 655 axienet_dma_stop(struct axienet_local * lp) axienet_dma_stop() argument 713 struct axienet_local *lp = netdev_priv(ndev); axienet_device_reset() local 782 axienet_free_tx_chain(struct axienet_local * lp,u32 first_bd,int nr_bds,bool force,u32 * sizep,int budget) axienet_free_tx_chain() argument 847 axienet_check_tx_bd_space(struct axienet_local * lp,int num_frag) axienet_check_tx_bd_space() argument 871 struct axienet_local *lp = data; axienet_dma_tx_cb() local 909 struct axienet_local *lp = netdev_priv(ndev); axienet_start_xmit_dmaengine() local 1000 struct axienet_local *lp = container_of(napi, struct axienet_local, napi_tx); axienet_tx_poll() local 1057 struct axienet_local *lp = netdev_priv(ndev); axienet_start_xmit() local 1164 struct axienet_local *lp = data; axienet_dma_rx_cb() local 1227 struct axienet_local *lp = container_of(napi, struct axienet_local, napi_rx); axienet_rx_poll() local 1351 struct axienet_local *lp = netdev_priv(ndev); axienet_tx_irq() local 1399 struct axienet_local *lp = netdev_priv(ndev); axienet_rx_irq() local 1447 struct axienet_local *lp = netdev_priv(ndev); axienet_eth_irq() local 1477 struct axienet_local *lp = netdev_priv(ndev); axienet_rx_submit_desc() local 1532 struct axienet_local *lp = netdev_priv(ndev); axienet_init_dmaengine() local 1617 struct axienet_local *lp = netdev_priv(ndev); axienet_init_legacy_dma() local 1674 struct axienet_local *lp = netdev_priv(ndev); axienet_open() local 1738 struct axienet_local *lp = netdev_priv(ndev); axienet_stop() local 1824 struct axienet_local *lp = netdev_priv(ndev); axienet_change_mtu() local 1848 struct axienet_local *lp = netdev_priv(ndev); axienet_poll_controller() local 1861 struct axienet_local *lp = netdev_priv(dev); axienet_ioctl() local 1872 struct axienet_local *lp = netdev_priv(dev); axienet_get_stats64() local 1991 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_regs() local 2043 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_ringparam() local 2061 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_ringparam() local 2091 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_pauseparam() local 2112 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_pauseparam() local 2123 axienet_update_coalesce_rx(struct axienet_local * lp,u32 cr,u32 mask) axienet_update_coalesce_rx() argument 2151 axienet_dim_coalesce_count_rx(struct axienet_local * lp) axienet_dim_coalesce_count_rx() argument 2162 struct axienet_local *lp = axienet_rx_dim_work() local 2178 axienet_update_coalesce_tx(struct axienet_local * lp,u32 cr,u32 mask) axienet_update_coalesce_tx() argument 2219 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_coalesce() local 2259 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_coalesce() local 2317 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_get_link_ksettings() local 2326 struct axienet_local *lp = netdev_priv(ndev); axienet_ethtools_set_link_ksettings() local 2333 struct axienet_local *lp = netdev_priv(dev); axienet_ethtools_nway_reset() local 2342 struct axienet_local *lp = netdev_priv(dev); axienet_ethtools_get_ethtool_stats() local 2383 struct axienet_local *lp = netdev_priv(dev); axienet_ethtools_get_sset_count() local 2399 struct axienet_local *lp = netdev_priv(dev); axienet_ethtools_get_pause_stats() local 2418 struct axienet_local *lp = netdev_priv(dev); axienet_ethtool_get_eth_mac_stats() local 2463 struct axienet_local *lp = netdev_priv(dev); axienet_ethtool_get_eth_ctrl_stats() local 2496 struct axienet_local *lp = netdev_priv(dev); axienet_ethtool_get_rmon_stats() local 2618 struct axienet_local *lp = netdev_priv(ndev); axienet_pcs_config() local 2651 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_select_pcs() local 2680 struct axienet_local *lp = netdev_priv(ndev); axienet_mac_link_up() local 2735 struct axienet_local *lp = container_of(work, struct axienet_local, axienet_dma_err_handler() local 2831 struct axienet_local *lp; axienet_probe() local 3185 struct axienet_local *lp = netdev_priv(ndev); axienet_remove() local [all...] |
| H A D | xilinx_axienet_mdio.c | 31 static int axienet_mdio_wait_until_ready(struct axienet_local *lp) in axienet_mdio_wait_until_ready() 46 static void axienet_mdio_mdc_enable(struct axienet_local *lp) in axienet_mdio_mdc_enable() 58 static void axienet_mdio_mdc_disable(struct axienet_local *lp) in axienet_mdio_mdc_disable() 83 struct axienet_local *lp = bus->priv; in axienet_mdio_read() local 133 struct axienet_local *lp = bus->priv; in axienet_mdio_write() local 175 static int axienet_mdio_enable(struct axienet_local *lp, struct device_node *np) in axienet_mdio_enable() 280 int axienet_mdio_setup(struct axienet_local *lp) in axienet_mdio_setup() 326 void axienet_mdio_teardown(struct axienet_local *lp) in axienet_mdio_teardown()
|
| H A D | xilinx_emaclite.c | 502 struct net_local *lp = netdev_priv(dev); in xemaclite_set_mac_address() local 522 struct net_local *lp = netdev_priv(dev); in xemaclite_tx_timeout() local 566 struct net_local *lp = netdev_priv(dev); in xemaclite_tx_handler() local 593 struct net_local *lp = netdev_priv(dev); in xemaclite_rx_handler() local 642 struct net_local *lp = netdev_priv(dev); in xemaclite_interrupt() local 696 static int xemaclite_mdio_wait(struct net_local *lp) in xemaclite_mdio_wait() 723 struct net_local *lp = bus->priv; in xemaclite_mdio_read() local 768 struct net_local *lp = bus->priv; in xemaclite_mdio_write() local 804 static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev) in xemaclite_mdio_setup() 887 struct net_local *lp = netdev_priv(ndev); in xemaclite_adjust_link() local [all …]
|
| H A D | ll_temac_mdio.c | 26 struct temac_local *lp = bus->priv; in temac_mdio_read() local 47 struct temac_local *lp = bus->priv; in temac_mdio_write() local 64 int temac_mdio_setup(struct temac_local *lp, struct platform_device *pdev) in temac_mdio_setup() 126 void temac_mdio_teardown(struct temac_local *lp) in temac_mdio_teardown()
|
| /linux/drivers/net/ieee802154/ |
| H A D | at86rf230.c | 62 struct at86rf230_local *lp; member 107 at86rf230_sleep(struct at86rf230_local *lp) in at86rf230_sleep() argument 118 at86rf230_awake(struct at86rf230_local *lp) in at86rf230_awake() argument 129 __at86rf230_write(struct at86rf230_local * lp,unsigned int addr,unsigned int data) __at86rf230_write() argument 149 __at86rf230_read(struct at86rf230_local * lp,unsigned int addr,unsigned int * data) __at86rf230_read() argument 169 at86rf230_read_subreg(struct at86rf230_local * lp,unsigned int addr,unsigned int mask,unsigned int shift,unsigned int * data) at86rf230_read_subreg() argument 183 at86rf230_write_subreg(struct at86rf230_local * lp,unsigned int addr,unsigned int mask,unsigned int shift,unsigned int data) at86rf230_write_subreg() argument 204 at86rf230_slp_tr_rising_edge(struct at86rf230_local * lp) at86rf230_slp_tr_rising_edge() argument 330 struct at86rf230_local *lp = ctx->lp; at86rf230_async_error_recover_complete() local 345 struct at86rf230_local *lp = ctx->lp; at86rf230_async_error_recover() local 357 at86rf230_async_error(struct at86rf230_local * lp,struct at86rf230_state_change * ctx,int rc) at86rf230_async_error() argument 368 at86rf230_async_read_reg(struct at86rf230_local * lp,u8 reg,struct at86rf230_state_change * ctx,void (* complete)(void * context)) at86rf230_async_read_reg() argument 384 at86rf230_async_write_reg(struct at86rf230_local * lp,u8 reg,u8 val,struct at86rf230_state_change * ctx,void (* complete)(void * context)) at86rf230_async_write_reg() argument 402 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_assert() local 461 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_timer() local 474 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_delay() local 565 struct at86rf230_local *lp = ctx->lp; at86rf230_async_state_change_start() local 595 at86rf230_async_state_change(struct at86rf230_local * lp,struct at86rf230_state_change * ctx,const u8 state,void (* complete)(void * context)) at86rf230_async_state_change() argument 610 struct at86rf230_local *lp = ctx->lp; at86rf230_sync_state_change_complete() local 620 at86rf230_sync_state_change(struct at86rf230_local * lp,unsigned int state) at86rf230_sync_state_change() argument 641 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_complete() local 655 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_on() local 665 struct at86rf230_local *lp = ctx->lp; at86rf230_tx_trac_check() local 690 struct at86rf230_local *lp = ctx->lp; at86rf230_rx_read_frame_complete() local 718 struct at86rf230_local *lp = ctx->lp; at86rf230_rx_trac_check() local 736 struct at86rf230_local *lp = ctx->lp; at86rf230_irq_trx_end() local 752 struct at86rf230_local *lp = ctx->lp; at86rf230_irq_status() local 768 at86rf230_setup_spi_messages(struct at86rf230_local * lp,struct at86rf230_state_change * state) at86rf230_setup_spi_messages() argument 785 struct at86rf230_local *lp = data; at86rf230_isr() local 817 struct at86rf230_local *lp = ctx->lp; at86rf230_write_frame_complete() local 832 struct at86rf230_local *lp = ctx->lp; at86rf230_write_frame() local 855 struct at86rf230_local *lp = ctx->lp; at86rf230_xmit_tx_on() local 865 struct at86rf230_local *lp = ctx->lp; at86rf230_xmit_start() local 879 struct at86rf230_local *lp = hw->priv; at86rf230_xmit() local 915 struct at86rf230_local *lp = hw->priv; at86rf230_start() local 926 struct at86rf230_local *lp = hw->priv; at86rf230_stop() local 946 at86rf23x_set_channel(struct at86rf230_local * lp,u8 page,u8 channel) at86rf23x_set_channel() argument 973 at86rf212_update_cca_ed_level(struct at86rf230_local * lp,int rssi_base_val) at86rf212_update_cca_ed_level() argument 1001 at86rf212_set_channel(struct at86rf230_local * lp,u8 page,u8 channel) at86rf212_set_channel() argument 1032 struct at86rf230_local *lp = hw->priv; at86rf230_channel() local 1049 struct at86rf230_local *lp = hw->priv; at86rf230_set_hw_addr_filt() local 1106 at86rf23x_set_txpower(struct at86rf230_local * lp,s32 mbm) at86rf23x_set_txpower() argument 1119 at86rf212_set_txpower(struct at86rf230_local * lp,s32 mbm) at86rf212_set_txpower() argument 1134 struct at86rf230_local *lp = hw->priv; at86rf230_set_txpower() local 1142 struct at86rf230_local *lp = hw->priv; at86rf230_set_lbt() local 1151 struct at86rf230_local *lp = hw->priv; at86rf230_set_cca_mode() local 1184 struct at86rf230_local *lp = hw->priv; at86rf230_set_cca_ed_level() local 1199 struct at86rf230_local *lp = hw->priv; at86rf230_set_csma_params() local 1216 struct at86rf230_local *lp = hw->priv; at86rf230_set_frame_retries() local 1224 struct at86rf230_local *lp = hw->priv; at86rf230_set_promiscuous_mode() local 1310 at86rf230_hw_init(struct at86rf230_local * lp,u8 xtal_trim) at86rf230_hw_init() argument 1418 at86rf230_detect_device(struct at86rf230_local * lp) at86rf230_detect_device() argument 1521 struct at86rf230_local *lp; at86rf230_probe() local 1634 struct at86rf230_local *lp = spi_get_drvdata(spi); at86rf230_remove() local [all...] |
| H A D | mcr20a.c | 446 struct mcr20a_local *lp = context; in mcr20a_write_tx_buf_complete() local 464 struct mcr20a_local *lp = hw->priv; in mcr20a_xmit() local 494 struct mcr20a_local *lp = hw->priv; in mcr20a_set_channel() local 517 struct mcr20a_local *lp = hw->priv; in mcr20a_start() local 551 struct mcr20a_local *lp = hw->priv; in mcr20a_stop() local 568 struct mcr20a_local *lp = hw->priv; in mcr20a_set_hw_addr_filt() local 618 struct mcr20a_local *lp = hw->priv; in mcr20a_set_txpower() local 639 struct mcr20a_local *lp = hw->priv; in mcr20a_set_cca_mode() local 698 struct mcr20a_local *lp = hw->priv; in mcr20a_set_cca_ed_level() local 714 struct mcr20a_local *lp = hw->priv; in mcr20a_set_promiscuous_mode() local [all …]
|
| H A D | adf7242.c | 303 static int adf7242_status(struct adf7242_local *lp, u8 *stat) in adf7242_status() 315 static int adf7242_wait_status(struct adf7242_local *lp, unsigned int status, in adf7242_wait_status() 348 static int adf7242_wait_rc_ready(struct adf7242_local *lp, int line) in adf7242_wait_rc_ready() 354 static int adf7242_wait_spi_ready(struct adf7242_local *lp, int line) in adf7242_wait_spi_ready() 360 static int adf7242_write_fbuf(struct adf7242_local *lp, u8 *data, u8 len) in adf7242_write_fbuf() 391 static int adf7242_read_fbuf(struct adf7242_local *lp, in adf7242_read_fbuf() 431 static int adf7242_read_reg(struct adf7242_local *lp, u16 addr, u8 *data) in adf7242_read_reg() 468 static int adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data) in adf7242_write_reg() 487 static int adf7242_cmd(struct adf7242_local *lp, unsigned int cmd) in adf7242_cmd() 504 static int adf7242_upload_firmware(struct adf7242_local *lp, u8 *data, u16 len) in adf7242_upload_firmware() [all …]
|
| /linux/drivers/net/ethernet/smsc/ |
| H A D | smc91x.h | 78 #define SMC_outw(lp, v, a, r) \ argument 111 #define __SMC_outw(lp, v, a, r) \ argument 128 #define SMC_outw(lp, v, a, r) writew(v, (a) + (r)) argument 160 #define SMC_outw(lp, v, a, r) iowrite16be(v, (a) + (r)) argument 183 #define SMC_outw(lp, v, a, r) iowrite16(v, (a) + (r)) argument 269 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) in smc_pxa_dma_inpump() 295 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insl() 338 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insw() 400 #define SMC_outw(lp, x, ioaddr, reg) SMC_outw_b(x, ioaddr, reg) argument 459 #define TCR_REG(lp) SMC_REG(lp, 0x0000, 0) argument [all …]
|
| H A D | smc91x.c | 195 #define SMC_ENABLE_INT(lp, x) do { \ argument 206 #define SMC_DISABLE_INT(lp, x) do { \ argument 221 #define SMC_WAIT_MMU_BUSY(lp) do { \ argument 241 struct smc_local *lp = netdev_priv(dev); in smc_reset() local 335 struct smc_local *lp = netdev_priv(dev); in smc_enable() local 369 struct smc_local *lp = netdev_priv(dev); in smc_shutdown() local 401 struct smc_local *lp = netdev_priv(dev); in smc_rcv() local 533 struct smc_local *lp = from_tasklet(lp, t, tx_task); in smc_hardware_send_pkt() local 624 struct smc_local *lp = netdev_priv(dev); in smc_hard_start_xmit() local 697 struct smc_local *lp = netdev_priv(dev); in smc_tx() local [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | ldc.c | 181 #define LDC_ABORT(lp) ldc_abort((lp), __func__) argument 210 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) in rx_advance() 215 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) in tx_advance() 220 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet() 243 static unsigned long head_for_data(struct ldc_channel *lp) in head_for_data() 250 static int tx_has_space_for(struct ldc_channel *lp, unsigned int size) in tx_has_space_for() 275 static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp, in data_get_tx_packet() 292 static int set_tx_tail(struct ldc_channel *lp, unsigned long tail) in set_tx_tail() 320 static int __set_rx_head(struct ldc_channel *lp, unsigned long head) in __set_rx_head() 340 static int send_tx_packet(struct ldc_channel *lp, in send_tx_packet() [all …]
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | sonic.c | 45 struct sonic_local *lp = netdev_priv(dev); in sonic_msg_init() local 55 struct sonic_local *lp = netdev_priv(dev); in sonic_alloc_descriptors() local 98 struct sonic_local *lp = netdev_priv(dev); in sonic_open() local 158 struct sonic_local * __maybe_unused lp = netdev_priv(dev); in sonic_quiesce() local 179 struct sonic_local *lp = netdev_priv(dev); in sonic_close() local 225 struct sonic_local *lp = netdev_priv(dev); in sonic_tx_timeout() local 275 struct sonic_local *lp = netdev_priv(dev); in sonic_send_packet() local 347 struct sonic_local *lp = netdev_priv(dev); in sonic_interrupt() local 485 static int index_from_addr(struct sonic_local *lp, dma_addr_t addr, in index_from_addr() 500 static bool sonic_alloc_rb(struct net_device *dev, struct sonic_local *lp, in sonic_alloc_rb() [all …]
|
| /linux/drivers/net/arcnet/ |
| H A D | arcnet.c | 166 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet() local 200 struct arcnet_local *lp = netdev_priv(dev); in arcnet_led_event() local 223 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); in arcnet_led_release() local 235 struct arcnet_local *lp = netdev_priv(netdev); in devm_arcnet_led_init() local 288 struct arcnet_local *lp = netdev_priv(dev); in release_arcbuf() local 308 struct arcnet_local *lp = netdev_priv(dev); in get_arcbuf() local 385 struct arcnet_local *lp = timer_container_of(lp, t, timer); in arcnet_timer() local 400 struct arcnet_local *lp; in reset_device_work() local 430 struct arcnet_local *lp = from_work(lp, t, reply_work); in arcnet_reply_work() local 482 struct arcnet_local *lp = netdev_priv(dev); in alloc_arcdev() local [all …]
|
| /linux/drivers/mfd/ |
| H A D | lp8788.c | 122 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data) in lp8788_read_byte() argument 138 int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count) in lp8788_read_multi_bytes() argument 144 int lp8788_write_byte(struct lp8788 *lp, u8 reg, u8 data) in lp8788_write_byte() argument 150 int lp8788_update_bits(struct lp8788 *lp, u8 reg, u8 mask, u8 data) in lp8788_update_bits() argument 156 static int lp8788_platform_init(struct lp8788 *lp) in lp8788_platform_init() argument 171 struct lp8788 *lp; lp8788_probe() local 212 struct lp8788 *lp = i2c_get_clientdata(cl); lp8788_remove() local [all...] |
| /linux/drivers/rtc/ |
| H A D | rtc-lp8788.c | 56 struct lp8788 *lp; member 103 static void lp8788_rtc_unlock(struct lp8788 *lp) in lp8788_rtc_unlock() argument 112 struct lp8788 *lp = rtc->lp; in lp8788_rtc_read_time() local 136 struct lp8788 *lp = rtc->lp; in lp8788_rtc_set_time() local 166 struct lp8788 *lp = rtc->lp; lp8788_read_alarm() local 191 struct lp8788 *lp = rtc->lp; lp8788_set_alarm() local 227 struct lp8788 *lp = rtc->lp; lp8788_alarm_irq_enable() local 259 struct lp8788 *lp = rtc->lp; lp8788_alarm_irq_register() local 284 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); lp8788_rtc_probe() local [all...] |
| /linux/drivers/net/ethernet/ |
| H A D | korina.c | 378 static dma_addr_t korina_tx_dma(struct korina_private *lp, int idx) in korina_tx_dma() 383 static dma_addr_t korina_rx_dma(struct korina_private *lp, int idx) in korina_rx_dma() 406 struct korina_private *lp = netdev_priv(dev); in korina_abort_tx() local 413 struct korina_private *lp = netdev_priv(dev); in korina_abort_rx() local 422 struct korina_private *lp = netdev_priv(dev); in korina_send_packet() local 524 static int korina_mdio_wait(struct korina_private *lp) in korina_mdio_wait() 535 struct korina_private *lp = netdev_priv(dev); in korina_mdio_read() local 559 struct korina_private *lp = netdev_priv(dev); in korina_mdio_write() local 573 struct korina_private *lp = netdev_priv(dev); in korina_rx_dma_interrupt() local 598 struct korina_private *lp = netdev_priv(dev); in korina_rx() local [all …]
|
| /linux/drivers/net/ethernet/rdc/ |
| H A D | r6040.c | 244 struct r6040_private *lp = netdev_priv(dev); in r6040_mdiobus_read() local 254 struct r6040_private *lp = netdev_priv(dev); in r6040_mdiobus_write() local 262 struct r6040_private *lp = netdev_priv(dev); in r6040_free_txbufs() local 279 struct r6040_private *lp = netdev_priv(dev); in r6040_free_rxbufs() local 313 struct r6040_private *lp = netdev_priv(dev); in r6040_init_txbufs() local 323 struct r6040_private *lp = netdev_priv(dev); in r6040_alloc_rxbufs() local 356 static void r6040_reset_mac(struct r6040_private *lp) in r6040_reset_mac() 382 struct r6040_private *lp = netdev_priv(dev); in r6040_init_mac_regs() local 454 struct r6040_private *lp = netdev_priv(dev); in r6040_down() local 473 struct r6040_private *lp = netdev_priv(dev); in r6040_close() local [all …]
|
| /linux/drivers/net/ethernet/toshiba/ |
| H A D | tc35815.c | 335 #define HAVE_DMA_RXALIGN(lp) likely((lp)->chiptype != TC35815CF) argument 439 static inline dma_addr_t fd_virt_to_bus(struct tc35815_local *lp, void *virt) in fd_virt_to_bus() 444 static inline void *fd_bus_to_virt(struct tc35815_local *lp, dma_addr_t bus) in fd_bus_to_virt() 540 struct tc35815_local *lp = netdev_priv(dev); in tc_handle_link_change() local 610 struct tc35815_local *lp = netdev_priv(dev); in tc_mii_probe() local 658 struct tc35815_local *lp = netdev_priv(dev); in tc_mii_init() local 705 struct tc35815_local *lp = netdev_priv(dev); in tc35815_read_plat_dev_addr() local 767 struct tc35815_local *lp; in tc35815_init_one() local 857 struct tc35815_local *lp = netdev_priv(dev); in tc35815_remove_one() local 869 struct tc35815_local *lp = netdev_priv(dev); in tc35815_init_queues() local [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | spinlock.h | 69 static inline int arch_spin_is_locked(arch_spinlock_t *lp) in arch_spin_is_locked() 74 static inline int arch_spin_trylock_once(arch_spinlock_t *lp) in arch_spin_trylock_once() 82 static inline void arch_spin_lock(arch_spinlock_t *lp) in arch_spin_lock() 88 static inline int arch_spin_trylock(arch_spinlock_t *lp) in arch_spin_trylock() 95 static inline void arch_spin_unlock(arch_spinlock_t *lp) in arch_spin_unlock()
|