Lines Matching refs:mfd
45 const struct device *mfd; member
58 ret = mfd_npm1300_reg_read(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_STATUS, &data); in gpio_npm1300_port_get_raw()
78 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, in gpio_npm1300_port_set_masked_raw()
82 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, in gpio_npm1300_port_set_masked_raw()
122 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, in gpio_npm1300_configure()
126 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, in gpio_npm1300_configure()
131 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_MODE + pin, in gpio_npm1300_configure()
134 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_MODE + pin, in gpio_npm1300_configure()
137 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_MODE + pin, in gpio_npm1300_configure()
140 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_MODE + pin, in gpio_npm1300_configure()
149 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_OPENDRAIN + pin, in gpio_npm1300_configure()
156 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_PULLUP + pin, in gpio_npm1300_configure()
162 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_PULLDOWN + pin, in gpio_npm1300_configure()
169 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_DRIVE + pin, in gpio_npm1300_configure()
175 ret = mfd_npm1300_reg_write(config->mfd, NPM_GPIO_BASE, NPM_GPIO_OFFSET_DEBOUNCE + pin, in gpio_npm1300_configure()
208 if (!device_is_ready(config->mfd)) { in gpio_npm1300_init()
221 .mfd = DEVICE_DT_GET(DT_INST_PARENT(n))}; \