Searched refs:chip (Results 26 - 50 of 100) sorted by relevance

1234

/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-via.c132 if (!(ctlr->chip = ata_find_chip(dev, ids, -99)))
136 if (!(ctlr->chip = ata_match_chip(dev, new_ids)))
154 if (ctlr->chip->cfg2 & VIASATA) {
162 if (ctlr->chip->max_dma >= ATA_SA150) {
171 if (ctlr->chip->cfg2 & VIABAR) {
181 if (ctlr->chip->cfg2 & VIACLK)
185 if (ctlr->chip->cfg2 & VIABUG)
214 if (ctlr->chip->cfg2 & VIABAR) {
249 ch->r_io[ATA_SSTATUS].offset = (ch->unit << ctlr->chip->cfg1);
251 ch->r_io[ATA_SERROR].offset = 0x04 + (ch->unit << ctlr->chip
[all...]
H A Data-nvidia.c176 if (!(ctlr->chip = ata_match_chip(dev, ids)))
179 if ((ctlr->chip->cfg1 & NVAHCI) &&
196 if (ctlr->chip->cfg1 & NVAHCI) {
199 } else if (ctlr->chip->max_dma >= ATA_SA150) {
207 int offset = ctlr->chip->cfg1 & NV4 ? 0x0440 : 0x0010;
217 if (ctlr->chip->cfg1 & NVQ) {
286 int offset = ctlr->chip->cfg1 & NV4 ? 0x0440 : 0x0010;
287 int shift = ch->unit << (ctlr->chip->cfg1 & NVQ ? 4 : 2);
291 if (ctlr->chip->cfg1 & NVQ)
301 if (ctlr->chip
[all...]
H A Data-promise.c210 ctlr->chip = idx;
224 switch (ctlr->chip->cfg1) {
252 if (ctlr->chip->cfg2 == PR_SX4X &&
265 if (ctlr->chip->cfg2 == PR_SX4X) {
314 switch (ctlr->chip->cfg2) {
346 if ((ctlr->chip->cfg2 == PR_SATA2) || (ctlr->chip->cfg2 == PR_CMBO2))
375 if (ctlr->chip->cfg1 == PR_NEW) {
478 mode = min(mode, ctlr->chip->max_dma);
480 switch (ctlr->chip
[all...]
H A Data-ati.c101 if (!(ctlr->chip = ata_match_chip(dev, ids)))
104 switch (ctlr->chip->cfg1) {
135 if (ctlr->chip->cfg1 == ATI_AHCI) {
140 switch (ctlr->chip->chipid) {
217 mode = min(mode, ctlr->chip->max_dma);
H A Data-intel.c197 if (!(ctlr->chip = ata_match_chip(dev, ids)))
220 if (ctlr->chip->chipid == ATA_I82371FB) {
225 else if (ctlr->chip->chipid == ATA_I31244) {
242 else if (ctlr->chip->chipid == ATA_ISCH) {
249 else if (ctlr->chip->max_dma < ATA_SA150) {
250 ctlr->channels = ctlr->chip->cfg2;
266 if ((ctlr->chip->cfg1 & INTEL_ICH7)) {
280 } else if (ctlr->chip->chipid != ATA_I82801HBM_S1 ||
288 (ctlr->chip->cfg1 & INTEL_ICH5))
332 if (ctlr->chip
[all...]
H A Data-sis.c85 { ATA_SIS745, 0x00, SIS_100NEW, 0, ATA_UDMA5, "745" }, /* 1chip */
86 { ATA_SIS735, 0x00, SIS_100NEW, 0, ATA_UDMA5, "735" }, /* 1chip */
87 { ATA_SIS733, 0x00, SIS_100NEW, 0, ATA_UDMA5, "733" }, /* 1chip */
88 { ATA_SIS730, 0x00, SIS_100OLD, 0, ATA_UDMA5, "730" }, /* 1chip */
90 { ATA_SIS635, 0x00, SIS_100NEW, 0, ATA_UDMA5, "635" }, /* 1chip */
92 { ATA_SIS630, 0x30, SIS_100OLD, 0, ATA_UDMA5, "630S"}, /* 1chip */
93 { ATA_SIS630, 0x00, SIS_66, 0, ATA_UDMA4, "630" }, /* 1chip */
94 { ATA_SIS620, 0x00, SIS_66, 0, ATA_UDMA4, "620" }, /* 1chip */
155 ctlr->chip = idx;
168 switch (ctlr->chip
[all...]
H A Data-serverworks.c94 if (!(ctlr->chip = ata_match_chip(dev, ids)))
132 if (ctlr->chip->cfg1 == SWKS_MIO) {
139 ctlr->channels = ctlr->chip->cfg2;
147 else if (ctlr->chip->cfg1 == SWKS_33) {
166 ((ctlr->chip->cfg1 == SWKS_100) ? 0x03 : 0x02), 1);
212 if (ctlr->chip->chipid == ATA_K2) {
241 /* chip does not reliably do 64K DMA transfers */
325 mode = min(mode, ctlr->chip->max_dma);
359 if (ctlr->chip->cfg1 != SWKS_33) {
H A Data-acard.c81 if (!(ctlr->chip = ata_match_chip(dev, ids)))
99 if (ctlr->chip->cfg1 == ATP_OLD) {
157 mode = min(mode, ctlr->chip->max_dma);
181 mode = min(mode, ctlr->chip->max_dma);
H A Data-ite.c75 if (!(ctlr->chip = ata_match_chip(dev, ids)))
91 if (ctlr->chip->chipid == ATA_IT8213F) {
139 mode = min(mode, ctlr->chip->max_dma);
189 mode = min(mode, ctlr->chip->max_dma);
/freebsd-11-stable/sys/dev/utopia/
H A Dutopia.c98 utp->chip->name, reg, nreg, err);
105 utp->chip->name, reg, nreg, err);
231 if (utp->chip->type != UTP_TYPE_UNKNOWN && utp->state & UTP_ST_ACTIVE) {
268 if (utp->chip->type != UTP_TYPE_UNKNOWN && utp->state & UTP_ST_ACTIVE) {
338 * Try to find out what chip we have
346 utp->chip = &utopia_chip_622;
357 utp->chip = &utopia_chip_idt77155;
359 utp->chip = &utopia_chip_lite;
363 utp->chip = &utopia_chip_ultra;
368 utp->chip
[all...]
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dsched.d36 chipid_t cpu_chip; /* chip identifier */
77 inline chipid_t chip = curcpu->cpu_chip;
78 #pragma D attributes Stable/Stable/Common chip
79 #pragma D binding "1.0" chip
/freebsd-11-stable/sys/dev/nand/
H A Dnandsim_chip.h43 typedef void nandsim_evh_t(struct nandsim_chip *chip, uint32_t ev, void *data);
68 struct nandsim_chip *chip; member in struct:nandsim_ev
H A Dnfc_rb.c112 /* Slicer operates on the NAND controller, so we have to find the chip. */
117 struct nand_chip *chip; local
133 chip = device_get_softc(dev);
140 slices[1].size = chip->ndisk->d_mediasize - slices[0].size;
/freebsd-11-stable/sys/dev/advansys/
H A Dadw_pci.c318 adw->chip = ADW_CHIP_NONE;
335 adw->chip = ADW_CHIP_ASC3550;
372 adw->chip = ADW_CHIP_ASC38C0800;
388 adw->chip = ADW_CHIP_ASC38C1600;
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dtps65217x.h34 * TPS65217 PMIC is a companion chip for AM335x SoC sitting on I2C bus
41 unsigned int chip:4; member in struct:tps65217_chipid_reg
/freebsd-11-stable/sys/mips/nlm/
H A Dboard.c135 * All our knowledge of chip and board that cannot be detected by probing
328 char *chip, *revstr; local
336 chip = "XLP 832";
339 chip = "XLP 3xx";
343 chip = "XLP 4xx";
346 chip = "XLP ?xx";
365 printf(" Netlogic %s %s [%x]\n", chip, revstr, procid);
369 * All our knowledge of chip and board that cannot be detected by probing
439 /* 3xx chip reports one block extra which is a bug */
/freebsd-11-stable/sys/dev/urtwn/
H A Dif_urtwnvar.h153 u_int chip; member in struct:urtwn_softc
160 #define URTWN_CHIP_HAS_RATECTL(_sc) (!!((_sc)->chip & URTWN_CHIP_88E))
H A Dif_urtwn.c510 sc->chip |= URTWN_CHIP_88E;
540 device_printf(sc->sc_dev, "unsupported test chip\n");
546 if (sc->chip & URTWN_CHIP_92C) {
547 sc->ntxchains = (sc->chip & URTWN_CHIP_92C_1T2R) ? 1 : 2;
554 if (sc->chip & URTWN_CHIP_88E)
566 (sc->chip & URTWN_CHIP_92C) ? "8192CU" :
567 (sc->chip & URTWN_CHIP_88E) ? "8188EU" :
638 if (sc->chip & URTWN_CHIP_88E) {
941 if (sc->chip & URTWN_CHIP_88E) {
1069 if (sc->chip
[all...]
/freebsd-11-stable/sys/dev/aic7xxx/
H A Daic7770.c102 /* Generic chip probes for devices we don't know 'exactly' */
184 switch (ahc->chip & (AHC_EISA|AHC_VL)) {
389 ahc->chip |= AHC_VL;
399 ahc->chip |= AHC_EISA;
408 ahc->chip = AHC_AIC7770;
H A Daic7xxx_pci.c213 * Informational only. Should use chip register to be
552 /* Generic chip probes for devices we don't know 'exactly' */
801 ahc->chip |= AHC_PCI;
856 * errors. The chip only allows us to disable *all* parity
1007 * Save chip register configuration data for chip resets
1063 u_int chip; local
1068 chip = ahc->chip & AHC_CHIPID_MASK;
1075 else if (chip
[all...]
H A Daic79xx_pci.c219 /* Generic chip probes for devices we don't know 'exactly' */
371 ahd->chip |= AHD_PCI;
375 ahd->chip |= AHD_PCIX;
494 * chip reset.
960 ahd->chip = AHD_AIC7901;
969 ahd->chip = AHD_AIC7901A;
977 ahd->chip = AHD_AIC7902;
991 printf("%s: Unable to attach to unsupported chip revision %d\n",
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dcn23xx_pf_device.c55 /* Initiate chip-wide soft reset */
235 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
304 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
454 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
705 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
809 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
827 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
864 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
893 struct lio_cn23xx_pf *cn23xx = (struct lio_cn23xx_pf *)oct->chip;
/freebsd-11-stable/sys/dev/bhnd/
H A Dbhnd_subr.c480 * Return true if the @p chip matches @p desc.
482 * @param chip A bhnd chip identifier.
483 * @param desc A match descriptor to compare against @p chip.
485 * @retval true if @p chip matches @p match
486 * @retval false if @p chip does not match @p match.
489 bhnd_chip_matches(const struct bhnd_chipid *chip, argument
492 if (desc->m.match.chip_id && chip->chip_id != desc->chip_id)
495 if (desc->m.match.chip_pkg && chip->chip_pkg != desc->chip_pkg)
499 !bhnd_hwrev_matches(chip
572 const struct bhnd_chipid *chip; local
[all...]
/freebsd-11-stable/sys/dev/sound/usb/
H A Duaudio_pcm.c35 #include <dev/sound/chip.h>
/freebsd-11-stable/sys/dev/usb/video/
H A Dudl.c350 /* Allow chip ID to be overwritten */
352 CTLFLAG_RWTUN, &sc->sc_def_chip, 0, "chip ID");
354 /* Export current chip ID */
356 CTLFLAG_RD, &sc->sc_chip, 0, "chip ID");
359 device_printf(dev, "Forcing chip ID to 0x%04x\n", sc->sc_def_chip);
363 * The product might have more than one chip
375 * Initialize chip.
396 if (udl_modes[i].chip <= sc->sc_chip) {
746 uint16_t chip, uint32_t clock)
757 (udl_modes[idx].chip <
745 udl_lookup_mode(uint16_t hdisplay, uint16_t vdisplay, uint8_t hz, uint16_t chip, uint32_t clock) argument
[all...]

Completed in 250 milliseconds

1234