Searched refs:ch (Results 26 - 50 of 1496) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.bin/locate/locate/
H A Dlocate.h63 define TOLOWER(ch) tolower(ch)
67 #define TOLOWER(ch) (myctype[ch])
/freebsd-11-stable/sys/arm/ti/
H A Dti_sdma.c94 void (*callback)(unsigned int ch, uint32_t ch_status, void *data);
221 unsigned int ch, j; local
235 for (ch = 0; ch < NUM_DMA_CHANNELS; ch++) {
236 if (intr & (1 << ch)) {
237 channel = &sc->sc_channel[ch];
240 csr = ti_sdma_read_4(sc, DMA4_CSR(ch));
243 "%d\n", ch);
248 if ((sc->sc_active_channels & (1 << ch))
317 ti_sdma_activate_channel(unsigned int *ch, void (*callback)(unsigned int ch, uint32_t status, void *data), void *data) argument
403 ti_sdma_deactivate_channel(unsigned int ch) argument
458 ti_sdma_disable_channel_irq(unsigned int ch) argument
517 ti_sdma_enable_channel_irq(unsigned int ch, uint32_t flags) argument
583 ti_sdma_get_channel_status(unsigned int ch, uint32_t *status) argument
626 ti_sdma_start_xfer(unsigned int ch, unsigned int src_paddr, unsigned long dst_paddr, unsigned int frmcnt, unsigned int elmcnt) argument
720 ti_sdma_start_xfer_packet(unsigned int ch, unsigned int src_paddr, unsigned long dst_paddr, unsigned int frmcnt, unsigned int elmcnt, unsigned int pktsize) argument
801 ti_sdma_stop_xfer(unsigned int ch) argument
851 ti_sdma_set_xfer_endianess(unsigned int ch, unsigned int src, unsigned int dst) argument
896 ti_sdma_set_xfer_burst(unsigned int ch, unsigned int src, unsigned int dst) argument
938 ti_sdma_set_xfer_data_type(unsigned int ch, unsigned int type) argument
976 ti_sdma_set_callback(unsigned int ch, void (*callback)(unsigned int ch, uint32_t status, void *data), void *data) argument
1021 ti_sdma_sync_params(unsigned int ch, unsigned int trigger, unsigned int mode) argument
1084 ti_sdma_set_addr_mode(unsigned int ch, unsigned int src_mode, unsigned int dst_mode) argument
[all...]
/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_iface.c62 #define CHAIN_TO_II(ch) ((struct namedobj_instance *)ch->ifcfg)
66 static void handle_ifdetach(struct ip_fw_chain *ch, struct ipfw_iface *iif,
68 static void handle_ifattach(struct ip_fw_chain *ch, struct ipfw_iface *iif,
70 static int list_ifaces(struct ip_fw_chain *ch, ip_fw3_opheader *op3,
96 struct ip_fw_chain *ch; local
104 ch = &V_layer3_chain;
107 IPFW_UH_WLOCK(ch);
108 ii = CHAIN_TO_II(ch);
110 IPFW_UH_WUNLOCK(ch);
232 vnet_ipfw_iface_init(struct ip_fw_chain *ch) argument
268 vnet_ipfw_iface_destroy(struct ip_fw_chain *ch) argument
293 ipfw_iface_ref(struct ip_fw_chain *ch, char *name, struct ipfw_ifc *ic) argument
371 ipfw_iface_add_notify(struct ip_fw_chain *ch, struct ipfw_ifc *ic) argument
390 ipfw_iface_del_notify(struct ip_fw_chain *ch, struct ipfw_ifc *ic) argument
405 ipfw_iface_unref(struct ip_fw_chain *ch, struct ipfw_ifc *ic) argument
422 handle_ifattach(struct ip_fw_chain *ch, struct ipfw_iface *iif, uint16_t ifindex) argument
443 handle_ifdetach(struct ip_fw_chain *ch, struct ipfw_iface *iif, uint16_t ifindex) argument
461 struct ip_fw_chain *ch; member in struct:dump_iface_args
498 list_ifaces(struct ip_fw_chain *ch, ip_fw3_opheader *op3, struct sockopt_data *sd) argument
[all...]
H A Dip_fw_eaction.c97 #define EACTION_OBJ(ch, cmd) \
98 ((struct eaction_obj *)SRV_OBJECT((ch), (cmd)->arg1))
110 default_eaction(struct ip_fw_chain *ch, struct ip_fw_args *args, argument
140 eaction_findbyname(struct ip_fw_chain *ch, struct tid_info *ti, argument
160 *pno = ipfw_objhash_lookup_name_type(CHAIN_TO_SRV(ch),
168 eaction_findbykidx(struct ip_fw_chain *ch, uint16_t idx) argument
172 return (ipfw_objhash_lookup_kidx(CHAIN_TO_SRV(ch), idx));
187 create_eaction_obj(struct ip_fw_chain *ch, ipfw_eaction_t handler, argument
193 IPFW_UH_UNLOCK_ASSERT(ch);
195 ni = CHAIN_TO_SRV(ch);
234 destroy_eaction_obj(struct ip_fw_chain *ch, struct named_object *no) argument
255 reset_eaction_rules(struct ip_fw_chain *ch, uint16_t eaction_id, uint16_t instance_id, bool reset_rules) argument
303 ipfw_eaction_init(struct ip_fw_chain *ch, int first) argument
317 ipfw_eaction_uninit(struct ip_fw_chain *ch, int last) argument
339 ipfw_add_eaction(struct ip_fw_chain *ch, ipfw_eaction_t handler, const char *name) argument
357 ipfw_del_eaction(struct ip_fw_chain *ch, uint16_t eaction_id) argument
376 ipfw_reset_eaction(struct ip_fw_chain *ch, struct ip_fw *rule, uint16_t eaction_id, uint16_t default_id, uint16_t instance_id) argument
435 ipfw_reset_eaction_instance(struct ip_fw_chain *ch, uint16_t eaction_id, uint16_t kidx) argument
450 ipfw_run_eaction(struct ip_fw_chain *ch, struct ip_fw_args *args, ipfw_insn *cmd, int *done) argument
[all...]
/freebsd-11-stable/sys/dev/ahci/
H A Dahci.c64 static void ahci_ch_intr_main(struct ahci_channel *ch, uint32_t istatus);
65 static void ahci_begin_transaction(struct ahci_channel *ch, union ccb *ccb);
70 static int ahci_setup_fis(struct ahci_channel *ch, struct ahci_cmd_tab *ctp, union ccb *ccb, int tag);
76 static void ahci_reset(struct ahci_channel *ch);
77 static void ahci_start(struct ahci_channel *ch, int fbs);
78 static void ahci_stop(struct ahci_channel *ch);
79 static void ahci_clo(struct ahci_channel *ch);
80 static void ahci_start_fr(struct ahci_channel *ch);
81 static void ahci_stop_fr(struct ahci_channel *ch);
82 static int ahci_phy_check_events(struct ahci_channel *ch, u_int32_
105 ahci_ch_detval(struct ahci_channel *ch, uint32_t val) argument
669 ahci_attached(device_t dev, struct ahci_channel *ch) argument
679 ahci_detached(device_t dev, struct ahci_channel *ch) argument
694 struct ahci_channel *ch; local
706 ahci_putch(struct ahci_channel *ch) argument
723 struct ahci_channel *ch; local
749 struct ahci_channel *ch = device_get_softc(dev); local
870 ahci_attached(device_get_parent(dev), ch); local
894 struct ahci_channel *ch = device_get_softc(dev); local
896 ahci_detached(device_get_parent(dev), ch); local
927 struct ahci_channel *ch = device_get_softc(dev); local
952 struct ahci_channel *ch = device_get_softc(dev); local
973 struct ahci_channel *ch = device_get_softc(dev); local
993 struct ahci_channel *ch = device_get_softc(dev); local
1027 struct ahci_channel *ch = device_get_softc(dev); local
1101 struct ahci_channel *ch = device_get_softc(dev); local
1128 struct ahci_channel *ch = device_get_softc(dev); local
1150 struct ahci_channel *ch = device_get_softc(dev); local
1166 ahci_phy_check_events(struct ahci_channel *ch, u_int32_t serr) argument
1196 ahci_cpd_check_events(struct ahci_channel *ch) argument
1228 ahci_notify_events(struct ahci_channel *ch, u_int32_t status) argument
1249 ahci_done(struct ahci_channel *ch, union ccb *ccb) argument
1265 struct ahci_channel *ch = (struct ahci_channel *)arg; local
1279 struct ahci_channel *ch = (struct ahci_channel *)arg; local
1306 struct ahci_channel *ch = (struct ahci_channel *)arg; local
1320 ahci_ch_intr_main(struct ahci_channel *ch, uint32_t istatus) argument
1479 ahci_check_collision(struct ahci_channel *ch, union ccb *ccb) argument
1529 ahci_begin_transaction(struct ahci_channel *ch, union ccb *ccb) argument
1582 struct ahci_channel *ch = slot->ch; local
1613 struct ahci_channel *ch = slot->ch; local
1761 ahci_process_timeout(struct ahci_channel *ch) argument
1777 ahci_rearm_timeout(struct ahci_channel *ch) argument
1800 struct ahci_channel *ch = slot->ch; local
1879 struct ahci_channel *ch = slot->ch; local
2090 ahci_issue_recovery(struct ahci_channel *ch) argument
2166 ahci_process_read_log(struct ahci_channel *ch, union ccb *ccb) argument
2225 ahci_process_request_sense(struct ahci_channel *ch, union ccb *ccb) argument
2246 ahci_start(struct ahci_channel *ch, int fbs) argument
2272 ahci_stop(struct ahci_channel *ch) argument
2293 ahci_clo(struct ahci_channel *ch) argument
2315 ahci_stop_fr(struct ahci_channel *ch) argument
2335 ahci_start_fr(struct ahci_channel *ch) argument
2345 ahci_wait_ready(struct ahci_channel *ch, int t, int t0) argument
2373 struct ahci_channel *ch = arg; local
2395 ahci_reset(struct ahci_channel *ch) argument
2486 ahci_setup_fis(struct ahci_channel *ch, struct ahci_cmd_tab *ctp, union ccb *ccb, int tag) argument
2541 ahci_sata_connect(struct ahci_channel *ch) argument
2584 ahci_sata_phy_reset(struct ahci_channel *ch) argument
2627 ahci_check_ids(struct ahci_channel *ch, union ccb *ccb) argument
2646 struct ahci_channel *ch; local
2830 struct ahci_channel *ch = (struct ahci_channel *)cam_sim_softc(sim); local
[all...]
/freebsd-11-stable/usr.bin/systat/
H A Dkeyboard.c51 static int keyboard_dispatch(int ch);
56 int ch, n; local
94 ch = getch();
96 if (keyboard_dispatch(ch) == 0) {
121 keyboard_dispatch(int ch) argument
124 if (ch == ERR) {
129 if (ch >= 'A' && ch <= 'Z')
130 ch += 'a' - 'A';
132 if (ch
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-dma.c68 struct ata_channel *ch = device_get_softc(dev); local
71 if (ch->dma.alloc == NULL)
72 ch->dma.alloc = ata_dmaalloc;
73 if (ch->dma.free == NULL)
74 ch->dma.free = ata_dmafree;
75 if (ch->dma.setprd == NULL)
76 ch->dma.setprd = ata_dmasetprd;
77 if (ch->dma.load == NULL)
78 ch->dma.load = ata_dmaload;
79 if (ch
129 struct ata_channel *ch = device_get_softc(dev); local
159 struct ata_channel *ch = device_get_softc(dev); local
215 struct ata_channel *ch = device_get_softc(dev); local
267 struct ata_channel *ch = device_get_softc(request->parent); local
[all...]
H A Data-lowlevel.c56 static int ata_wait(struct ata_channel *ch, int unit, u_int8_t);
68 struct ata_channel *ch = device_get_softc(dev); local
70 ch->hw.begin_transaction = ata_begin_transaction;
71 ch->hw.end_transaction = ata_end_transaction;
72 ch->hw.status = ata_generic_status;
73 ch->hw.softreset = NULL;
74 ch->hw.command = ata_generic_command;
75 ch->hw.tf_read = ata_tf_read;
76 ch->hw.tf_write = ata_tf_write;
77 ch
85 struct ata_channel *ch = device_get_softc(request->parent); local
246 struct ata_channel *ch = device_get_softc(request->parent); local
480 struct ata_channel *ch = device_get_softc(dev); local
616 struct ata_channel *ch = device_get_softc(dev); local
627 ata_wait(struct ata_channel *ch, int unit, u_int8_t mask) argument
680 struct ata_channel *ch = device_get_softc(request->parent); local
762 struct ata_channel *ch = device_get_softc(request->parent); local
791 struct ata_channel *ch = device_get_softc(request->parent); local
821 struct ata_channel *ch = device_get_softc(request->parent); local
907 struct ata_channel *ch = device_get_softc(request->parent); local
[all...]
H A Data-all.c97 struct ata_channel *ch = device_get_softc(dev); local
105 if (ch->r_irq)
109 ch->dev = dev;
110 ch->state = ATA_IDLE;
111 bzero(&ch->state_mtx, sizeof(struct mtx));
112 mtx_init(&ch->state_mtx, "ATA state lock", NULL, MTX_DEF);
113 TASK_INIT(&ch->conntask, 0, ata_conn_event, dev);
115 ch->user[i].revision = 0;
123 ch->user[i].revision = mode;
124 ch
222 struct ata_channel *ch = device_get_softc(dev); local
262 struct ata_channel *ch = device_get_softc(dev); local
286 struct ata_channel *ch = device_get_softc(dev); local
311 struct ata_channel *ch; local
330 struct ata_channel *ch; local
349 struct ata_channel *ch = (struct ata_channel *)data; local
359 struct ata_channel *ch = (struct ata_channel *)data; local
394 struct ata_channel *ch = (struct ata_channel *)data; local
413 struct ata_channel *ch = device_get_softc(dev); local
697 struct ata_channel *ch = device_get_softc(dev); local
705 struct ata_channel *ch; local
731 struct ata_channel *ch = device_get_softc(dev); local
817 struct ata_channel *ch = device_get_softc(dev); local
856 struct ata_channel *ch = device_get_softc(dev); local
882 struct ata_channel *ch = device_get_softc(dev); local
953 struct ata_channel *ch = device_get_softc(dev); local
978 struct ata_channel *ch; local
1198 struct ata_channel *ch = (struct ata_channel *)cam_sim_softc(sim); local
[all...]
/freebsd-11-stable/lib/libc/inet/
H A Dinet_net_pton.c67 int n, ch, tmp = 0, dirty, bits; local
70 ch = *src++;
71 if (ch == '0' && (src[0] == 'x' || src[0] == 'X')
79 while ((ch = *src++) != '\0' && isascii(ch) && isxdigit(ch)) {
80 if (isupper(ch))
81 ch = tolower(ch);
82 n = strchr(xdigits, ch)
196 char ch; local
227 char ch; local
270 int ch, saw_xdigit; local
[all...]
/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_prop.c83 int ch, cutlim, n; \
90 ch = _memstream_getc(ms); \
91 p = strchr(xdigit, _bcs_toupper(ch)); \
99 _memstream_ungetc(ms, ch); \
112 int base, ch, neg; \
115 ch = _memstream_getc(ms); \
117 switch (ch) { \
121 ch = _memstream_getc(ms); \
124 if (ch == '0') { \
126 ch
150 int base, ch; local
200 int ch, errnum; local
249 int ch, errnum, quot; local
322 int ch; local
346 int ch, errnum; local
431 int ch, errnum; local
[all...]
/freebsd-11-stable/contrib/nvi/catalog/
H A Ddump.c40 int ch, s1, s2, s3; local
49 if ((ch = getc(fp)) == EOF) \
51 if (ch != '|') \
56 if ((ch = getc(fp)) == EOF) \
58 } while (ch != (t)); \
72 if ((ch = getc(fp)) == EOF)
74 putchar(ch);
75 if (ch == '"')
77 if (ch == '\\') {
78 if ((ch
[all...]
/freebsd-11-stable/sys/dev/sound/usb/
H A Duaudio.h42 extern void *uaudio_chan_init(struct uaudio_chan *ch, struct snd_dbuf *b,
44 extern int uaudio_chan_free(struct uaudio_chan *ch);
45 extern int uaudio_chan_set_param_blocksize(struct uaudio_chan *ch,
47 extern int uaudio_chan_set_param_fragments(struct uaudio_chan *ch,
49 extern int uaudio_chan_set_param_speed(struct uaudio_chan *ch,
51 extern int uaudio_chan_getptr(struct uaudio_chan *ch);
52 extern struct pcmchan_caps *uaudio_chan_getcaps(struct uaudio_chan *ch);
53 extern struct pcmchan_matrix *uaudio_chan_getmatrix(struct uaudio_chan *ch,
55 extern int uaudio_chan_set_param_format(struct uaudio_chan *ch,
57 extern void uaudio_chan_start(struct uaudio_chan *ch);
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dcomp_expand.c64 int ch; local
81 while ((ch = UChar(*str)) != 0) {
82 if (ch == '%' && REALPRINT(str + 1)) {
120 ch = (int) value;
122 if (ch == '\\'
123 || ch == S_QUOTE)
125 buffer[bufp++] = (char) ch;
139 } else if (ch == 128) {
142 } else if (ch == '\033') {
145 } else if (ch
[all...]
/freebsd-11-stable/contrib/nvi/common/
H A Dconv.h30 #define KEY_NEEDSWIDE(sp, ch) \
31 (INTISWIDE(ch) && KEY_LEN(sp, ch) <= 4)
32 #define KEY_COL(sp, ch) \
33 (KEY_NEEDSWIDE(sp, ch) ? CHAR_WIDTH(sp, ch) : KEY_LEN(sp, ch))
/freebsd-11-stable/sys/mips/rmi/
H A Dxlr_pcmcia.c75 struct ata_channel *ch = device_get_softc(dev); local
77 ch->unit = 0;
78 ch->flags |= ATA_USE_16BIT | ATA_NO_SLAVE ;
91 struct ata_channel *ch = device_get_softc(dev); local
99 ch->r_io[i].res = mem_res;
104 ch->r_io[ATA_DATA].offset = XLR_PCMCIA_DATA_REG;
105 ch->r_io[ATA_FEATURE].offset = XLR_PCMCIA_ERROR_REG;
106 ch->r_io[ATA_COUNT].offset = XLR_PCMCIA_SECT_CNT_REG;
107 ch->r_io[ATA_SECTOR].offset = XLR_PCMCIA_SECT_NUM_REG;
108 ch
[all...]
/freebsd-11-stable/sys/mips/sibyte/
H A Data_zbbus.c60 struct ata_channel *ch; local
63 ch = device_get_softc(dev);
65 if (ch->attached)
67 ch->attached = 1;
96 ch->r_io[i].res = io;
97 ch->r_io[i].offset = (regoffset + i) << regshift;
100 ch->r_io[ATA_CONTROL].res = io;
101 ch->r_io[ATA_CONTROL].offset = (regoffset + ATA_CTLOFFSET) << regshift;
102 ch->r_io[ATA_IDX_ADDR].res = io; /* XXX what is this used for */
106 ch
117 struct ata_channel *ch = device_get_softc(dev); local
134 struct ata_channel *ch = device_get_softc(dev); local
145 struct ata_channel *ch = device_get_softc(dev); local
[all...]
/freebsd-11-stable/sys/dev/mvs/
H A Dmvs.c74 static int mvs_sata_connect(struct mvs_channel *ch);
117 struct mvs_channel *ch = device_get_softc(dev); local
121 ch->dev = dev;
122 ch->unit = (intptr_t)device_get_ivars(dev);
123 ch->quirks = ctlr->quirks;
124 mtx_init(&ch->mtx, "MVS channel lock", NULL, MTX_DEF);
125 ch->pm_level = 0;
127 device_get_unit(dev), "pm_level", &ch->pm_level);
128 if (ch->pm_level > 3)
129 callout_init_mtx(&ch
220 struct mvs_channel *ch = device_get_softc(dev); local
252 struct mvs_channel *ch = device_get_softc(dev); local
280 struct mvs_channel *ch = device_get_softc(dev); local
292 struct mvs_channel *ch = device_get_softc(dev); local
312 struct mvs_channel *ch = device_get_softc(dev); local
330 struct mvs_channel *ch = device_get_softc(dev); local
395 struct mvs_channel *ch = device_get_softc(dev); local
428 struct mvs_channel *ch = device_get_softc(dev); local
450 struct mvs_channel *ch = device_get_softc(dev); local
468 struct mvs_channel *ch = device_get_softc(dev); local
493 struct mvs_channel *ch = device_get_softc(dev); local
598 struct mvs_channel *ch = device_get_softc(dev); local
628 struct mvs_channel *ch = device_get_softc(dev); local
653 struct mvs_channel *ch = device_get_softc(dev); local
664 struct mvs_channel *ch = device_get_softc(dev); local
682 struct mvs_channel *ch = device_get_softc(dev); local
706 struct mvs_channel *ch = device_get_softc(dev); local
826 struct mvs_channel *ch = device_get_softc(dev); local
841 struct mvs_channel *ch = device_get_softc(dev); local
1022 struct mvs_channel *ch = device_get_softc(dev); local
1092 struct mvs_channel *ch = device_get_softc(dev); local
1143 struct mvs_channel *ch = device_get_softc(dev); local
1164 struct mvs_channel *ch = device_get_softc(dev); local
1187 struct mvs_channel *ch = device_get_softc(dev); local
1272 struct mvs_channel *ch = device_get_softc(slot->dev); local
1312 struct mvs_channel *ch = device_get_softc(dev); local
1427 struct mvs_channel *ch = device_get_softc(dev); local
1541 struct mvs_channel *ch = device_get_softc(dev); local
1558 struct mvs_channel *ch = device_get_softc(dev); local
1581 struct mvs_channel *ch = device_get_softc(dev); local
1612 struct mvs_channel *ch = device_get_softc(dev); local
1778 struct mvs_channel *ch = device_get_softc(dev); local
1855 struct mvs_channel *ch = device_get_softc(dev); local
1916 struct mvs_channel *ch = device_get_softc(dev); local
1956 struct mvs_channel *ch = device_get_softc(dev); local
1974 struct mvs_channel *ch = device_get_softc(dev); local
2002 struct mvs_channel *ch = device_get_softc(dev); local
2035 struct mvs_channel *ch = device_get_softc(dev); local
2115 struct mvs_channel *ch = device_get_softc(dev); local
2160 mvs_sata_connect(struct mvs_channel *ch) argument
2205 struct mvs_channel *ch = device_get_softc(dev); local
2236 struct mvs_channel *ch = device_get_softc(dev); local
2261 struct mvs_channel *ch; local
2444 struct mvs_channel *ch = (struct mvs_channel *)cam_sim_softc(sim); local
[all...]
/freebsd-11-stable/contrib/less/
H A Dcharset.c480 prutfchar(ch)
481 LWCHAR ch;
485 if (ch == ESC)
487 else if (ch < 128 && control_char(ch))
489 if (!control_char(ch ^ 0100))
490 SNPRINTF1(buf, sizeof(buf), "^%c", ((char) ch) ^ 0100);
492 SNPRINTF1(buf, sizeof(buf), binfmt, (char) ch);
493 } else if (is_ubin_char(ch))
495 SNPRINTF1(buf, sizeof(buf), utfbinfmt, ch);
693 LWCHAR ch; local
[all...]
/freebsd-11-stable/usr.bin/mkimg/
H A Dimage.c137 struct chunk *ch; local
139 ch = (last != NULL && last->ch_block <= blk)
141 while (ch != NULL) {
142 if (ch->ch_block <= blk &&
143 (lba_t)(ch->ch_block + (ch->ch_size / secsz)) > blk) {
144 last = ch;
147 ch = TAILQ_NEXT(ch, ch_list);
149 return (ch);
153 image_chunk_grow(struct chunk *ch, size_t sz) argument
170 image_chunk_memory(struct chunk *ch, lba_t blk) argument
216 struct chunk *ch; local
253 struct chunk *ch; local
591 struct chunk *ch; local
630 struct chunk *ch; local
669 struct chunk *ch; local
697 struct chunk *ch; local
[all...]
/freebsd-11-stable/sys/arm/broadcom/bcm2835/
H A Dbcm2835_dma.c128 static void bcm_dma_reg_dump(int ch);
133 int ch; member in struct:bcm_dma_ch
175 bcm_dma_reset(device_t dev, int ch) argument
182 if (ch < 0 || ch >= BCM_DMA_CH_MAX)
185 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch));
189 bus_write_4(sc->sc_mem, BCM_DMA_CS(ch), 0);
193 cs = bus_read_4(sc->sc_mem, BCM_DMA_CS(ch));
198 "Can't abort DMA transfer at channel %d\n", ch);
201 bus_write_4(sc->sc_mem, BCM_DMA_CBNEXT(ch),
223 struct bcm_dma_ch *ch; local
323 int ch = BCM_DMA_CH_INVALID; local
358 bcm_dma_free(int ch) argument
385 bcm_dma_setup_intr(int ch, void (*func)(int, void *), void *arg) argument
419 bcm_dma_setup_src(int ch, int dreq, int inc_addr, int width) argument
469 bcm_dma_setup_dst(int ch, int dreq, int inc_addr, int width) argument
523 bcm_dma_reg_dump(int ch) argument
551 bcm_dma_start(int ch, vm_paddr_t src, vm_paddr_t dst, int len) argument
595 bcm_dma_length(int ch) argument
615 struct bcm_dma_ch *ch = (struct bcm_dma_ch *)arg; local
[all...]
/freebsd-11-stable/sys/dev/dcons/
H A Ddcons.c51 struct dcons_ch *ch; local
53 ch = &dc->i;
55 ptr = ntohl(*ch->ptr);
58 if (gen == ch->gen && pos == ch->pos)
61 next_gen = DCONS_NEXT_GEN(ch->gen);
63 if ((gen != ch->gen && gen != next_gen)
64 || (gen == ch->gen && pos < ch->pos)) {
67 ch
80 struct dcons_ch *ch; local
114 struct dcons_ch *ch; local
[all...]
/freebsd-11-stable/sys/dev/sound/pci/
H A Dt4dwave.c310 tr_testint(struct tr_chinfo *ch)
312 struct tr_info *tr = ch->parent;
315 bank = (ch->index & 0x20) ? 1 : 0;
316 chan = ch->index & 0x1f;
322 tr_clrint(struct tr_chinfo *ch) argument
324 struct tr_info *tr = ch->parent;
327 bank = (ch->index & 0x20) ? 1 : 0;
328 chan = ch->index & 0x1f;
333 tr_enaint(struct tr_chinfo *ch, int enable) argument
335 struct tr_info *tr = ch
356 tr_selch(struct tr_chinfo *ch) argument
368 tr_startch(struct tr_chinfo *ch) argument
379 tr_stopch(struct tr_chinfo *ch) argument
390 tr_wrch(struct tr_chinfo *ch) argument
440 tr_rdch(struct tr_chinfo *ch) argument
504 struct tr_chinfo *ch; local
521 struct tr_chinfo *ch = data; local
531 struct tr_chinfo *ch = data; local
540 struct tr_chinfo *ch = data; local
549 struct tr_chinfo *ch = data; local
582 struct tr_chinfo *ch = data; local
613 struct tr_rchinfo *ch; local
629 struct tr_rchinfo *ch = data; local
647 struct tr_rchinfo *ch = data; local
661 struct tr_rchinfo *ch = data; local
671 struct tr_rchinfo *ch = data; local
703 struct tr_rchinfo *ch = data; local
735 struct tr_chinfo *ch; local
[all...]
H A Dhdspe-pcm.c83 hdspe_hw_mixer(struct sc_chinfo *ch, unsigned int dst, argument
86 struct sc_pcminfo *scp = ch->parent;
90 if (ch->dir == PCMDIR_PLAY)
101 hdspechan_setgain(struct sc_chinfo *ch) argument
104 hdspe_hw_mixer(ch, ch->lslot, ch->lslot,
105 ch->lvol * HDSPE_MAX_GAIN / 100);
106 hdspe_hw_mixer(ch, ch
143 struct sc_chinfo *ch; local
173 hdspechan_enable(struct sc_chinfo *ch, int value) argument
194 struct sc_chinfo *ch; local
243 buffer_copy(struct sc_chinfo *ch) argument
292 clean(struct sc_chinfo *ch) argument
315 struct sc_chinfo *ch; local
350 struct sc_chinfo *ch = data; local
390 struct sc_chinfo *ch = data; local
408 struct sc_chinfo *ch = data; local
428 struct sc_chinfo *ch = data; local
443 struct sc_chinfo *ch = data; local
508 struct sc_chinfo *ch = data; local
581 struct sc_chinfo *ch = data; local
619 struct sc_chinfo *ch; local
[all...]
/freebsd-11-stable/lib/libiconv_modules/DECHanyu/
H A Dcitrus_dechanyu.c55 char ch[4]; member in struct:__anon6787
173 int ch; local
187 ch = *s0++ & 0xFF;
188 if (is_singlebyte(ch)) {
190 *pwc = (wchar_t)ch;
191 *nresult = (size_t)((ch == 0) ? 0 : 1);
195 if (!is_leadbyte(ch))
197 psenc->ch[psenc->chlen++] = ch;
200 ch
280 int ch; local
[all...]

Completed in 243 milliseconds

1234567891011>>