Lines Matching refs:emp

844 	struct ahci_em_priv *emp;  in ahci_start_port()  local
858 emp = &pp->em_priv[link->pmp]; in ahci_start_port()
863 emp->led_state, in ahci_start_port()
962 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity() local
967 emp->activity++; in ahci_sw_activity()
968 if (!timer_pending(&emp->timer)) in ahci_sw_activity()
969 mod_timer(&emp->timer, jiffies + msecs_to_jiffies(10)); in ahci_sw_activity()
974 struct ahci_em_priv *emp = from_timer(emp, t, timer); in ahci_sw_activity_blink() local
975 struct ata_link *link = emp->link; in ahci_sw_activity_blink()
978 unsigned long led_message = emp->led_state; in ahci_sw_activity_blink()
990 if (emp->saved_activity != emp->activity) { in ahci_sw_activity_blink()
991 emp->saved_activity = emp->activity; in ahci_sw_activity_blink()
1005 mod_timer(&emp->timer, jiffies + msecs_to_jiffies(100)); in ahci_sw_activity_blink()
1009 if (emp->blink_policy == BLINK_OFF) in ahci_sw_activity_blink()
1020 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity() local
1023 emp->saved_activity = emp->activity = 0; in ahci_init_sw_activity()
1024 emp->link = link; in ahci_init_sw_activity()
1025 timer_setup(&emp->timer, ahci_sw_activity_blink, 0); in ahci_init_sw_activity()
1028 if (emp->blink_policy) in ahci_init_sw_activity()
1057 struct ahci_em_priv *emp; in ahci_transmit_led_message() local
1062 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message()
1101 emp->led_state = state; in ahci_transmit_led_message()
1113 struct ahci_em_priv *emp; in ahci_led_show() local
1117 emp = &pp->em_priv[link->pmp]; in ahci_led_show()
1118 rc += sprintf(buf, "%lx\n", emp->led_state); in ahci_led_show()
1129 struct ahci_em_priv *emp; in ahci_led_store() local
1138 emp = &pp->em_priv[pmp]; in ahci_led_store()
1147 if (emp->blink_policy) in ahci_led_store()
1158 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_activity_store() local
1159 u32 port_led_state = emp->led_state; in ahci_activity_store()
1180 emp->blink_policy = val; in ahci_activity_store()
1189 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_activity_show() local
1194 return sprintf(buf, "%d\n", emp->blink_policy); in ahci_activity_show()