Lines Matching refs:value
65 obj_args[0].integer.value = link; in hns_dsaf_acpi_ledctrl_by_port()
67 obj_args[1].integer.value = port; in hns_dsaf_acpi_ledctrl_by_port()
69 obj_args[2].integer.value = act; in hns_dsaf_acpi_ledctrl_by_port()
94 obj_args[0].integer.value = locate; in hns_dsaf_acpi_locate_ledctrl_by_port()
96 obj_args[1].integer.value = port; in hns_dsaf_acpi_locate_ledctrl_by_port()
117 u8 value; in hns_cpld_set_led() local
132 value = mac_cb->cpld_led_value; in hns_cpld_set_led()
135 dsaf_set_bit(value, DSAF_LED_LINK_B, link_status); in hns_cpld_set_led()
136 dsaf_set_field(value, DSAF_LED_SPEED_M, in hns_cpld_set_led()
138 dsaf_set_bit(value, DSAF_LED_DATA_B, data); in hns_cpld_set_led()
140 if (value != mac_cb->cpld_led_value) { in hns_cpld_set_led()
142 mac_cb->cpld_ctrl_reg, value); in hns_cpld_set_led()
143 mac_cb->cpld_led_value = value; in hns_cpld_set_led()
146 value = (mac_cb->cpld_led_value) & (0x1 << DSAF_LED_ANCHOR_B); in hns_cpld_set_led()
148 mac_cb->cpld_ctrl_reg, value); in hns_cpld_set_led()
149 mac_cb->cpld_led_value = value; in hns_cpld_set_led()
257 obj_args[0].integer.value = port_type; in hns_dsaf_acpi_srst_by_port()
259 obj_args[1].integer.value = port; in hns_dsaf_acpi_srst_by_port()
261 obj_args[2].integer.value = val; in hns_dsaf_acpi_srst_by_port()
551 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_phy_if_acpi()
564 phy_if = obj->integer.value ? in hns_mac_get_phy_if_acpi()
598 obj_args.integer.value = mac_cb->mac_id; in hns_mac_get_sfp_prsnt_acpi()
611 *sfp_prsnt = obj->integer.value; in hns_mac_get_sfp_prsnt_acpi()
691 obj_args[0].integer.value = mac_cb->mac_id; in hns_mac_config_sds_loopback_acpi()
693 obj_args[1].integer.value = en; in hns_mac_config_sds_loopback_acpi()