Header file for the LTC4296 Driver. More...
Go to the source code of this file.
Classes | |
struct | ltc4296_dev |
Device Structure. More... | |
struct | ltc4296_init_param |
Initialization Structure. More... | |
Functions | |
int | ltc4296_reg_write (struct ltc4296_dev *dev, uint8_t reg, uint16_t data) |
Register Write. | |
int | ltc4296_reg_read (struct ltc4296_dev *dev, uint8_t reg, uint16_t *data) |
Register Read. | |
int | ltc4296_reset (struct ltc4296_dev *dev) |
Software reset. | |
int | ltc4296_get_port_addr (enum ltc4296_port port_no, enum ltc4296_port_reg_offset_e port_offset, uint8_t *port_addr) |
Get port address. | |
int | ltc4296_clear_global_faults (struct ltc4296_dev *dev) |
Clear global faults. | |
int | ltc4296_clear_ckt_breaker (struct ltc4296_dev *dev) |
Clear circuit break faults. | |
int | ltc4296_read_global_faults (struct ltc4296_dev *dev, uint16_t *g_events) |
Read global faults. | |
int | ltc4296_unlock (struct ltc4296_dev *dev) |
Device unlock. | |
int | ltc4296_is_locked (struct ltc4296_dev *dev, enum ltc4296_state *state) |
Check device state. | |
int | ltc4296_read_gadc (struct ltc4296_dev *dev, int *port_voltage_mv) |
Read global ADC. | |
int | ltc4296_set_gadc_vin (struct ltc4296_dev *dev) |
Set the global ADC to measure voltage. | |
int | ltc4296_is_vin_valid (struct ltc4296_dev *dev, int port_vin_mv, enum ltc4296_board_class ltcboard_class, bool *vin_valid) |
Check if input voltage is valid. | |
int | ltc4296_is_vout_valid (struct ltc4296_dev *dev, int port_vout_mv, enum ltc4296_board_class ltcboard_class, bool *vout_valid) |
Check if output voltage is valid. | |
int | ltc4296_disable_gadc (struct ltc4296_dev *dev) |
Disable the global ADC. | |
int | ltc4296_read_port_events (struct ltc4296_dev *dev, enum ltc4296_port port_no, uint16_t *port_events) |
Read Port Events. | |
int | ltc4296_clear_port_events (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Clear Port Events. | |
int | ltc4296_read_port_status (struct ltc4296_dev *dev, enum ltc4296_port port_no, uint16_t *port_status) |
Read Port Status. | |
int | ltc4296_is_port_disabled (struct ltc4296_dev *dev, enum ltc4296_port port_no, enum ltc4296_port_status *port_chk) |
Check if port is enabled/disabled. | |
int | ltc4296_port_disable (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Check if port is disabled. | |
int | ltc4296_is_port_deliver_pwr (struct ltc4296_dev *dev, enum ltc4296_port port_no, enum ltc4296_pse_status *pwr_status) |
Check if port delivers power. | |
int | ltc4296_is_port_pwr_stable (struct ltc4296_dev *dev, enum ltc4296_port port_no, bool *pwr_status) |
Check if port has stable power. | |
int | ltc4296_read_port_adc (struct ltc4296_dev *dev, enum ltc4296_port port_no, int *port_i_out_ma) |
Read port ADC. | |
int | ltc4296_port_prebias (struct ltc4296_dev *dev, enum ltc4296_port port_no, enum ltc4296_config mode) |
Stimulate valid wake-up signature for a port. | |
int | ltc4296_port_en (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Enable specific port. | |
int | ltc4296_port_en_and_classification (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Enable specific port and classify. | |
int | ltc4296_set_port_mfvs (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Set port to maintain full voltage signature. | |
int | ltc4296_set_port_pwr (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Set port to power mode. | |
int | ltc4296_force_port_pwr (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Force port to power mode. | |
int | ltc4296_port_pwr_available (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Set port is able to source power. | |
int | ltc4296_set_gadc_vout (struct ltc4296_dev *dev, enum ltc4296_port port_no) |
Configure Global ADC to read output voltage. | |
int | ltc4296_print_global_faults (uint16_t g_events) |
Print global faults. | |
int | ltc4296_print_port_events (enum ltc4296_port port_no, uint16_t port_events) |
Print port events. | |
int | ltc4296_chk_global_events (struct ltc4296_dev *dev) |
Check global events. | |
int | ltc4296_chk_port_events (struct ltc4296_dev *dev, enum ltc4296_port ltc4296_port) |
int | ltc4296_init (struct ltc4296_dev **device, struct ltc4296_init_param *init_param) |
Device initialization. | |
int | ltc4296_remove (struct ltc4296_dev *dev) |
Free allocated resources. | |
Header file for the LTC4296 Driver.
Copyright 2024(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define LTC4296_ADC_OFFSET 2049 |
#define LTC4296_COMMAND_FAULT_MSK NO_OS_BIT(3) |
#define LTC4296_DET_VHIGH_MSK NO_OS_BIT(13) |
#define LTC4296_DET_VLOW_MSK NO_OS_BIT(12) |
#define LTC4296_DISABLE_DETECTION_PULLUP_MSK NO_OS_BIT(12) |
#define LTC4296_DOWNSTREAM_WAKEUP_DISABLE_MSK NO_OS_BIT(3) |
#define LTC4296_END_CLASSIFICATION_MSK NO_OS_BIT(14) |
#define LTC4296_FOLDBACK_DISABLE_MSK NO_OS_BIT(10) |
#define LTC4296_GADC_MISSED_MSK NO_OS_BIT(13) |
#define LTC4296_GADC_MSK NO_OS_GENMASK(11, 0) |
#define LTC4296_GADC_NEW_MSK NO_OS_BIT(12) |
#define LTC4296_GADC_SAMPLE_MODE_MSK NO_OS_GENMASK(6, 5) |
#define LTC4296_GADC_SEL_MSK NO_OS_GENMASK(4, 0) |
#define LTC4296_HW_EN_MASK_MSK NO_OS_BIT(1) |
#define LTC4296_IGAIN 1 / 10 |
#define LTC4296_INVALID_SIGNATURE_MSK NO_OS_BIT(8) |
#define LTC4296_LOCK_KEY 0xA0 |
#define LTC4296_LOW_CKT_BRK_FAULT_MSK NO_OS_BIT(0) |
#define LTC4296_LSNS_FORWARD_FAULT_MSK NO_OS_BIT(1) |
#define LTC4296_LSNS_REVERSE_FAULT_MSK NO_OS_BIT(0) |
#define LTC4296_MASK_LOWFAULT_MSK NO_OS_BIT(5) |
#define LTC4296_MAX_PORTS 5 |
#define LTC4296_MEMORY_FAULT_MSK NO_OS_BIT(1) |
#define LTC4296_MFVS_THRESHOLD_MSK NO_OS_GENMASK(7, 0) |
#define LTC4296_MFVS_TIMEOUT_MSK NO_OS_BIT(4) |
#define LTC4296_MISSED_MSK NO_OS_BIT(13) |
#define LTC4296_NEW_MSK NO_OS_BIT(12) |
#define LTC4296_NUMPORTS_MSK NO_OS_GENMASK(4, 0) |
#define LTC4296_OVERLOAD_DETECTED_IPOWERED_MSK NO_OS_BIT(5) |
#define LTC4296_OVERLOAD_DETECTED_ISLEEP_MSK NO_OS_BIT(6) |
#define LTC4296_OVERLOAD_HELD_MSK NO_OS_BIT(8) |
#define LTC4296_PAD_AUTO_MSK NO_OS_BIT(3) |
#define LTC4296_PAD_WAKEUP_DRIVE_MSK NO_OS_BIT(1) |
#define LTC4296_PAD_WAKEUP_MSK NO_OS_BIT(2) |
#define LTC4296_PD_WAKEUP_MSK NO_OS_BIT(2) |
#define LTC4296_PEC_FAULT_MSK NO_OS_BIT(2) |
#define LTC4296_PG_OUT0_MSK NO_OS_BIT(4) |
#define LTC4296_PG_OUT1_MSK NO_OS_BIT(5) |
#define LTC4296_PG_OUT2_MSK NO_OS_BIT(6) |
#define LTC4296_PG_OUT3_MSK NO_OS_BIT(7) |
#define LTC4296_PG_OUT4_MSK NO_OS_BIT(8) |
#define LTC4296_PI_DETECTING_MSK NO_OS_BIT(5) |
#define LTC4296_PI_DISCHARGE_EN_MSK NO_OS_BIT(3) |
#define LTC4296_PI_POWERED_MSK NO_OS_BIT(4) |
#define LTC4296_PI_PREBIASED_MSK NO_OS_BIT(6) |
#define LTC4296_PI_SLEEPING_MSK NO_OS_BIT(7) |
#define LTC4296_POWER_STABLE_HI_MSK NO_OS_BIT(11) |
#define LTC4296_POWER_STABLE_LO_MSK NO_OS_BIT(10) |
#define LTC4296_POWER_STABLE_MSK NO_OS_BIT(9) |
#define LTC4296_PREBIAS_OVERRIDE_GOOD_MSK NO_OS_BIT(8) |
#define LTC4296_PSE_STATUS_MSK NO_OS_GENMASK(2, 0) |
#define LTC4296_REFRESH_MSK NO_OS_BIT(1) |
#define LTC4296_REG_GADCCFG 0x0A |
#define LTC4296_REG_GADCDAT 0x0B |
#define LTC4296_REG_GCAP 0x06 |
#define LTC4296_REG_GCFG 0x09 |
#define LTC4296_REG_GCMD 0x08 |
#define LTC4296_REG_GFLTEV 0x02 |
#define LTC4296_REG_GFLTMSK 0x03 |
#define LTC4296_REG_GIOST 0x07 |
#define LTC4296_REG_P0ADCCFG 0x15 |
#define LTC4296_REG_P0ADCDAT 0x16 |
#define LTC4296_REG_P0CFG0 0x13 |
#define LTC4296_REG_P0CFG1 0x14 |
#define LTC4296_REG_P0EV 0x10 |
#define LTC4296_REG_P0SELFTEST 0x17 |
#define LTC4296_REG_P0ST 0x12 |
#define LTC4296_REG_P1ADCCFG 0x25 |
#define LTC4296_REG_P1ADCDAT 0x26 |
#define LTC4296_REG_P1CFG0 0x23 |
#define LTC4296_REG_P1CFG1 0x24 |
#define LTC4296_REG_P1EV 0x20 |
#define LTC4296_REG_P1SELFTEST 0x27 |
#define LTC4296_REG_P1ST 0x22 |
#define LTC4296_REG_P2ADCCFG 0x35 |
#define LTC4296_REG_P2ADCDAT 0x36 |
#define LTC4296_REG_P2CFG0 0x33 |
#define LTC4296_REG_P2CFG1 0x34 |
#define LTC4296_REG_P2EV 0x30 |
#define LTC4296_REG_P2SELFTEST 0x37 |
#define LTC4296_REG_P2ST 0x32 |
#define LTC4296_REG_P3ADCCFG 0x45 |
#define LTC4296_REG_P3ADCDAT 0x46 |
#define LTC4296_REG_P3CFG0 0x43 |
#define LTC4296_REG_P3CFG1 0x44 |
#define LTC4296_REG_P3EV 0x40 |
#define LTC4296_REG_P3SELFTEST 0x47 |
#define LTC4296_REG_P3ST 0x42 |
#define LTC4296_REG_P4ADCCFG 0x55 |
#define LTC4296_REG_P4ADCDAT 0x56 |
#define LTC4296_REG_P4CFG0 0x53 |
#define LTC4296_REG_P4CFG1 0x54 |
#define LTC4296_REG_P4EV 0x50 |
#define LTC4296_REG_P4SELFTEST 0x57 |
#define LTC4296_REG_P4ST 0x52 |
#define LTC4296_RESET_CODE 0x73 |
#define LTC4296_SCCP_SUPPORT_MSK NO_OS_BIT(6) |
#define LTC4296_SET_CLASSIFICATION_MODE_MSK NO_OS_BIT(13) |
#define LTC4296_SIG_OVERRIDE_BAD_MSK NO_OS_BIT(1) |
#define LTC4296_SIG_OVERRIDE_GOOD_MSK NO_OS_BIT(0) |
#define LTC4296_SOFT_START_DISABLE_MSK NO_OS_BIT(9) |
#define LTC4296_SOURCE_CURRENT_MSK NO_OS_GENMASK(11, 0) |
#define LTC4296_SPI_READ 0x01 |
#define LTC4296_SPI_WRITE 0x00 |
#define LTC4296_SW_EN_MSK NO_OS_BIT(0) |
#define LTC4296_SW_INRUSH_MSK NO_OS_BIT(15) |
#define LTC4296_SW_POWER_AVAILABLE_MSK NO_OS_BIT(5) |
#define LTC4296_SW_PSE_READY_MSK NO_OS_BIT(6) |
#define LTC4296_SW_PSE_WAKEUP_MSK NO_OS_BIT(2) |
#define LTC4296_SW_RESET_MSK NO_OS_GENMASK(15, 8) |
#define LTC4296_SW_VIN_PGOOD_MSK NO_OS_BIT(0) |
#define LTC4296_TDET_DISABLE_MSK NO_OS_BIT(11) |
#define LTC4296_TINRUSH_TIMER_DONE_MSK NO_OS_BIT(3) |
#define LTC4296_TINRUSH_TIMER_MSK NO_OS_GENMASK(3, 2) |
#define LTC4296_TLIM_DISABLE_MSK NO_OS_BIT(4) |
#define LTC4296_TLIM_TIMER_SLEEP_MSK NO_OS_GENMASK(3, 2) |
#define LTC4296_TLIM_TIMER_TOP_MSK NO_OS_GENMASK(7, 6) |
#define LTC4296_TMFVDO_TIMER_DISABLE_MSK NO_OS_BIT(7) |
#define LTC4296_TOD_TRESTART_TIMER_MSK NO_OS_GENMASK(5, 4) |
#define LTC4296_TOFF_TIMER_DISABLE_MSK NO_OS_BIT(8) |
#define LTC4296_TOFF_TIMER_DONE_MSK NO_OS_BIT(7) |
#define LTC4296_UNLOCK_KEY 0x05 |
#define LTC4296_UPSTREAM_WAKEUP_DISABLE_MSK NO_OS_BIT(4) |
#define LTC4296_UVLO_DIGITAL_MSK NO_OS_BIT(4) |
#define LTC4296_VALID_SIGNATURE_MSK NO_OS_BIT(9) |
#define LTC4296_VGAIN 35230 / 1000 |
#define LTC4296_VMAX 1 |
#define LTC4296_VMIN 0 |
#define LTC4296_WAKE_FWD_SUPPORT_MSK NO_OS_BIT(5) |
#define LTC4296_WRITE_PROTECT_MSK NO_OS_GENMASK(7, 0) |
#define RTESTLOAD 200 /*(ohm)*/ |
enum adi_ltc_result |
Device Result Codes.
enum ltc4296_board_class |
enum ltc4296_config |
enum ltc4296_port |
enum ltc4296_port_status |
enum ltc4296_pse_status |
enum ltc4296_state |
int ltc4296_chk_global_events | ( | struct ltc4296_dev * | dev | ) |
Check global events.
Check global events
dev | - The device structure |
int ltc4296_chk_port_events | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | ltc4296_port ) |
Check port events
int ltc4296_clear_ckt_breaker | ( | struct ltc4296_dev * | dev | ) |
Clear circuit break faults.
Clear circuit break faults
dev | - The device structure |
int ltc4296_clear_global_faults | ( | struct ltc4296_dev * | dev | ) |
Clear global faults.
Clear global faults
dev | - The device structure |
int ltc4296_clear_port_events | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Clear Port Events.
Clear Port Events
dev | - The device structure |
port_no | - The port number |
int ltc4296_disable_gadc | ( | struct ltc4296_dev * | dev | ) |
Disable the global ADC.
Disable the global ADC
dev | - The device structure |
int ltc4296_force_port_pwr | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Force port to power mode.
Force port to power mode.
dev | - The device structure |
port_no | - The port number |
int ltc4296_get_port_addr | ( | enum ltc4296_port | port_no, |
enum ltc4296_port_reg_offset_e | port_offset, | ||
uint8_t * | port_addr ) |
Get port address.
Get port address
port_no | - The port number |
port_offset | - The port offset |
port_addr | - The port address |
int ltc4296_init | ( | struct ltc4296_dev ** | device, |
struct ltc4296_init_param * | init_param ) |
Device initialization.
Device initialization
device | - The device structure |
init_param | - The initialization parameters |
int ltc4296_is_locked | ( | struct ltc4296_dev * | dev, |
enum ltc4296_state * | state ) |
Check device state.
Check device state
dev | - The device structure |
state | - The state of the device |
int ltc4296_is_port_deliver_pwr | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
enum ltc4296_pse_status * | pwr_status ) |
Check if port delivers power.
Check if port delivers power
dev | - The device structure |
port_no | - The port number |
pwr_status | - The PSE Status of the port |
int ltc4296_is_port_disabled | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
enum ltc4296_port_status * | port_chk ) |
Check if port is enabled/disabled.
Check if port is enabled/disabled
dev | - The device structure |
port_no | - The port number |
port_chk | - The port is enabled/disabled |
int ltc4296_is_port_pwr_stable | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
bool * | pwr_status ) |
Check if port has stable power.
Check if port has stable power
dev | - The device structure |
port_no | - The port number |
pwr_status | - The power status |
int ltc4296_is_vin_valid | ( | struct ltc4296_dev * | dev, |
int | port_vin_mv, | ||
enum ltc4296_board_class | ltcboard_class, | ||
bool * | vin_valid ) |
Check if input voltage is valid.
Check if input voltage is valid
dev | - The device structure |
port_vin_mv | - The input voltage in mV |
ltcboard_class | - The board class |
vin_valid | - Valid input voltage |
int ltc4296_is_vout_valid | ( | struct ltc4296_dev * | dev, |
int | port_vout_mv, | ||
enum ltc4296_board_class | ltcboard_class, | ||
bool * | vout_valid ) |
Check if output voltage is valid.
Check if output voltage is valid.
dev | - The device structure |
port_vout_mv | - The output voltage in mV |
ltcboard_class | - The board class |
vout_valid | - Valid input voltage |
int ltc4296_port_disable | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Check if port is disabled.
Check if port is disabled
dev | - The device structure |
port_no | - The port number |
int ltc4296_port_en | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Enable specific port.
Enable specific port
dev | - The device structure |
port_no | - The port number |
int ltc4296_port_en_and_classification | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Enable specific port and classify.
Enable specific port and classify
dev | - The device structure |
port_no | - The port number |
int ltc4296_port_prebias | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
enum ltc4296_config | mode ) |
Stimulate valid wake-up signature for a port.
Stimulate valid wake-up signature for a port
dev | - The device structure |
port_no | - The port number |
mode | - The device configuration mode |
int ltc4296_port_pwr_available | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Set port is able to source power.
Set port is able to source power.
dev | - The device structure |
port_no | - The port number |
int ltc4296_print_global_faults | ( | uint16_t | g_events | ) |
Print global faults.
Print global faults
g_events | - The global events data |
int ltc4296_print_port_events | ( | enum ltc4296_port | port_no, |
uint16_t | port_events ) |
Print port events.
Print port events
port_no | - The port number |
port_events | - The port events data |
int ltc4296_read_gadc | ( | struct ltc4296_dev * | dev, |
int * | port_voltage_mv ) |
Read global ADC.
Read global ADC
dev | - The device structure |
port_voltage_mv | - The port voltage in mV |
int ltc4296_read_global_faults | ( | struct ltc4296_dev * | dev, |
uint16_t * | g_events ) |
Read global faults.
Read global faults
dev | - The device structure |
g_events | - The global events data read |
int ltc4296_read_port_adc | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
int * | port_i_out_ma ) |
Read port ADC.
Read port ADC
dev | - The device structure |
port_no | - The port number |
port_i_out_ma | - The port current in mA. |
int ltc4296_read_port_events | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
uint16_t * | port_events ) |
Read Port Events.
Read Port Events
dev | - The device structure |
port_no | - The port number |
port_events | - The port events read |
int ltc4296_read_port_status | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no, | ||
uint16_t * | port_status ) |
Read Port Status.
Read Port Status
dev | - The device structure |
port_no | - The port number |
port_status | - The port status |
int ltc4296_reg_read | ( | struct ltc4296_dev * | dev, |
uint8_t | reg, | ||
uint16_t * | data ) |
Register Read.
Register Read
dev | - The device structure |
reg | - The register value |
data | - The data read from the device. |
int ltc4296_reg_write | ( | struct ltc4296_dev * | dev, |
uint8_t | reg, | ||
uint16_t | data ) |
Register Write.
Register Write
dev | - The device structure |
reg | - The register value |
data | - The data written to the device |
int ltc4296_remove | ( | struct ltc4296_dev * | dev | ) |
Free allocated resources.
Free allocated resources
dev | - The device structure |
int ltc4296_reset | ( | struct ltc4296_dev * | dev | ) |
Software reset.
Register Write
dev | - The device structure |
int ltc4296_set_gadc_vin | ( | struct ltc4296_dev * | dev | ) |
Set the global ADC to measure voltage.
Set the global ADC to measure voltage
dev | - The device structure |
int ltc4296_set_gadc_vout | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Configure Global ADC to read output voltage.
Configure Global ADC to read output voltage
dev | - The device structure |
port_no | - The port number |
int ltc4296_set_port_mfvs | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Set port to maintain full voltage signature.
Set port to maintain full voltage signature.
dev | - The device structure |
port_no | - The port number |
int ltc4296_set_port_pwr | ( | struct ltc4296_dev * | dev, |
enum ltc4296_port | port_no ) |
Set port to power mode.
Set port to power mode.
dev | - The device structure |
port_no | - The port number |
int ltc4296_unlock | ( | struct ltc4296_dev * | dev | ) |
Device unlock.
Device unlock
dev | - The device structure |