Lines Matching refs:ks8995_switch
139 struct ks8995_switch {
185 static inline __be16 create_spi_cmd(struct ks8995_switch *ks, int cmd,
198 static int ks8995_read(struct ks8995_switch *ks, char *buf,
226 static int ks8995_write(struct ks8995_switch *ks, char *buf,
254 static inline int ks8995_read_reg(struct ks8995_switch *ks, u8 addr, u8 *buf)
259 static inline int ks8995_write_reg(struct ks8995_switch *ks, u8 addr, u8 val)
268 static int ks8995_stop(struct ks8995_switch *ks)
273 static int ks8995_start(struct ks8995_switch *ks)
278 static int ks8995_reset(struct ks8995_switch *ks)
295 struct ks8995_switch *ks8995;
307 struct ks8995_switch *ks8995;
320 static int ks8995_get_revision(struct ks8995_switch *ks)
411 struct ks8995_switch *ks;
482 struct ks8995_switch *ks = spi_get_drvdata(spi);