Lines Matching refs:cpu_to_le32

81 			*destination1 =  cpu_to_le32(value);  in pm80xx_pci_mem_copy()
853 payload.tag = cpu_to_le32(tag); in pm80xx_set_thermal_config()
889 payload.tag = cpu_to_le32(tag); in pm80xx_set_sas_protocol_timer_config()
1056 payload.tag = cpu_to_le32(tag); in pm80xx_encrypt_update()
1403 task_abort.abort_all = cpu_to_le32(1); in pm80xx_send_abort_all()
1404 task_abort.device_id = cpu_to_le32(pm8001_ha_dev->device_id); in pm80xx_send_abort_all()
1405 task_abort.tag = cpu_to_le32(ccb_tag); in pm80xx_send_abort_all()
1477 sata_cmd.tag = cpu_to_le32(ccb_tag); in pm80xx_send_read_log()
1478 sata_cmd.device_id = cpu_to_le32(pm8001_ha_dev->device_id); in pm80xx_send_read_log()
2821 payload.tag = cpu_to_le32(1); in pm80xx_hw_event_ack_req()
2822 payload.phyid_sea_portid = cpu_to_le32(((SEA & 0xFFFF) << 8) | in pm80xx_hw_event_ack_req()
2824 payload.param0 = cpu_to_le32(param0); in pm80xx_hw_event_ack_req()
2825 payload.param1 = cpu_to_le32(param1); in pm80xx_hw_event_ack_req()
3686 cpu_to_le32(pm8001_read_32(circularQ->pi_virt)); in process_oq()
3709 psmp_cmd->device_id = cpu_to_le32(deviceID); in build_smp_cmd()
3712 psmp_cmd->len_ip_ir = cpu_to_le32(length << 16); in build_smp_cmd()
3714 psmp_cmd->len_ip_ir = cpu_to_le32(1|(1 << 1)); in build_smp_cmd()
3764 smp_cmd.tag = cpu_to_le32(ccb->ccb_tag); in pm80xx_chip_smp_req()
3792 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-8); in pm80xx_chip_smp_req()
3797 cpu_to_le32((u32)sg_dma_len in pm80xx_chip_smp_req()
3804 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-4); in pm80xx_chip_smp_req()
3809 cpu_to_le32 in pm80xx_chip_smp_req()
3907 cpu_to_le32(data_dir_flags[task->data_dir] << 8 | 0x0); in pm80xx_chip_ssp_io_req()
3908 ssp_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
3909 ssp_cmd.device_id = cpu_to_le32(pm8001_dev->device_id); in pm80xx_chip_ssp_io_req()
3910 ssp_cmd.tag = cpu_to_le32(tag); in pm80xx_chip_ssp_io_req()
3928 ssp_cmd.dad_dir_m_tlr = cpu_to_le32 in pm80xx_chip_ssp_io_req()
3938 cpu_to_le32(lower_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
3940 cpu_to_le32(upper_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
3941 ssp_cmd.enc_esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
3945 cpu_to_le32(lower_32_bits(dma_addr)); in pm80xx_chip_ssp_io_req()
3947 cpu_to_le32(upper_32_bits(dma_addr)); in pm80xx_chip_ssp_io_req()
3948 ssp_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
3953 end_addr_low = cpu_to_le32(lower_32_bits(end_addr)); in pm80xx_chip_ssp_io_req()
3954 end_addr_high = cpu_to_le32(upper_32_bits(end_addr)); in pm80xx_chip_ssp_io_req()
3969 cpu_to_le32(lower_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
3971 cpu_to_le32(upper_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
3972 ssp_cmd.enc_esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
3977 ssp_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
3983 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req()
3998 cpu_to_le32(lower_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
4000 cpu_to_le32(upper_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
4001 ssp_cmd.esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
4004 ssp_cmd.addr_low = cpu_to_le32(lower_32_bits(dma_addr)); in pm80xx_chip_ssp_io_req()
4006 cpu_to_le32(upper_32_bits(dma_addr)); in pm80xx_chip_ssp_io_req()
4007 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4012 end_addr_low = cpu_to_le32(lower_32_bits(end_addr)); in pm80xx_chip_ssp_io_req()
4013 end_addr_high = cpu_to_le32(upper_32_bits(end_addr)); in pm80xx_chip_ssp_io_req()
4028 cpu_to_le32(lower_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
4030 cpu_to_le32(upper_32_bits(phys_addr)); in pm80xx_chip_ssp_io_req()
4031 ssp_cmd.esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
4036 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4090 sata_cmd.tag = cpu_to_le32(tag); in pm80xx_chip_sata_req()
4091 sata_cmd.device_id = cpu_to_le32(pm8001_ha_dev->device_id); in pm80xx_chip_sata_req()
4092 sata_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()
4109 cpu_to_le32(((ncg_tag & 0xff)<<16)| in pm80xx_chip_sata_req()
4120 sata_cmd.enc_esgl = cpu_to_le32(1 << 31); in pm80xx_chip_sata_req()
4125 sata_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()
4130 end_addr_low = cpu_to_le32(lower_32_bits(end_addr)); in pm80xx_chip_sata_req()
4131 end_addr_high = cpu_to_le32(upper_32_bits(end_addr)); in pm80xx_chip_sata_req()
4150 cpu_to_le32(1 << 31); in pm80xx_chip_sata_req()
4155 sata_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()
4162 cpu_to_le32((sata_cmd.sata_fis.lbal_exp << 24) | in pm80xx_chip_sata_req()
4167 cpu_to_le32((sata_cmd.sata_fis.lbah_exp << 8) | in pm80xx_chip_sata_req()
4175 cpu_to_le32(((ncg_tag & 0xff)<<16) | in pm80xx_chip_sata_req()
4186 sata_cmd.esgl = cpu_to_le32(1 << 31); in pm80xx_chip_sata_req()
4191 sata_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()
4196 end_addr_low = cpu_to_le32(lower_32_bits(end_addr)); in pm80xx_chip_sata_req()
4197 end_addr_high = cpu_to_le32(upper_32_bits(end_addr)); in pm80xx_chip_sata_req()
4215 sata_cmd.esgl = cpu_to_le32(1 << 31); in pm80xx_chip_sata_req()
4220 sata_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()
4225 cpu_to_le32(((task->ata_task.atapi_packet[0]) | in pm80xx_chip_sata_req()
4230 cpu_to_le32(((task->ata_task.atapi_packet[4]) | in pm80xx_chip_sata_req()
4235 cpu_to_le32(((task->ata_task.atapi_packet[8]) | in pm80xx_chip_sata_req()
4240 cpu_to_le32(((task->ata_task.atapi_packet[12]) | in pm80xx_chip_sata_req()
4303 payload.tag = cpu_to_le32(tag); in pm80xx_chip_phy_start_req()
4315 payload.ase_sh_lm_slr_phyid = cpu_to_le32(SPINHOLD_DISABLE | in pm80xx_chip_phy_start_req()
4319 payload.ase_sh_lm_slr_phyid = cpu_to_le32(SPINHOLD_DISABLE | in pm80xx_chip_phy_start_req()
4358 payload.tag = cpu_to_le32(tag); in pm80xx_chip_phy_stop_req()
4359 payload.phy_id = cpu_to_le32(phy_id); in pm80xx_chip_phy_stop_req()
4391 payload.tag = cpu_to_le32(tag); in pm80xx_chip_reg_dev_req()
4414 cpu_to_le32(((pm8001_dev->sas_device->port->id) & 0xFF) | in pm80xx_chip_reg_dev_req()
4417 payload.dtype_dlr_mcn_ir_retry = cpu_to_le32((retryFlag & 0x01) | in pm80xx_chip_reg_dev_req()
4421 cpu_to_le32(ITNT | (firstBurstSize * 0x10000)); in pm80xx_chip_reg_dev_req()
4449 payload.tag = cpu_to_le32(1); in pm80xx_chip_phy_ctl_req()
4451 cpu_to_le32(((phy_op & 0xFF) << 8) | (phyId & 0xFF)); in pm80xx_chip_phy_ctl_req()
4498 payload.tag = cpu_to_le32(tag); in mpi_set_phy_profile_req()
4504 payload.reserved[j] = cpu_to_le32(*((u32 *)buf + i)); in mpi_set_phy_profile_req()