Lines Matching refs:nvmd_req

4428 	struct get_nvm_data_req nvmd_req;  in pm8001_chip_get_nvmd_req()  local
4438 memset(&nvmd_req, 0, sizeof(nvmd_req)); in pm8001_chip_get_nvmd_req()
4447 nvmd_req.tag = cpu_to_le32(ccb->ccb_tag); in pm8001_chip_get_nvmd_req()
4455 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 | in pm8001_chip_get_nvmd_req()
4457 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4458 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4460 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4465 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM); in pm8001_chip_get_nvmd_req()
4466 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4467 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4469 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4474 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH); in pm8001_chip_get_nvmd_req()
4475 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4476 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4478 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4483 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM); in pm8001_chip_get_nvmd_req()
4484 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4485 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4487 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4492 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | IOP_RDUMP); in pm8001_chip_get_nvmd_req()
4493 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4494 nvmd_req.vpd_offset = cpu_to_le32(ioctl_payload->offset); in pm8001_chip_get_nvmd_req()
4495 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4497 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4505 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &nvmd_req, in pm8001_chip_get_nvmd_req()
4506 sizeof(nvmd_req), 0); in pm8001_chip_get_nvmd_req()
4521 struct set_nvm_data_req nvmd_req; in pm8001_chip_set_nvmd_req() local
4533 memset(&nvmd_req, 0, sizeof(nvmd_req)); in pm8001_chip_set_nvmd_req()
4542 nvmd_req.tag = cpu_to_le32(ccb->ccb_tag); in pm8001_chip_set_nvmd_req()
4548 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4549 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 | in pm8001_chip_set_nvmd_req()
4551 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4552 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4554 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4559 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM); in pm8001_chip_set_nvmd_req()
4560 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4561 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4562 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4564 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4568 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH); in pm8001_chip_set_nvmd_req()
4569 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4570 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4571 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4573 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4577 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM); in pm8001_chip_set_nvmd_req()
4578 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4579 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4580 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4582 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4589 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &nvmd_req, in pm8001_chip_set_nvmd_req()
4590 sizeof(nvmd_req), 0); in pm8001_chip_set_nvmd_req()