Searched defs:handle (Results 501 - 525 of 719) sorted by relevance

<<212223242526272829

/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_mac.c38 #define XMAC_WAIT_REG(handle, portn, reg, val) {\
42 XMAC_REG_RD(handle, portn, reg, &val);\
47 #define BMAC_WAIT_REG(handle, portn, reg, val) {\
51 BMAC_REG_RD(handle, portn, reg, &val);\
56 #define MIF_WAIT_REG(handle, m_frame, t_delay, interval, max_delay) { \
59 MIF_REG_RD(handle, MIF_OUTPUT_FRAME_REG, &m_frame.value); \
505 npi_mac_dump_regs(npi_handle_t handle, uint8_t port) argument
517 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL,
522 XMAC_REG_RD(handle, port, (uint32_t)xmac_offset[i],
525 XMAC_REG_RD(handle, por
567 npi_mac_pcs_link_intr_enable(npi_handle_t handle, uint8_t portn) argument
581 npi_mac_pcs_link_intr_disable(npi_handle_t handle, uint8_t portn) argument
595 npi_xmac_xpcs_link_intr_enable(npi_handle_t handle, uint8_t portn) argument
609 npi_xmac_xpcs_link_intr_disable(npi_handle_t handle, uint8_t portn) argument
623 npi_mac_mif_link_intr_disable(npi_handle_t handle, uint8_t portn) argument
642 npi_mac_hashtab_entry(npi_handle_t handle, io_op_t op, uint8_t portn, uint8_t entryn, uint16_t *data) argument
683 npi_mac_hostinfo_entry(npi_handle_t handle, io_op_t op, uint8_t portn, uint8_t entryn, hostinfo_t *hostinfo) argument
737 npi_mac_altaddr_enable(npi_handle_t handle, uint8_t portn, uint8_t addrn) argument
779 npi_mac_altaddr_disable(npi_handle_t handle, uint8_t portn, uint8_t addrn) argument
817 npi_mac_altaddr_entry(npi_handle_t handle, io_op_t op, uint8_t portn, uint8_t entryn, npi_mac_addr_t *data) argument
893 npi_mac_port_attr(npi_handle_t handle, io_op_t op, uint8_t portn, npi_attr_t *attrp) argument
1745 npi_xmac_reset(npi_handle_t handle, uint8_t portn, npi_mac_reset_t mode) argument
1806 npi_xmac_xif_config(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_xif_config_t config) argument
1941 npi_xmac_tx_config(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_tx_config_t config) argument
2024 npi_xmac_rx_config(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_rx_config_t config) argument
2170 npi_xmac_tx_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_tx_iconfig_t iconfig) argument
2220 npi_xmac_rx_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_rx_iconfig_t iconfig) argument
2270 npi_xmac_ctl_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, xmac_ctl_iconfig_t iconfig) argument
2321 npi_xmac_tx_get_istatus(npi_handle_t handle, uint8_t portn, xmac_tx_iconfig_t *istatus) argument
2335 npi_xmac_rx_get_istatus(npi_handle_t handle, uint8_t portn, xmac_rx_iconfig_t *istatus) argument
2349 npi_xmac_ctl_get_istatus(npi_handle_t handle, uint8_t portn, xmac_ctl_iconfig_t *istatus) argument
2363 npi_xmac_xpcs_reset(npi_handle_t handle, uint8_t portn) argument
2389 npi_xmac_xpcs_enable(npi_handle_t handle, uint8_t portn) argument
2403 npi_xmac_xpcs_disable(npi_handle_t handle, uint8_t portn) argument
2417 npi_xmac_xpcs_read(npi_handle_t handle, uint8_t portn, uint8_t xpcs_reg, uint32_t *value) argument
2497 npi_xmac_xpcs_write(npi_handle_t handle, uint8_t portn, uint8_t xpcs_reg, uint32_t value) argument
2545 npi_bmac_reset(npi_handle_t handle, uint8_t portn, npi_mac_reset_t mode) argument
2585 npi_mac_pcs_reset(npi_handle_t handle, uint8_t portn) argument
2610 npi_mac_get_link_status(npi_handle_t handle, uint8_t portn, boolean_t *link_up) argument
2629 npi_bmac_tx_config(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_tx_config_t config) argument
2695 npi_bmac_rx_config(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_rx_config_t config) argument
2809 npi_bmac_rx_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_rx_iconfig_t iconfig) argument
2859 npi_bmac_xif_config(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_xif_config_t config) argument
2957 npi_bmac_tx_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_tx_iconfig_t iconfig) argument
3007 npi_bmac_ctl_iconfig(npi_handle_t handle, config_op_t op, uint8_t portn, bmac_ctl_iconfig_t iconfig) argument
3057 npi_bmac_tx_get_istatus(npi_handle_t handle, uint8_t portn, bmac_tx_iconfig_t *istatus) argument
3071 npi_bmac_rx_get_istatus(npi_handle_t handle, uint8_t portn, bmac_rx_iconfig_t *istatus) argument
3085 npi_bmac_ctl_get_istatus(npi_handle_t handle, uint8_t portn, bmac_ctl_iconfig_t *istatus) argument
3099 npi_mac_mif_mdio_read(npi_handle_t handle, uint8_t portn, uint8_t device, uint16_t xcvr_reg, uint16_t *value) argument
3161 npi_mac_mif_mii_read(npi_handle_t handle, uint8_t portn, uint8_t xcvr_reg, uint16_t *value) argument
3190 npi_mac_mif_mdio_write(npi_handle_t handle, uint8_t portn, uint8_t device, uint16_t xcvr_reg, uint16_t value) argument
3248 npi_mac_mif_mii_write(npi_handle_t handle, uint8_t portn, uint8_t xcvr_reg, uint16_t value) argument
3277 npi_mac_pcs_mii_read(npi_handle_t handle, uint8_t portn, uint8_t xcvr_reg, uint16_t *value) argument
3362 npi_mac_pcs_mii_write(npi_handle_t handle, uint8_t portn, uint8_t xcvr_reg, uint16_t value) argument
3407 npi_mac_mif_link_intr_enable(npi_handle_t handle, uint8_t portn, uint8_t xcvr_reg, uint16_t mask) argument
3439 npi_mac_mif_mdio_link_intr_enable(npi_handle_t handle, uint8_t portn, uint8_t device, uint16_t xcvr_reg, uint16_t mask) argument
3479 npi_mac_mif_set_indirect_mode(npi_handle_t handle, boolean_t on_off) argument
3489 npi_mac_mif_set_atca_mode(npi_handle_t handle, boolean_t on_off) argument
3499 npi_bmac_send_pause(npi_handle_t handle, uint8_t portn, uint16_t pause_time) argument
3512 npi_xmac_xif_led(npi_handle_t handle, uint8_t portn, boolean_t on_off) argument
3534 npi_xmac_zap_tx_counters(npi_handle_t handle, uint8_t portn) argument
3545 npi_xmac_zap_rx_counters(npi_handle_t handle, uint8_t portn) argument
[all...]
H A Dnpi_txdma.c35 static npi_status_t npi_txdma_control_reset_wait(npi_handle_t handle,
37 static npi_status_t npi_txdma_control_stop_wait(npi_handle_t handle,
39 static npi_status_t npi_txdma_control_resume_wait(npi_handle_t handle,
129 npi_txdma_dump_tdc_regs(npi_handle_t handle, uint8_t tdc) argument
137 NPI_ERROR_MSG((handle.function, NPI_ERR_CTL,
145 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL,
151 TXDMA_REG_READ64(handle, tdc_dmc_offset[i], tdc, &value);
152 offset = NXGE_TXDMA_OFFSET(tdc_dmc_offset[i], handle.is_vraddr,
154 NPI_REG_DUMP_MSG((handle.function, NPI_REG_CTL, "0x%08llx "
160 NPI_REG_DUMP_MSG((handle
180 npi_txdma_dump_fzc_regs(npi_handle_t handle) argument
208 npi_txdma_tdc_regs_zero(npi_handle_t handle, uint8_t tdc) argument
258 npi_txdma_mode32_set(npi_handle_t handle, boolean_t mode_enable) argument
297 npi_txdma_log_page_set(npi_handle_t handle, uint8_t channel, p_dma_log_page_t cfgp) argument
390 npi_txdma_log_page_get(npi_handle_t handle, uint8_t channel, p_dma_log_page_t cfgp) argument
460 npi_txdma_log_page_handle_set(npi_handle_t handle, uint8_t channel, p_log_page_hdl_t hdl_p) argument
508 npi_txdma_log_page_config(npi_handle_t handle, io_op_t op_mode, txdma_log_cfg_t type, uint8_t channel, p_dma_log_page_t cfgp) argument
668 npi_txdma_log_page_vld_config(npi_handle_t handle, io_op_t op_mode, uint8_t channel, p_log_page_vld_t vld_p) argument
739 npi_txdma_channel_reset(npi_handle_t handle, uint8_t channel) argument
766 npi_txdma_channel_init_enable(npi_handle_t handle, uint8_t channel) argument
790 npi_txdma_channel_enable(npi_handle_t handle, uint8_t channel) argument
814 npi_txdma_channel_disable(npi_handle_t handle, uint8_t channel) argument
838 npi_txdma_channel_resume(npi_handle_t handle, uint8_t channel) argument
861 npi_txdma_channel_mmk_clear(npi_handle_t handle, uint8_t channel) argument
885 npi_txdma_channel_mbox_enable(npi_handle_t handle, uint8_t channel) argument
919 npi_txdma_channel_control(npi_handle_t handle, txdma_cs_cntl_t control, uint8_t channel) argument
1036 npi_txdma_control_status(npi_handle_t handle, io_op_t op_mode, uint8_t channel, p_tx_cs_t cs_p) argument
1101 npi_txdma_event_mask(npi_handle_t handle, io_op_t op_mode, uint8_t channel, p_tx_dma_ent_msk_t mask_p) argument
1167 npi_txdma_event_mask_config(npi_handle_t handle, io_op_t op_mode, uint8_t channel, txdma_ent_msk_cfg_t *mask_cfgp) argument
1232 npi_txdma_event_mask_mk_out(npi_handle_t handle, uint8_t channel) argument
1269 npi_txdma_event_mask_mk_in(npi_handle_t handle, uint8_t channel) argument
1314 npi_txdma_ring_addr_set(npi_handle_t handle, uint8_t channel, uint64_t start_addr, uint32_t len) argument
1360 npi_txdma_ring_config(npi_handle_t handle, io_op_t op_mode, uint8_t channel, uint64_t *reg_data) argument
1418 npi_txdma_mbox_config(npi_handle_t handle, io_op_t op_mode, uint8_t channel, uint64_t *mbox_addr) argument
1491 npi_txdma_desc_gather_set(npi_handle_t handle, p_tx_desc_t desc_p, uint8_t gather_index, boolean_t mark, uint8_t ngathers, uint64_t dma_ioaddr, uint32_t transfer_len) argument
1553 npi_txdma_desc_gather_sop_set(npi_handle_t handle, p_tx_desc_t desc_p, boolean_t mark_mode, uint8_t ngathers) argument
1569 npi_txdma_desc_gather_sop_set_1(npi_handle_t handle, p_tx_desc_t desc_p, boolean_t mark_mode, uint8_t ngathers, uint32_t extra) argument
1588 npi_txdma_desc_set_xfer_len(npi_handle_t handle, p_tx_desc_t desc_p, uint32_t transfer_len) argument
1606 npi_txdma_desc_set_zero(npi_handle_t handle, uint16_t entries) argument
1624 npi_txdma_desc_mem_get(npi_handle_t handle, uint16_t index, p_tx_desc_t desc_p) argument
1657 npi_txdma_desc_kick_reg_set(npi_handle_t handle, uint8_t channel, uint16_t tail_index, boolean_t wrap) argument
1710 npi_txdma_desc_kick_reg_get(npi_handle_t handle, uint8_t channel, p_tx_ring_kick_t kick_p) argument
1750 npi_txdma_ring_head_get(npi_handle_t handle, uint8_t channel, p_tx_ring_hdl_t hdl_p) argument
1771 npi_txdma_channel_mbox_get(npi_handle_t handle, uint8_t channel, p_txdma_mailbox_t mbox_p) argument
1781 npi_txdma_channel_pre_state_get(npi_handle_t handle, uint8_t channel, p_tx_dma_pre_st_t prep) argument
1801 npi_txdma_ring_error_get(npi_handle_t handle, uint8_t channel, p_txdma_ring_errlog_t ring_errlog_p) argument
1830 npi_txdma_inj_par_error_clear(npi_handle_t handle) argument
1838 npi_txdma_inj_par_error_set(npi_handle_t handle, uint32_t err_bits) argument
1850 npi_txdma_inj_par_error_update(npi_handle_t handle, uint32_t err_bits) argument
1863 npi_txdma_inj_par_error_get(npi_handle_t handle, uint32_t *err_bits) argument
1875 npi_txdma_dbg_sel_set(npi_handle_t handle, uint8_t dbg_sel) argument
1888 npi_txdma_training_vector_set(npi_handle_t handle, uint32_t training_vector) argument
1915 npi_txdma_dump_desc_one(npi_handle_t handle, p_tx_desc_t desc_p, int desc_index) argument
1953 npi_txdma_dump_hdr(npi_handle_t handle, p_tx_pkt_header_t hdrp) argument
1979 npi_txdma_inj_int_error_set(npi_handle_t handle, uint8_t channel, p_tdmc_intr_dbg_t erp) argument
2002 npi_txdma_control_reset_wait(npi_handle_t handle, uint8_t channel) argument
2027 npi_txdma_control_stop_wait(npi_handle_t handle, uint8_t channel) argument
2052 npi_txdma_control_resume_wait(npi_handle_t handle, uint8_t channel) argument
[all...]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_chip.c800 ddi_acc_handle_t handle; local
803 handle = rgep->cfg_handle;
808 cidp->command = pci_config_get16(handle, PCI_CONF_COMM);
809 cidp->vendor = pci_config_get16(handle, PCI_CONF_VENID);
810 cidp->device = pci_config_get16(handle, PCI_CONF_DEVID);
811 cidp->subven = pci_config_get16(handle, PCI_CONF_SUBVENID);
812 cidp->subdev = pci_config_get16(handle, PCI_CONF_SUBSYSID);
813 cidp->revision = pci_config_get8(handle, PCI_CONF_REVID);
814 cidp->clsize = pci_config_get8(handle, PCI_CONF_CACHE_LINESZ);
815 cidp->latency = pci_config_get8(handle, PCI_CONF_LATENCY_TIME
[all...]
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_pathmanager.c530 /* destroy the send queue and release the handle */
693 rsmpi_adapter_handle = rsmpi_adapter_object.handle;
840 rsm_cntl_obj.handle = current->rsmpi_handle;
1705 /* release the rsmpi handle */
1974 rsm_controller_handle_t handle, rsm_ops_t *ops,
1985 adapter->rsmpi_handle = handle;
2696 DBG_PRINTF((category, RSM_DEBUG, "create_ipc_sendq: handle = %lx\n",
1973 init_adapter(char *name, int instance, rsm_addr_t hwaddr, rsm_controller_handle_t handle, rsm_ops_t *ops, srv_handler_arg_t *hdlr_argp) argument
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c598 usb_log_handle_t handle,
604 return (usba_vlog(handle, level, mask, fmt, ap));
624 usba10_usb_free_log_handle(usb_log_handle_t handle) argument
626 usb_free_log_handle(handle);
597 usba10_usba_vlog( usb_log_handle_t handle, uint_t level, uint_t mask, char *fmt, va_list ap) argument
H A Dusbai.c158 usb_free_log_handle(usb_log_handle_t handle) argument
160 if (handle) {
161 kmem_free(handle, sizeof (usba_log_handle_impl_t));
166 usb_free_log_hdl(usb_log_handle_t handle) argument
168 if (handle) {
169 kmem_free(handle, sizeof (usba_log_handle_impl_t));
390 usba_vlog(usb_log_handle_t handle, uint_t level, uint_t mask, argument
393 usba_log_handle_impl_t *hdl = (usba_log_handle_impl_t *)handle;
397 /* if there is no handle, use usba as label */
450 usb_dprintf4(uint_t mask, usb_log_handle_t handle, cha argument
461 usb_dprintf3(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
472 usb_dprintf2(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
483 usb_dprintf1(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
494 usb_dprintf0(uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
505 usb_log(usb_log_handle_t handle, uint_t level, uint_t mask, char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c627 usb_log_handle_t handle,
633 (void) usba10_usba_vlog(handle, USB_LOG_L4, mask, fmt, ap);
640 usb_log_handle_t handle,
646 (void) usba10_usba_vlog(handle, USB_LOG_L3, mask, fmt, ap);
653 usb_log_handle_t handle,
659 (void) usba10_usba_vlog(handle, USB_LOG_L2, mask, fmt, ap);
667 usb_log_handle_t handle,
673 (void) usba10_usba_vlog(handle, USB_LOG_L1, mask, fmt, ap);
681 usb_log_handle_t handle,
687 (void) usba10_usba_vlog(handle, USB_LOG_L
625 usb_dprintf4( uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
638 usb_dprintf3( uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
651 usb_dprintf2( uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
665 usb_dprintf1( uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
679 usb_dprintf0( uint_t mask, usb_log_handle_t handle, char *fmt, ...) argument
707 usb_free_log_handle(usb_log_handle_t handle) argument
714 usb_log( usb_log_handle_t handle, uint_t level, uint_t mask, char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dbscv_impl.h151 ddi_acc_handle_t handle; member in struct:xbus_channel
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c221 kadm5_server_handle_t handle = server_handle; local
225 krb5_clear_error_message(handle->context);
245 ret = kdb_get_entry(handle, entry->principal, &kdb, &adb);
260 kdb_free_entry(handle, &kdb, &adb);
269 kdb_free_entry(handle, NULL, &adb);
282 if ((ret = kadm5_get_policy(handle->lhandle, entry->policy,
290 if ((ret = passwd_check(handle, password, (mask & KADM5_POLICY),
293 (void) kadm5_free_policy_ent(handle->lhandle, &polent);
301 if ((ret = krb5_timeofday(handle->context, &now))) {
303 (void) kadm5_free_policy_ent(handle
471 kadm5_server_handle_t handle = server_handle; local
519 kadm5_server_handle_t handle = server_handle; local
709 kadm5_server_handle_t handle = server_handle; local
763 kadm5_server_handle_t handle = server_handle; local
1348 kadm5_server_handle_t handle = server_handle; local
1570 kadm5_server_handle_t handle = server_handle; local
1892 kadm5_server_handle_t handle = server_handle; local
2166 kadm5_server_handle_t handle = server_handle; local
2210 kadm5_server_handle_t handle = server_handle; local
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dmagic.c320 indirect(const char* cs, char** e, void* handle) argument
323 register Magic_t* mp = (Magic_t*)handle;
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_stat.c386 i_mac_stat_create(void *handle, const char *modname, const char *statname, argument
400 ksp->ks_private = handle;
413 mac_rx_ring_stat_get(void *handle, uint_t stat) argument
415 mac_ring_t *ring = (mac_ring_t *)handle;
454 mac_tx_ring_stat_get(void *handle, uint_t stat) argument
456 mac_ring_t *ring = (mac_ring_t *)handle;
495 i_mac_tx_swlane_stat_get(void *handle, uint_t stat) argument
497 mac_soft_ring_set_t *mac_srs = (mac_soft_ring_set_t *)handle;
548 i_mac_rx_swlane_stat_get(void *handle, uint_t stat) argument
550 mac_soft_ring_set_t *mac_srs = (mac_soft_ring_set_t *)handle;
607 i_mac_rx_hwlane_stat_get(void *handle, uint_t stat) argument
679 i_mac_misc_stat_get(void *handle, uint_t stat) argument
818 i_mac_tx_hwlane_stat_get(void *handle, uint_t stat) argument
871 i_mac_rx_fanout_stat_get(void *handle, uint_t stat) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_chip.c585 ddi_acc_handle_t handle; local
600 handle = ngep->cfg_handle;
603 infop->command = pci_config_get16(handle,
605 infop->vendor = pci_config_get16(handle,
607 infop->device = pci_config_get16(handle,
609 infop->subven = pci_config_get16(handle,
611 infop->subdev = pci_config_get16(handle,
613 infop->class_code = pci_config_get8(handle,
615 infop->revision = pci_config_get8(handle,
617 infop->clsize = pci_config_get8(handle,
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsghsc.h140 * and register slot handle
143 hpc_slot_t handle; member in struct:sghsc_slot
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Daxq.c1549 ddi_acc_handle_t handle; local
1638 &acc, &handle)) {
1657 axq_unmap_phys(&handle);
/illumos-gate/usr/src/uts/sun4u/starcat/sys/
H A Diosramvar.h140 (ddi_get32((softp)->handle, &((iosram_hdr_t *)(softp)->iosramp)->field))
142 (ddi_put32((softp)->handle, &((iosram_hdr_t *)(softp)->iosramp)->field,\
220 ddi_acc_handle_t handle; /* IOSRAM map handle */ member in struct:iosramsoft
233 ddi_acc_handle_t sbbc_handle; /* SBBC regs map handle */
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c142 static void sysc_dr_init(sysc_dr_handle_t *handle);
143 static void sysc_dr_uninit(sysc_dr_handle_t *handle);
144 static int sysc_dr_attach(sysc_dr_handle_t *handle, int board);
145 static int sysc_dr_detach(sysc_dr_handle_t *handle, int board);
1357 sysc_dr_handle_t *handle; /* DR handle */ member in struct:sysc_prom
1366 sysc_dr_attach(sysc_dr_handle_t *handle, int board) argument
1373 arg.handle = handle;
1375 arg.dipp = handle
1453 sysc_dr_detach(sysc_dr_handle_t *handle, int board) argument
1485 sysc_dr_init(sysc_dr_handle_t *handle) argument
1551 sysc_dr_uninit(sysc_dr_handle_t *handle) argument
1560 sysc_dr_err_decode(sysc_dr_handle_t *handle, dev_info_t *dip, int attach) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc_shm.c187 * Allocate a memory handle for the channel and link it into the list
188 * Also choose which memory table to use if this is the first handle
192 ldc_mem_alloc_handle(ldc_handle_t handle, ldc_mem_handle_t *mhandle) argument
197 if (handle == NULL) {
199 "ldc_mem_alloc_handle: invalid channel handle\n");
202 ldcp = (ldc_chan_t *)handle;
215 /* allocate handle for channel */
226 /* insert memory handle (@ head) into list */
236 /* return the handle */
241 D1(ldcp->id, "ldc_mem_alloc_handle: (0x%llx) allocated handle
862 ldc_mem_copy(ldc_handle_t handle, caddr_t vaddr, uint64_t off, size_t *size, ldc_mem_cookie_t *cookies, uint32_t ccount, uint8_t direction) argument
1088 ldc_mem_rdwr_cookie(ldc_handle_t handle, caddr_t vaddr, size_t *size, caddr_t paddr, uint8_t direction) argument
1821 ldc_mem_dring_bind(ldc_handle_t handle, ldc_dring_handle_t dhandle, uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) argument
2162 ldc_mem_dring_map(ldc_handle_t handle, ldc_mem_cookie_t *cookie, uint32_t ccount, uint32_t len, uint32_t dsize, uint8_t mtype, ldc_dring_handle_t *dhandle) argument
[all...]
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h329 * Define data structures for resource lists and handle management
442 * do, with the ops caller responsible for remembering the handle
450 void *next_handle; /* next handle in chain */
477 * This function allocates a handle, used to store resources
486 * The 'handle' returned also contains resource information
488 * may have created. Thus, the handle's life is the life
506 extern void pci_fc_ops_free_handle(fco_handle_t handle);
507 extern void gp2_fc_ops_free_handle(fco_handle_t handle);
508 extern void fc_ops_free_handle(fco_handle_t handle);
518 * to the fc_ops function to handle th
551 fco_handle_t handle; /* Caller's private identifier */ member in struct:fc_request
[all...]
/illumos-gate/usr/src/uts/sun4u/daktari/io/
H A Dhpc3130_dak.c927 * at that point is the device handle and the register offset
930 ste->callback_info.handle = (caddr_t)hpc3130_p->hpc3130_hdl;
968 if (ste->callback_info.handle != NULL) {
1069 i2c_client_hdl_t handle = unitp->hpc3130_hdl; local
1073 if (hpc3130_read(handle, HPC3130_ATTEN, slot, &old) != DDI_SUCCESS) {
1081 if (hpc3130_write(handle, HPC3130_ATTEN, slot, new) != DDI_SUCCESS) {
1114 hpc3130_get_led(i2c_client_hdl_t handle, int slot, argument
1119 if (hpc3130_read(handle, HPC3130_ATTEN, slot, &temp) != DDI_SUCCESS) {
1128 hpc3130_write(i2c_client_hdl_t handle, uint8_t offset, argument
1132 ASSERT(handle);
1139 hpc3130_read(i2c_client_hdl_t handle, uint8_t offset, uint8_t port, uint8_t *data) argument
1150 hpc3130_rw(i2c_client_hdl_t handle, uint8_t reg, boolean_t write, uint8_t *data) argument
1208 i2c_client_hdl_t handle; local
1260 i2c_client_hdl_t handle; local
1396 hpc3130_cpu_init(hpc3130_unit_t *hpc3130_p, int slot, i2c_client_hdl_t handle) argument
1447 hpc3130_debounce_status(i2c_client_hdl_t handle, int slot, uint8_t *status) argument
1495 i2c_client_hdl_t handle; local
1802 hpc3130_verify_slot_power(hpc3130_unit_t *hpc3130_p, i2c_client_hdl_t handle, uint8_t offset, char *phys_slot, boolean_t slot_target_state) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/
H A Diommu.c782 DPRINTF(IOMMU_DMA_ALLOCHDL_DEBUG, ("dma_allochdl: (%s) handle %p "
806 iommu_dma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
808 struct dma_impl_priv *mppriv = (struct dma_impl_priv *)handle;
851 ddi_dma_handle_t handle, struct ddi_dma_req *dmareq,
864 ddi_dma_impl_t *mp = (ddi_dma_impl_t *)handle;
1124 ddi_dma_handle_t handle)
1129 ddi_dma_impl_t *mp = (ddi_dma_impl_t *)handle;
1174 ddi_dma_handle_t handle, off_t off, size_t len,
1177 ddi_dma_impl_t *mp = (ddi_dma_impl_t *)handle;
1191 ddi_dma_handle_t handle, uint_
850 iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cp, uint_t *ccountp) argument
1123 iommu_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle) argument
1173 iommu_dma_flush(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, off_t off, size_t len, uint_t cache_flags) argument
1190 iommu_dma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1308 iommu_dma_mctl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, enum ddi_dma_ctlops request, off_t *offp, size_t *lenp, caddr_t *objp, uint_t cache_flags) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c94 /* check for handle specific sync flag */
148 pci_dma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t handle, argument
151 ddi_dma_impl_t *mp = (ddi_dma_impl_t *)handle;
165 cmn_err(CE_WARN, "Unbound dma handle %p from %s%d", mp,
413 * This routine is called from the alloc handle entry point to sanity check the
540 * dma handle members affected (set on exit):
1283 * Called to handle iommu bypass and pci peer-to-peer transfers.
H A Dsimba.c119 static void simba_bus_enter(dev_info_t *dip, ddi_acc_handle_t handle);
120 static void simba_bus_exit(dev_info_t *dip, ddi_acc_handle_t handle);
1204 simba_bus_enter(dev_info_t *dip, ddi_acc_handle_t handle) argument
1206 i_ndi_busop_access_enter(dip, handle);
1211 simba_bus_exit(dev_info_t *dip, ddi_acc_handle_t handle) argument
1213 i_ndi_busop_access_exit(dip, handle);
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c129 #define GETIDX(s) ddi_get8((handle), &CS4231_IDR)
133 (ddi_get8((handle), &CS4231_IDR) | (uint8_t)(val)), \
137 PUTIDX(s, (ddi_get8((handle), &CS4231_IDR) & (uint8_t)(val)), \
638 ddi_acc_handle_t handle; local
642 handle = CODEC_HANDLE;
907 ddi_acc_handle_t handle = CODEC_HANDLE; local
921 ddi_put8(handle, &CS4231_IDR, MID_MODE2);
925 if (ddi_get8(handle, &CS4231_IDR) & VID_A) {
994 ddi_put8(handle, &CS4231_STATUS, (AFS_RESET_STATUS));
1246 ddi_acc_handle_t handle local
1289 ddi_acc_handle_t handle; local
1388 ddi_acc_handle_t handle = CODEC_HANDLE; local
1730 ddi_acc_handle_t handle = CODEC_HANDLE; local
1763 ddi_acc_handle_t handle = CODEC_HANDLE; local
2090 ddi_acc_handle_t handle = CODEC_HANDLE; local
2158 ddi_acc_handle_t handle = CODEC_HANDLE; local
2208 ddi_acc_handle_t handle = CODEC_HANDLE; local
[all...]
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dddi_i86.c127 * implementation specific access handle and routines:
133 * access handle allocator
157 * Allocate and initialize the data access handle and error status.
184 impl_acc_hdl_free(ddi_acc_handle_t handle) argument
192 hp = (ddi_acc_impl_t *)handle;
203 * Function used to check if a given access handle owns the failing address.
208 impl_acc_check(dev_info_t *dip, const void *handle, const void *addr, argument
214 hp = impl_acc_hdl_get((ddi_acc_handle_t)handle);
263 impl_dma_check(dev_info_t *dip, const void *handle, const void *pci_hdl, argument
1789 ddi_io_rep_get8(ddi_acc_handle_t handle, argument
1798 ddi_io_rep_get16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) argument
1807 ddi_io_rep_get32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) argument
1824 ddi_io_rep_put8(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) argument
1833 ddi_io_rep_put16(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) argument
1842 ddi_io_rep_put32(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) argument
1868 ddi_io_rep_getb(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) argument
1877 ddi_io_rep_getw(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) argument
1886 ddi_io_rep_getl(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) argument
1895 ddi_io_rep_putb(ddi_acc_handle_t handle, uint8_t *host_addr, uint8_t *dev_addr, size_t repcount) argument
1904 ddi_io_rep_putw(ddi_acc_handle_t handle, uint16_t *host_addr, uint16_t *dev_addr, size_t repcount) argument
1913 ddi_io_rep_putl(ddi_acc_handle_t handle, uint32_t *host_addr, uint32_t *dev_addr, size_t repcount) argument
1926 ddi_check_acc_handle(ddi_acc_handle_t handle) argument
1948 i_ddi_acc_set_fault(ddi_acc_handle_t handle) argument
1959 i_ddi_acc_clr_fault(ddi_acc_handle_t handle) argument
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c486 * handle any part lines and then read the next
535 papiJobSubmit(papi_service_t handle, char *printer, argument
541 service_t *svc = handle;
654 papiJobSubmitByReference(papi_service_t handle, char *printer, argument
659 service_t *svc = handle;
782 papiJobValidate(papi_service_t handle, char *printer, argument
796 status = papiJobSubmitByReference(handle, printer,
803 papiJobCancel(handle, printer, id);
813 papiJobStreamOpen(papi_service_t handle, char *printer, argument
818 service_t *svc = handle;
880 papiJobStreamWrite(papi_service_t handle, papi_stream_t stream, void *buffer, size_t buflen) argument
895 papiJobStreamClose(papi_service_t handle, papi_stream_t stream, papi_job_t *job) argument
935 papiJobQuery(papi_service_t handle, char *printer, int32_t job_id, char **requested_attrs, papi_job_t *job) argument
990 papiJobMove(papi_service_t handle, char *printer, int32_t job_id, char *destination) argument
1035 papiJobCancel(papi_service_t handle, char *printer, int32_t job_id) argument
1077 hold_release_job(papi_service_t handle, char *printer, int32_t job_id, int flag) argument
1130 papiJobHold(papi_service_t handle, char *printer, int32_t job_id) argument
1136 papiJobRelease(papi_service_t handle, char *printer, int32_t job_id) argument
1142 papiJobPromote(papi_service_t handle, char *printer, int32_t job_id) argument
1148 papiJobModify(papi_service_t handle, char *printer, int32_t job_id, papi_attribute_t **attributes, papi_job_t *job) argument
1238 papiJobCreate(papi_service_t handle, char *printer, papi_attribute_t **job_attributes, papi_job_ticket_t *job_ticket, papi_job_t *job) argument
1319 papiJobCommit(papi_service_t handle, char *printer, int32_t id) argument
1361 papiJobStreamAdd(papi_service_t handle, char *printer, int32_t id, papi_stream_t *stream) argument
[all...]

Completed in 115 milliseconds

<<212223242526272829