Searched refs:rcap (Results 1 – 9 of 9) sorted by relevance
| /freebsd/sys/dev/thunderbolt/ |
| H A D | router.c | 924 struct router_cfg_cap rcap; in tb_config_find_router_cap() local 940 rcap.space = TB_CFG_CS_ROUTER; in tb_config_find_router_cap() 941 rcap.adap = 0; in tb_config_find_router_cap() 942 rcap.next_cap = GET_ROUTER_CS_NEXT_CAP(cfg); in tb_config_find_router_cap() 943 rcap.cap_id = cap; in tb_config_find_router_cap() 944 rcap.vsc_id = vsc; in tb_config_find_router_cap() 945 error = tb_config_find_cap(sc, &rcap); in tb_config_find_router_cap() 947 *offset = rcap.current_cap; in tb_config_find_router_cap() 970 struct router_cfg_cap rcap; in tb_config_find_adapter_cap() local 986 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 | 2557 struct scsi_read_capacity_data *rcap; in umass_cam_cb() local 2560 rcap = (void *)(ccb->csio.data_ptr); in umass_cam_cb() 2561 maxsector = scsi_4btoul(rcap->addr) - 1; in umass_cam_cb() 2562 scsi_ulto4b(maxsector, rcap->addr); in umass_cam_cb()
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_cd.c | 981 struct scsi_read_capacity_data *rcap; in cdstart() local 983 rcap = (struct scsi_read_capacity_data *)malloc(sizeof(*rcap), in cdstart() 985 if (rcap == NULL) { in cdstart() 1018 rcap, in cdstart()
|
| H A D | scsi_da.c | 3632 struct scsi_read_capacity_data *rcap; in dastart() local 3634 rcap = (struct scsi_read_capacity_data *) in dastart() 3635 malloc(sizeof(*rcap), M_SCSIDA, M_NOWAIT|M_ZERO); in dastart() 3636 if (rcap == NULL) { in dastart() 3645 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 | 7559 struct scsi_read_capacity_data rcap; in scsireadcapacity() local 7647 &rcap, in scsireadcapacity() 7669 maxsector = scsi_4btoul(rcap.addr); in scsireadcapacity() 7670 block_len = scsi_4btoul(rcap.length); in scsireadcapacity()
|
| /freebsd/sys/dev/cxgbe/firmware/ |
| H A D | t4fw_interface.h | 8628 __be32 rcap; member
|