/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 | a2065.c | 128 static void load_csrs(struct lance_private *lp) in load_csrs() 148 struct lance_private *lp = netdev_priv(dev); in lance_init_ring() local 218 static int init_restart_lance(struct lance_private *lp) in init_restart_lance() 243 struct lance_private *lp = netdev_priv(dev); in lance_rx() local 322 struct lance_private *lp = netdev_priv(dev); in lance_tx() local 403 static int lance_tx_buffs_avail(struct lance_private *lp) in lance_tx_buffs_avail() 413 struct lance_private *lp = netdev_priv(dev); in lance_interrupt() local 461 struct lance_private *lp = netdev_priv(dev); in lance_open() local 485 struct lance_private *lp = netdev_priv(dev); in lance_close() local 501 struct lance_private *lp = netdev_priv(dev); in lance_reset() 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
|
/linux/net/ipv4/ |
H A D | tcp_lp.c | 77 struct lp { struct 99 struct lp *lp = inet_csk_ca(sk); in tcp_lp_init() local 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/drivers/net/ethernet/xilinx/ |
H A D | xilinx_axienet_main.c | 133 static struct skbuf_dma_descriptor *axienet_get_rx_desc(struct axienet_local *lp, int i) in axienet_get_rx_desc() 138 static struct skbuf_dma_descriptor *axienet_get_tx_desc(struct axienet_local *lp, int i) in axienet_get_tx_desc() 152 static inline u32 axienet_dma_in32(struct axienet_local *lp, off_t reg) in axienet_dma_in32() 157 static void desc_set_phys_addr(struct axienet_local *lp, dma_addr_t addr, in desc_set_phys_addr() 165 static dma_addr_t desc_get_phys_addr(struct axienet_local *lp, in desc_get_phys_addr() 187 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_release() local 231 static u32 axienet_usec_to_timer(struct axienet_local *lp, u32 coalesce_usec) in axienet_usec_to_timer() 252 static void axienet_dma_start(struct axienet_local *lp) in axienet_dma_start() 310 struct axienet_local *lp = netdev_priv(ndev); in axienet_dma_bd_init() local 384 struct axienet_local *lp = netdev_priv(ndev); in axienet_set_mac_address() 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()
|
/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() 118 at86rf230_awake(struct at86rf230_local *lp) in at86rf230_awake() 129 __at86rf230_write(struct at86rf230_local *lp, in __at86rf230_write() 149 __at86rf230_read(struct at86rf230_local *lp, in __at86rf230_read() 169 at86rf230_read_subreg(struct at86rf230_local *lp, in at86rf230_read_subreg() 183 at86rf230_write_subreg(struct at86rf230_local *lp, in at86rf230_write_subreg() 204 at86rf230_slp_tr_rising_edge(struct at86rf230_local *lp) in at86rf230_slp_tr_rising_edge() 330 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover_complete() local 345 struct at86rf230_local *lp = ctx->lp; in at86rf230_async_error_recover() 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 541 struct smc_local *lp = from_tasklet(lp, t, tx_task); in smc_hardware_send_pkt() local 632 struct smc_local *lp = netdev_priv(dev); in smc_hard_start_xmit() local 705 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 = from_timer(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 …]
|
H A D | arc-rimi.c | 125 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 348 struct arcnet_local *lp = netdev_priv(dev); in arc_rimi_exit() local
|
H A D | com20020.c | 95 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/drivers/video/backlight/ |
H A D | lp855x_bl.c | 79 static int lp855x_write_byte(struct lp855x *lp, u8 reg, u8 data) in lp855x_write_byte() 84 static int lp855x_update_bit(struct lp855x *lp, u8 reg, u8 mask, u8 data) in lp855x_update_bit() 102 static bool lp855x_is_valid_rom_area(struct lp855x *lp, u8 addr) in lp855x_is_valid_rom_area() 133 static int lp8557_bl_off(struct lp855x *lp) in lp8557_bl_off() 140 static int lp8557_bl_on(struct lp855x *lp) in lp8557_bl_on() 169 static int lp855x_configure(struct lp855x *lp) in lp855x_configure() 220 static int lp855x_pwm_ctrl(struct lp855x *lp, int br, int max_br) in lp855x_pwm_ctrl() 242 struct lp855x *lp = bl_get_data(bl); in lp855x_bl_update_status() local 262 static int lp855x_backlight_register(struct lp855x *lp) in lp855x_backlight_register() 291 struct lp855x *lp = dev_get_drvdata(dev); in lp855x_get_chip_id() local [all …]
|
/linux/arch/xtensa/platforms/iss/ |
H A D | network.c | 157 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/drivers/regulator/ |
H A D | lp872x.c | 155 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/drivers/mfd/ |
H A D | lp8788.c | 122 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
|
/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() 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; in lp8788_read_alarm() local 191 struct lp8788 *lp = rtc->lp; in lp8788_set_alarm() local 227 struct lp8788 *lp = rtc->lp; in lp8788_alarm_irq_enable() local 259 struct lp8788 *lp = rtc->lp; in lp8788_alarm_irq_register() local 284 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); in lp8788_rtc_probe() local
|
/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 …]
|