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

/linux-4.1.27/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.c2518 static int prot_verify_read(struct scsi_cmnd *SCpnt, sector_t start_sec, prot_verify_read() argument
2528 sector = start_sec + i; prot_verify_read()
2541 dif_copy_prot(SCpnt, start_sec, sectors, true); prot_verify_read()
2709 static int prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, prot_verify_write() argument
2715 sector_t sector = start_sec; prot_verify_write()
2769 dif_copy_prot(SCpnt, start_sec, sectors, false); prot_verify_write()
3897 int heads_by_sects, start_sec, end_sec; sdebug_build_parts() local
3922 start_sec = starts[k]; sdebug_build_parts()
3926 pp->cyl = start_sec / heads_by_sects; sdebug_build_parts()
3927 pp->head = (start_sec - (pp->cyl * heads_by_sects)) sdebug_build_parts()
3929 pp->sector = (start_sec % sdebug_sectors_per) + 1; sdebug_build_parts()
3936 pp->start_sect = cpu_to_le32(start_sec); sdebug_build_parts()
3937 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:__anon8880
890 u32 start_sec; /* start sector */ member in struct:__anon8901::__anon8902
/linux-4.1.27/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()
921 start_sec = ((u32)srb->cmnd[4] << 24) | read_write()
931 /* In some test, we will receive a start_sec like 0xFFFFFFFF. read_write()
932 * In this situation, start_sec + sec_cnt will overflow, so we read_write()
933 * need to judge start_sec at first read_write()
935 if ((start_sec > get_card_size(chip, lun)) || read_write()
936 ((start_sec + sec_cnt) > get_card_size(chip, lun))) { read_write()
969 retval = card_rw(srb, chip, start_sec, sec_cnt); read_write()
H A Dms.c2878 u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd()
2886 data[3] = (u8)(start_sec >> 24); mspro_set_rw_cmd()
2887 data[4] = (u8)(start_sec >> 16); mspro_set_rw_cmd()
2888 data[5] = (u8)(start_sec >> 8); mspro_set_rw_cmd()
2889 data[6] = (u8)start_sec; mspro_set_rw_cmd()
2877 mspro_set_rw_cmd(struct rtsx_chip *chip, u32 start_sec, u16 sec_cnt, u8 cmd) mspro_set_rw_cmd() argument
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dptp.c715 u32 start_sec; efx_ptp_process_times() local
775 start_sec = ptp->timeset[last_good].host_start >> MC_NANOSECOND_BITS; efx_ptp_process_times()
777 if (start_sec != last_sec && efx_ptp_process_times()
778 ((start_sec + 1) & MC_SECOND_MASK) != last_sec) { efx_ptp_process_times()
783 delta.tv_sec = (last_sec - start_sec) & 1; efx_ptp_process_times()
/linux-4.1.27/mm/
H A Dmemory_hotplug.c499 int start_sec, end_sec; __add_pages() local
501 start_sec = pfn_to_section_nr(phys_start_pfn); __add_pages()
504 for (i = start_sec; i <= end_sec; i++) { __add_pages()
/linux-4.1.27/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 296 milliseconds