Lines Matching refs:enabled

60 	vsc9953_l2sw.port[port_no].enabled = 1;  in vsc9953_port_enable()
68 vsc9953_l2sw.port[port_no].enabled = 0; in vsc9953_port_disable()
337 if (!vsc9953_l2sw.port[port_nr].enabled) { in vsc9953_port_vlan_pvid_get()
361 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_pvid_set()
392 static void vsc9953_port_vlan_aware_set(int port_no, int enabled) in vsc9953_port_vlan_aware_set() argument
397 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_aware_set()
405 if (enabled) in vsc9953_port_vlan_aware_set()
414 static void vsc9953_port_all_vlan_aware_set(int enabled) in vsc9953_port_all_vlan_aware_set() argument
419 vsc9953_port_vlan_aware_set(i, enabled); in vsc9953_port_all_vlan_aware_set()
429 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_popcnt_set()
529 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_egr_untag_get()
595 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_vlan_egr_untag_set()
658 static void vsc9953_port_status_set(int port_no, u8 enabled) in vsc9953_port_status_set() argument
663 if (!vsc9953_l2sw.port[port_no].enabled) in vsc9953_port_status_set()
669 if (enabled) in vsc9953_port_status_set()
694 u8 enabled; in vsc9953_port_config_show() local
702 enabled = vsc9953_l2sw.port[port_no].enabled && in vsc9953_port_config_show()
723 printf("%8s ", enabled == 1 ? "enabled" : "disabled"); in vsc9953_port_config_show()
757 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_statistics_show()
952 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_statistics_clear()
977 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_learn_mode_set()
1012 if (!vsc9953_l2sw.port[port_no].enabled) { in vsc9953_port_learn_mode_get()
1510 static void vsc9953_port_ingress_filtering_set(int port_no, int enabled) in vsc9953_port_ingress_filtering_set() argument
1517 if (enabled) in vsc9953_port_ingress_filtering_set()
1757 u8 enabled; in vsc9953_port_status_key_func() local
1762 enabled = 1; in vsc9953_port_status_key_func()
1765 enabled = 0; in vsc9953_port_status_key_func()
1774 vsc9953_port_status_set(parsed_cmd->port, enabled); in vsc9953_port_status_key_func()
1777 vsc9953_port_status_set(i, enabled); in vsc9953_port_status_key_func()
2290 int enabled; in vsc9953_ingr_fltr_show_key_func() local
2298 enabled = vsc9953_port_ingress_filtering_get(parsed_cmd->port); in vsc9953_ingr_fltr_show_key_func()
2299 printf("%7d\t%18s\n", parsed_cmd->port, enabled ? "enable" : in vsc9953_ingr_fltr_show_key_func()
2303 enabled = vsc9953_port_ingress_filtering_get(i); in vsc9953_ingr_fltr_show_key_func()
2304 printf("%7d\t%18s\n", parsed_cmd->port, enabled ? in vsc9953_ingr_fltr_show_key_func()
2660 if (!vsc9953_l2sw.port[i].enabled) in vsc9953_init()