Lines Matching refs:cpu_to_le32
1213 circularQ->consumer_index = cpu_to_le32(consumer_index);
1260 pm8001_write_32((pMessage - 4), 0, cpu_to_le32(Header));
1287 circularQ->producer_index = cpu_to_le32(producer_index);
1301 circularQ->producer_index = cpu_to_le32(producer_index);
1331 msgHeader_tmp = cpu_to_le32(header_tmp);
1377 circularQ->producer_index = cpu_to_le32(producer_index);
2863 payload.sea_phyid_portid = cpu_to_le32(((SEA & 0xFFFF) << 8) |
2865 payload.param0 = cpu_to_le32(param0);
2866 payload.param1 = cpu_to_le32(param1);
3685 circularQ->producer_index = cpu_to_le32(producer_idx);
3711 buf_prd->im_len.len = cpu_to_le32(sg_dma_len(sg));
3719 psmp_cmd->tag = cpu_to_le32(hTag);
3720 psmp_cmd->device_id = cpu_to_le32(deviceID);
3721 psmp_cmd->len_ip_ir = cpu_to_le32(1|(1 << 1));
3767 smp_cmd.tag = cpu_to_le32(ccb->ccb_tag);
3771 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-4);
3775 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_resp)-4);
3809 cpu_to_le32(data_dir_flags[task->data_dir] << 8 | 0x0);/*0 for
3811 ssp_cmd.data_len = cpu_to_le32(task->total_xfer_len);
3812 ssp_cmd.device_id = cpu_to_le32(pm8001_dev->device_id);
3813 ssp_cmd.tag = cpu_to_le32(tag);
3828 ssp_cmd.esgl = cpu_to_le32(1<<31);
3833 ssp_cmd.len = cpu_to_le32(task->total_xfer_len);
3838 ssp_cmd.len = cpu_to_le32(task->total_xfer_len);
3882 sata_cmd.tag = cpu_to_le32(tag);
3883 sata_cmd.device_id = cpu_to_le32(pm8001_ha_dev->device_id);
3884 sata_cmd.data_len = cpu_to_le32(task->total_xfer_len);
3886 cpu_to_le32(((ncg_tag & 0xff)<<16)|((ATAP & 0x3f) << 10) | dir);
3898 sata_cmd.esgl = cpu_to_le32(1 << 31);
3903 sata_cmd.len = cpu_to_le32(task->total_xfer_len);
3908 sata_cmd.len = cpu_to_le32(task->total_xfer_len);
3931 payload.tag = cpu_to_le32(tag);
3938 payload.ase_sh_lm_slr_phyid = cpu_to_le32(SPINHOLD_DISABLE |
3966 payload.tag = cpu_to_le32(tag);
3967 payload.phy_id = cpu_to_le32(phy_id);
3999 payload.tag = cpu_to_le32(tag);
4018 cpu_to_le32(((pm8001_dev->sas_device->port->id) & 0x0F) |
4020 payload.dtype_dlr_retry = cpu_to_le32((retryFlag & 0x01) |
4024 cpu_to_le32(ITNT | (firstBurstSize * 0x10000));
4045 payload.device_id = cpu_to_le32(device_id);
4070 cpu_to_le32(((phy_op & 0xff) << 8) | (phyId & 0x0F));
4116 task_abort.device_id = cpu_to_le32(dev_id);
4117 task_abort.tag_to_abort = cpu_to_le32(task_tag);
4118 task_abort.tag = cpu_to_le32(cmd_tag);
4120 task_abort.abort_all = cpu_to_le32(1);
4121 task_abort.device_id = cpu_to_le32(dev_id);
4122 task_abort.tag = cpu_to_le32(cmd_tag);
4172 sspTMCmd.device_id = cpu_to_le32(pm8001_dev->device_id);
4173 sspTMCmd.relate_tag = cpu_to_le32(tmf->tag_of_task_to_be_managed);
4174 sspTMCmd.tmf = cpu_to_le32(tmf->tmf);
4176 sspTMCmd.tag = cpu_to_le32(ccb->ccb_tag);
4209 nvmd_req.tag = cpu_to_le32(tag);
4217 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 |
4219 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4221 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4223 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4227 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM);
4228 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4230 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4232 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4236 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH);
4237 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4239 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4241 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4245 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM);
4246 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4248 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4250 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4288 nvmd_req.tag = cpu_to_le32(tag);
4294 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98);
4295 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | twi_addr << 16 |
4297 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4299 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4301 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4305 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | C_SEEPROM);
4306 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4307 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98);
4309 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4311 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4314 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | VPD_FLASH);
4315 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4316 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98);
4318 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4320 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4323 nvmd_req.len_ir_vpdd = cpu_to_le32(IPMode | EXPAN_ROM);
4324 nvmd_req.resp_len = cpu_to_le32(ioctl_payload->length);
4325 nvmd_req.reserved[0] = cpu_to_le32(0xFEDCBA98);
4327 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_hi);
4329 cpu_to_le32(pm8001_ha->memoryMap.region[NVMD].phys_addr_lo);
4356 payload.tag = cpu_to_le32(tag);
4357 payload.cur_image_len = cpu_to_le32(info->cur_image_len);
4358 payload.cur_image_offset = cpu_to_le32(info->cur_image_offset);
4359 payload.total_image_len = cpu_to_le32(info->total_image_len);
4400 flash_update_info.sgl.im_len.len = cpu_to_le32(fw_control->len);
4439 payload.tag = cpu_to_le32(tag);
4440 payload.device_id = cpu_to_le32(pm8001_dev->device_id);
4441 payload.nds = cpu_to_le32(state);
4463 payload.tag = cpu_to_le32(tag);
4464 payload.SSAHOLT = cpu_to_le32(0xd << 25);
4465 payload.sata_hol_tmo = cpu_to_le32(80);
4466 payload.open_reject_cmdretries_data_retries = cpu_to_le32(0xff00ff);