/freebsd/sys/arm/ti/twl/ |
H A D | twl.c | 99 unsigned int sc_type; member 136 return (sc->sc_type == TWL_DEVICE_4030); in twl_is_4030() 143 return (sc->sc_type == TWL_DEVICE_6025); in twl_is_6025() 150 return (sc->sc_type == TWL_DEVICE_6030); in twl_is_6030() 358 sc->sc_type = TWL_DEVICE_UNKNOWN; in twl_probe() 362 sc->sc_type = TWL_DEVICE_6030; in twl_probe() 364 sc->sc_type = TWL_DEVICE_6025; in twl_probe() 366 sc->sc_type = TWL_DEVICE_4030; in twl_probe() 368 if (sc->sc_type != TWL_DEVICE_UNKNOWN) in twl_probe() 377 switch (sc->sc_type) { in twl_probe()
|
/freebsd/sys/powerpc/powernv/ |
H A D | opal_sensor.c | 53 int sc_type; member 141 switch (sc->sc_type) { in opal_sensor_sysctl() 190 sc->sc_type = -1; in opal_sensor_attach() 193 sc->sc_type = i; in opal_sensor_attach() 197 if (sc->sc_type == -1) { in opal_sensor_attach() 209 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", "current value"); in opal_sensor_attach() 212 CTLFLAG_RD, __DECONST(char *, opal_sensor_types[sc->sc_type]), in opal_sensor_attach() 225 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach() 235 (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I", in opal_sensor_attach()
|
/freebsd/sys/dev/usb/net/ |
H A D | uhso.c | 83 uint32_t sc_type; /* Interface definition */ member 597 CTLFLAG_RD, uhso_port[UHSO_IFACE_PORT(sc->sc_type)], 0, in uhso_attach() 608 device_set_desc_copy(self, uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)]); in uhso_attach() 611 uhso_port_type[UHSO_IFACE_PORT_TYPE(sc->sc_type)], in uhso_attach() 632 if (UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_MUX) in uhso_attach() 635 port = UHSO_IFACE_PORT_TYPE(sc->sc_type); in uhso_attach() 902 sc->sc_type = type; in uhso_probe_iface() 918 sc->sc_type = UHSO_IFACE_SPEC( in uhso_probe_iface() 1363 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_bs_cfg() 1449 if (!(UHSO_IFACE_USB_TYPE(sc->sc_type) & UHSO_IF_BULK)) in uhso_ucom_cfg_set_dtr() [all …]
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_gate_clock.c | 61 uint8_t sc_type; member 143 sc->sc_type = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in ti_gate_attach() 146 if (sc->sc_type != TI_CLKDM_GATE_CLOCK) { in ti_gate_attach()
|
/freebsd/sys/arm/mv/ |
H A D | mv_pci.c | 316 int sc_type; member 472 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach() 478 sc->sc_type = MV_TYPE_PCIE; in mv_pcib_attach() 484 sc->sc_type = MV_TYPE_PCI; in mv_pcib_attach() 1086 if (sc->sc_type != MV_TYPE_PCIE) in pcib_write_irq_mask() 1110 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread() 1112 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgread() 1145 ca = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite() 1147 cd = (sc->sc_type != MV_TYPE_PCI) ? in mv_pcib_hw_cfgwrite() 1177 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
|
H A D | a37x0_gpio.c | 50 int sc_type; member 244 sc->sc_type = ofw_bus_search_compatible( in a37x0_gpio_probe() 246 switch (sc->sc_type) { in a37x0_gpio_probe()
|
/freebsd/sys/dev/powermac_nvram/ |
H A D | powermac_nvram.c | 147 sc->sc_type = FLASH_TYPE_AMD; in powermac_nvram_attach() 149 sc->sc_type = FLASH_TYPE_SM; in powermac_nvram_attach() 523 if (sc->sc_type == FLASH_TYPE_AMD) in erase_bank() 537 if (sc->sc_type == FLASH_TYPE_AMD) in write_bank()
|
H A D | powermac_nvramvar.h | 58 int sc_type; member
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | nvmft_qpair.c | 257 uint8_t sc_type, uint8_t sc_status) in nvmft_send_error() argument 262 status = NVMEF(NVME_STATUS_SCT, sc_type) | in nvmft_send_error() 335 const struct nvmf_fabric_connect_cmd *cmd, uint8_t sc_type, in nvmft_connect_error() argument 341 status = NVMEF(NVME_STATUS_SCT, sc_type) | in nvmft_connect_error()
|
H A D | nvmft_var.h | 152 uint8_t sc_type, uint8_t sc_status); 158 const struct nvmf_fabric_connect_cmd *cmd, uint8_t sc_type,
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_controller.c | 30 nvmf_simple_response(const struct nvmf_capsule *nc, uint8_t sc_type, in nvmf_simple_response() argument 36 status = NVMEF(NVME_STATUS_SCT, sc_type) | in nvmf_simple_response() 96 nvmf_send_error(const struct nvmf_capsule *cc, uint8_t sc_type, in nvmf_send_error() argument 102 rc = nvmf_simple_response(cc, sc_type, sc_status); in nvmf_send_error()
|
H A D | libnvmf.h | 178 int nvmf_send_error(const struct nvmf_capsule *cc, uint8_t sc_type,
|
/freebsd/sys/geom/stripe/ |
H A D | g_stripe.c | 687 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run() 694 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) in g_stripe_check_and_run() 785 if (sc->sc_type == G_STRIPE_TYPE_AUTOMATIC) { in g_stripe_add_disk() 883 sc->sc_type = type; in g_stripe_destroy() 1016 if (sc->sc_type != G_STRIPE_TYPE_AUTOMATIC) in g_stripe_taste() 1254 switch (sc->sc_type) { in g_stripe_dumpconf()
|
H A D | g_stripe.h | 58 u_int sc_type; /* provider type */ 56 u_int sc_type; /* provider type */ global() member
|
/freebsd/sys/geom/concat/ |
H A D | g_concat.c | 459 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) in g_concat_check_and_run() 576 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_add_disk() 663 sc->sc_type = type; in g_concat_create() 803 if (sc->sc_type != G_CONCAT_TYPE_AUTOMATIC) in g_concat_taste() 1172 if (sc->sc_type == G_CONCAT_TYPE_AUTOMATIC) { in g_concat_ctl_append() 1244 switch (sc->sc_type) { in g_concat_dumpconf()
|
H A D | g_concat.h | 67 u_int sc_type; /* provider type */ member
|
/freebsd/sys/geom/shsec/ |
H A D | g_shsec.h | 53 u_int sc_type; /* provider type */ member
|
/freebsd/sys/geom/cache/ |
H A D | g_cache.h | 52 int sc_type; member
|
H A D | g_cache.c | 509 sc->sc_type = type; in g_cache_create() 824 if (sc->sc_type != G_CACHE_TYPE_AUTOMATIC) in g_cache_ctl_configure()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_sleepq.c | 44 int sc_type; member
|
/freebsd/sys/dev/safexcel/ |
H A D | safexcel_var.h | 404 uint32_t sc_type; /* EIP-97 or 197 */ member
|
/freebsd/sys/geom/journal/ |
H A D | g_journal.c | 2226 else if (sc != NULL && (sc->sc_type & md->md_type) != 0) { in g_journal_create() 2247 sc->sc_type = 0; in g_journal_create() 2294 sc->sc_type |= md->md_type; in g_journal_create() 2351 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) { in g_journal_create() 2523 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_find_device() 2838 if ((sc->sc_type & GJ_TYPE_COMPLETE) != GJ_TYPE_COMPLETE) in g_journal_do_switch() 2946 if ((sc->sc_type & GJ_TYPE_COMPLETE) == GJ_TYPE_COMPLETE && in g_journal_do_switch()
|
H A D | g_journal.h | 104 uint8_t sc_type; member
|
/freebsd/sys/geom/mirror/ |
H A D | g_mirror_ctl.c | 690 mdsize = (sc->sc_type == G_MIRROR_TYPE_AUTOMATIC) ? in g_mirror_ctl_insert() 703 if (sc->sc_type != G_MIRROR_TYPE_AUTOMATIC) { in g_mirror_ctl_insert()
|
H A D | g_mirror.h | 170 u_int sc_type; /* Device type (manual/automatic). */ member
|