Home
last modified time | relevance | path

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

123456

/drivers/net/ethernet/smsc/
Dsmc911x.h123 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl()
136 static inline void SMC_outl(unsigned int value, struct smc911x_local *lp, in SMC_outl()
155 static inline void SMC_insl(struct smc911x_local *lp, int reg, in SMC_insl()
173 static inline void SMC_outsl(struct smc911x_local *lp, int reg, in SMC_outsl()
192 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) argument
193 #define SMC_outl(v, lp, r) \ argument
198 #define SMC_insl(lp, r, p, l) ioread16_rep((short*)((lp)->base + (r)), p, l*2) argument
199 #define SMC_outsl(lp, r, p, l) iowrite16_rep((short*)((lp)->base + (r)), p, l*2) argument
202 #define SMC_inl(lp, r) readl((lp)->base + (r)) argument
203 #define SMC_outl(v, lp, r) writel(v, (lp)->base + (r)) argument
[all …]
Dsmc911x.c158 #define SMC_ENABLE_INT(lp, x) do { \ argument
166 #define SMC_DISABLE_INT(lp, x) do { \ argument
178 struct smc911x_local *lp = netdev_priv(dev); in smc911x_reset() local
272 struct smc911x_local *lp = netdev_priv(dev); in smc911x_enable() local
329 struct smc911x_local *lp = netdev_priv(dev); in smc911x_shutdown() local
349 struct smc911x_local *lp = netdev_priv(dev); in smc911x_drop_pkt() local
381 struct smc911x_local *lp = netdev_priv(dev); in smc911x_rcv() local
457 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hardware_send_pkt() local
520 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hard_start_xmit() local
593 struct smc911x_local *lp = netdev_priv(dev); in smc911x_tx() local
[all …]
Dsmc91x.h89 #define SMC_outw(lp, v, a, r) \ argument
122 #define __SMC_outw(lp, v, a, r) \ argument
138 #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) argument
156 #define SMC_outw(lp, v, a, r) outw(v, ((u32)a) + (r)) argument
184 #define SMC_outw(lp, v, a, r) writew(v, (a) + (r)) argument
216 #define SMC_outw(lp, v, a, r) writew(_swapw(v), (a) + (r)) argument
250 #define SMC_outw(lp, v, a, r) iowrite16(v, (a) + (r)) argument
337 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) in smc_pxa_dma_inpump()
363 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insl()
406 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insw()
[all …]
Dsmc91x.c206 #define SMC_ENABLE_INT(lp, x) do { \ argument
217 #define SMC_DISABLE_INT(lp, x) do { \ argument
232 #define SMC_WAIT_MMU_BUSY(lp) do { \ argument
252 struct smc_local *lp = netdev_priv(dev); in smc_reset() local
346 struct smc_local *lp = netdev_priv(dev); in smc_enable() local
380 struct smc_local *lp = netdev_priv(dev); in smc_shutdown() local
413 struct smc_local *lp = netdev_priv(dev); in smc_rcv() local
554 struct smc_local *lp = netdev_priv(dev); in smc_hardware_send_pkt() local
644 struct smc_local *lp = netdev_priv(dev); in smc_hard_start_xmit() local
717 struct smc_local *lp = netdev_priv(dev); in smc_tx() local
[all …]
/drivers/net/ethernet/amd/
Damd8111e.c112 static int amd8111e_read_phy(struct amd8111e_priv *lp, in amd8111e_read_phy()
141 static int amd8111e_write_phy(struct amd8111e_priv *lp, in amd8111e_write_phy()
173 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_mdio_read() local
185 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_mdio_write() local
195 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_ext_phy() local
236 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_free_skbs() local
269 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_rx_buff_len() local
291 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_init_ring() local
377 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_set_coalesce() local
433 struct amd8111e_priv *lp = netdev_priv(dev); in amd8111e_restart() local
[all …]
D7990.c44 #define WRITERAP(lp, x) out_be16(lp->base + LANCE_RAP, (x)) argument
45 #define WRITERDP(lp, x) out_be16(lp->base + LANCE_RDP, (x)) argument
46 #define READRDP(lp) in_be16(lp->base + LANCE_RDP) argument
58 #define WRITERAP(lp, x) (lp->writerap(lp, x)) argument
59 #define WRITERDP(lp, x) (lp->writerdp(lp, x)) argument
60 #define READRDP(lp) (lp->readrdp(lp)) argument
65 static inline void WRITERAP(struct lance_private *lp, __u16 value) in WRITERAP()
72 static inline void WRITERDP(struct lance_private *lp, __u16 value) in WRITERDP()
79 static inline __u16 READRDP(struct lance_private *lp) in READRDP()
115 static void load_csrs(struct lance_private *lp) in load_csrs()
[all …]
Dpcnet32.c452 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_netif_stop() local
461 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_netif_start() local
480 struct pcnet32_private *lp, in pcnet32_realloc_tx_ring()
541 struct pcnet32_private *lp, in pcnet32_realloc_rx_ring()
653 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_purge_rx_ring() local
690 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_suspend() local
722 static void pcnet32_clr_suspend(struct pcnet32_private *lp, ulong ioaddr) in pcnet32_clr_suspend()
732 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_get_link_ksettings() local
762 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_set_link_ksettings() local
809 struct pcnet32_private *lp = netdev_priv(dev); in pcnet32_get_drvinfo() local
[all …]
/drivers/net/ethernet/xilinx/
Dll_temac_main.c64 u32 temac_ior(struct temac_local *lp, int offset) in temac_ior()
69 void temac_iow(struct temac_local *lp, int offset, u32 value) in temac_iow()
74 int temac_indirect_busywait(struct temac_local *lp) in temac_indirect_busywait()
93 u32 temac_indirect_in32(struct temac_local *lp, int reg) in temac_indirect_in32()
112 void temac_indirect_out32(struct temac_local *lp, int reg, u32 value) in temac_indirect_out32()
126 static u32 temac_dma_in32(struct temac_local *lp, int reg) in temac_dma_in32()
136 static void temac_dma_out32(struct temac_local *lp, int reg, u32 value) in temac_dma_out32()
150 static u32 temac_dma_dcr_in(struct temac_local *lp, int reg) in temac_dma_dcr_in()
158 static void temac_dma_dcr_out(struct temac_local *lp, int reg, u32 value) in temac_dma_dcr_out()
167 static int temac_dcr_setup(struct temac_local *lp, struct platform_device *op, in temac_dcr_setup()
[all …]
Dxilinx_axienet_main.c125 static inline u32 axienet_dma_in32(struct axienet_local *lp, off_t reg) in axienet_dma_in32()
139 static inline void axienet_dma_out32(struct axienet_local *lp, in axienet_dma_out32()
156 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_release() local
194 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_init() local
299 struct axienet_local *lp = netdev_priv(ndev); in axienet_set_mac_address() local
352 struct axienet_local *lp = netdev_priv(ndev); in axienet_set_multicast_list() local
422 struct axienet_local *lp = netdev_priv(ndev); in axienet_setoptions() local
436 static void __axienet_device_reset(struct axienet_local *lp, off_t offset) in __axienet_device_reset()
470 struct axienet_local *lp = netdev_priv(ndev); in axienet_device_reset() local
528 struct axienet_local *lp = netdev_priv(ndev); in axienet_adjust_link() local
[all …]
/drivers/net/ieee802154/
Dat86rf230.c72 struct at86rf230_local *lp; member
126 at86rf230_sleep(struct at86rf230_local *lp) in at86rf230_sleep()
137 at86rf230_awake(struct at86rf230_local *lp) in at86rf230_awake()
148 __at86rf230_write(struct at86rf230_local *lp, in __at86rf230_write()
168 __at86rf230_read(struct at86rf230_local *lp, in __at86rf230_read()
188 at86rf230_read_subreg(struct at86rf230_local *lp, in at86rf230_read_subreg()
202 at86rf230_write_subreg(struct at86rf230_local *lp, in at86rf230_write_subreg()
223 at86rf230_slp_tr_rising_edge(struct at86rf230_local *lp) in at86rf230_slp_tr_rising_edge()
349 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover_complete() local
361 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover() local
[all …]
Dadf7242.c302 static int adf7242_status(struct adf7242_local *lp, u8 *stat) in adf7242_status()
314 static int adf7242_wait_status(struct adf7242_local *lp, unsigned status, in adf7242_wait_status()
347 static int adf7242_wait_ready(struct adf7242_local *lp, int line) in adf7242_wait_ready()
353 static int adf7242_write_fbuf(struct adf7242_local *lp, u8 *data, u8 len) in adf7242_write_fbuf()
384 static int adf7242_read_fbuf(struct adf7242_local *lp, in adf7242_read_fbuf()
424 static int adf7242_read_reg(struct adf7242_local *lp, u16 addr, u8 *data) in adf7242_read_reg()
461 static int adf7242_write_reg(struct adf7242_local *lp, u16 addr, u8 data) in adf7242_write_reg()
480 static int adf7242_cmd(struct adf7242_local *lp, unsigned cmd) in adf7242_cmd()
497 static int adf7242_upload_firmware(struct adf7242_local *lp, u8 *data, u16 len) in adf7242_upload_firmware()
531 static int adf7242_verify_firmware(struct adf7242_local *lp, in adf7242_verify_firmware()
[all …]
/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()
/drivers/net/ethernet/
Dkorina.c171 struct korina_private *lp = netdev_priv(dev); in korina_abort_tx() local
178 struct korina_private *lp = netdev_priv(dev); in korina_abort_rx() local
183 static void korina_start_rx(struct korina_private *lp, in korina_start_rx()
189 static void korina_chain_rx(struct korina_private *lp, in korina_chain_rx()
198 struct korina_private *lp = netdev_priv(dev); in korina_send_packet() local
294 struct korina_private *lp = netdev_priv(dev); in mdio_read() local
310 struct korina_private *lp = netdev_priv(dev); in mdio_write() local
325 struct korina_private *lp = netdev_priv(dev); in korina_rx_dma_interrupt() local
350 struct korina_private *lp = netdev_priv(dev); in korina_rx() local
460 struct korina_private *lp = in korina_poll() local
[all …]
/drivers/net/ethernet/adi/
Dbfin_mac.c312 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_adjust_link() local
382 struct bfin_mac_local *lp = netdev_priv(dev); in mii_probe() local
464 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_getwol() local
473 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_setwol() local
509 struct bfin_mac_local *lp = netdev_priv(dev); in bfin_mac_ethtool_get_ts_info() local
543 struct bfin_mac_local *lp = netdev_priv(dev); in setup_system_regs() local
629 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_mac_hwtstamp_set() local
785 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_mac_hwtstamp_get() local
794 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_tx_hwtstamp() local
831 struct bfin_mac_local *lp = netdev_priv(netdev); in bfin_rx_hwtstamp() local
[all …]
/drivers/net/ethernet/cirrus/
Dcs89x0.c197 static void readwords(struct net_local *lp, int portno, void *buf, int length) in readwords()
210 static void writewords(struct net_local *lp, int portno, void *buf, int length) in writewords()
226 struct net_local *lp = netdev_priv(dev); in readreg() local
235 struct net_local *lp = netdev_priv(dev); in writereg() local
339 struct net_local *lp = netdev_priv(dev); in get_dma_channel() local
360 struct net_local *lp = netdev_priv(dev); in write_dma() local
372 struct net_local *lp = netdev_priv(dev); in set_dma_cfg() local
392 struct net_local *lp = netdev_priv(dev); in dma_bufcfg() local
403 struct net_local *lp = netdev_priv(dev); in dma_busctl() local
419 struct net_local *lp = netdev_priv(dev); in dma_rx() local
[all …]
/drivers/net/ethernet/natsemi/
Dsonic.c47 struct sonic_local *lp = netdev_priv(dev); in sonic_open() local
109 struct sonic_local * __maybe_unused lp = netdev_priv(dev); in sonic_quiesce() local
130 struct sonic_local *lp = netdev_priv(dev); in sonic_close() local
177 struct sonic_local *lp = netdev_priv(dev); in sonic_tx_timeout() local
227 struct sonic_local *lp = netdev_priv(dev); in sonic_send_packet() local
303 struct sonic_local *lp = netdev_priv(dev); in sonic_interrupt() local
451 static int index_from_addr(struct sonic_local *lp, dma_addr_t addr, in index_from_addr()
470 struct sonic_local *lp = netdev_priv(dev); in sonic_rx() local
580 struct sonic_local *lp = netdev_priv(dev); in sonic_get_stats() local
599 struct sonic_local *lp = netdev_priv(dev); in sonic_multicast_list() local
[all …]
/drivers/video/backlight/
Dlp855x_bl.c81 static int lp855x_write_byte(struct lp855x *lp, u8 reg, u8 data) in lp855x_write_byte()
86 static int lp855x_update_bit(struct lp855x *lp, u8 reg, u8 mask, u8 data) in lp855x_update_bit()
104 static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) in lp855x_is_valid_rom_area()
135 static int lp8557_bl_off(struct lp855x *lp) in lp8557_bl_off()
142 static int lp8557_bl_on(struct lp855x *lp) in lp8557_bl_on()
171 static int lp855x_configure(struct lp855x *lp) in lp855x_configure()
238 static void lp855x_pwm_ctrl(struct lp855x *lp, int br, int max_br) in lp855x_pwm_ctrl()
268 struct lp855x *lp = bl_get_data(bl); in lp855x_bl_update_status() local
287 static int lp855x_backlight_register(struct lp855x *lp) in lp855x_backlight_register()
316 struct lp855x *lp = dev_get_drvdata(dev); in lp855x_get_chip_id() local
[all …]
/drivers/net/arcnet/
Darcnet.c164 struct arcnet_local *lp = netdev_priv(dev); in arcnet_dump_packet() local
198 struct arcnet_local *lp = netdev_priv(dev); in arcnet_led_event() local
225 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); in arcnet_led_release() local
237 struct arcnet_local *lp = netdev_priv(netdev); in devm_arcnet_led_init() local
290 struct arcnet_local *lp = netdev_priv(dev); in release_arcbuf() local
310 struct arcnet_local *lp = netdev_priv(dev); in get_arcbuf() local
397 struct arcnet_local *lp = (struct arcnet_local *)data; in arcnet_reply_tasklet() local
449 struct arcnet_local *lp = netdev_priv(dev); in alloc_arcdev() local
471 struct arcnet_local *lp = netdev_priv(dev); in arcnet_open() local
573 struct arcnet_local *lp = netdev_priv(dev); in arcnet_close() local
[all …]
Darc-rimi.c125 struct arcnet_local *lp; in arcrimi_found() local
242 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_reset() local
265 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_setmask() local
273 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_status() local
281 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_command() local
290 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_copy_to_card() local
299 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_copy_from_card() local
346 struct arcnet_local *lp = netdev_priv(dev); in arc_rimi_exit() local
/drivers/net/ethernet/dec/tulip/
Dde4x5.c1097 struct de4x5_private *lp = netdev_priv(dev); in de4x5_hw_init() local
1293 struct de4x5_private *lp = netdev_priv(dev); in de4x5_open() local
1383 struct de4x5_private *lp = netdev_priv(dev); in de4x5_sw_reset() local
1461 struct de4x5_private *lp = netdev_priv(dev); in de4x5_queue_pkt() local
1541 struct de4x5_private *lp; in de4x5_interrupt() local
1605 struct de4x5_private *lp = netdev_priv(dev); in de4x5_rx() local
1679 de4x5_free_tx_buff(struct de4x5_private *lp, int entry) in de4x5_free_tx_buff()
1695 struct de4x5_private *lp = netdev_priv(dev); in de4x5_tx() local
1747 struct de4x5_private *lp = netdev_priv(dev); in de4x5_ast() local
1772 struct de4x5_private *lp = netdev_priv(dev); in de4x5_txur() local
[all …]
/drivers/net/ethernet/hp/
Dhp100.c281 struct hp100_private *lp = netdev_priv(dev); in virt_to_whatever() local
285 static inline u_int pdl_map_data(struct hp100_private *lp, void *data) in pdl_map_data()
457 struct hp100_private *lp; in hp100_probe1() local
812 struct hp100_private *lp = netdev_priv(dev); in hp100_hwinit() local
906 struct hp100_private *lp = netdev_priv(dev); in hp100_mmuinit() local
1084 struct hp100_private *lp = netdev_priv(dev); in hp100_open() local
1124 struct hp100_private *lp = netdev_priv(dev); in hp100_close() local
1157 struct hp100_private *lp = netdev_priv(dev); in hp100_init_pdls() local
1341 struct hp100_private *lp = netdev_priv(dev); in hp100_rxfill() local
1382 struct hp100_private *lp = netdev_priv(dev); in hp100_BM_shutdown() local
[all …]
/drivers/regulator/
Dlp872x.c160 static int lp872x_read_byte(struct lp872x *lp, u8 addr, u8 *data) in lp872x_read_byte()
175 static inline int lp872x_write_byte(struct lp872x *lp, u8 addr, u8 data) in lp872x_write_byte()
180 static inline int lp872x_update_bits(struct lp872x *lp, u8 addr, in lp872x_update_bits()
186 static int lp872x_get_timestep_usec(struct lp872x *lp) in lp872x_get_timestep_usec()
224 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_regulator_enable_time() local
256 static void lp872x_set_dvs(struct lp872x *lp, enum lp872x_dvs_sel dvs_sel, in lp872x_set_dvs()
266 static u8 lp872x_select_buck_vout_addr(struct lp872x *lp, in lp872x_select_buck_vout_addr()
323 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_buck_set_voltage_sel() local
340 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_buck_get_voltage_sel() local
359 struct lp872x *lp = rdev_get_drvdata(rdev); in lp8725_buck_set_current_limit() local
[all …]
/drivers/net/appletalk/
Dcops.c276 struct cops_local *lp; in cops_probe1() local
417 struct cops_local *lp = netdev_priv(dev); in cops_open() local
451 struct cops_local *lp = netdev_priv(dev); in cops_jumpstart() local
485 struct cops_local *lp = netdev_priv(dev); in cops_reset() local
514 struct cops_local *lp = netdev_priv(dev); in cops_load() local
605 struct cops_local *lp = netdev_priv(dev); in cops_nodeid() local
710 struct cops_local *lp; in cops_interrupt() local
750 struct cops_local *lp = netdev_priv(dev); in cops_rx() local
853 struct cops_local *lp = netdev_priv(dev); in cops_timeout() local
876 struct cops_local *lp = netdev_priv(dev); in cops_send_packet() local
[all …]
/drivers/mfd/
Dlp8788.c126 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data) in lp8788_read_byte()
142 int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count) in lp8788_read_multi_bytes()
148 int lp8788_write_byte(struct lp8788 *lp, u8 reg, u8 data) in lp8788_write_byte()
154 int lp8788_update_bits(struct lp8788 *lp, u8 reg, u8 mask, u8 data) in lp8788_update_bits()
160 static int lp8788_platform_init(struct lp8788 *lp) in lp8788_platform_init()
175 struct lp8788 *lp; in lp8788_probe() local
208 struct lp8788 *lp = i2c_get_clientdata(cl); in lp8788_remove() local

123456