Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 7 of 7) sorted by relevance

/drivers/md/
A Ddm-path-selector.c36 return psi; in __find_path_selector_type()
48 if (psi && !try_module_get(psi->pst.module)) in get_path_selector()
49 psi = NULL; in get_path_selector()
52 return psi; in get_path_selector()
63 if (!psi) { in dm_get_path_selector()
68 return psi ? &psi->pst : NULL; in dm_get_path_selector()
80 if (!psi) in dm_put_path_selector()
92 if (psi) in _alloc_path_selector()
95 return psi; in _alloc_path_selector()
103 if (!psi) in dm_register_path_selector()
[all …]
/drivers/firmware/efi/
A Defi-pstore.c54 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_open() argument
62 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_open()
63 if (!psi->data) in efi_pstore_open()
69 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_close() argument
72 kfree(psi->data); in efi_pstore_close()
159 efi_char16_t *varname = record->psi->data; in efi_pstore_read()
227 record->size, record->psi->buf, in efi_pstore_write()
/drivers/usb/host/
A Dxhci-hub.c77 if ((port_cap->psi[i] & PLT_MASK) == PLT_SYM) in xhci_create_usb3x_bos_desc()
150 u32 psi; in xhci_create_usb3x_bos_desc() local
160 psi = port_cap->psi[i]; in xhci_create_usb3x_bos_desc()
161 ssid = XHCI_EXT_PORT_PSIV(psi); in xhci_create_usb3x_bos_desc()
162 lp = XHCI_EXT_PORT_LP(psi); in xhci_create_usb3x_bos_desc()
163 psie = XHCI_EXT_PORT_PSIE(psi); in xhci_create_usb3x_bos_desc()
164 psim = XHCI_EXT_PORT_PSIM(psi); in xhci_create_usb3x_bos_desc()
165 plt = psi & PLT_MASK; in xhci_create_usb3x_bos_desc()
201 u32 prev = port_cap->psi[i - 1]; in xhci_create_usb3x_bos_desc()
A Dxhci-mem.c1988 kfree(xhci->port_caps[i].psi); in xhci_mem_cleanup()
2085 sizeof(*port_cap->psi), in xhci_add_in_port()
2087 if (!port_cap->psi) in xhci_add_in_port()
2092 port_cap->psi[i] = readl(addr + 4 + i); in xhci_add_in_port()
2098 XHCI_EXT_PORT_PSIV(port_cap->psi[i - 1]))) in xhci_add_in_port()
2107 XHCI_EXT_PORT_PSIV(port_cap->psi[i]), in xhci_add_in_port()
2108 XHCI_EXT_PORT_PSIE(port_cap->psi[i]), in xhci_add_in_port()
2109 XHCI_EXT_PORT_PLT(port_cap->psi[i]), in xhci_add_in_port()
2110 XHCI_EXT_PORT_PFD(port_cap->psi[i]), in xhci_add_in_port()
2111 XHCI_EXT_PORT_LP(port_cap->psi[i]), in xhci_add_in_port()
[all …]
A Dxhci.h1467 u32 *psi; /* array of protocol speed ID entries */ member
/drivers/acpi/apei/
A Derst.c1016 static int erst_open_pstore(struct pstore_info *psi);
1017 static int erst_close_pstore(struct pstore_info *psi);
1054 static int erst_open_pstore(struct pstore_info *psi) in erst_open_pstore() argument
1062 static int erst_close_pstore(struct pstore_info *psi) in erst_close_pstore() argument
/drivers/infiniband/hw/hfi1/
A Dmad.c2011 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_get_opa_psi() local
2013 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2026 psi->port_states.ledenable_offlinereason = ppd->neighbor_normal << 4; in __subn_get_opa_psi()
2027 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2029 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2032 psi->port_states.portphysstate_portstate = in __subn_get_opa_psi()
2034 psi->link_width_downgrade_tx_active = in __subn_get_opa_psi()
2036 psi->link_width_downgrade_rx_active = in __subn_get_opa_psi()
2057 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2067 ls_new = port_states_to_logical_state(&psi->port_states); in __subn_set_opa_psi()
[all …]

Completed in 141 milliseconds