Searched refs:lpcb (Results 1 – 1 of 1) sorted by relevance
481 static int clp_base_slpc(struct clp_req *req, struct clp_req_rsp_slpc *lpcb) in clp_base_slpc() argument483 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_base_slpc()485 if (lpcb->request.hdr.len != sizeof(lpcb->request) || in clp_base_slpc()486 lpcb->response.hdr.len > limit) in clp_base_slpc()488 return clp_req(lpcb, CLP_LPS_BASE) ? -EOPNOTSUPP : 0; in clp_base_slpc()491 static int clp_base_command(struct clp_req *req, struct clp_req_hdr *lpcb) in clp_base_command() argument493 switch (lpcb->cmd) { in clp_base_command()495 return clp_base_slpc(req, (void *) lpcb); in clp_base_command()501 static int clp_pci_slpc(struct clp_req *req, struct clp_req_rsp_slpc_pci *lpcb) in clp_pci_slpc() argument503 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_slpc()[all …]