Searched refs:rcap (Results 1 – 10 of 10) sorted by relevance
| /freebsd/sys/dev/thunderbolt/ |
| H A D | router.c | 841 struct router_cfg_cap rcap; in tb_config_find_router_cap() local 857 rcap.space = TB_CFG_CS_ROUTER; in tb_config_find_router_cap() 858 rcap.adap = 0; in tb_config_find_router_cap() 859 rcap.next_cap = GET_ROUTER_CS_NEXT_CAP(cfg); in tb_config_find_router_cap() 860 rcap.cap_id = cap; in tb_config_find_router_cap() 861 rcap.vsc_id = vsc; in tb_config_find_router_cap() 862 error = tb_config_find_cap(sc, &rcap); in tb_config_find_router_cap() 864 *offset = rcap.current_cap; in tb_config_find_router_cap() 887 struct router_cfg_cap rcap; in tb_config_find_adapter_cap() local 903 rcap.space = TB_CFG_CS_ADAPTER; in tb_config_find_adapter_cap() [all …]
|
| /freebsd/usr.sbin/mptutil/ |
| H A D | mpt_cam.c | 233 struct scsi_read_capacity_data rcap; in fetch_scsi_capacity() local 245 scsi_read_capacity(&ccb->csio, 1, NULL, MSG_SIMPLE_Q_TAG, &rcap, in fetch_scsi_capacity() 267 if (scsi_4btoul(rcap.addr) != 0xffffffff) { in fetch_scsi_capacity() 268 disk->maxlba = scsi_4btoul(rcap.addr); in fetch_scsi_capacity()
|
| /freebsd/sys/dev/usb/storage/ |
| H A D | umass.c | 2502 struct scsi_read_capacity_data *rcap; in umass_cam_cb() local 2505 rcap = (void *)(ccb->csio.data_ptr); in umass_cam_cb() 2506 maxsector = scsi_4btoul(rcap->addr) - 1; in umass_cam_cb() 2507 scsi_ulto4b(maxsector, rcap->addr); in umass_cam_cb()
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_cd.c | 971 struct scsi_read_capacity_data *rcap; in cdstart() local 973 rcap = (struct scsi_read_capacity_data *)malloc(sizeof(*rcap), in cdstart() 975 if (rcap == NULL) { in cdstart() 1008 rcap, in cdstart()
|
| H A D | scsi_da.c | 3628 struct scsi_read_capacity_data *rcap; in dastart() local 3630 rcap = (struct scsi_read_capacity_data *) in dastart() 3631 malloc(sizeof(*rcap), M_SCSIDA, M_NOWAIT|M_ZERO); in dastart() 3632 if (rcap == NULL) { in dastart() 3641 rcap, in dastart()
|
| /freebsd/usr.sbin/camdd/ |
| H A D | camdd.c | 1287 struct scsi_read_capacity_data rcap; in camdd_probe_pass_scsi() local 1302 &rcap, in camdd_probe_pass_scsi() 1326 *maxsector = scsi_4btoul(rcap.addr); in camdd_probe_pass_scsi() 1327 *block_len = scsi_4btoul(rcap.length); in camdd_probe_pass_scsi()
|
| /freebsd/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 4627 unsigned int aneg, fc, fec, speed, rcap; in t4_link_l1cfg() local 4723 rcap = aneg | speed | fc | fec; in t4_link_l1cfg() 4724 if ((rcap | lc->pcaps) != lc->pcaps) { in t4_link_l1cfg() 4726 CH_WARN(adap, "rcap 0x%08x, pcap 0x%08x, removed 0x%x\n", rcap, in t4_link_l1cfg() 4727 lc->pcaps, rcap & (rcap ^ lc->pcaps)); in t4_link_l1cfg() 4729 rcap &= lc->pcaps; in t4_link_l1cfg() 4731 rcap |= mdi; in t4_link_l1cfg() 4741 c.u.l1cfg32.rcap32 = cpu_to_be32(rcap); in t4_link_l1cfg() 4746 c.u.l1cfg.rcap = cpu_to_be32(fwcaps32_to_caps16(rcap)); in t4_link_l1cfg() 4749 lc->requested_caps = rcap; in t4_link_l1cfg() [all …]
|
| /freebsd/sbin/camcontrol/ |
| H A D | camcontrol.c | 7528 struct scsi_read_capacity_data rcap; in scsireadcapacity() local 7616 &rcap, in scsireadcapacity() 7638 maxsector = scsi_4btoul(rcap.addr); in scsireadcapacity() 7639 block_len = scsi_4btoul(rcap.length); in scsireadcapacity()
|
| /freebsd/contrib/ofed/libcxgb4/ |
| H A D | t4fw_api.h | 2361 __be32 rcap; member
|
| /freebsd/sys/dev/cxgbe/firmware/ |
| H A D | t4fw_interface.h | 8553 __be32 rcap; member
|