• Home
  • Raw
  • Download

Lines Matching refs:nvmd_req

4594 	struct get_nvm_data_req nvmd_req;  in pm8001_chip_get_nvmd_req()  local
4605 memset(&nvmd_req, 0, sizeof(nvmd_req)); in pm8001_chip_get_nvmd_req()
4614 nvmd_req.tag = cpu_to_le32(tag); in pm8001_chip_get_nvmd_req()
4622 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 | in pm8001_chip_get_nvmd_req()
4624 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4625 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4627 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4632 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM); in pm8001_chip_get_nvmd_req()
4633 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4634 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4636 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4641 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH); in pm8001_chip_get_nvmd_req()
4642 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4643 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4645 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4650 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM); in pm8001_chip_get_nvmd_req()
4651 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4652 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4654 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4659 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | IOP_RDUMP); in pm8001_chip_get_nvmd_req()
4660 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->rd_length); in pm8001_chip_get_nvmd_req()
4661 nvmd_req.vpd_offset = cpu_to_le32(ioctl_payload->offset); in pm8001_chip_get_nvmd_req()
4662 nvmd_req.resp_addr_hi = in pm8001_chip_get_nvmd_req()
4664 nvmd_req.resp_addr_lo = in pm8001_chip_get_nvmd_req()
4671 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &nvmd_req, in pm8001_chip_get_nvmd_req()
4672 sizeof(nvmd_req), 0); in pm8001_chip_get_nvmd_req()
4689 struct set_nvm_data_req nvmd_req; in pm8001_chip_set_nvmd_req() local
4701 memset(&nvmd_req, 0, sizeof(nvmd_req)); in pm8001_chip_set_nvmd_req()
4710 nvmd_req.tag = cpu_to_le32(tag); in pm8001_chip_set_nvmd_req()
4716 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4717 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 | in pm8001_chip_set_nvmd_req()
4719 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4720 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4722 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4727 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM); in pm8001_chip_set_nvmd_req()
4728 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4729 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4730 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4732 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4736 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH); in pm8001_chip_set_nvmd_req()
4737 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4738 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4739 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4741 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4745 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM); in pm8001_chip_set_nvmd_req()
4746 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->wr_length); in pm8001_chip_set_nvmd_req()
4747 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98); in pm8001_chip_set_nvmd_req()
4748 nvmd_req.resp_addr_hi = in pm8001_chip_set_nvmd_req()
4750 nvmd_req.resp_addr_lo = in pm8001_chip_set_nvmd_req()
4756 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &nvmd_req, in pm8001_chip_set_nvmd_req()
4757 sizeof(nvmd_req), 0); in pm8001_chip_set_nvmd_req()