Home
last modified time | relevance | path

Searched defs:lp (Results 1 – 25 of 188) sorted by relevance

12345678

/linux-3.3/net/ipv4/
Dtcp_lp.c76 struct lp { struct
97 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() argument
120 struct lp *lp = inet_csk_ca(sk); in tcp_lp_cong_avoid() local
136 struct lp *lp = inet_csk_ca(sk); in tcp_lp_remote_hz_estimator() local
189 struct lp *lp = inet_csk_ca(sk); in tcp_lp_owd_calculator() local
222 struct lp *lp = inet_csk_ca(sk); in tcp_lp_rtt_sample() local
266 struct lp *lp = inet_csk_ca(sk); in tcp_lp_pkts_acked() local
/linux-3.3/drivers/net/ethernet/amd/
D7990.c46 #define WRITERAP(lp,x) out_be16(lp->base + LANCE_RAP, (x)) argument
47 #define WRITERDP(lp,x) out_be16(lp->base + LANCE_RDP, (x)) argument
48 #define READRDP(lp) in_be16(lp->base + LANCE_RDP) argument
60 #define WRITERAP(lp,x) (lp->writerap(lp,x)) argument
61 #define WRITERDP(lp,x) (lp->writerdp(lp,x)) argument
62 #define READRDP(lp) (lp->readrdp(lp)) argument
67 static inline void WRITERAP(struct lance_private *lp, __u16 value) in WRITERAP()
74 static inline void WRITERDP(struct lance_private *lp, __u16 value) in WRITERDP()
81 static inline __u16 READRDP(struct lance_private *lp) in READRDP()
117 static void load_csrs (struct lance_private *lp) in load_csrs()
[all …]
Damd8111e.c126 static int amd8111e_read_phy(struct amd8111e_priv* lp, int phy_id, int reg, u32* val) in amd8111e_read_phy()
156 static int amd8111e_write_phy(struct amd8111e_priv* lp,int phy_id, int reg, u32 val) in amd8111e_write_phy()
188 struct amd8111e_priv* lp = netdev_priv(dev); in amd8111e_mdio_read() local
201 struct amd8111e_priv* lp = netdev_priv(dev); in amd8111e_mdio_write() local
211 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_ext_phy() local
253 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_free_skbs() local
286 struct amd8111e_priv* lp = netdev_priv(dev); in amd8111e_set_rx_buff_len() local
306 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_init_ring() local
388 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_coalesce() local
446 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_restart() local
[all …]
Dhplance.c141 struct hplance_private *lp; in hplance_init() local
182 struct lance_private *lp = (struct lance_private *)priv; in hplance_writerap() local
190 struct lance_private *lp = (struct lance_private *)priv; in hplance_writerdp() local
198 struct lance_private *lp = (struct lance_private *)priv; in hplance_readrdp() local
209 struct lance_private *lp = netdev_priv(dev); in hplance_open() local
222 struct lance_private *lp = netdev_priv(dev); in hplance_close() local
/linux-3.3/drivers/net/ethernet/xilinx/
Dll_temac_main.c63 u32 temac_ior(struct temac_local *lp, int offset) in temac_ior()
68 void temac_iow(struct temac_local *lp, int offset, u32 value) in temac_iow()
73 int temac_indirect_busywait(struct temac_local *lp) in temac_indirect_busywait()
92 u32 temac_indirect_in32(struct temac_local *lp, int reg) in temac_indirect_in32()
111 void temac_indirect_out32(struct temac_local *lp, int reg, u32 value) in temac_indirect_out32()
125 static u32 temac_dma_in32(struct temac_local *lp, int reg) in temac_dma_in32()
135 static void temac_dma_out32(struct temac_local *lp, int reg, u32 value) in temac_dma_out32()
149 static u32 temac_dma_dcr_in(struct temac_local *lp, int reg) in temac_dma_dcr_in()
157 static void temac_dma_dcr_out(struct temac_local *lp, int reg, u32 value) in temac_dma_dcr_out()
166 static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, in temac_dcr_setup()
[all …]
/linux-3.3/drivers/net/ethernet/smsc/
Dsmc911x.h124 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl()
137 static inline void SMC_outl(unsigned int value, struct smc911x_local *lp, in SMC_outl()
156 static inline void SMC_insl(struct smc911x_local *lp, int reg, in SMC_insl()
174 static inline void SMC_outsl(struct smc911x_local *lp, int reg, in SMC_outsl()
193 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) argument
194 #define SMC_outl(v, lp, r) \ argument
199 #define SMC_insl(lp, r, p, l) readsw((short*)((lp)->base + (r)), p, l*2) argument
200 #define SMC_outsl(lp, r, p, l) writesw((short*)((lp)->base + (r)), p, l*2) argument
203 #define SMC_inl(lp, r) readl((lp)->base + (r)) argument
204 #define SMC_outl(v, lp, r) writel(v, (lp)->base + (r)) argument
[all …]
Dsmc911x.c155 #define SMC_ENABLE_INT(lp, x) do { \ argument
163 #define SMC_DISABLE_INT(lp, x) do { \ argument
175 struct smc911x_local *lp = netdev_priv(dev); in smc911x_reset() local
269 struct smc911x_local *lp = netdev_priv(dev); in smc911x_enable() local
326 struct smc911x_local *lp = netdev_priv(dev); in smc911x_shutdown() local
346 struct smc911x_local *lp = netdev_priv(dev); in smc911x_drop_pkt() local
377 struct smc911x_local *lp = netdev_priv(dev); in smc911x_rcv() local
454 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hardware_send_pkt() local
516 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hard_start_xmit() local
589 struct smc911x_local *lp = netdev_priv(dev); in smc911x_tx() local
[all …]
Dsmc91x.c198 #define SMC_ENABLE_INT(lp, x) do { \ argument
209 #define SMC_DISABLE_INT(lp, x) do { \ argument
224 #define SMC_WAIT_MMU_BUSY(lp) do { \ argument
244 struct smc_local *lp = netdev_priv(dev); in smc_reset() local
338 struct smc_local *lp = netdev_priv(dev); in smc_enable() local
372 struct smc_local *lp = netdev_priv(dev); in smc_shutdown() local
405 struct smc_local *lp = netdev_priv(dev); in smc_rcv() local
549 struct smc_local *lp = netdev_priv(dev); in smc_hardware_send_pkt() local
637 struct smc_local *lp = netdev_priv(dev); in smc_hard_start_xmit() local
710 struct smc_local *lp = netdev_priv(dev); in smc_tx() local
[all …]
Dsmc91x.h374 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insl()
413 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insw()
549 #define TCR_REG(lp) SMC_REG(lp, 0x0000, 0) argument
568 #define EPH_STATUS_REG(lp) SMC_REG(lp, 0x0002, 0) argument
587 #define RCR_REG(lp) SMC_REG(lp, 0x0004, 0) argument
604 #define COUNTER_REG(lp) SMC_REG(lp, 0x0006, 0) argument
609 #define MIR_REG(lp) SMC_REG(lp, 0x0008, 0) argument
614 #define RPC_REG(lp) SMC_REG(lp, 0x000A, 0) argument
640 #define CONFIG_REG(lp) SMC_REG(lp, 0x0000, 1) argument
652 #define BASE_REG(lp) SMC_REG(lp, 0x0002, 1) argument
[all …]
/linux-3.3/drivers/staging/wlags49_h2/
Dwl_pci.c497 struct wl_private *lp = NULL; in wl_pci_setup() local
672 int wl_pci_dma_alloc( struct pci_dev *pdev, struct wl_private *lp ) in wl_pci_dma_alloc()
743 int wl_pci_dma_free( struct pci_dev *pdev, struct wl_private *lp ) in wl_pci_dma_free()
824 int wl_pci_dma_alloc_tx_packet( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_alloc_tx_packet()
870 int wl_pci_dma_free_tx_packet( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_free_tx_packet()
915 int wl_pci_dma_alloc_rx_packet( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_alloc_rx_packet()
975 int wl_pci_dma_free_rx_packet( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_free_rx_packet()
1027 int wl_pci_dma_alloc_desc_and_buf( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_alloc_desc_and_buf()
1067 int wl_pci_dma_free_desc_and_buf( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_free_desc_and_buf()
1109 int wl_pci_dma_alloc_desc( struct pci_dev *pdev, struct wl_private *lp, in wl_pci_dma_alloc_desc()
[all …]
Dwl_priv.c130 int wvlan_uil( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil()
195 int wvlan_uil_connect( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_connect()
241 int wvlan_uil_disconnect( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_disconnect()
296 int wvlan_uil_action( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_action()
376 int wvlan_uil_block( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_block()
428 int wvlan_uil_unblock( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_unblock()
481 int wvlan_uil_send_diag_msg( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_send_diag_msg()
567 int wvlan_uil_put_info( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_put_info()
1202 int wvlan_uil_get_info( struct uilreq *urq, struct wl_private *lp ) in wvlan_uil_get_info()
1559 int cfg_driver_info( struct uilreq *urq, struct wl_private *lp ) in cfg_driver_info()
[all …]
Dwl_netdev.c252 struct wl_private *lp = wl_priv(dev); in wl_stats() local
317 struct wl_private *lp = wl_priv(dev); in wl_open() local
413 struct wl_private *lp = wl_priv(dev); in wl_close() local
505 struct wl_private *lp = wl_priv(dev); in wl_ioctl() local
575 struct wl_private *lp = wl_priv(dev); in wl_poll() local
608 struct wl_private *lp = wl_priv(dev); in wl_tx_timeout() local
678 int wl_send( struct wl_private *lp ) in wl_send()
801 struct wl_private *lp = wl_priv(dev); in wl_tx() local
894 struct wl_private *lp = wl_priv(dev); in wl_rx() local
1051 struct wl_private *lp = wl_priv(dev); in wl_multicast() local
[all …]
Dwl_main.c423 struct wl_private *lp = wl_priv(dev); in wl_insert() local
961 struct wl_private *lp = wl_priv(dev); in wl_reset() local
1035 int wl_go( struct wl_private *lp ) in wl_go()
1222 void wl_set_wep_keys( struct wl_private *lp ) in wl_set_wep_keys()
1289 int wl_apply(struct wl_private *lp) in wl_apply()
1361 int wl_put_ltv_init( struct wl_private *lp ) in wl_put_ltv_init()
1460 int wl_put_ltv( struct wl_private *lp ) in wl_put_ltv()
2135 struct wl_private *lp = NULL; in wl_isr() local
2196 struct wl_private *lp = (struct wl_private *)p; in wl_isr_handler() local
2311 struct wl_private *lp = wl_priv(dev); in wl_remove() local
[all …]
Dwl_wext.c201 static int hermes_set_wep_keys(struct wl_private *lp, u16 key_idx, in hermes_set_wep_keys()
326 struct wl_private *lp = wl_priv(dev); in wireless_commit() local
416 struct wl_private *lp = wl_priv(dev); in wireless_set_frequency() local
504 struct wl_private *lp = wl_priv(dev); in wireless_get_frequency() local
570 struct wl_private *lp = wl_priv(dev); in wireless_get_range() local
777 struct wl_private *lp = wl_priv(dev); in wireless_get_bssid() local
865 struct wl_private *lp = wl_priv(dev); in wireless_get_ap_list() local
1010 struct wl_private *lp = wl_priv(dev); in wireless_set_sensitivity() local
1071 struct wl_private *lp = wl_priv(dev); in wireless_get_sensitivity() local
1119 struct wl_private *lp = wl_priv(dev); in wireless_set_essid() local
[all …]
/linux-3.3/drivers/isdn/i4l/
Disdn_net.c75 isdn_net_local *lp = n->local; in isdn_net_device_started() local
89 static __inline__ void isdn_net_device_wake_queue(isdn_net_local *lp) in isdn_net_device_wake_queue()
101 static __inline__ void isdn_net_device_stop_queue(isdn_net_local *lp) in isdn_net_device_stop_queue()
114 static __inline__ int isdn_net_device_busy(isdn_net_local *lp) in isdn_net_device_busy()
141 static __inline__ void isdn_net_inc_frame_cnt(isdn_net_local *lp) in isdn_net_inc_frame_cnt()
148 static __inline__ void isdn_net_dec_frame_cnt(isdn_net_local *lp) in isdn_net_dec_frame_cnt()
161 static __inline__ void isdn_net_zero_frame_cnt(isdn_net_local *lp) in isdn_net_zero_frame_cnt()
270 isdn_net_bind_channel(isdn_net_local * lp, int idx) in isdn_net_bind_channel()
283 isdn_net_unbind_channel(isdn_net_local * lp) in isdn_net_unbind_channel()
382 static void isdn_net_lp_disconnected(isdn_net_local *lp) in isdn_net_lp_disconnected()
[all …]
Disdn_net.h59 #define ISDN_MASTER_PRIV(lp) ((isdn_net_local *) netdev_priv(lp->master)) argument
60 #define ISDN_SLAVE_PRIV(lp) ((isdn_net_local *) netdev_priv(lp->slave)) argument
67 static __inline__ int isdn_net_lp_busy(isdn_net_local *lp) in isdn_net_lp_busy()
82 isdn_net_local *lp; in isdn_net_get_locked_lp() local
109 isdn_net_local *lp; in isdn_net_add_to_bundle() local
128 static __inline__ void isdn_net_rm_from_bundle(isdn_net_local *lp) in isdn_net_rm_from_bundle()
/linux-3.3/drivers/net/ethernet/
Dkorina.c173 struct korina_private *lp = netdev_priv(dev); in korina_abort_tx() local
180 struct korina_private *lp = netdev_priv(dev); in korina_abort_rx() local
185 static void korina_start_rx(struct korina_private *lp, in korina_start_rx()
191 static void korina_chain_rx(struct korina_private *lp, in korina_chain_rx()
200 struct korina_private *lp = netdev_priv(dev); in korina_send_packet() local
296 struct korina_private *lp = netdev_priv(dev); in mdio_read() local
312 struct korina_private *lp = netdev_priv(dev); in mdio_write() local
327 struct korina_private *lp = netdev_priv(dev); in korina_rx_dma_interrupt() local
352 struct korina_private *lp = netdev_priv(dev); in korina_rx() local
462 struct korina_private *lp = in korina_poll() local
[all …]
/linux-3.3/drivers/net/ethernet/natsemi/
Dsonic.c47 struct sonic_local *lp = netdev_priv(dev); in sonic_open() local
110 struct sonic_local *lp = netdev_priv(dev); in sonic_close() local
154 struct sonic_local *lp = netdev_priv(dev); in sonic_tx_timeout() local
203 struct sonic_local *lp = netdev_priv(dev); in sonic_send_packet() local
276 struct sonic_local *lp = netdev_priv(dev); in sonic_interrupt() local
410 struct sonic_local *lp = netdev_priv(dev); in sonic_rx() local
511 struct sonic_local *lp = netdev_priv(dev); in sonic_get_stats() local
530 struct sonic_local *lp = netdev_priv(dev); in sonic_multicast_list() local
579 struct sonic_local *lp = netdev_priv(dev); in sonic_init() local
/linux-3.3/arch/sparc/kernel/
Dldc.c194 static void ldc_set_state(struct ldc_channel *lp, u8 state) in ldc_set_state()
212 static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off) in rx_advance()
217 static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off) in tx_advance()
222 static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp, in handshake_get_tx_packet()
245 static unsigned long head_for_data(struct ldc_channel *lp) in head_for_data()
252 static int tx_has_space_for(struct ldc_channel *lp, unsigned int size) in tx_has_space_for()
277 static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp, in data_get_tx_packet()
294 static int set_tx_tail(struct ldc_channel *lp, unsigned long tail) in set_tx_tail()
322 static int __set_rx_head(struct ldc_channel *lp, unsigned long head) in __set_rx_head()
342 static int send_tx_packet(struct ldc_channel *lp, in send_tx_packet()
[all …]
/linux-3.3/drivers/net/arcnet/
Darcnet.c180 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet() local
243 struct arcnet_local *lp = netdev_priv(dev); in release_arcbuf() local
265 struct arcnet_local *lp = netdev_priv(dev); in get_arcbuf() local
351 struct arcnet_local *lp = netdev_priv(dev); in alloc_arcdev() local
368 struct arcnet_local *lp = netdev_priv(dev); in arcnet_open() local
467 struct arcnet_local *lp = netdev_priv(dev); in arcnet_close() local
488 const struct arcnet_local *lp = netdev_priv(dev); in arcnet_header() local
549 struct arcnet_local *lp = netdev_priv(dev); in arcnet_rebuild_header() local
597 struct arcnet_local *lp = netdev_priv(dev); in arcnet_send_packet() local
686 struct arcnet_local *lp = netdev_priv(dev); in go_tx() local
[all …]
/linux-3.3/drivers/net/ethernet/cadence/
Dat91_ether.c149 struct at91_private *lp = netdev_priv(dev); in update_linkspeed() local
202 struct at91_private *lp = netdev_priv(dev); in at91ether_phy_interrupt() local
255 struct at91_private *lp = netdev_priv(dev); in enable_phyirq() local
319 struct at91_private *lp = netdev_priv(dev); in disable_phyirq() local
400 struct at91_private *lp = netdev_priv(dev); in at91ether_check_link() local
624 struct at91_private *lp = netdev_priv(dev); in at91ether_get_settings() local
645 struct at91_private *lp = netdev_priv(dev); in at91ether_set_settings() local
661 struct at91_private *lp = netdev_priv(dev); in at91ether_nwayreset() local
692 struct at91_private *lp = netdev_priv(dev); in at91ether_ioctl() local
714 struct at91_private *lp = netdev_priv(dev); in at91ether_start() local
[all …]
/linux-3.3/drivers/net/ethernet/dec/tulip/
Dde4x5.c1099 struct de4x5_private *lp = netdev_priv(dev); in de4x5_hw_init() local
1295 struct de4x5_private *lp = netdev_priv(dev); in de4x5_open() local
1385 struct de4x5_private *lp = netdev_priv(dev); in de4x5_sw_reset() local
1463 struct de4x5_private *lp = netdev_priv(dev); in de4x5_queue_pkt() local
1540 struct de4x5_private *lp; in de4x5_interrupt() local
1604 struct de4x5_private *lp = netdev_priv(dev); in de4x5_rx() local
1678 de4x5_free_tx_buff(struct de4x5_private *lp, int entry) in de4x5_free_tx_buff()
1694 struct de4x5_private *lp = netdev_priv(dev); in de4x5_tx() local
1746 struct de4x5_private *lp = netdev_priv(dev); in de4x5_ast() local
1771 struct de4x5_private *lp = netdev_priv(dev); in de4x5_txur() local
[all …]
/linux-3.3/drivers/net/appletalk/
Dcops.c277 struct cops_local *lp; in cops_probe1() local
418 struct cops_local *lp = netdev_priv(dev); in cops_open() local
452 struct cops_local *lp = netdev_priv(dev); in cops_jumpstart() local
486 struct cops_local *lp = netdev_priv(dev); in cops_reset() local
515 struct cops_local *lp = netdev_priv(dev); in cops_load() local
606 struct cops_local *lp = netdev_priv(dev); in cops_nodeid() local
711 struct cops_local *lp; in cops_interrupt() local
751 struct cops_local *lp = netdev_priv(dev); in cops_rx() local
854 struct cops_local *lp = netdev_priv(dev); in cops_timeout() local
877 struct cops_local *lp = netdev_priv(dev); in cops_send_packet() local
[all …]
/linux-3.3/drivers/net/ethernet/hp/
Dhp100.c285 struct hp100_private *lp = netdev_priv(dev); in virt_to_whatever() local
289 static inline u_int pdl_map_data(struct hp100_private *lp, void *data) in pdl_map_data()
463 struct hp100_private *lp; in hp100_probe1() local
815 struct hp100_private *lp = netdev_priv(dev); in hp100_hwinit() local
909 struct hp100_private *lp = netdev_priv(dev); in hp100_mmuinit() local
1087 struct hp100_private *lp = netdev_priv(dev); in hp100_open() local
1127 struct hp100_private *lp = netdev_priv(dev); in hp100_close() local
1160 struct hp100_private *lp = netdev_priv(dev); in hp100_init_pdls() local
1345 struct hp100_private *lp = netdev_priv(dev); in hp100_rxfill() local
1386 struct hp100_private *lp = netdev_priv(dev); in hp100_BM_shutdown() local
[all …]
/linux-3.3/drivers/net/ethernet/adi/
Dbfin_mac.c318 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_adjust_link() local
388 struct bfin_mac_local *lp = netdev_priv(dev); in mii_probe() local
476 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_getsettings() local
487 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_setsettings() local
510 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_getwol() local
519 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_setwol() local
563 struct bfin_mac_local *lp = netdev_priv(dev); in setup_system_regs() local
635 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_mac_hwtstamp_ioctl() local
811 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_tx_hwtstamp() local
854 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_rx_hwtstamp() local
[all …]

12345678