Home
last modified time | relevance | path

Searched refs:tinfo (Results 1 – 12 of 12) sorted by relevance

/drivers/scsi/aic7xxx/
Daic79xx_proc.c93 ahd_format_transinfo(struct seq_file *m, struct ahd_transinfo *tinfo) in ahd_format_transinfo() argument
99 if (tinfo->period == AHD_PERIOD_UNKNOWN) { in ahd_format_transinfo()
105 if (tinfo->offset != 0) { in ahd_format_transinfo()
106 freq = ahd_calc_syncsrate(tinfo->period); in ahd_format_transinfo()
109 speed *= (0x01 << tinfo->width); in ahd_format_transinfo()
121 if ((tinfo->ppr_options & MSG_EXT_PPR_RD_STRM) != 0) { in ahd_format_transinfo()
125 if ((tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0) { in ahd_format_transinfo()
129 if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_format_transinfo()
133 if ((tinfo->ppr_options & MSG_EXT_PPR_RTI) != 0) { in ahd_format_transinfo()
137 if ((tinfo->ppr_options & MSG_EXT_PPR_QAS_REQ) != 0) { in ahd_format_transinfo()
[all …]
Daic79xx_osm.c616 struct ahd_initiator_tinfo *tinfo; in ahd_linux_target_alloc() local
629 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_target_alloc()
645 spi_min_period(starget) = tinfo->user.period; in ahd_linux_target_alloc()
646 spi_max_offset(starget) = tinfo->user.offset; in ahd_linux_target_alloc()
649 tinfo = ahd_fetch_transinfo(ahd, channel, ahd->our_id, in ahd_linux_target_alloc()
790 struct ahd_initiator_tinfo *tinfo; in ahd_linux_dev_reset() local
831 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_dev_reset()
845 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_linux_dev_reset()
1305 struct ahd_initiator_tinfo *tinfo; in ahd_linux_initialize_scsi_bus() local
1308 tinfo = ahd_fetch_transinfo(ahd, 'A', ahd->our_id, in ahd_linux_initialize_scsi_bus()
[all …]
Daic7xxx_proc.c94 ahc_format_transinfo(struct seq_file *m, struct ahc_transinfo *tinfo) in ahc_format_transinfo() argument
102 if (tinfo->offset != 0) { in ahc_format_transinfo()
103 freq = ahc_calc_syncsrate(tinfo->period); in ahc_format_transinfo()
106 speed *= (0x01 << tinfo->width); in ahc_format_transinfo()
116 (tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0 in ahc_format_transinfo()
117 ? " DT" : "", tinfo->offset); in ahc_format_transinfo()
120 if (tinfo->width > 0) { in ahc_format_transinfo()
126 seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); in ahc_format_transinfo()
139 struct ahc_initiator_tinfo *tinfo; in ahc_dump_target_state() local
143 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_dump_target_state()
[all …]
Daic7xxx_osm.c567 struct ahc_initiator_tinfo *tinfo; in ahc_linux_target_alloc() local
616 tinfo = ahc_fetch_transinfo(ahc, channel, ahc->our_id, in ahc_linux_target_alloc()
1181 struct ahc_initiator_tinfo *tinfo; in ahc_linux_initialize_scsi_bus() local
1195 tinfo = ahc_fetch_transinfo(ahc, channel, our_id, in ahc_linux_initialize_scsi_bus()
1200 tinfo, AHC_NEG_ALWAYS); in ahc_linux_initialize_scsi_bus()
1427 struct ahc_initiator_tinfo *tinfo; in ahc_linux_run_command() local
1483 tinfo = ahc_fetch_transinfo(ahc, SCB_GET_CHANNEL(ahc, scb), in ahc_linux_run_command()
1486 hscb->scsirate = tinfo->scsirate; in ahc_linux_run_command()
1487 hscb->scsioffset = tinfo->curr.offset; in ahc_linux_run_command()
1615 struct ahc_initiator_tinfo *tinfo; in ahc_send_async() local
[all …]
Daic7xxx_core.c1062 struct ahc_transinfo *tinfo; in ahc_handle_seqint() local
1079 tinfo = &targ_info->curr; in ahc_handle_seqint()
1102 if (tinfo->protocol_version <= SCSI_REV_2 in ahc_handle_seqint()
1872 struct ahc_initiator_tinfo *tinfo; in ahc_handle_scsiint() local
1879 tinfo = ahc_fetch_transinfo(ahc, in ahc_handle_scsiint()
1884 tinfo->curr.transport_version = 2; in ahc_handle_scsiint()
1885 tinfo->goal.transport_version = 2; in ahc_handle_scsiint()
1886 tinfo->goal.ppr_options = 0; in ahc_handle_scsiint()
2217 struct ahc_initiator_tinfo *tinfo, in ahc_devlimited_syncrate() argument
2248 transinfo = &tinfo->user; in ahc_devlimited_syncrate()
[all …]
Daic79xx_core.c130 struct ahd_transinfo *tinfo);
1919 struct ahd_transinfo *tinfo; in ahd_handle_seqint() local
1952 tinfo = &targ_info->curr; in ahd_handle_seqint()
3135 struct ahd_initiator_tinfo *tinfo; in ahd_handle_nonpkt_busfree() local
3152 tinfo = ahd_fetch_transinfo(ahd, devinfo.channel, in ahd_handle_nonpkt_busfree()
3155 if ((tinfo->curr.ppr_options & MSG_EXT_PPR_IU_REQ)!=0) { in ahd_handle_nonpkt_busfree()
3171 tinfo->curr.transport_version = 2; in ahd_handle_nonpkt_busfree()
3172 tinfo->goal.transport_version = 2; in ahd_handle_nonpkt_busfree()
3173 tinfo->goal.ppr_options = 0; in ahd_handle_nonpkt_busfree()
3698 struct ahd_initiator_tinfo *tinfo, in ahd_devlimited_syncrate() argument
[all …]
/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c314 struct hfi1_tid_info *tinfo) in hfi1_user_exp_rcv_setup() argument
324 if (!PAGE_ALIGNED(tinfo->vaddr)) in hfi1_user_exp_rcv_setup()
331 tidbuf->vaddr = tinfo->vaddr; in hfi1_user_exp_rcv_setup()
332 tidbuf->length = tinfo->length; in hfi1_user_exp_rcv_setup()
473 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
474 tinfo->length = mapped_pages * PAGE_SIZE; in hfi1_user_exp_rcv_setup()
476 if (copy_to_user((void __user *)(unsigned long)tinfo->tidlist, in hfi1_user_exp_rcv_setup()
482 tinfo->tidlist = (unsigned long)&tidlist; in hfi1_user_exp_rcv_setup()
483 hfi1_user_exp_rcv_clear(fd, tinfo); in hfi1_user_exp_rcv_setup()
484 tinfo->tidlist = 0; in hfi1_user_exp_rcv_setup()
[all …]
Duser_exp_rcv.h92 struct hfi1_tid_info *tinfo);
94 struct hfi1_tid_info *tinfo);
96 struct hfi1_tid_info *tinfo);
Dfile_ops.c224 struct hfi1_tid_info tinfo; in hfi1_file_ioctl() local
263 if (copy_from_user(&tinfo, in hfi1_file_ioctl()
265 sizeof(tinfo))) in hfi1_file_ioctl()
268 ret = hfi1_user_exp_rcv_setup(fd, &tinfo); in hfi1_file_ioctl()
275 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in hfi1_file_ioctl()
276 sizeof(tinfo.tidcnt))) in hfi1_file_ioctl()
280 if (copy_to_user((void __user *)addr, &tinfo.length, in hfi1_file_ioctl()
281 sizeof(tinfo.length))) in hfi1_file_ioctl()
287 if (copy_from_user(&tinfo, in hfi1_file_ioctl()
289 sizeof(tinfo))) in hfi1_file_ioctl()
[all …]
/drivers/nvme/target/
Dfcloop.c1050 struct nvmet_fc_port_info tinfo; in fcloop_create_target_port() local
1057 tinfo.node_name = nport->node_name; in fcloop_create_target_port()
1058 tinfo.port_name = nport->port_name; in fcloop_create_target_port()
1059 tinfo.port_id = nport->port_id; in fcloop_create_target_port()
1061 ret = nvmet_fc_register_targetport(&tinfo, &tgttemplate, NULL, in fcloop_create_target_port()
/drivers/net/wireless/ath/ath9k/
Dmci.c87 struct ath_mci_profile_info *info, *tinfo; in ath_mci_flush_profile() local
95 list_for_each_entry_safe(info, tinfo, &mci->info, list) { in ath_mci_flush_profile()
/drivers/rapidio/devices/
Dtsi721_dma.c844 void *tinfo) in tsi721_prep_rio_sg() argument
848 struct rio_dma_ext *rext = tinfo; in tsi721_prep_rio_sg()