Home
last modified time | relevance | path

Searched refs:pin_num (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c410 lm_status_t lm_gpio_read(struct _lm_device_t *pdev, u32_t pin_num, u32_t* value_ptr, u8_t port) in lm_gpio_read() argument
425 if (pin_num > MISC_REGISTERS_GPIO_3) in lm_gpio_read()
427 DbgMessage(pdev, FATAL , "Invalid pin_num GPIO %d\n", pin_num); in lm_gpio_read()
449 switch (pin_num) in lm_gpio_read()
471 switch (pin_num) in lm_gpio_read()
503 DbgMessage(NULL, INFORM, "lm_gpio_read: pin %d value is %x\n", pin_num, *value_ptr); in lm_gpio_read()
516 lm_status_t lm_gpio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t mode, u8_t port) in lm_gpio_write() argument
530 if (pin_num > MISC_REGISTERS_GPIO_3) in lm_gpio_write()
532 DbgMessage(pdev, FATAL , "lm_gpio_write: Invalid pin_num GPIO %d\n", pin_num); in lm_gpio_write()
548 gpio_shift = pin_num + in lm_gpio_write()
[all …]
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h1156 lm_gpio_read(struct _lm_device_t *pdev, u32_t pin_num, u32_t* value_ptr, u8_t port);
1159 lm_gpio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t value, u8_t port);
1165 lm_gpio_int_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t value, u8_t port);
1168 lm_spio_read(struct _lm_device_t *pdev, u32_t pin_num, u32_t* value_ptr);
1171 lm_spio_write(struct _lm_device_t *pdev, u32_t pin_num, u32_t value);