Home
last modified time | relevance | path

Searched refs:c2port_device (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/include/linux/
Dc2port.h22 struct c2port_device { struct
43 void (*access)(struct c2port_device *dev, int status); argument
46 void (*c2d_dir)(struct c2port_device *dev, int dir);
49 int (*c2d_get)(struct c2port_device *dev);
50 void (*c2d_set)(struct c2port_device *dev, int status);
53 void (*c2ck_set)(struct c2port_device *dev, int status);
60 extern struct c2port_device *c2port_device_register(char *name,
62 extern void c2port_device_unregister(struct c2port_device *dev);
/linux-4.19.296/drivers/misc/c2port/
Dcore.c64 static void c2port_reset(struct c2port_device *dev) in c2port_reset()
80 static void c2port_strobe_ck(struct c2port_device *dev) in c2port_strobe_ck()
102 static void c2port_write_ar(struct c2port_device *dev, u8 addr) in c2port_write_ar()
130 static int c2port_read_ar(struct c2port_device *dev, u8 *addr) in c2port_read_ar()
162 static int c2port_write_dr(struct c2port_device *dev, u8 data) in c2port_write_dr()
210 static int c2port_read_dr(struct c2port_device *dev, u8 *data) in c2port_read_dr()
260 static int c2port_poll_in_busy(struct c2port_device *dev) in c2port_poll_in_busy()
281 static int c2port_poll_out_ready(struct c2port_device *dev) in c2port_poll_out_ready()
309 struct c2port_device *c2dev = dev_get_drvdata(dev); in c2port_show_name()
318 struct c2port_device *c2dev = dev_get_drvdata(dev); in c2port_show_flash_blocks_num()
[all …]
Dc2port-duramar2150.c32 static void duramar2150_c2port_access(struct c2port_device *dev, int status) in duramar2150_c2port_access()
51 static void duramar2150_c2port_c2d_dir(struct c2port_device *dev, int dir) in duramar2150_c2port_c2d_dir()
67 static int duramar2150_c2port_c2d_get(struct c2port_device *dev) in duramar2150_c2port_c2d_get()
72 static void duramar2150_c2port_c2d_set(struct c2port_device *dev, int status) in duramar2150_c2port_c2d_set()
88 static void duramar2150_c2port_c2ck_set(struct c2port_device *dev, int status) in duramar2150_c2port_c2ck_set()
115 static struct c2port_device *duramar2150_c2port_dev;