Searched refs:mod_abs (Results 1 - 4 of 4) sorted by relevance
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | octeon_eth.h | 44 bool mod_abs; /** True if module is absent */ member in struct:octeon_eth_info 54 * Called whenever mod_abs changes state 57 * @param mod_abs True if module is absent 61 int (*mod_abs_changed)(struct eth_device *dev, bool mod_abs); 119 * Registers a function to be called whenever a mod_abs change is detected. 126 bool mod_abs));
|
H A D | octeon_fdt.h | 222 * @param[out] mod_abs Set true if module is absent, false if present 226 int octeon_fdt_get_sfp_eeprom(const void *fdt, int mac_node, int *bus, int *addr, bool *mod_abs); 236 * @param[out] mod_abs Set true if module is absent, false if present 240 int octeon_fdt_get_qsfp_eeprom(const void *fdt, int mac_node, int *bus, int *addr, bool *mod_abs);
|
H A D | cvmx-helper-fdt.h | 96 /** SFP mod_abs/QSFP mod_prs GPIO descriptor */ 97 struct gpio_desc mod_abs; member in struct:cvmx_fdt_sfp_info 111 /** Last mod_abs value */ 115 /** Function to call to check mod_abs */ 119 /** Function to call when mod_abs changes */
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-helper-sfp.c | 687 * Function called to check and return the status of the mod_abs pin or 701 if (!dm_gpio_is_valid(&sfp->mod_abs)) { 702 debug("%s: Error: mod_abs not set for %s\n", __func__, 706 val = dm_gpio_get_value(&sfp->mod_abs); 707 debug("%s(%s, %p) mod_abs: %d\n", __func__, sfp->name, data, val); 718 debug("%s(%s (%p)): Last mod_abs: %d, current: %d, changed: %p, rc: %d, next: %p, caller: %p\n", 748 if (dm_gpio_is_valid(&sfp->mod_abs)) { 750 val = dm_gpio_get_value(&sfp->mod_abs); 767 * Registers a function to be called whenever the mod_abs/mod_pres signal 771 * @param mod_abs_changed Function called whenever mod_abs i 1178 int mod_abs; local [all...] |
Completed in 49 milliseconds