• Home
  • Raw
  • Download

Lines Matching refs:cmd_ptr

1362     register gdth_cmd_str *cmd_ptr;  in gdth_copy_command()  local
1374 cmd_ptr = ha->pccb; in gdth_copy_command()
1391 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1393 memcpy_toio(&dp2_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1398 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1400 memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1405 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1407 memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1412 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1414 memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1484 register gdth_cmd_str *cmd_ptr; in gdth_internal_cmd() local
1489 cmd_ptr = ha->pccb; in gdth_internal_cmd()
1490 memset((char*)cmd_ptr,0,sizeof(gdth_cmd_str)); in gdth_internal_cmd()
1494 cmd_ptr->Service = service; in gdth_internal_cmd()
1495 cmd_ptr->RequestBuffer = INTERNAL_CMND; in gdth_internal_cmd()
1501 cmd_ptr->OpCode = opcode; in gdth_internal_cmd()
1502 cmd_ptr->BoardNode = LOCALBOARD; in gdth_internal_cmd()
1505 cmd_ptr->u.ioctl.subfunc = p1; in gdth_internal_cmd()
1506 cmd_ptr->u.ioctl.channel = (u32)p2; in gdth_internal_cmd()
1507 cmd_ptr->u.ioctl.param_size = (u16)p3; in gdth_internal_cmd()
1508 cmd_ptr->u.ioctl.p_param = ha->scratch_phys; in gdth_internal_cmd()
1511 cmd_ptr->u.cache64.DeviceNo = (u16)p1; in gdth_internal_cmd()
1512 cmd_ptr->u.cache64.BlockNo = p2; in gdth_internal_cmd()
1514 cmd_ptr->u.cache.DeviceNo = (u16)p1; in gdth_internal_cmd()
1515 cmd_ptr->u.cache.BlockNo = (u32)p2; in gdth_internal_cmd()
1520 cmd_ptr->u.raw64.direction = p1; in gdth_internal_cmd()
1521 cmd_ptr->u.raw64.bus = (u8)p2; in gdth_internal_cmd()
1522 cmd_ptr->u.raw64.target = (u8)p3; in gdth_internal_cmd()
1523 cmd_ptr->u.raw64.lun = (u8)(p3 >> 8); in gdth_internal_cmd()
1525 cmd_ptr->u.raw.direction = p1; in gdth_internal_cmd()
1526 cmd_ptr->u.raw.bus = (u8)p2; in gdth_internal_cmd()
1527 cmd_ptr->u.raw.target = (u8)p3; in gdth_internal_cmd()
1528 cmd_ptr->u.raw.lun = (u8)(p3 >> 8); in gdth_internal_cmd()
1532 *(u32 *)&cmd_ptr->u.screen.su.data[0] = p1; in gdth_internal_cmd()
1533 *(u32 *)&cmd_ptr->u.screen.su.data[4] = (u32)p2; in gdth_internal_cmd()
1534 *(u32 *)&cmd_ptr->u.screen.su.data[8] = (u32)p3; in gdth_internal_cmd()