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