Searched refs:lpcb (Results 1 – 1 of 1) sorted by relevance
491 static int clp_base_slpc(struct clp_req *req, struct clp_req_rsp_slpc *lpcb) in clp_base_slpc() argument493 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() argument503 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() argument513 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_slpc()[all …]