| /OK3568_Linux_fs/kernel/drivers/media/pci/mantis/ |
| H A D | mantis_ioc.c | 74 mantis->gpio_status = cur | (1 << bitpos); in mantis_gpio_set_bits() 76 mantis->gpio_status = cur & (~(1 << bitpos)); in mantis_gpio_set_bits() 78 dprintk(MANTIS_DEBUG, 1, "GPIO Value <%02x>", mantis->gpio_status); in mantis_gpio_set_bits() 79 mmwrite(mantis->gpio_status, MANTIS_GPIF_ADDR); in mantis_gpio_set_bits()
|
| H A D | mantis_core.c | 172 mantis->gpio_status = cur | (1 << bitpos); in gpio_set_bits() 174 mantis->gpio_status = cur & (~(1 << bitpos)); in gpio_set_bits() 176 mmwrite(mantis->gpio_status, MANTIS_GPIF_ADDR); in gpio_set_bits()
|
| H A D | mantis_common.h | 158 u32 gpio_status; member 172 #define MANTIS_HIF_STATUS (mantis->gpio_status)
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | gpio.c | 27 #if defined(CONFIG_DM_GPIO) && !defined(gpio_status) 146 #ifdef gpio_status in do_gpio() 147 gpio_status(); in do_gpio()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | max8997-irq.c | 220 if (max8997->gpio_status[i] != gpio_info[i]) in max8997_irq_thread() 224 if ((max8997->gpio_status[i] != gpio_info[i]) && in max8997_irq_thread() 229 if ((max8997->gpio_status[i] != gpio_info[i]) && in max8997_irq_thread() 323 max8997->gpio_status[i] = (max8997_read_reg(max8997->i2c, in max8997_irq_init()
|
| /OK3568_Linux_fs/u-boot/arch/microblaze/include/asm/ |
| H A D | gpio.h | 11 #define gpio_status() gpio_info() macro
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/include/mach/ |
| H A D | gpio.h | 52 #define gpio_status() gpio_info() macro
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | max8997-private.h | 391 bool gpio_status[MAX8997_NUM_GPIO]; member
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | bq25890_charger.c | 1115 int gpio_status = 1; in bq25890_otg_vbus_is_enabled() local 1119 gpio_status = gpiod_get_value(bq->otg_mode_en_io); in bq25890_otg_vbus_is_enabled() 1121 return val && gpio_status ? 1 : 0; in bq25890_otg_vbus_is_enabled()
|
| H A D | bq25700_charger.c | 1793 int gpio_status = 1; in bq25700_otg_vbus_is_enabled() local 1797 gpio_status = gpiod_get_value(charger->otg_mode_en_io); in bq25700_otg_vbus_is_enabled() 1799 return val && gpio_status ? 1 : 0; in bq25700_otg_vbus_is_enabled()
|
| /OK3568_Linux_fs/kernel/drivers/usb/serial/ |
| H A D | xr_usb_serial_common.c | 1235 short gpio_status; in xr_usb_gpio_get() local 1238 &gpio_status); in xr_usb_gpio_get() 1239 if (gpio_status&(1 << offset)) in xr_usb_gpio_get()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | siutils.c | 1597 si_gci_gpioint_handler_register(si_t *sih, uint8 gci_gpio, uint8 gpio_status, in si_gci_gpioint_handler_register() argument 1638 gci_i->status = gpio_status; in si_gci_gpioint_handler_register() 1647 uint32 gpio_status[2], status; in si_gci_gpioint_handler_process() local 1656 gpio_status[0] = si_corereg(sih, GCI_CORE_IDX(sih), in si_gci_gpioint_handler_process() 1661 si_corereg(sih, GCI_CORE_IDX(sih), GCI_OFFSETOF(sih, gci_gpiostatus), ~0, gpio_status[0]); in si_gci_gpioint_handler_process() 1664 gpio_status[1] = si_corereg(sih, GCI_CORE_IDX(sih), in si_gci_gpioint_handler_process() 1669 si_corereg(sih, GCI_CORE_IDX(sih), GCI_OFFSETOF(sih, gci_gpiostatus), ~0, gpio_status[1]); in si_gci_gpioint_handler_process() 1674 gpio_status[0], gpio_status[1])); in si_gci_gpioint_handler_process() 1678 status = ((gpio_status[0] >> (gci_i->gci_gpio * 4)) & 0x0F); in si_gci_gpioint_handler_process() 1680 status = ((gpio_status[1] >> ((gci_i->gci_gpio - 8) * 4)) & 0x0F); in si_gci_gpioint_handler_process()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | siutils.c | 1597 si_gci_gpioint_handler_register(si_t *sih, uint8 gci_gpio, uint8 gpio_status, in si_gci_gpioint_handler_register() argument 1638 gci_i->status = gpio_status; in si_gci_gpioint_handler_register() 1647 uint32 gpio_status[2], status; in si_gci_gpioint_handler_process() local 1656 gpio_status[0] = si_corereg(sih, GCI_CORE_IDX(sih), in si_gci_gpioint_handler_process() 1661 si_corereg(sih, GCI_CORE_IDX(sih), GCI_OFFSETOF(sih, gci_gpiostatus), ~0, gpio_status[0]); in si_gci_gpioint_handler_process() 1664 gpio_status[1] = si_corereg(sih, GCI_CORE_IDX(sih), in si_gci_gpioint_handler_process() 1669 si_corereg(sih, GCI_CORE_IDX(sih), GCI_OFFSETOF(sih, gci_gpiostatus), ~0, gpio_status[1]); in si_gci_gpioint_handler_process() 1674 gpio_status[0], gpio_status[1])); in si_gci_gpioint_handler_process() 1678 status = ((gpio_status[0] >> (gci_i->gci_gpio * 4)) & 0x0F); in si_gci_gpioint_handler_process() 1680 status = ((gpio_status[1] >> ((gci_i->gci_gpio - 8) * 4)) & 0x0F); in si_gci_gpioint_handler_process()
|