HomeSort by: relevance | last modified time | path
    Searched refs:hdl (Results 1 - 25 of 83) sorted by relevancy

1 2 3 4

  /src/sys/arch/amiga/dev/
zz9k_ax.c 85 static int zzax_open(void *hdl, int flags);
86 static void zzax_close(void *hdl);
87 static int zzax_query_format(void *hdl, audio_format_query_t *afp);
88 static int zzax_set_format(void *hdl, int setmode,
91 static int zzax_round_blocksize(void *hdl, int bs, int mode,
93 static int zzax_commit_settings(void *hdl);
94 static int zzax_init_output(void *hdl, void *buffer, int size);
95 static int zzax_init_input(void *hdl, void *buffer, int size);
96 static int zzax_start_output(void *hdl, void *block, int blksize,
98 static int zzax_start_input(void *hdl, void *block, int blksize
    [all...]
  /src/sys/arch/zaurus/dev/
zaudio.c 155 zaudio_open(void *hdl, int flags)
157 struct zaudio_softc *sc = hdl;
166 zaudio_close(void *hdl)
168 struct zaudio_softc *sc = hdl;
175 zaudio_query_format(void *hdl, audio_format_query_t *afp)
182 zaudio_set_format(void *hdl, int setmode,
186 struct zaudio_softc *sc = hdl;
199 zaudio_round_blocksize(void *hdl, int bs, int mode, const audio_params_t *param)
201 struct zaudio_softc *sc = hdl;
207 zaudio_allocm(void *hdl, int direction, size_t size
    [all...]
  /src/sys/dev/ic/
tms320av110.c 188 tav_close(void *hdl)
194 sc = hdl;
205 tav_query_format(void *hdl, audio_format_query_t *afp)
212 tav_start_input(void *hdl, void *block, int bsize,
220 tav_halt_input(void *hdl)
227 tav_start_output(void *hdl, void *block, int bsize,
236 sc = hdl;
258 tav_halt_output(void *hdl)
264 sc = hdl;
275 tav_getdev(void *hdl, struct audio_device *ret
    [all...]
pcdisplay_subr.c 55 pcdisplay_6845_write(scr->hdl, curstart, 0x20);
56 pcdisplay_6845_write(scr->hdl, curend, 0x00);
64 memt = scr->hdl->ph_memt;
65 memh = scr->hdl->ph_memh;
80 pcdisplay_6845_write(scr->hdl, curstart,
82 pcdisplay_6845_write(scr->hdl, curend,
94 bus_space_tag_t memt = scr->hdl->ph_memt;
95 bus_space_handle_t memh = scr->hdl->ph_memh;
138 pcdisplay_6845_write(scr->hdl, cursorh, pos >> 8);
139 pcdisplay_6845_write(scr->hdl, cursorl, pos)
    [all...]
ispvar.h 345 #define ISP_H2HT(hdl) ((hdl & ISP_HANDLE_USAGE_MASK) >> ISP_HANDLE_USAGE_SHIFT)
351 #define ISP_H2SEQ(hdl) ((hdl & ISP_HANDLE_SEQ_MASK) >> ISP_HANDLE_SEQ_SHIFT)
352 #define ISP_VALID_INI_HANDLE(c, hdl) \
353 (ISP_H2HT(hdl) == ISP_HANDLE_INITIATOR && (hdl & ISP_HANDLE_CMD_MASK) < (c)->isp_maxcmds && \
354 ISP_H2SEQ(hdl) == ISP_H2SEQ((c)->isp_xflist[hdl & ISP_HANDLE_CMD_MASK].handle))
356 #define ISP_VALID_TGT_HANDLE(c, hdl) \
    [all...]
vga.c 448 scr->pcs.hdl = (struct pcdisplay_handle *)&vc->hdl;
460 cpos = vga_6845_read(&vc->hdl, cursorh) << 8;
461 cpos |= vga_6845_read(&vc->hdl, cursorl);
467 scr->pcs.dispoffset = vga_6845_read(&vc->hdl, startadrh) << 9;
468 scr->pcs.dispoffset |= vga_6845_read(&vc->hdl, startadrl) << 1;
476 vga_setscreentype(&vc->hdl, type);
492 if (!vc->hdl.vh_mono)
529 struct vga_handle *vh = &vc->hdl;
570 vga_loadchars(&vc->hdl, 0, wf->firstchar, wf->numchars
    [all...]
  /src/sys/dev/
radio_if.h 53 void *hdl; member in struct:radio_attach_args
  /src/sys/arch/x86/acpi/
acpi_pdc.c 113 acpi_md_pdc_walk(ACPI_HANDLE hdl, uint32_t level, void *aux, void **sta)
117 ci = acpi_match_cpu_handle(hdl);
120 acpi_md_pdc_set(hdl, flags);
126 acpi_md_pdc_set(ACPI_HANDLE hdl, uint32_t val)
143 (void)AcpiEvaluateObject(hdl, "_PDC", &arg, NULL);
  /src/sys/dev/acpi/
fujbp_acpi.c 485 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_bp_get_hks
492 rv = acpi_eval_integer(hdl, "GHKS", &val);
495 acpi_name(hdl), "GHKS", AcpiFormatException(rv));
507 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_bp_init_brightness
514 rv = acpi_eval_integer(hdl, "RBLL", &val);
517 acpi_name(hdl), "RBLL", AcpiFormatException(rv));
532 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_bp_get_brightness
539 rv = acpi_eval_integer(hdl, "GBLL", &val);
542 acpi_name(hdl), "GBLL", AcpiFormatException(rv));
560 ACPI_HANDLE hdl = sc->sc_node->ad_handle local in function:fujitsu_bp_set_brightness
580 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_bp_get_pointer
608 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_bp_set_pointer
634 ACPI_HANDLE hdl; local in function:fujitsu_bp_cap
    [all...]
acpi_power.c 114 acpi_power_res_init(ACPI_HANDLE hdl)
123 rv = acpi_eval_struct(hdl, NULL, &buf);
136 res->res_handle = hdl;
141 acpi_xname(hdl), sizeof(res->res_name));
176 acpi_power_res_get(ACPI_HANDLE hdl)
182 if (res->res_handle == hdl)
186 return acpi_power_res_init(hdl);
190 acpi_power_register(ACPI_HANDLE hdl)
196 acpi_power_deregister(ACPI_HANDLE hdl)
198 struct acpi_devnode *ad = acpi_match_node(hdl);
426 ACPI_HANDLE hdl; local in function:acpi_power_switch
569 ACPI_HANDLE hdl; local in function:acpi_power_res_sta
    [all...]
hpacel_acpi.c 243 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:hpacel_reg_init
247 rv = AcpiEvaluateObject(hdl, "_INI", NULL, NULL);
275 rv = hpacel_reg_write(hdl, CTRL_REG1, val);
307 rv = hpacel_reg_write(hdl, CTRL_REG2, val);
318 (void)hpacel_reg_write(hdl, DD_CFG, 0x00);
319 (void)hpacel_reg_write(hdl, FF_WU_CFG, 0x00);
338 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:hpacel_reg_info
342 rv = hpacel_reg_read(hdl, WHO_AM_I, &sc->sc_whoami);
349 rv = hpacel_reg_read(hdl, CTRL_REG1 + i, &sc->sc_ctrl[i]);
359 hpacel_reg_read(ACPI_HANDLE hdl, ACPI_INTEGER reg, uint8_t *valp
457 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:hpacel_power
    [all...]
acpi_wakedev.c 68 ACPI_HANDLE hdl; local in function:acpi_wakedev_init
105 hdl = NULL;
123 hdl = elm->Package.Elements[0].Reference.Handle;
133 ad->ad_wakedev->aw_handle = hdl;
156 rv = AcpiSetupGpeForWake(ad->ad_handle, hdl, val);
176 ACPI_HANDLE hdl; local in function:acpi_wakedev_power_add
190 rv = acpi_eval_reference_handle(elm, &hdl);
195 ad->ad_wakedev->aw_power[j] = hdl;
291 ACPI_HANDLE hdl; local in function:acpi_wakedev_commit
310 hdl = ad->ad_wakedev->aw_handle
    [all...]
acpi_gpio.c 182 ACPI_HANDLE hdl; local in function:acpi_gpio_translate
192 rv = AcpiGetHandle(NULL, rs->StringPtr, &hdl);
197 if (ad->ad_handle == hdl) {
252 acpi_gpio_get_int(ACPI_HANDLE hdl, u_int index, void **gpiop, int *pin,
262 rv = AcpiWalkResources(hdl, "_CRS", acpi_gpio_parse, &ctx);
294 acpi_gpio_get_io(ACPI_HANDLE hdl, u_int index, void **gpiop, int *pin)
302 rv = AcpiWalkResources(hdl, "_CRS", acpi_gpio_parse, &ctx);
fujhk_acpi.c 337 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_hk_get_irb
344 rv = acpi_eval_integer(hdl, "GIRB", &val);
347 acpi_name(hdl), "GIRB", AcpiFormatException(rv));
359 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_hk_get_backlight
372 rv = fujitsu_hk_eval_nary_integer(hdl, "FUNC", args, 4, &val);
375 acpi_name(hdl), "FUNC", AcpiFormatException(rv));
395 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:fujitsu_hk_set_backlight
413 rv = fujitsu_hk_eval_nary_integer(hdl, "FUNC", args, 4, &val);
416 acpi_name(hdl), "FUNC", AcpiFormatException(rv));
435 ACPI_HANDLE hdl; local in function:fujitsu_hk_cap
    [all...]
sony_acpi.c 306 ACPI_HANDLE hdl = sc->sc_node->ad_handle; local in function:sony_acpi_quirk_setup
310 sony_acpi_eval_set_integer(hdl, "SN02", 0x04, NULL);
311 sony_acpi_eval_set_integer(hdl, "SN07", 0x02, NULL);
312 sony_acpi_eval_set_integer(hdl, "SN02", 0x10, NULL);
313 sony_acpi_eval_set_integer(hdl, "SN07", 0x00, NULL);
314 sony_acpi_eval_set_integer(hdl, "SN03", 0x02, NULL);
315 sony_acpi_eval_set_integer(hdl, "SN07", 0x101, NULL);
320 sony_acpi_notify_handler(ACPI_HANDLE hdl, uint32_t notify, void *opaque)
328 rv = sony_acpi_eval_set_integer(hdl, "SN07", 0x202, &arg);
432 sony_acpi_find_pic(ACPI_HANDLE hdl, uint32_t level
    [all...]
acpi_i2c.c 75 ACPI_HANDLE hdl; local in function:acpi_i2c_resource_find_source
82 rv = AcpiGetHandle(NULL, rs->StringPtr, &hdl);
90 if (ad->ad_handle == hdl) {
212 ACPI_HANDLE *hdl = devhandle_to_acpi(device_handle(dev)); local in function:acpi_i2c_enumerate_devices
213 struct acpi_devnode *ad, *devnode = acpi_match_node(hdl);
411 ACPI_HANDLE hdl = devhandle_to_acpi(device_handle(dev)); local in function:acpi_i2c_register
418 rv = AcpiInstallAddressSpaceHandler(hdl,
  /src/sys/arch/x68k/dev/
vs.c 242 vs_dmaintr(void *hdl)
247 sc = hdl;
265 vs_dmaerrintr(void *hdl)
269 sc = hdl;
283 vs_query_format(void *hdl, audio_format_query_t *afp)
302 vs_set_format(void *hdl, int setmode,
309 sc = hdl;
335 vs_commit_settings(void *hdl)
340 sc = hdl;
364 vs_start_output(void *hdl, void *block, int blksize, void (*intr)(void *)
    [all...]
  /src/sys/dev/gpib/
gpib.c 216 gpib_handle_t hdl; local in function:gpibintr
220 hdl = TAILQ_FIRST(&sc->sc_queue);
221 (hdl->hq_callback)(hdl->hq_softc, GPIBCBF_INTR);
230 void *arg, gpib_handle_t *hdl)
233 *hdl = malloc(sizeof(struct gpibqueue), M_DEVBUF, M_WAITOK);
234 (*hdl)->hq_slave = slave;
235 (*hdl)->hq_callback = callback;
236 (*hdl)->hq_softc = arg;
245 _gpibrequest(struct gpib_softc *sc, gpib_handle_t hdl)
    [all...]
gpibvar.h 127 #define gpibrequest(ic, hdl) \
128 _gpibrequest((ic)->bus, hdl)
129 #define gpibrelease(ic, hdl) \
130 _gpibrelease((ic)->bus, hdl)
  /src/sys/arch/luna68k/dev/
psgpam.c 341 psgpam_open(void *hdl, int flags)
347 sc = hdl;
367 psgpam_close(void *hdl)
371 sc = hdl;
383 psgpam_query_format(void *hdl, audio_format_query_t *afp)
397 sc = hdl;
471 psgpam_set_format(void *hdl, int setmode,
479 sc = hdl;
557 psgpam_trigger_output(void *hdl, void *start, void *end, int blksize,
563 sc = hdl;
    [all...]
  /src/sys/arch/arm/xscale/
pxa2x0_i2s.c 179 pxa2x0_i2s_allocm(void *hdl, int direction, size_t size)
181 struct pxa2x0_i2s_softc *sc = hdl;
239 pxa2x0_i2s_freem(void *hdl, void *ptr, size_t size)
241 struct pxa2x0_i2s_softc *sc = hdl;
263 pxa2x0_i2s_round_blocksize(void *hdl, int bs, int mode,
275 pxa2x0_i2s_round_buffersize(void *hdl, int direction, size_t bufsize)
282 pxa2x0_i2s_halt_output(void *hdl)
284 struct pxa2x0_i2s_softc *sc = hdl;
295 pxa2x0_i2s_halt_input(void *hdl)
297 struct pxa2x0_i2s_softc *sc = hdl;
    [all...]
  /src/sys/dev/bluetooth/
btsco.c 552 btsco_open(void *hdl, int flags)
555 struct btsco_softc *sc = hdl;
648 btsco_close(void *hdl)
650 struct btsco_softc *sc = hdl;
681 btsco_query_format(void *hdl, audio_format_query_t *afp)
688 btsco_set_format(void *hdl, int setmode,
701 btsco_round_blocksize(void *hdl, int bs, int mode,
704 struct btsco_softc *sc = hdl;
726 btsco_start_output(void *hdl, void *block, int blksize,
729 struct btsco_softc *sc = hdl;
    [all...]
  /src/sys/dev/pci/
emuxki.c 873 emuxki_query_format(void *hdl, audio_format_query_t *afp)
880 emuxki_set_format(void *hdl, int setmode,
884 struct emuxki_softc *sc = hdl;
894 emuxki_halt_output(void *hdl)
896 struct emuxki_softc *sc = hdl;
905 emuxki_halt_input(void *hdl)
907 struct emuxki_softc *sc = hdl;
921 emuxki_intr(void *hdl)
923 struct emuxki_softc *sc = hdl;
1026 emuxki_getdev(void *hdl, struct audio_device *dev
    [all...]
auixp.c 248 auixp_query_format(void *hdl, audio_format_query_t *afp)
253 co = (struct auixp_codec *) hdl;
293 auixp_commit_settings(void *hdl)
303 co = (struct auixp_codec *) hdl;
376 auixp_set_format(void *hdl, int setmode,
390 co = (struct auixp_codec *) hdl;
422 auixp_round_blocksize(void *hdl, int bs, int mode,
441 auixp_malloc(void *hdl, int direction, size_t size)
448 co = (struct auixp_codec *) hdl;
477 auixp_free(void *hdl, void *addr, size_t size
    [all...]
  /src/sys/arch/prep/pnpbus/
pnpbusvar.h 137 bus_space_handle_t hdl);
143 bus_space_handle_t hdl);

Completed in 24 milliseconds

1 2 3 4