Home
last modified time | relevance | path

Searched refs:spt (Results 1 – 9 of 9) sorted by relevance

/drivers/isdn/hisax/
Dsportster.c56 return (bytein(calc_off(cs->hw.spt.isac, offset))); in ReadISAC()
62 byteout(calc_off(cs->hw.spt.isac, offset), value); in WriteISAC()
68 read_fifo(cs->hw.spt.isac, data, size); in ReadISACfifo()
74 write_fifo(cs->hw.spt.isac, data, size); in WriteISACfifo()
80 return (bytein(calc_off(cs->hw.spt.hscx[hscx], offset))); in ReadHSCX()
86 byteout(calc_off(cs->hw.spt.hscx[hscx], offset), value); in WriteHSCX()
93 #define READHSCX(cs, nr, reg) bytein(calc_off(cs->hw.spt.hscx[nr], reg))
94 #define WRITEHSCX(cs, nr, reg, data) byteout(calc_off(cs->hw.spt.hscx[nr], reg), data)
95 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
96 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo(cs->hw.spt.hscx[nr], ptr, cnt)
[all …]
Dhisax.h907 struct spt_hw spt; member
/drivers/misc/mic/host/
Dmic_smpt.c78 static void mic_add_smpt_entry(int spt, s64 *ref, u64 addr, in mic_add_smpt_entry() argument
84 for (i = spt; i < spt + entries; i++, in mic_add_smpt_entry()
91 smpt_info->entry[i].ref_count += ref[i - spt]; in mic_add_smpt_entry()
102 int spt; in mic_smpt_op() local
136 spt = i - entries + 1; in mic_smpt_op()
137 mic_addr = mic_smpt_to_pa(mdev, spt); in mic_smpt_op()
138 mic_add_smpt_entry(spt, ref, dma_addr, entries, mdev); in mic_smpt_op()
180 int spt; in mic_to_dma_addr() local
188 spt = mic_sys_addr_to_smpt(mdev, mic_addr); in mic_to_dma_addr()
189 dma_addr = smpt_info->entry[spt].dma_addr + in mic_to_dma_addr()
[all …]
/drivers/block/
Dataflop.c91 unsigned spt; /* sectors per track */ member
671 if (!UDT || desc->track >= UDT->blocks/UDT->spt/2 || desc->head >= 2) { in do_format()
676 nsect = UDT->spt; in do_format()
937 dma_wd.fdc_acces_seccount = read_track ? SUDT->spt : 1; in fd_rwsec()
1002 if (addr >= PhysTrackBuffer + SUDT->spt*512) { in fd_readtrack_check()
1070 !(read_track && FDC_READ(FDCREG_SECTOR) > SUDT->spt)) { in fd_rwsec_done1()
1382 ReqTrack = block / UDT->spt; in setup_req_params()
1383 ReqSector = block - ReqTrack * UDT->spt + 1; in setup_req_params()
1544 getprm.sect = dtp->spt; in fd_locked_ioctl()
1546 getprm.track = dtp->blocks/dtp->spt/2; in fd_locked_ioctl()
[all …]
/drivers/scsi/esas2r/
Desas2r_ioctl.c691 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in scsi_passthru_comp_cb() local
694 spt->scsi_status = rq->func_rsp.scsi_rsp.scsi_stat; in scsi_passthru_comp_cb()
695 spt->sense_length = rq->sense_len; in scsi_passthru_comp_cb()
696 spt->residual_length = in scsi_passthru_comp_cb()
734 spt->req_status = sts; in scsi_passthru_comp_cb()
737 spt->target_id = in scsi_passthru_comp_cb()
738 esas2r_targ_db_find_next_present(a, (u16)spt->target_id); in scsi_passthru_comp_cb()
986 struct atto_hba_scsi_pass_thru *spt = &hi->data.scsi_pass_thru; in hba_ioctl_callback() local
989 memcpy(&lun, spt->lun, sizeof(struct scsi_lun)); in hba_ioctl_callback()
1004 if (spt->target_id >= ESAS2R_MAX_TARGETS || !check_lun(lun)) { in hba_ioctl_callback()
[all …]
/drivers/net/can/
Ddev.c110 int spt_error = 1000, spt = 0, sampl_pt; in can_calc_bittiming() local
145 spt = can_update_spt(btc, sampl_pt, tseg / 2, in can_calc_bittiming()
147 error = sampl_pt - spt; in can_calc_bittiming()
/drivers/scsi/qla2xxx/
Dqla_isr.c1807 struct sd_dif_tuple *spt; in qla2x00_handle_dif_error() local
1829 spt = page_address(sg_page(sg)) + sg->offset; in qla2x00_handle_dif_error()
1830 spt += j; in qla2x00_handle_dif_error()
1832 spt->app_tag = 0xffff; in qla2x00_handle_dif_error()
1834 spt->ref_tag = 0xffffffff; in qla2x00_handle_dif_error()
Dqla_target.c2791 struct sd_dif_tuple *spt; in qlt_handle_dif_error()
2796 spt = page_address(sg_page(sg)) + sg->offset; in qlt_handle_dif_error()
2797 spt += j; in qlt_handle_dif_error()
2799 spt->app_tag = 0xffff; in qlt_handle_dif_error()
2801 spt->ref_tag = 0xffffffff; in qlt_handle_dif_error()
/drivers/nvme/host/
Dscsi.c680 u8 spt; in nvme_trans_ext_inq_page() local
696 spt = spt_lut[id_ns->dpc & 0x07] << 3; in nvme_trans_ext_inq_page()
719 inq_response[4] = microcode | spt | grd_chk | app_chk | ref_chk; in nvme_trans_ext_inq_page()