return ctrl_value;
}
-int pulse_get2_fn(bpctl_dev_t * pbpctl_dev)
+int pulse_get2_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0, ctrl_value = 0;
if (!pbpctl_dev)
return ctrl_value;
}
-int pulse_get1_fn(bpctl_dev_t * pbpctl_dev)
+int pulse_get1_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0, ctrl_value = 0;
if (!pbpctl_dev)
return ctrl_value;
}
-int gpio6_set_fn(bpctl_dev_t * pbpctl_dev)
+int gpio6_set_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0;
return 0;
}
-int gpio7_set_fn(bpctl_dev_t * pbpctl_dev)
+int gpio7_set_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0;
return 0;
}
-int gpio7_clear_fn(bpctl_dev_t * pbpctl_dev)
+int gpio7_clear_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0;
return 0;
}
-int gpio6_clear_fn(bpctl_dev_t * pbpctl_dev)
+int gpio6_clear_fn(bpctl_dev_t *pbpctl_dev)
{
uint32_t ctrl_ext = 0;
}
#endif /*BYPASS_DEBUG */
-static bpctl_dev_t *get_status_port_fn(bpctl_dev_t * pbpctl_dev)
+static bpctl_dev_t *get_status_port_fn(bpctl_dev_t *pbpctl_dev)
{
int idx_dev = 0;
return NULL;
}
-static bpctl_dev_t *get_master_port_fn(bpctl_dev_t * pbpctl_dev)
+static bpctl_dev_t *get_master_port_fn(bpctl_dev_t *pbpctl_dev)
{
int idx_dev = 0;
/**************INTEL API***************/
/**************************************/
-static void write_data_port_int(bpctl_dev_t * pbpctl_dev,
+static void write_data_port_int(bpctl_dev_t *pbpctl_dev,
unsigned char ctrl_value)
{
uint32_t value;
}
-static int write_data_int(bpctl_dev_t * pbpctl_dev, unsigned char value)
+static int write_data_int(bpctl_dev_t *pbpctl_dev, unsigned char value)
{
bpctl_dev_t *pbpctl_dev_b = NULL;
return 0;
}
-static int wdt_pulse_int(bpctl_dev_t * pbpctl_dev)
+static int wdt_pulse_int(bpctl_dev_t *pbpctl_dev)
{
if ((atomic_read(&pbpctl_dev->wdt_busy)) == 1)
/*************************************/
/* CMND_ON 0x4 (100)*/
-int cmnd_on(bpctl_dev_t * pbpctl_dev)
+int cmnd_on(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
}
/* CMND_OFF 0x2 (10)*/
-int cmnd_off(bpctl_dev_t * pbpctl_dev)
+int cmnd_off(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
}
/* BYPASS_ON (0xa)*/
-int bypass_on(bpctl_dev_t * pbpctl_dev)
+int bypass_on(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
}
/* BYPASS_OFF (0x8 111)*/
-int bypass_off(bpctl_dev_t * pbpctl_dev)
+int bypass_off(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
}
/* TAP_OFF (0x9)*/
-int tap_off(bpctl_dev_t * pbpctl_dev)
+int tap_off(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
if ((pbpctl_dev->bp_caps & TAP_CAP)
}
/* TAP_ON (0xb)*/
-int tap_on(bpctl_dev_t * pbpctl_dev)
+int tap_on(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
if ((pbpctl_dev->bp_caps & TAP_CAP)
}
/* DISC_OFF (0x9)*/
-int disc_off(bpctl_dev_t * pbpctl_dev)
+int disc_off(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
if ((pbpctl_dev->bp_caps & DISC_CAP) && (pbpctl_dev->bp_ext_ver >= 0x8)) {
}
/* DISC_ON (0xb)*/
-int disc_on(bpctl_dev_t * pbpctl_dev)
+int disc_on(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
if ((pbpctl_dev->bp_caps & DISC_CAP) && (pbpctl_dev->bp_ext_ver >= 0x8)) {
}
/* DISC_PORT_ON */
-int disc_port_on(bpctl_dev_t * pbpctl_dev)
+int disc_port_on(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
bpctl_dev_t *pbpctl_dev_m;
}
/* DISC_PORT_OFF */
-int disc_port_off(bpctl_dev_t * pbpctl_dev)
+int disc_port_off(bpctl_dev_t *pbpctl_dev)
{
int ret = 0;
bpctl_dev_t *pbpctl_dev_m;
}
/*TWO_PORT_LINK_HW_EN (0xe)*/
-int tpl_hw_on(bpctl_dev_t * pbpctl_dev)
+int tpl_hw_on(bpctl_dev_t *pbpctl_dev)
{
int ret = 0, ctrl = 0;
bpctl_dev_t *pbpctl_dev_b = NULL;
}
/*TWO_PORT_LINK_HW_DIS (0xc)*/
-int tpl_hw_off(bpctl_dev_t * pbpctl_dev)
+int tpl_hw_off(bpctl_dev_t *pbpctl_dev)
{
int ret = 0, ctrl = 0;
bpctl_dev_t *pbpctl_dev_b = NULL;
}
/* WDT_OFF (0x6 110)*/
-int wdt_off(bpctl_dev_t * pbpctl_dev)
+int wdt_off(bpctl_dev_t *pbpctl_dev)
{
int ret = BP_NOT_CAP;
static unsigned int
wdt_val_array[] = { 1000, 1500, 2000, 3000, 4000, 8000, 16000, 32000, 0 };
-int wdt_on(bpctl_dev_t * pbpctl_dev, unsigned int timeout)
+int wdt_on(bpctl_dev_t *pbpctl_dev, unsigned int timeout)
{
if (pbpctl_dev->bp_caps & WD_CTL_CAP) {
return BP_NOT_CAP;
}
-void bp75_put_hw_semaphore_generic(bpctl_dev_t * pbpctl_dev)
+void bp75_put_hw_semaphore_generic(bpctl_dev_t *pbpctl_dev)
{
u32 swsm;
BPCTL_WRITE_REG(pbpctl_dev, SWSM, swsm);
}
-s32 bp75_get_hw_semaphore_generic(bpctl_dev_t * pbpctl_dev)
+s32 bp75_get_hw_semaphore_generic(bpctl_dev_t *pbpctl_dev)
{
u32 swsm;
s32 ret_val = 0;
return ret_val;
}
-static void bp75_release_phy(bpctl_dev_t * pbpctl_dev)
+static void bp75_release_phy(bpctl_dev_t *pbpctl_dev)
{
u16 mask = BPCTLI_SWFW_PHY0_SM;
u32 swfw_sync;
bp75_put_hw_semaphore_generic(pbpctl_dev);
}
-static s32 bp75_acquire_phy(bpctl_dev_t * pbpctl_dev)
+static s32 bp75_acquire_phy(bpctl_dev_t *pbpctl_dev)
{
u16 mask = BPCTLI_SWFW_PHY0_SM;
u32 swfw_sync;
return ret_val;
}
-s32 bp75_read_phy_reg_mdic(bpctl_dev_t * pbpctl_dev, u32 offset, u16 * data)
+s32 bp75_read_phy_reg_mdic(bpctl_dev_t *pbpctl_dev, u32 offset, u16 *data)
{
u32 i, mdic = 0;
s32 ret_val = 0;
return ret_val;
}
-s32 bp75_write_phy_reg_mdic(bpctl_dev_t * pbpctl_dev, u32 offset, u16 data)
+s32 bp75_write_phy_reg_mdic(bpctl_dev_t *pbpctl_dev, u32 offset, u16 data)
{
u32 i, mdic = 0;
s32 ret_val = 0;
return ret_val;
}
-static s32 bp75_read_phy_reg(bpctl_dev_t * pbpctl_dev, u32 offset, u16 * data)
+static s32 bp75_read_phy_reg(bpctl_dev_t *pbpctl_dev, u32 offset, u16 *data)
{
s32 ret_val = 0;