rbu_data 60 drivers/platform/x86/dell_rbu.c } rbu_data; rbu_data 87 drivers/platform/x86/dell_rbu.c rbu_data.packet_read_count = 0; rbu_data 88 drivers/platform/x86/dell_rbu.c rbu_data.num_packets = 0; rbu_data 89 drivers/platform/x86/dell_rbu.c rbu_data.packetsize = 0; rbu_data 90 drivers/platform/x86/dell_rbu.c rbu_data.imagesize = 0; rbu_data 105 drivers/platform/x86/dell_rbu.c if (!rbu_data.packetsize) { rbu_data 111 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 120 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 138 drivers/platform/x86/dell_rbu.c (unsigned int)(allocation_floor / rbu_data.packetsize), rbu_data 149 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 161 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 180 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 190 drivers/platform/x86/dell_rbu.c ++rbu_data.num_packets; rbu_data 228 drivers/platform/x86/dell_rbu.c if (!rbu_data.packetsize) { rbu_data 238 drivers/platform/x86/dell_rbu.c if ((temp + rbu_data.packetsize) < end) rbu_data 239 drivers/platform/x86/dell_rbu.c packet_length = rbu_data.packetsize; rbu_data 253 drivers/platform/x86/dell_rbu.c rbu_data.imagesize = length; rbu_data 302 drivers/platform/x86/dell_rbu.c if (0 == rbu_data.num_packets) rbu_data 306 drivers/platform/x86/dell_rbu.c bytes_read = rbu_data.packet_read_count; rbu_data 325 drivers/platform/x86/dell_rbu.c *pread_length = bytes_read - rbu_data.packet_read_count; rbu_data 326 drivers/platform/x86/dell_rbu.c rbu_data.packet_read_count = bytes_read; rbu_data 347 drivers/platform/x86/dell_rbu.c memset(newpacket->data, 0, rbu_data.packetsize); rbu_data 354 drivers/platform/x86/dell_rbu.c rbu_data.packet_read_count = 0; rbu_data 355 drivers/platform/x86/dell_rbu.c rbu_data.num_packets = 0; rbu_data 356 drivers/platform/x86/dell_rbu.c rbu_data.imagesize = 0; rbu_data 365 drivers/platform/x86/dell_rbu.c if (!rbu_data.image_update_buffer) rbu_data 371 drivers/platform/x86/dell_rbu.c memset(rbu_data.image_update_buffer, 0, rbu_data 372 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer_size); rbu_data 373 drivers/platform/x86/dell_rbu.c free_pages((unsigned long) rbu_data.image_update_buffer, rbu_data 374 drivers/platform/x86/dell_rbu.c rbu_data.image_update_ordernum); rbu_data 379 drivers/platform/x86/dell_rbu.c rbu_data.image_update_ordernum = -1; rbu_data 380 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer = NULL; rbu_data 381 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer_size = 0; rbu_data 382 drivers/platform/x86/dell_rbu.c rbu_data.bios_image_size = 0; rbu_data 405 drivers/platform/x86/dell_rbu.c if (rbu_data.image_update_buffer_size >= size) { rbu_data 409 drivers/platform/x86/dell_rbu.c if ((size != 0) && (rbu_data.image_update_buffer == NULL)) { rbu_data 426 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 431 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 442 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer = image_update_buffer; rbu_data 443 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer_size = size; rbu_data 444 drivers/platform/x86/dell_rbu.c rbu_data.bios_image_size = rbu_data.image_update_buffer_size; rbu_data 445 drivers/platform/x86/dell_rbu.c rbu_data.image_update_ordernum = ordernum; rbu_data 457 drivers/platform/x86/dell_rbu.c if (rbu_data.num_packets == 0) { rbu_data 463 drivers/platform/x86/dell_rbu.c if (pos > rbu_data.imagesize) { rbu_data 470 drivers/platform/x86/dell_rbu.c bytes_left = rbu_data.imagesize - pos; rbu_data 476 drivers/platform/x86/dell_rbu.c if ((pos + count) > rbu_data.imagesize) { rbu_data 477 drivers/platform/x86/dell_rbu.c rbu_data.packet_read_count = 0; rbu_data 490 drivers/platform/x86/dell_rbu.c if ((rbu_data.image_update_buffer == NULL) || rbu_data 491 drivers/platform/x86/dell_rbu.c (rbu_data.bios_image_size == 0)) { rbu_data 494 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer, rbu_data 495 drivers/platform/x86/dell_rbu.c rbu_data.bios_image_size); rbu_data 500 drivers/platform/x86/dell_rbu.c rbu_data.image_update_buffer, rbu_data.bios_image_size); rbu_data 509 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 518 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 524 drivers/platform/x86/dell_rbu.c rbu_data.entry_created = 0; rbu_data 532 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 535 drivers/platform/x86/dell_rbu.c memcpy(rbu_data.image_update_buffer, rbu_data 552 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 574 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 598 drivers/platform/x86/dell_rbu.c if (!rbu_data.entry_created) { rbu_data 599 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 610 drivers/platform/x86/dell_rbu.c rbu_data.entry_created = 1; rbu_data 612 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 616 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 623 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 634 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 635 drivers/platform/x86/dell_rbu.c size = scnprintf(buffer, count, "%lu\n", rbu_data.packetsize); rbu_data 636 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 646 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 650 drivers/platform/x86/dell_rbu.c rbu_data.packetsize = temp; rbu_data 652 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock); rbu_data 676 drivers/platform/x86/dell_rbu.c spin_lock_init(&rbu_data.lock); rbu_data 698 drivers/platform/x86/dell_rbu.c rbu_data.entry_created = 0; rbu_data 712 drivers/platform/x86/dell_rbu.c spin_lock(&rbu_data.lock); rbu_data 715 drivers/platform/x86/dell_rbu.c spin_unlock(&rbu_data.lock);