Lines Matching defs:param
414 TW_Param_Apache *param;
423 command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]);
424 command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);
428 /* Setup the param */
429 param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id];
430 memset(param, 0, TW_SECTOR_SIZE);
431 param->table_id = cpu_to_le16(TW_TIMEKEEP_TABLE | 0x8000); /* Controller time keep table */
432 param->parameter_id = cpu_to_le16(0x3); /* SchedulerTime */
433 param->parameter_size_bytes = cpu_to_le16(4);
441 memcpy(param->data, &schedulertime, sizeof(u32));
481 /* First check for internal completion of set param for time sync */
931 TW_Param_Apache *param;
944 /* Now setup the param */
945 param = (TW_Param_Apache *)tw_dev->generic_buffer_virt[request_id];
946 memset(param, 0, TW_SECTOR_SIZE);
947 param->table_id = cpu_to_le16(table_id | 0x8000);
948 param->parameter_id = cpu_to_le16(parameter_id);
949 param->parameter_size_bytes = cpu_to_le16(parameter_size_bytes);
951 command_packet->byte8_offset.param.sgl[0].address = TW_CPU_TO_SGL(tw_dev->generic_buffer_phys[request_id]);
952 command_packet->byte8_offset.param.sgl[0].length = TW_CPU_TO_SGL(TW_SECTOR_SIZE);
959 TW_PRINTK(tw_dev->host, TW_DRIVER, 0x7, "No valid response during get param")
961 retval = (void *)&(param->data[0]);