Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/drivers/net/ethernet/amd/ !
Damd8111e.c98 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 …]
D7990.c45 #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 …]
Dpcnet32.c448 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 …]
/linux-6.1.9/drivers/net/ethernet/smsc/ !
Dsmc911x.h112 static inline unsigned int SMC_inl(struct smc911x_local *lp, int reg) in SMC_inl()
125 static inline void SMC_outl(unsigned int value, struct smc911x_local *lp, in SMC_outl()
144 static inline void SMC_insl(struct smc911x_local *lp, int reg, in SMC_insl()
162 static inline void SMC_outsl(struct smc911x_local *lp, int reg, in SMC_outsl()
181 #define SMC_inl(lp, r) ((readw((lp)->base + (r)) & 0xFFFF) + (readw((lp)->base + (r) + 2) << 16)) argument
182 #define SMC_outl(v, lp, r) \ argument
187 #define SMC_insl(lp, r, p, l) ioread16_rep((short*)((lp)->base + (r)), p, l*2) argument
188 #define SMC_outsl(lp, r, p, l) iowrite16_rep((short*)((lp)->base + (r)), p, l*2) argument
191 #define SMC_inl(lp, r) readl((lp)->base + (r)) argument
192 #define SMC_outl(v, lp, r) writel(v, (lp)->base + (r)) argument
[all …]
Dsmc911x.c148 #define SMC_ENABLE_INT(lp, x) do { \ argument
156 #define SMC_DISABLE_INT(lp, x) do { \ argument
168 struct smc911x_local *lp = netdev_priv(dev); in smc911x_reset() local
262 struct smc911x_local *lp = netdev_priv(dev); in smc911x_enable() local
319 struct smc911x_local *lp = netdev_priv(dev); in smc911x_shutdown() local
339 struct smc911x_local *lp = netdev_priv(dev); in smc911x_drop_pkt() local
371 struct smc911x_local *lp = netdev_priv(dev); in smc911x_rcv() local
447 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hardware_send_pkt() local
510 struct smc911x_local *lp = netdev_priv(dev); in smc911x_hard_start_xmit() local
583 struct smc911x_local *lp = netdev_priv(dev); in smc911x_tx() local
[all …]
Dsmc91x.h78 #define SMC_outw(lp, v, a, r) \ argument
111 #define __SMC_outw(lp, v, a, r) \ argument
127 #define SMC_outw(lp, v, a, r) outw(v, (a) + (r) - 0xa0000000) argument
147 #define SMC_outw(lp, v, a, r) writew(v, (a) + (r)) argument
179 #define SMC_outw(lp, v, a, r) writew(_swapw(v), (a) + (r)) argument
202 #define SMC_outw(lp, v, a, r) iowrite16(v, (a) + (r)) argument
288 smc_pxa_dma_inpump(struct smc_local *lp, u_char *buf, int len) in smc_pxa_dma_inpump()
314 smc_pxa_dma_insl(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insl()
357 smc_pxa_dma_insw(void __iomem *ioaddr, struct smc_local *lp, int reg, int dma, in smc_pxa_dma_insw()
419 #define SMC_outw(lp, x, ioaddr, reg) SMC_outw_b(x, ioaddr, reg) argument
[all …]
Dsmc91x.c194 #define SMC_ENABLE_INT(lp, x) do { \ argument
205 #define SMC_DISABLE_INT(lp, x) do { \ argument
220 #define SMC_WAIT_MMU_BUSY(lp) do { \ argument
240 struct smc_local *lp = netdev_priv(dev); in smc_reset() local
334 struct smc_local *lp = netdev_priv(dev); in smc_enable() local
368 struct smc_local *lp = netdev_priv(dev); in smc_shutdown() local
400 struct smc_local *lp = netdev_priv(dev); in smc_rcv() local
540 struct smc_local *lp = from_tasklet(lp, t, tx_task); in smc_hardware_send_pkt() local
631 struct smc_local *lp = netdev_priv(dev); in smc_hard_start_xmit() local
704 struct smc_local *lp = netdev_priv(dev); in smc_tx() local
[all …]
/linux-6.1.9/net/ipv4/ !
Dtcp_lp.c77 struct lp { struct
99 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() argument
123 struct lp *lp = inet_csk_ca(sk); in tcp_lp_cong_avoid() local
140 struct lp *lp = inet_csk_ca(sk); in tcp_lp_remote_hz_estimator() local
194 struct lp *lp = inet_csk_ca(sk); in tcp_lp_owd_calculator() local
229 struct lp *lp = inet_csk_ca(sk); in tcp_lp_rtt_sample() local
274 struct lp *lp = inet_csk_ca(sk); in tcp_lp_pkts_acked() local
/linux-6.1.9/drivers/net/ethernet/xilinx/ !
Dll_temac_main.c71 static u32 _temac_ior_be(struct temac_local *lp, int offset) in _temac_ior_be()
76 static void _temac_iow_be(struct temac_local *lp, int offset, u32 value) in _temac_iow_be()
81 static u32 _temac_ior_le(struct temac_local *lp, int offset) in _temac_ior_le()
86 static void _temac_iow_le(struct temac_local *lp, int offset, u32 value) in _temac_iow_le()
91 static bool hard_acs_rdy(struct temac_local *lp) in hard_acs_rdy()
96 static bool hard_acs_rdy_or_timeout(struct temac_local *lp, ktime_t timeout) in hard_acs_rdy_or_timeout()
113 int temac_indirect_busywait(struct temac_local *lp) in temac_indirect_busywait()
128 u32 temac_indirect_in32(struct temac_local *lp, int reg) in temac_indirect_in32()
146 u32 temac_indirect_in32_locked(struct temac_local *lp, int reg) in temac_indirect_in32_locked()
171 void temac_indirect_out32(struct temac_local *lp, int reg, u32 value) in temac_indirect_out32()
[all …]
Dxilinx_axienet_main.c131 static inline u32 axienet_dma_in32(struct axienet_local *lp, off_t reg) in axienet_dma_in32()
136 static void desc_set_phys_addr(struct axienet_local *lp, dma_addr_t addr, in desc_set_phys_addr()
144 static dma_addr_t desc_get_phys_addr(struct axienet_local *lp, in desc_get_phys_addr()
166 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_release() local
210 static u32 axienet_usec_to_timer(struct axienet_local *lp, u32 coalesce_usec) in axienet_usec_to_timer()
231 static void axienet_dma_start(struct axienet_local *lp) in axienet_dma_start()
289 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_init() local
363 struct axienet_local *lp = netdev_priv(ndev); in axienet_set_mac_address() local
416 struct axienet_local *lp = netdev_priv(ndev); in axienet_set_multicast_list() local
486 struct axienet_local *lp = netdev_priv(ndev); in axienet_setoptions() local
[all …]
Dxilinx_axienet_mdio.c24 static int axienet_mdio_wait_until_ready(struct axienet_local *lp) in axienet_mdio_wait_until_ready()
34 static void axienet_mdio_mdc_enable(struct axienet_local *lp) in axienet_mdio_mdc_enable()
41 static void axienet_mdio_mdc_disable(struct axienet_local *lp) in axienet_mdio_mdc_disable()
66 struct axienet_local *lp = bus->priv; in axienet_mdio_read() local
116 struct axienet_local *lp = bus->priv; in axienet_mdio_write() local
156 int axienet_mdio_enable(struct axienet_local *lp) in axienet_mdio_enable()
235 void axienet_mdio_disable(struct axienet_local *lp) in axienet_mdio_disable()
250 int axienet_mdio_setup(struct axienet_local *lp) in axienet_mdio_setup()
292 void axienet_mdio_teardown(struct axienet_local *lp) in axienet_mdio_teardown()
/linux-6.1.9/drivers/net/ieee802154/ !
Dat86rf230.c63 struct at86rf230_local *lp; member
108 at86rf230_sleep(struct at86rf230_local *lp) in at86rf230_sleep()
119 at86rf230_awake(struct at86rf230_local *lp) in at86rf230_awake()
130 __at86rf230_write(struct at86rf230_local *lp, in __at86rf230_write()
150 __at86rf230_read(struct at86rf230_local *lp, in __at86rf230_read()
170 at86rf230_read_subreg(struct at86rf230_local *lp, in at86rf230_read_subreg()
184 at86rf230_write_subreg(struct at86rf230_local *lp, in at86rf230_write_subreg()
205 at86rf230_slp_tr_rising_edge(struct at86rf230_local *lp) in at86rf230_slp_tr_rising_edge()
331 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover_complete() local
346 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover() local
[all …]
Dmcr20a.c447 struct mcr20a_local *lp = context; in mcr20a_write_tx_buf_complete() local
465 struct mcr20a_local *lp = hw->priv; in mcr20a_xmit() local
495 struct mcr20a_local *lp = hw->priv; in mcr20a_set_channel() local
518 struct mcr20a_local *lp = hw->priv; in mcr20a_start() local
552 struct mcr20a_local *lp = hw->priv; in mcr20a_stop() local
569 struct mcr20a_local *lp = hw->priv; in mcr20a_set_hw_addr_filt() local
619 struct mcr20a_local *lp = hw->priv; in mcr20a_set_txpower() local
640 struct mcr20a_local *lp = hw->priv; in mcr20a_set_cca_mode() local
699 struct mcr20a_local *lp = hw->priv; in mcr20a_set_cca_ed_level() local
715 struct mcr20a_local *lp = hw->priv; in mcr20a_set_promiscuous_mode() local
[all …]
Dadf7242.c303 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-6.1.9/arch/sparc/kernel/ !
Dldc.c181 #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-6.1.9/drivers/net/ethernet/natsemi/ !
Dsonic.c45 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-6.1.9/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
387 struct arcnet_local *lp = from_timer(lp, t, timer); in arcnet_timer() local
402 struct arcnet_local *lp; in reset_device_work() local
432 struct arcnet_local *lp = from_tasklet(lp, t, reply_tasklet); in arcnet_reply_tasklet() local
484 struct arcnet_local *lp = netdev_priv(dev); in alloc_arcdev() local
[all …]
Darc-rimi.c125 struct arcnet_local *lp; in arcrimi_found() local
243 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_reset() local
266 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_setmask() local
274 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_status() local
282 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_command() local
291 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_copy_to_card() local
300 struct arcnet_local *lp = netdev_priv(dev); in arcrimi_copy_from_card() local
347 struct arcnet_local *lp = netdev_priv(dev); in arc_rimi_exit() local
Dcom20020.c95 struct arcnet_local *lp = netdev_priv(dev); in com20020_check() local
157 struct arcnet_local *lp = netdev_priv(dev); in com20020_set_hwaddr() local
170 struct arcnet_local *lp = netdev_priv(dev); in com20020_netdev_open() local
181 struct arcnet_local *lp = netdev_priv(dev); in com20020_netdev_close() local
205 struct arcnet_local *lp; in com20020_found() local
284 struct arcnet_local *lp = netdev_priv(dev); in com20020_reset() local
357 struct arcnet_local *lp = netdev_priv(dev); in com20020_close() local
374 struct arcnet_local *lp = netdev_priv(dev); in com20020_set_mc_list() local
/linux-6.1.9/drivers/video/backlight/ !
Dlp855x_bl.c78 static int lp855x_write_byte(struct lp855x *lp, u8 reg, u8 data) in lp855x_write_byte()
83 static int lp855x_update_bit(struct lp855x *lp, u8 reg, u8 mask, u8 data) in lp855x_update_bit()
101 static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) in lp855x_is_valid_rom_area()
132 static int lp8557_bl_off(struct lp855x *lp) in lp8557_bl_off()
139 static int lp8557_bl_on(struct lp855x *lp) in lp8557_bl_on()
168 static int lp855x_configure(struct lp855x *lp) in lp855x_configure()
219 static void lp855x_pwm_ctrl(struct lp855x *lp, int br, int max_br) in lp855x_pwm_ctrl()
246 struct lp855x *lp = bl_get_data(bl); in lp855x_bl_update_status() local
265 static int lp855x_backlight_register(struct lp855x *lp) in lp855x_backlight_register()
294 struct lp855x *lp = dev_get_drvdata(dev); in lp855x_get_chip_id() local
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/arch/xtensa/platforms/iss/ !
Dnetwork.c157 static int tuntap_open(struct iss_net_private *lp) in tuntap_open()
187 static void tuntap_close(struct iss_net_private *lp) in tuntap_close()
193 static int tuntap_read(struct iss_net_private *lp, struct sk_buff **skb) in tuntap_read()
199 static int tuntap_write(struct iss_net_private *lp, struct sk_buff **skb) in tuntap_write()
209 static int tuntap_poll(struct iss_net_private *lp) in tuntap_poll()
227 static int tuntap_probe(struct iss_net_private *lp, int index, char *init) in tuntap_probe()
274 struct iss_net_private *lp = netdev_priv(dev); in iss_net_rx() local
317 static int iss_net_poll(struct iss_net_private *lp) in iss_net_poll()
341 struct iss_net_private *lp = from_timer(lp, t, timer); in iss_net_timer() local
350 struct iss_net_private *lp = netdev_priv(dev); in iss_net_open() local
[all …]
/linux-6.1.9/drivers/net/appletalk/ !
Dcops.c279 struct cops_local *lp; in cops_probe1() local
420 struct cops_local *lp = netdev_priv(dev); in cops_open() local
453 struct cops_local *lp = netdev_priv(dev); in cops_jumpstart() local
487 struct cops_local *lp = netdev_priv(dev); in cops_reset() local
516 struct cops_local *lp = netdev_priv(dev); in cops_load() local
607 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
851 struct cops_local *lp = netdev_priv(dev); in cops_timeout() local
874 struct cops_local *lp = netdev_priv(dev); in cops_send_packet() local
[all …]
/linux-6.1.9/drivers/regulator/ !
Dlp872x.c155 static int lp872x_read_byte(struct lp872x *lp, u8 addr, u8 *data) in lp872x_read_byte()
170 static inline int lp872x_write_byte(struct lp872x *lp, u8 addr, u8 data) in lp872x_write_byte()
175 static inline int lp872x_update_bits(struct lp872x *lp, u8 addr, in lp872x_update_bits()
181 static int lp872x_get_timestep_usec(struct lp872x *lp) in lp872x_get_timestep_usec()
219 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_regulator_enable_time() local
251 static void lp872x_set_dvs(struct lp872x *lp, enum lp872x_dvs_sel dvs_sel, in lp872x_set_dvs()
261 static u8 lp872x_select_buck_vout_addr(struct lp872x *lp, in lp872x_select_buck_vout_addr()
318 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_buck_set_voltage_sel() local
335 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_buck_get_voltage_sel() local
353 struct lp872x *lp = rdev_get_drvdata(rdev); in lp872x_buck_set_mode() local
[all …]
/linux-6.1.9/drivers/mfd/ !
Dlp8788.c122 int lp8788_read_byte(struct lp8788 *lp, u8 reg, u8 *data) in lp8788_read_byte()
138 int lp8788_read_multi_bytes(struct lp8788 *lp, u8 reg, u8 *data, size_t count) in lp8788_read_multi_bytes()
144 int lp8788_write_byte(struct lp8788 *lp, u8 reg, u8 data) in lp8788_write_byte()
150 int lp8788_update_bits(struct lp8788 *lp, u8 reg, u8 mask, u8 data) in lp8788_update_bits()
156 static int lp8788_platform_init(struct lp8788 *lp) in lp8788_platform_init()
171 struct lp8788 *lp; in lp8788_probe() local
212 struct lp8788 *lp = i2c_get_clientdata(cl); in lp8788_remove() local

12345678