Home
last modified time | relevance | path

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

/linux/arch/s390/pci/
H A Dpci_clp.c491 static int clp_base_slpc(struct clp_req *req, struct clp_req_rsp_slpc *lpcb) in clp_base_slpc() argument
493 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_base_slpc()
495 if (lpcb->request.hdr.len != sizeof(lpcb->request) || in clp_base_slpc()
496 lpcb->response.hdr.len > limit) in clp_base_slpc()
498 return clp_req(lpcb, CLP_LPS_BASE) ? -EOPNOTSUPP : 0; in clp_base_slpc()
501 static int clp_base_command(struct clp_req *req, struct clp_req_hdr *lpcb) in clp_base_command() argument
503 switch (lpcb->cmd) { in clp_base_command()
505 return clp_base_slpc(req, (void *) lpcb); in clp_base_command()
511 static int clp_pci_slpc(struct clp_req *req, struct clp_req_rsp_slpc_pci *lpcb) in clp_pci_slpc() argument
513 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_slpc()
[all …]