Home
last modified time | relevance | path

Searched refs:ks8851_net (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/micrel/
Dks8851_common.c35 static void ks8851_lock(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock()
47 static void ks8851_unlock(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock()
60 static void ks8851_wrreg16(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16()
73 static unsigned int ks8851_rdreg16(struct ks8851_net *ks, in ks8851_rdreg16()
92 static void ks8851_soft_reset(struct ks8851_net *ks, unsigned op) in ks8851_soft_reset()
107 static void ks8851_set_powermode(struct ks8851_net *ks, unsigned pwrmode) in ks8851_set_powermode()
131 struct ks8851_net *ks = netdev_priv(dev); in ks8851_write_mac_addr()
165 struct ks8851_net *ks = netdev_priv(dev); in ks8851_read_mac_addr()
194 static void ks8851_init_mac(struct ks8851_net *ks, struct device_node *np) in ks8851_init_mac()
225 static void ks8851_dbg_dumpkkt(struct ks8851_net *ks, u8 *rxpkt) in ks8851_dbg_dumpkkt()
[all …]
Dks8851_par.c46 struct ks8851_net ks8851;
62 static void ks8851_lock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_par()
76 static void ks8851_unlock_par(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_par()
91 static int ks_check_endian(struct ks8851_net *ks) in ks_check_endian()
135 static void ks8851_wrreg16_par(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_par()
152 static unsigned int ks8851_rdreg16_par(struct ks8851_net *ks, unsigned int reg) in ks8851_rdreg16_par()
170 static void ks8851_rdfifo_par(struct ks8851_net *ks, u8 *buff, unsigned int len) in ks8851_rdfifo_par()
191 static void ks8851_wrfifo_par(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_par()
213 static unsigned int ks8851_rdreg16_par_txqcr(struct ks8851_net *ks) in ks8851_rdreg16_par_txqcr()
234 struct ks8851_net *ks = netdev_priv(dev); in ks8851_start_xmit_par()
[all …]
Dks8851.h381 struct ks8851_net { struct
411 void (*lock)(struct ks8851_net *ks, argument
413 void (*unlock)(struct ks8851_net *ks, argument
415 unsigned int (*rdreg16)(struct ks8851_net *ks, argument
417 void (*wrreg16)(struct ks8851_net *ks, argument
419 void (*rdfifo)(struct ks8851_net *ks, u8 *buff, argument
421 void (*wrfifo)(struct ks8851_net *ks, argument
425 void (*flush_tx_work)(struct ks8851_net *ks); argument
442 static void __maybe_unused ks8851_done_tx(struct ks8851_net *ks, in ks8851_done_tx()
Dks8851_spi.c48 struct ks8851_net ks8851;
80 static void ks8851_lock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_lock_spi()
94 static void ks8851_unlock_spi(struct ks8851_net *ks, unsigned long *flags) in ks8851_unlock_spi()
116 static void ks8851_wrreg16_spi(struct ks8851_net *ks, unsigned int reg, in ks8851_wrreg16_spi()
147 static void ks8851_rdreg(struct ks8851_net *ks, unsigned int op, in ks8851_rdreg()
196 static unsigned int ks8851_rdreg16_spi(struct ks8851_net *ks, unsigned int reg) in ks8851_rdreg16_spi()
213 static void ks8851_rdfifo_spi(struct ks8851_net *ks, u8 *buff, unsigned int len) in ks8851_rdfifo_spi()
252 static void ks8851_wrfifo_spi(struct ks8851_net *ks, struct sk_buff *txp, in ks8851_wrfifo_spi()
313 struct ks8851_net *ks; in ks8851_tx_work()
355 static void ks8851_flush_tx_work_spi(struct ks8851_net *ks) in ks8851_flush_tx_work_spi()
[all …]