return BP_NOT_CAP;
}
-int bypass_status_clear(bpctl_dev_t * pbpctl_dev)
+int bypass_status_clear(bpctl_dev_t *pbpctl_dev)
{
bpctl_dev_t *pbpctl_dev_b = NULL;
return BP_NOT_CAP;
}
-int bypass_flag_status(bpctl_dev_t * pbpctl_dev)
+int bypass_flag_status(bpctl_dev_t *pbpctl_dev)
{
if ((pbpctl_dev->bp_caps & BP_CAP)) {
return BP_NOT_CAP;
}
-int bypass_flag_status_clear(bpctl_dev_t * pbpctl_dev)
+int bypass_flag_status_clear(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & BP_CAP) {
return BP_NOT_CAP;
}
-int bypass_change_status(bpctl_dev_t * pbpctl_dev)
+int bypass_change_status(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
return ret;
}
-int bypass_off_status(bpctl_dev_t * pbpctl_dev)
+int bypass_off_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & BP_CAP) {
return BP_NOT_CAP;
}
-static int bypass_status(bpctl_dev_t * pbpctl_dev)
+static int bypass_status(bpctl_dev_t *pbpctl_dev)
{
u32 ctrl_ext = 0;
if (pbpctl_dev->bp_caps & BP_CAP) {
return BP_NOT_CAP;
}
-int default_pwron_status(bpctl_dev_t * pbpctl_dev)
+int default_pwron_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & SW_CTL_CAP) {
return BP_NOT_CAP;
}
-static int default_pwroff_status(bpctl_dev_t * pbpctl_dev)
+static int default_pwroff_status(bpctl_dev_t *pbpctl_dev)
{
/*if ((!pbpctl_dev->bp_caps&BP_DIS_CAP)&&
return BP_NOT_CAP;
}
-int dis_bypass_cap_status(bpctl_dev_t * pbpctl_dev)
+int dis_bypass_cap_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & BP_DIS_CAP) {
return BP_NOT_CAP;
}
-int cmd_en_status(bpctl_dev_t * pbpctl_dev)
+int cmd_en_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & SW_CTL_CAP) {
return BP_NOT_CAP;
}
-int wdt_en_status(bpctl_dev_t * pbpctl_dev)
+int wdt_en_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & WD_CTL_CAP) {
return BP_NOT_CAP;
}
-int wdt_programmed(bpctl_dev_t * pbpctl_dev, int *timeout)
+int wdt_programmed(bpctl_dev_t *pbpctl_dev, int *timeout)
{
int ret = 0;
if (pbpctl_dev->bp_caps & WD_CTL_CAP) {
return ret;
}
-int bypass_support(bpctl_dev_t * pbpctl_dev)
+int bypass_support(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
return ret;
}
-int tap_support(bpctl_dev_t * pbpctl_dev)
+int tap_support(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
return ret;
}
-int normal_support(bpctl_dev_t * pbpctl_dev)
+int normal_support(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
return ret;
}
-int get_bp_prod_caps(bpctl_dev_t * pbpctl_dev)
+int get_bp_prod_caps(bpctl_dev_t *pbpctl_dev)
{
if ((pbpctl_dev->bp_caps & SW_CTL_CAP) &&
(pbpctl_dev->bp_ext_ver >= PXG2TBPI_VER))
}
-int tap_flag_status(bpctl_dev_t * pbpctl_dev)
+int tap_flag_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & TAP_STATUS_CAP) {
return BP_NOT_CAP;
}
-int tap_flag_status_clear(bpctl_dev_t * pbpctl_dev)
+int tap_flag_status_clear(bpctl_dev_t *pbpctl_dev)
{
uint32_t status_reg = 0;
if (pbpctl_dev->bp_caps & TAP_STATUS_CAP) {
return BP_NOT_CAP;
}
-int tap_change_status(bpctl_dev_t * pbpctl_dev)
+int tap_change_status(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
if (pbpctl_dev->bp_ext_ver >= PXG2TBPI_VER) {
return ret;
}
-int tap_off_status(bpctl_dev_t * pbpctl_dev)
+int tap_off_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & TAP_CAP) {
if (pbpctl_dev->bp_ext_ver >= PXG2TBPI_VER)
return BP_NOT_CAP;
}
-int tap_status(bpctl_dev_t * pbpctl_dev)
+int tap_status(bpctl_dev_t *pbpctl_dev)
{
u32 ctrl_ext = 0;
return BP_NOT_CAP;
}
-int default_pwron_tap_status(bpctl_dev_t * pbpctl_dev)
+int default_pwron_tap_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & TAP_PWUP_CTL_CAP) {
if (pbpctl_dev->bp_ext_ver >= PXG2TBPI_VER)
return BP_NOT_CAP;
}
-int dis_tap_cap_status(bpctl_dev_t * pbpctl_dev)
+int dis_tap_cap_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & TAP_PWUP_CTL_CAP) {
if (pbpctl_dev->bp_ext_ver >= PXG2TBPI_VER)
return BP_NOT_CAP;
}
-int disc_flag_status(bpctl_dev_t * pbpctl_dev)
+int disc_flag_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & DISC_CAP) {
return BP_NOT_CAP;
}
-int disc_flag_status_clear(bpctl_dev_t * pbpctl_dev)
+int disc_flag_status_clear(bpctl_dev_t *pbpctl_dev)
{
uint32_t status_reg = 0;
if (pbpctl_dev->bp_caps & DISC_CAP) {
return BP_NOT_CAP;
}
-int disc_change_status(bpctl_dev_t * pbpctl_dev)
+int disc_change_status(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
if (pbpctl_dev->bp_caps & DISC_CAP) {
return BP_NOT_CAP;
}
-int disc_off_status(bpctl_dev_t * pbpctl_dev)
+int disc_off_status(bpctl_dev_t *pbpctl_dev)
{
bpctl_dev_t *pbpctl_dev_b = NULL;
u32 ctrl_ext = 0;
return BP_NOT_CAP;
}
-static int disc_status(bpctl_dev_t * pbpctl_dev)
+static int disc_status(bpctl_dev_t *pbpctl_dev)
{
int ctrl = 0;
if (pbpctl_dev->bp_caps & DISC_CAP) {
return BP_NOT_CAP;
}
-int default_pwron_disc_status(bpctl_dev_t * pbpctl_dev)
+int default_pwron_disc_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & DISC_PWUP_CTL_CAP) {
if (pbpctl_dev->bp_ext_ver >= 0x8)
return BP_NOT_CAP;
}
-int dis_disc_cap_status(bpctl_dev_t * pbpctl_dev)
+int dis_disc_cap_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & DIS_DISC_CAP) {
if (pbpctl_dev->bp_ext_ver >= 0x8)
return BP_NOT_CAP;
}
-int disc_port_status(bpctl_dev_t * pbpctl_dev)
+int disc_port_status(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
bpctl_dev_t *pbpctl_dev_m;
return ret;
}
-int default_pwron_disc_port_status(bpctl_dev_t * pbpctl_dev)
+int default_pwron_disc_port_status(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
bpctl_dev_t *pbpctl_dev_m;
return ret;
}
-int wdt_exp_mode_status(bpctl_dev_t * pbpctl_dev)
+int wdt_exp_mode_status(bpctl_dev_t *pbpctl_dev)
{
if (pbpctl_dev->bp_caps & WD_CTL_CAP) {
if (pbpctl_dev->bp_ext_ver <= PXG2BPI_VER)