Searched refs:SWNODE_GPIO (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 47 swnodes[SWNODE_GPIO] = NODE_PROP(nodes->gpio_name, nodes->gpio_props); in txgbe_swnodes_register() 48 nodes->gpio0_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 0, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register() 49 nodes->gpio1_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 1, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register() 50 nodes->gpio2_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 2, GPIO_ACTIVE_LOW); in txgbe_swnodes_register() 51 nodes->gpio3_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 3, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register() 52 nodes->gpio4_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 4, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register() 53 nodes->gpio5_ref[0] = SOFTWARE_NODE_REFERENCE(&swnodes[SWNODE_GPIO], 5, GPIO_ACTIVE_HIGH); in txgbe_swnodes_register() 76 nodes->group[SWNODE_GPIO] = &swnodes[SWNODE_GPIO]; in txgbe_swnodes_register() 519 gc->fwnode = software_node_fwnode(txgbe->nodes.group[SWNODE_GPIO]); in txgbe_gpio_init()
|
H A D | txgbe_type.h | 152 SWNODE_GPIO = 0, enumerator
|