Searched refs:start_sec (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dgdth_proc.c501 ha->hdr[i].start_sec = 0; gdth_show_info()
509 ha->hdr[k].start_sec = phg->entry[j].start_sec; gdth_show_info()
526 (u32)(ha->hdr[i].size/2048), ha->hdr[i].start_sec); gdth_show_info()
H A Dscsi_debug.c2515 static int prot_verify_read(struct scsi_cmnd *SCpnt, sector_t start_sec, prot_verify_read() argument
2525 sector = start_sec + i; prot_verify_read()
2538 dif_copy_prot(SCpnt, start_sec, sectors, true); prot_verify_read()
2706 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, prot_verify_write() argument
2712 sector_t sector = start_sec; prot_verify_write()
2766 dif_copy_prot(SCpnt, start_sec, sectors, false); prot_verify_write()
3893 int heads_by_sects, start_sec, end_sec; sdebug_build_parts() local
3917 start_sec = starts[k]; sdebug_build_parts()
3921 pp->cyl = start_sec / heads_by_sects; sdebug_build_parts()
3922 pp->head = (start_sec - (pp->cyl * heads_by_sects)) sdebug_build_parts()
3924 pp->sector = (start_sec % sdebug_sectors_per) + 1; sdebug_build_parts()
3931 pp->start_sect = cpu_to_le32(start_sec); sdebug_build_parts()
3932 pp->nr_sects = cpu_to_le32(end_sec - start_sec + 1); sdebug_build_parts()
H A Dgdth.h662 u32 start_sec; /* start sector */ member in struct:__anon9409
890 u32 start_sec; /* start sector */ member in struct:__anon9430::__anon9431
/linux-4.4.14/drivers/staging/rts5208/
H A Drtsx_scsi.c864 u32 start_sec; read_write() local
910 start_sec = ((u32)srb->cmnd[2] << 24) | read_write()
915 start_sec = ((u32)(srb->cmnd[1] & 0x1F) << 16) | read_write()
923 start_sec = ((u32)srb->cmnd[4] << 24) | read_write()
933 /* In some test, we will receive a start_sec like 0xFFFFFFFF. read_write()
934 * In this situation, start_sec + sec_cnt will overflow, so we read_write()
935 * need to judge start_sec at first read_write()
937 if ((start_sec > get_card_size(chip, lun)) || read_write()
938 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { read_write()
971 retval = card_rw(srb, chip, start_sec, sec_cnt); read_write()
H A Dms.c2877 u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd()
2885 data[3] = (u8)(start_sec >> 24); mspro_set_rw_cmd()
2886 data[4] = (u8)(start_sec >> 16); mspro_set_rw_cmd()
2887 data[5] = (u8)(start_sec >> 8); mspro_set_rw_cmd()
2888 data[6] = (u8)start_sec; mspro_set_rw_cmd()
2876 mspro_set_rw_cmd(struct rtsx_chip *chip, u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd() argument
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dptp.c725 u32 start_sec; efx_ptp_process_times() local
785 start_sec = ptp->timeset[last_good].host_start >> MC_NANOSECOND_BITS; efx_ptp_process_times()
787 if (start_sec != last_sec && efx_ptp_process_times()
788 ((start_sec + 1) & MC_SECOND_MASK) != last_sec) { efx_ptp_process_times()
793 delta.tv_sec = (last_sec - start_sec) & 1; efx_ptp_process_times()
/linux-4.4.14/mm/
H A Dmemory_hotplug.c507 int start_sec, end_sec; __add_pages() local
509 start_sec = pfn_to_section_nr(phys_start_pfn); __add_pages()
512 for (i = start_sec; i <= end_sec; i++) { __add_pages()
/linux-4.4.14/drivers/isdn/hardware/eicon/
H A Ddebug.c195 static dword start_sec; variable
218 diva_os_get_time(&start_sec, &start_usec); diva_maint_init()

Completed in 301 milliseconds