• Home
  • Raw
  • Download

Lines Matching refs:pmp

773 			emp = &pp->em_priv[link->pmp];  in ahci_start_port()
867 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity()
882 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity_blink()
888 led_message |= ap->port_no | (link->pmp << 8); in ahci_sw_activity_blink()
925 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity()
960 int pmp; in ahci_transmit_led_message() local
964 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_transmit_led_message()
965 if (pmp < EM_MAX_SLOTS) in ahci_transmit_led_message()
966 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message()
1017 emp = &pp->em_priv[link->pmp]; in ahci_led_show()
1027 int pmp; in ahci_led_store() local
1034 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_led_store()
1035 if (pmp < EM_MAX_SLOTS) in ahci_led_store()
1036 emp = &pp->em_priv[pmp]; in ahci_led_store()
1055 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_activity_store()
1065 port_led_state |= (ap->port_no | (link->pmp << 8)); in ahci_activity_store()
1072 port_led_state |= (ap->port_no | (link->pmp << 8)); in ahci_activity_store()
1086 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_activity_show()
1233 static int ahci_exec_polled_cmd(struct ata_port *ap, int pmp, in ahci_exec_polled_cmd() argument
1244 ata_tf_to_fis(tf, pmp, is_cmd, fis); in ahci_exec_polled_cmd()
1245 ahci_fill_cmd_slot(pp, 0, cmd_fis_len | flags | (pmp << 12)); in ahci_exec_polled_cmd()
1264 int pmp, unsigned long deadline, in ahci_do_softreset() argument
1290 if (ahci_exec_polled_cmd(ap, pmp, &tf, 0, in ahci_do_softreset()
1302 ahci_exec_polled_cmd(ap, pmp, &tf, 0, 0, 0); in ahci_do_softreset()
1341 int pmp = sata_srst_pmp(link); in ahci_softreset() local
1345 return ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_softreset()
1370 int pmp = sata_srst_pmp(link); in ahci_pmp_retry_softreset() local
1376 rc = ahci_do_softreset(link, class, pmp, deadline, in ahci_pmp_retry_softreset()
1500 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in ahci_qc_prep()
1513 opts = cmd_fis_len | n_elem << 16 | (qc->dev->link->pmp << 12); in ahci_qc_prep()
1561 int pmp = fbs >> PORT_FBS_DWE_OFFSET; in ahci_error_intr() local
1563 if ((fbs & PORT_FBS_SDE) && (pmp < ap->nr_pmp_links) && in ahci_error_intr()
1564 ata_link_online(&ap->pmp_link[pmp])) { in ahci_error_intr()
1565 link = &ap->pmp_link[pmp]; in ahci_error_intr()
1920 if (pp->fbs_enabled && pp->fbs_last_dev != qc->dev->link->pmp) { in ahci_qc_issue()
1923 fbs |= qc->dev->link->pmp << PORT_FBS_DEV_OFFSET; in ahci_qc_issue()
1925 pp->fbs_last_dev = qc->dev->link->pmp; in ahci_qc_issue()
1941 rx_fis += qc->dev->link->pmp * AHCI_RX_FIS_SZ; in ahci_qc_fill_rtf()