Searched refs:sc_hw (Results 1 – 10 of 10) sorted by relevance
/netbsd-src/sys/dev/dtv/ |
H A D | dtvvar.h | 111 const struct dtv_hw_if *sc_hw; member 131 ((sc)->sc_hw->get_devinfo((sc)->sc_priv, (info))) 133 ((sc)->sc_hw->open((sc)->sc_priv, (flags))) 135 ((sc)->sc_hw->close((sc)->sc_priv)) 137 ((sc)->sc_hw->set_tuner((sc)->sc_priv, (params))) 139 ((sc)->sc_hw->get_status((sc)->sc_priv)) 141 ((sc)->sc_hw->get_signal_strength((sc)->sc_priv)) 143 ((sc)->sc_hw->get_snr((sc)->sc_priv)) 145 ((sc)->sc_hw->start_transfer((sc)->sc_priv, dtv_buffer_submit, (sc))) 147 ((sc)->sc_hw->stop_transfer((sc)->sc_priv))
|
H A D | dtv_device.c | 101 sc->sc_hw = daa->hw; in dtv_attach()
|
/netbsd-src/sys/dev/pci/qat/ |
H A D | qat.c | 423 memcpy(&sc->sc_hw, qatp->qatp_hw, sizeof(struct qat_hw)); in qat_attach() 426 sc->sc_accel_mask = sc->sc_hw.qhw_get_accel_mask(sc); in qat_attach() 427 sc->sc_ae_mask = sc->sc_hw.qhw_get_ae_mask(sc); in qat_attach() 430 for (i = 0; i < sc->sc_hw.qhw_num_accel; i++) { in qat_attach() 435 for (i = 0; i < sc->sc_hw.qhw_num_engines; i++) { in qat_attach() 450 sc->sc_sku = sc->sc_hw.qhw_get_sku(sc); in qat_attach() 451 sc->sc_accel_cap = sc->sc_hw.qhw_get_accel_cap(sc); in qat_attach() 452 sc->sc_fw_uof_name = sc->sc_hw.qhw_get_fw_uof_name(sc); in qat_attach() 475 if (sc->sc_hw.qhw_sram_bar_id != NO_PCI_REG) { in qat_attach() 476 KASSERT(sc->sc_hw.qhw_sram_bar_id == 0); in qat_attach() [all …]
|
H A D | qatvar.h | 824 struct qat_hw sc_hw; member 961 qat_bar_write_4(sc, sc->sc_hw.qhw_misc_bar_id, offset, value); in qat_misc_write_4() 968 return qat_bar_read_4(sc, sc->sc_hw.qhw_misc_bar_id, offset); in qat_misc_read_4() 997 qat_bar_write_4(sc, sc->sc_hw.qhw_etr_bar_id, offset, value); in qat_etr_write_4() 1004 return qat_bar_read_4(sc, sc->sc_hw.qhw_etr_bar_id, offset); in qat_etr_read_4() 1015 qat_misc_write_4(sc, sc->sc_hw.qhw_ae_local_offset + offset, in qat_ae_local_write_4() 1026 return qat_misc_read_4(sc, sc->sc_hw.qhw_ae_local_offset + offset); in qat_ae_local_read_4() 1036 qat_misc_write_4(sc, sc->sc_hw.qhw_ae_offset + offset, value); in qat_ae_xfer_write_4() 1043 qat_misc_write_4(sc, sc->sc_hw.qhw_cap_global_offset + offset, value); in qat_cap_global_write_4() 1050 return qat_misc_read_4(sc, sc->sc_hw.qhw_cap_global_offset + offset); in qat_cap_global_read_4() [all …]
|
H A D | qat_hw17.c | 223 sc->sc_hw.qhw_clock_per_sec / 1000 * QAT_HB_INTERVAL; in qat_adm_mailbox_send_hb_timer() 300 sc->sc_hw.qhw_get_arb_mapping(sc, &thd_2_arb_cfg); in qat_arb_init() 305 for (i = 0; i < sc->sc_hw.qhw_num_engines; i++) in qat_arb_init() 318 timer = sc->sc_hw.qhw_clock_per_sec / 1000 * QAT_SSM_WDT; in qat_set_ssm_wdtimer()
|
H A D | qat_hw15.c | 229 ADMIN_RING_SIZE, sc->sc_hw.qhw_fw_req_size, in qat_adm_ring_init() 235 ADMIN_RING_SIZE, sc->sc_hw.qhw_fw_resp_size, in qat_adm_ring_init() 321 param = &tbl->firt_bulk_rings[sc->sc_hw.qhw_ring_sym_tx]; in qat_adm_ring_build_ring_table() 324 FW_INIT_RING_MASK_SET(tbl, sc->sc_hw.qhw_ring_sym_tx); in qat_adm_ring_build_ring_table()
|
H A D | qat_ae.c | 982 if (!sc->sc_hw.qhw_fw_auth) { in qat_ae_init() 1866 error = firmware_open("qat", sc->sc_hw.qhw_mof_fwname, &fh); in qat_aefw_load_mof() 1869 sc->sc_hw.qhw_mof_fwname); in qat_aefw_load_mof() 1904 error = firmware_open("qat", sc->sc_hw.qhw_mmp_fwname, &fh); in qat_aefw_load_mmp() 1907 sc->sc_hw.qhw_mmp_fwname); in qat_aefw_load_mmp() 2328 if ((uoh->uoh_cpu_type & sc->sc_hw.qhw_prod_type) == 0) in qat_aefw_uof_parse() 2404 if (ae_mode->sam_dev_type != sc->sc_hw.qhw_prod_type) in qat_aefw_suof_parse_image() 2855 if (sc->sc_hw.qhw_fw_auth) { in qat_aefw_load() 2902 if (sc->sc_hw.qhw_fw_auth) { in qat_aefw_start()
|
/netbsd-src/sys/arch/hppa/dev/ |
H A D | lasi.c | 76 struct lasi_hwr volatile *sc_hw; member 173 sc->sc_hw = (struct lasi_hwr *)ioh; in lasiattach() 177 aprint_normal(": rev %d.%d\n", (sc->sc_hw->lasi_version & 0xf0) >> 4, in lasiattach() 178 sc->sc_hw->lasi_version & 0xf); in lasiattach() 234 sc->sc_hw->lasi_power = LASI_BLINK; in lasi_cold_hook() 237 sc->sc_hw->lasi_power = 0; in lasi_cold_hook() 240 sc->sc_hw->lasi_power = LASI_OFF; in lasi_cold_hook()
|
H A D | asp.c | 130 volatile struct asp_hwr *sc_hw; member 220 sc->sc_hw = (struct asp_hwr *)ioh; in aspattach() 258 asp_spus[sc->sc_trs->asp_spu].name, sc->sc_hw->asp_version, in aspattach()
|
/netbsd-src/sys/dev/spi/ |
H A D | spiflash.c | 77 struct spiflash_hw_if sc_hw; member 94 #define sc_getname sc_hw.sf_getname 95 #define sc_gethandle sc_hw.sf_gethandle 96 #define sc_getsize sc_hw.sf_getsize 97 #define sc_getflags sc_hw.sf_getflags 98 #define sc_erase sc_hw.sf_erase 99 #define sc_write sc_hw.sf_write 100 #define sc_read sc_hw.sf_read 101 #define sc_getstatus sc_hw.sf_getstatus 102 #define sc_setstatus sc_hw.sf_setstatus [all …]
|