Searched refs:ks8995_switch (Results 1 – 1 of 1) sorted by relevance
/drivers/net/phy/ |
D | spi_ks8995.c | 148 struct ks8995_switch { struct 186 static inline __be16 create_spi_cmd(struct ks8995_switch *ks, int cmd, in create_spi_cmd() 199 static int ks8995_read(struct ks8995_switch *ks, char *buf, in ks8995_read() 227 static int ks8995_write(struct ks8995_switch *ks, char *buf, in ks8995_write() 255 static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf) in ks8995_read_reg() 260 static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val) in ks8995_write_reg() 269 static int ks8995_stop(struct ks8995_switch *ks) in ks8995_stop() 274 static int ks8995_start(struct ks8995_switch *ks) in ks8995_start() 279 static int ks8995_reset(struct ks8995_switch *ks) in ks8995_reset() 296 struct ks8995_switch *ks8995; in ks8995_registers_read() [all …]
|