Lines Matching refs:gci_gpio
1140 si_gci_gpio_chipcontrol_ex(si_t *sih, uint8 gci_gpio, uint8 opt) in si_gci_gpio_chipcontrol_ex() argument
1142 si_gci_gpio_chipcontrol(sih, gci_gpio, opt); in si_gci_gpio_chipcontrol_ex()
1146 BCMPOSTTRAPFN(si_gci_gpio_chipcontrol)(si_t *sih, uint8 gci_gpio, uint8 opt) in BCMPOSTTRAPFN()
1150 si_gci_get_chipctrlreg_ringidx_base8(gci_gpio, &ring_idx, &pos); in BCMPOSTTRAPFN()
1161 BCMPOSTTRAPFN(si_gci_gpio_reg)(si_t *sih, uint8 gci_gpio, uint8 mask, uint8 value, in BCMPOSTTRAPFN()
1167 si_gci_get_chipctrlreg_ringidx_base4(gci_gpio, &ring_idx, &pos); in BCMPOSTTRAPFN()
1388 BCMINITFN(si_enable_gpio_wake)(si_t *sih, uint8 *wake_mask, uint8 *cur_status, uint8 gci_gpio, in BCMINITFN()
1391 si_gci_gpio_chipcontrol(sih, gci_gpio, in BCMINITFN()
1394 si_gci_gpio_intmask(sih, gci_gpio, *wake_mask, *wake_mask); in BCMINITFN()
1395 si_gci_gpio_wakemask(sih, gci_gpio, *wake_mask, *wake_mask); in BCMINITFN()
1398 *cur_status = si_gci_gpio_status(sih, gci_gpio, in BCMINITFN()
1409 BCMPOSTTRAPFN(si_gci_config_wake_pin)(si_t *sih, uint8 gpio_n, uint8 wake_events, bool gci_gpio) in BCMPOSTTRAPFN()
1414 if (!gci_gpio) in BCMPOSTTRAPFN()
1495 uint8 gci_gpio = CC_GCI_GPIO_INVALID; /* DEVICE_WAKE GCI GPIO */ in si_enable_device_wake() local
1508 return gci_gpio; in si_enable_device_wake()
1529 gci_gpio = CC_GCI_GPIO_1; in si_enable_device_wake()
1533 si_gci_set_functionsel(sih, gci_gpio, CC_FNSEL_GCI0); in si_enable_device_wake()
1534 si_enable_gpio_wake(sih, wake_mask, cur_status, gci_gpio, in si_enable_device_wake()
1556 return gci_gpio; in si_enable_device_wake()
1597 si_gci_gpioint_handler_register(si_t *sih, uint8 gci_gpio, uint8 gpio_status, in si_gci_gpioint_handler_register() argument
1614 SI_MSG(("si_gci_gpioint_handler_register: gci_gpio is %d\n", gci_gpio)); in si_gci_gpioint_handler_register()
1615 if (gci_gpio >= SI_GPIO_MAX) { in si_gci_gpioint_handler_register()
1616 SI_ERROR(("isi_gci_gpioint_handler_register: Invalid GCI GPIO NUM %d\n", gci_gpio)); in si_gci_gpioint_handler_register()
1637 gci_i->gci_gpio = gci_gpio; in si_gci_gpioint_handler_register()
1677 if (gci_i->gci_gpio < 8) 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()
6931 bool gci_gpio) in si_gci_shif_config_wake_pin() argument
6940 if (!gci_gpio) { in si_gci_shif_config_wake_pin()
6973 if (!gci_gpio) { in si_gci_shif_config_wake_pin()