Lines Matching refs:sbcon
28 struct sbcon { struct
42 struct sbcon *sbcon; /* Address of hardware registers */ member
53 struct sbcon *sbcon = io_context; in i2c_sbcon_set_scl() local
56 sbcon->SB_CONTROLS = SCL; in i2c_sbcon_set_scl()
58 sbcon->SB_CONTROLC = SCL; in i2c_sbcon_set_scl()
64 struct sbcon *sbcon = io_context; in i2c_sbcon_set_sda() local
67 sbcon->SB_CONTROLS = SDA; in i2c_sbcon_set_sda()
69 sbcon->SB_CONTROLC = SDA; in i2c_sbcon_set_sda()
75 struct sbcon *sbcon = io_context; in i2c_sbcon_get_sda() local
77 return sbcon->SB_CONTROL & SDA; in i2c_sbcon_get_sda()
132 i2c_bitbang_init(&context->bitbang, &io_fns, config->sbcon); in i2c_sbcon_init()
148 .sbcon = (void *)DT_INST_REG_ADDR(_num), \