Lines Matching defs:ops
22 #define TOG_SCLK(ops) ops->tog_sclk(ops->data) argument
23 #define SET_SCLK(ops, val) ops->set_sclk(ops->data, val) argument
24 #define SET_MOSI(ops, val) ops->set_mosi(ops->data, val) argument
25 #define SET_MISO(ops, val) ops->set_miso(ops->data, val) argument
26 #define GET_SCLK(ops) ops->get_sclk(ops->data) argument
27 #define GET_MOSI(ops) ops->get_mosi(ops->data) argument
28 #define GET_MISO(ops) ops->get_miso(ops->data) argument
29 #define DIR_MOSI(ops, val) ops->dir_mosi(ops->data, val) argument
30 #define DIR_MISO(ops, val) ops->dir_miso(ops->data, val) argument
32 rt_inline void spi_delay(struct rt_spi_bit_ops *ops) in spi_delay()
37 rt_inline void spi_delay2(struct rt_spi_bit_ops *ops) in spi_delay2()
42 #define SCLK_H(ops) SET_SCLK(ops, 1) argument
43 #define SCLK_L(ops) SET_SCLK(ops, 0) argument
44 #define MOSI_H(ops) SET_MOSI(ops, 1) argument
45 #define MOSI_L(ops) SET_MOSI(ops, 0) argument
46 #define MOSI_IN(ops) DIR_MOSI(ops, 1) argument
47 #define MOSI_OUT(ops) DIR_MOSI(ops, 0) argument
48 #define MISO_IN(ops) DIR_MISO(ops, 1) argument
49 #define MISO_OUT(ops) DIR_MISO(ops, 0) argument
51 rt_inline rt_ssize_t spi_xfer_4line_data8(struct rt_spi_bit_ops *ops, in spi_xfer_4line_data8()
126 rt_inline rt_ssize_t spi_xfer_4line_data16(struct rt_spi_bit_ops *ops, in spi_xfer_4line_data16()
201 rt_inline rt_ssize_t spi_xfer_3line_data8(struct rt_spi_bit_ops *ops, in spi_xfer_3line_data8()
314 rt_inline rt_ssize_t spi_xfer_3line_data16(struct rt_spi_bit_ops *ops, in spi_xfer_3line_data16()
430 struct rt_spi_bit_ops *ops = obj->ops; in spi_bit_configure() local
471 struct rt_spi_bit_ops *ops = obj->ops; in spi_bit_xfer() local
570 struct rt_spi_bit_ops *ops) in rt_spi_bit_add_bus()