Home
last modified time | relevance | path

Searched refs:port_idx (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_access.c861 lm_status_t lm_set_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t mode_idx) in lm_set_led_mode() argument
867 switch (port_idx) { in lm_set_led_mode()
875 DbgMessage(NULL, FATAL, "lm_set_led_mode() unknown port index %d\n", port_idx); in lm_set_led_mode()
879 …(NULL, INFORM, "lm_set_led_mode() wrote to NIG_REG_LED_MODE (port %d) 0x%x\n", port_idx, mode_idx); in lm_set_led_mode()
891 lm_status_t lm_get_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t* mode_idx_ptr) in lm_get_led_mode() argument
897 switch (port_idx) { in lm_get_led_mode()
905 DbgMessage(NULL, FATAL, "lm_get_led_mode() unknown port index %d\n", port_idx); in lm_get_led_mode()
909 … INFORM, "lm_get_led_mode() read from NIG_REG_LED_MODE (port %d) 0x%x\n", port_idx, *mode_idx_ptr); in lm_get_led_mode()
922 lm_status_t lm_override_led_value(struct _lm_device_t *pdev, u32_t port_idx, u32_t led_idx, u32_t v… in lm_override_led_value() argument
927 u32_t emac_base = (port_idx) ? GRCBASE_EMAC1 : GRCBASE_EMAC0; in lm_override_led_value()
[all …]
H A Dlm_devinfo.c2425 u8_t port_idx = 0; in lm_get_shmem_sf_sriov_info() local
2439 for (port_idx = 0; port_idx < port_max; port_idx++) in lm_get_shmem_sf_sriov_info()
2441 offset = OFFSETOF(shmem_region_t,dev_info.port_hw_config[port_idx].pf_allocation); in lm_get_shmem_sf_sriov_info()
2455 if (port_idx == port) in lm_get_shmem_sf_sriov_info()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dlm.h1174 lm_set_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t mode_idx);
1177 lm_get_led_mode(struct _lm_device_t *pdev, u32_t port_idx, u32_t* mode_idx_ptr);
1180 lm_override_led_value(struct _lm_device_t *pdev, u32_t port_idx, u32_t led_idx, u32_t value);
1183 lm_blink_traffic_led(struct _lm_device_t *pdev, u32_t port_idx, u32_t rate);
1186 lm_get_led_status(struct _lm_device_t *pdev, u32_t port_idx, u32_t led_idx, u32_t* value_ptr);