HomeSort by: relevance | last modified time | path
    Searched defs:chip (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
bios.h 21 u8 chip; member in struct:nvkm_bios::__anonbf1541f90108
  /src/sys/arch/mips/alchemy/
aubus.c 148 struct au_chipdep *chip; local in function:aubus_attach
154 chip = au_chipdep();
155 KASSERT(chip != NULL);
159 for (ad = chip->devices; ad->name != NULL; ad++) {
au_icu.c 157 struct au_chipdep * const chip = au_chipdep(); local in function:au_intr_init
158 KASSERT(chip != NULL);
160 ic0_base = chip->icus[0];
161 ic1_base = chip->icus[1];
166 EVCNT_TYPE_INTR, NULL, chip->name, chip->irqnames[i]);
192 struct au_chipdep *chip; local in function:au_intr_establish
194 chip = au_chipdep();
195 KASSERT(chip != NULL);
  /src/sys/dev/nand/
nand_bbt.c 51 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_init
54 bbt->nbbt_size = chip->nc_size / chip->nc_block_size / 4;
73 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_scan
76 blocks = chip->nc_size / chip->nc_block_size;
88 addr += chip->nc_block_size;
101 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_page_has_bbt
102 uint8_t *oob = chip->nc_oob_cache;
119 struct nand_chip *chip = &sc->sc_chip local in function:nand_bbt_get_bbt_from_page
161 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_load
204 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_block_mark
223 struct nand_chip *chip = &sc->sc_chip; local in function:nand_bbt_block_isbad
    [all...]
nand.c 132 struct nand_chip *chip = &sc->sc_chip; local in function:nand_attach
141 aprint_error("NAND chip is write protected!\n");
145 if (nand_scan_media(self, chip)) {
149 nand_flash_if.erasesize = chip->nc_block_size;
150 nand_flash_if.page_size = chip->nc_page_size;
151 nand_flash_if.writesize = chip->nc_page_size;
154 chip->nc_oob_cache = kmem_alloc(chip->nc_spare_size, KM_SLEEP);
155 chip->nc_page_cache = kmem_alloc(chip->nc_page_size, KM_SLEEP)
189 struct nand_chip *chip = &sc->sc_chip; local in function:nand_search
228 struct nand_chip *chip = &sc->sc_chip; local in function:nand_attach_mtdparts
238 struct nand_chip *chip = &sc->sc_chip; local in function:nand_detach
614 struct nand_chip *chip = &sc->sc_chip; local in function:nand_address_column
638 struct nand_chip *chip = &sc->sc_chip; local in function:nand_address_row
685 struct nand_chip *chip = &sc->sc_chip; local in function:nand_default_read_page
773 struct nand_chip *chip = &sc->sc_chip; local in function:nand_default_program_page
841 struct nand_chip *chip = &sc->sc_chip; local in function:nand_read_oob
862 struct nand_chip *chip = &sc->sc_chip; local in function:nand_write_oob
888 struct nand_chip *chip = &sc->sc_chip; local in function:nand_markbad
915 struct nand_chip *chip = &sc->sc_chip; local in function:nand_isfactorybad
952 struct nand_chip *chip = &sc->sc_chip; local in function:nand_iswornoutbad
990 struct nand_chip *chip = &sc->sc_chip; local in function:nand_isbad
1076 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_write_unaligned
1202 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_write
1264 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_read_unaligned
1335 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_read
1399 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_isbad
1429 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_markbad
1455 struct nand_chip *chip = &sc->sc_chip; local in function:nand_flash_erase
    [all...]
  /src/sys/dev/isa/
cms.c 65 /* shadow registers for each chip */
221 int chip = CHAN_TO_CHIP(vidx); local in function:cms_on
248 DPRINTF(("chip=%d voice=%d octave=%d count=%d offset=%d shift=%d\n",
249 chip, voice, octave, count, OCTAVE_OFFSET(voice),
253 CMS_WRITE(sc, chip, CMS_IREG_FREQ0 + voice, count);
256 reg = CMS_READ(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice));
259 CMS_WRITE(sc, chip, CMS_IREG_OCTAVE_1_0 + OCTAVE_OFFSET(voice), reg);
264 CMS_WRITE(sc, chip, CMS_IREG_VOL0 + voice, ((vol<<4)|vol));
267 reg = CMS_READ(sc, chip, CMS_IREG_FREQ_CTL);
269 CMS_WRITE(sc, chip, CMS_IREG_FREQ_CTL, reg)
276 int chip = CHAN_TO_CHIP(vidx); local in function:cms_off
    [all...]
  /src/sys/dev/eisa/
if_tlp_eisa.c 114 tulip_chip_t chip; /* base Tulip chip type */ member in struct:tulip_eisa_product
119 .chip = TULIP_CHIP_DE425,
173 sc->sc_chip = tep->chip;
  /src/sys/dev/nor/
cfi_0002.c 126 * cfi_0002_time_erase_all - maximum usec delay waiting for erase chip
140 * use the maximum delay for chip erase function
151 struct nor_chip * const chip)
161 chip->nc_page_size =
165 chip->nc_spare_size = 0;
166 chip->nc_badmarker_offs = 0;
240 struct nor_chip * const chip = &sc->sc_chip; local in function:cfi_0002_read_page
241 KASSERT(chip != NULL);
242 KASSERT(chip->nc_page_mask != 0);
243 KASSERT((offset & ~chip->nc_page_mask) == 0)
284 struct nor_chip * const chip = &sc->sc_chip; local in function:cfi_0002_program_page
    [all...]
nor.c 144 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_attach
153 if (nor_scan_media(self, chip))
157 sc->sc_flash_if.erasesize = chip->nc_block_size;
158 sc->sc_flash_if.page_size = chip->nc_page_size;
159 sc->sc_flash_if.writesize = chip->nc_page_size;
163 chip->nc_oob_cache = kmem_alloc(chip->nc_spare_size, KM_SLEEP);
165 chip->nc_page_cache = kmem_alloc(chip->nc_page_size, KM_SLEEP);
192 kmem_free(chip->nc_oob_cache, chip->nc_spare_size)
202 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_search
237 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_detach
427 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_default_read_page
466 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_default_program_page
522 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_erase
600 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_write_unaligned
728 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_write
792 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_read_unaligned
864 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_read
930 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_isbad
966 struct nor_chip * const chip = &sc->sc_chip; local in function:nor_flash_markbad
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
berlin2.dtsi 377 chip: chip-control@ea0000 { label
berlin2cd.dtsi 382 chip: chip-control@ea0000 { label
berlin2q.dtsi 414 chip: chip-control@ea0000 { label
  /src/sys/dev/i2c/
w83795g.c 143 uint8_t bank, vend, chip, deva; local in function:w83795g_match
151 iic_smbus_read_byte(ia->ia_tag, ia->ia_addr, W83795G_CHIP, &chip, 0);
157 if (chip == CHIP_W83795G && deva == DEVICEA_A)
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
cl0080.h 42 char chip[16]; member in struct:nv_device_info_v0
  /src/sys/dev/ic/
cy.c 88 int cy_chip, chip; local in function:cy_find
104 for (cy_chip = 0, chip = 0; cy_chip < CY_MAX_CD1400s;
105 cy_chip++, chip += (CY_CD1400_MEMSPACING << bustype)) {
113 chip -= (CY32_ADDR_FIX << bustype);
116 printf("sy: probe chip %d offset 0x%x ... ", cy_chip, chip);
119 /* wait until the chip is ready for command */
121 if (bus_space_read_1(tag, bsh, chip +
129 bus_space_write_1(tag, bsh, chip +
133 * On Cyclom-16 references to non-existent chip
183 int port, cy_chip, num_chips, cdu, chip; local in function:cy_attach
    [all...]
hd44780var.h 58 uint8_t chip; member in struct:hd44780_dispctl
65 uint8_t chip; member in struct:hd44780_io
i82365var.h 59 int vendor; /* vendor of chip */
60 int chip; /* chip index 0 or 1 */ member in struct:pcic_handle
156 /* for use by underlying chip code for discovering irqs */
i82365.c 233 int i, reg, chip, socket; local in function:pcic_attach
245 chip = i / 2;
249 h->chip = chip;
251 h->sock = chip * PCIC_CHIP_OFFSET + socket * PCIC_SOCKET_OFFSET;
260 /* need to read vendor -- for cirrus to report no xtra chip */
269 /* no chip */
317 chip = i / 2;
323 chip, pcic_vendor_to_string(sc->handle[i].vendor));
411 locs[PCMCIABUSCF_CONTROLLER] = h->chip;
    [all...]
  /src/sys/arch/hpcmips/dev/
plumvideo.c 237 struct video_chip *chip = &sc->sc_chip; local in function:plumvideo_hpcfbinit
239 int height = chip->vc_fbheight;
240 int width = chip->vc_fbwidth;
241 int depth = chip->vc_fbdepth;
307 struct video_chip *chip = &sc->sc_chip; local in function:plumvideo_init
315 chip->vc_v = sc->sc_pc->pc_tc;
351 chip->vc_fbdepth = bpp;
356 chip->vc_fbwidth = width = bootinfo->fb_width =
358 chip->vc_fbheight = height = bootinfo->fb_height =
403 chip->vc_fbsize = vram_size
    [all...]
  /src/sys/arch/hpcmips/tx/
tx3912video.c 91 /* TX3912 built-in video chip itself */
133 struct video_chip *chip; local in function:tx3912video_attach
147 sc->sc_chip = chip = &tx3912video_chip;
151 depth_print[(ffs(chip->vc_fbdepth) - 1) & 0x3],
152 (unsigned)chip->vc_fbpaddr,
153 (unsigned)(chip->vc_fbpaddr + chip->vc_fbsize));
156 tc = chip->vc_v;
209 struct video_chip *chip = sc->sc_chip; local in function:tx3912video_power
210 tx_chipset_tag_t tc = chip->vc_v
240 struct video_chip *chip = sc->sc_chip; local in function:tx3912video_hpcfbinit
300 struct video_chip *chip = &tx3912video_chip; local in function:tx3912video_init
    [all...]
  /src/sys/dev/sbus/
magma.c 78 * the CD1190 chip which I know nothing about. I've tried to leave
360 int node, chip; local in function:magma_attach
425 for( chip = 0 ; chip < card->mb_ncd1400 ; chip++ ) {
426 struct cd1400 *cd = &sc->ms_cd1400[chip];
430 card->mb_cd1400[chip];
437 device_xname(sc->ms_dev), chip,
443 /* reset whole chip */
466 for( chip = 0 ; chip < card->mb_ncd1190 ; chip++ )
511 int chip, status = 0; local in function:magma_hard
850 int port, chip, chan; local in function:mtty_attach
    [all...]
  /src/sys/external/isc/atheros_hal/dist/
ah.c 46 * Attach detects device chip revisions, initializes the hwLayer
59 struct ath_hal_chip *chip = *pchip; local in function:ath_hal_attach
63 if (chip->probe(ATHEROS_VENDOR_ID, devid) == AH_NULL)
65 ah = chip->attach(devid, sc, st, sh, error);
564 /* XXX better done per-chip for validation? */
770 * NB: This is a private routine used by per-chip code to
  /src/sys/arch/mac68k/dev/
zs.c 32 * Runs two serial lines per chip using slave drivers.
218 * Is the zs chip present?
243 int s, chip, theflags, channel; local in function:zsc_attach
250 chip = 0; /* We'll deal with chip types post 1.2 */
251 aprint_normal(" chip type %d \n",chip);
307 * use it. But a clock will freak out the chip, so we
351 * We used to disable chip interrupts here, but we now
352 * do that in zscnprobe, just in case MacOS left the chip on
    [all...]
  /src/sys/arch/macppc/dev/
zs.c 32 * Runs two serial lines per chip using slave drivers.
196 * Is the zs chip present?
229 int s, chip, theflags; local in function:zsc_attach
238 chip = 0;
339 * use it. But a clock will freak out the chip, so we
381 * We used to disable chip interrupts here, but we now
382 * do that in zscnprobe, just in case MacOS left the chip on.
385 xcs->cs_chip = chip;
732 * Output hardware flow control on the chip is horrendous:
781 * Read or write the chip with suitable delays
    [all...]
  /src/sys/arch/hpcarm/dev/
wzero3_tp.c 175 struct chip { struct in struct:wzero3tp_model
180 } chip; member in struct:wzero3tp_model
288 (*sc->sc_model->chip.init)();
368 (*sc->sc_model->chip.suspend)();
385 (*sc->sc_model->chip.resume)();
425 down = (*sc->sc_model->chip.readpos)(&tp);

Completed in 165 milliseconds

1 2