/titanic_51/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_hw.c | 40 extern int oce_destroy_q(struct oce_dev *dev, struct oce_mbx *mbx, 44 oce_map_regs(struct oce_dev *dev) in oce_map_regs() argument 49 ASSERT(NULL != dev); in oce_map_regs() 50 ASSERT(NULL != dev->dip); in oce_map_regs() 53 ret = ddi_dev_nregs(dev->dip, &dev->num_bars); in oce_map_regs() 55 oce_log(dev, CE_WARN, MOD_CONFIG, in oce_map_regs() 62 ret = ddi_dev_regsize(dev->dip, OCE_DEV_CFG_BAR, &bar_size); in oce_map_regs() 64 oce_log(dev, CE_WARN, MOD_CONFIG, in oce_map_regs() 70 ret = ddi_regs_map_setup(dev in oce_map_regs() 123 oce_unmap_regs(struct oce_dev * dev) oce_unmap_regs() argument 146 oce_pci_init(struct oce_dev * dev) oce_pci_init() argument 175 oce_pci_fini(struct oce_dev * dev) oce_pci_fini() argument 187 oce_get_bdf(struct oce_dev * dev) oce_get_bdf() argument 218 oce_identify_hw(struct oce_dev * dev) oce_identify_hw() argument 255 oce_is_reset_pci(struct oce_dev * dev) oce_is_reset_pci() argument 278 oce_pci_soft_reset(struct oce_dev * dev) oce_pci_soft_reset() argument 323 oce_POST(struct oce_dev * dev) oce_POST() argument 393 oce_create_nw_interface(struct oce_dev * dev) oce_create_nw_interface() argument 444 oce_delete_nw_interface(struct oce_dev * dev) oce_delete_nw_interface() argument 454 oce_create_itbl(struct oce_dev * dev,char * itbl) oce_create_itbl() argument 466 oce_setup_adapter(struct oce_dev * dev) oce_setup_adapter() argument 509 oce_unsetup_adapter(struct oce_dev * dev) oce_unsetup_adapter() argument 530 oce_hw_init(struct oce_dev * dev) oce_hw_init() argument 598 oce_hw_fini(struct oce_dev * dev) oce_hw_fini() argument [all...] |
H A D | oce_main.c | 73 static void oce_unconfigure(struct oce_dev *dev); 74 static void oce_init_locks(struct oce_dev *dev); 75 static void oce_destroy_locks(struct oce_dev *dev); 76 static void oce_get_params(struct oce_dev *dev); 77 static int oce_get_prop(struct oce_dev *dev, char *propname, int minval, 193 struct oce_dev *dev = NULL; in oce_attach() local 207 /* allocate dev */ in oce_attach() 208 dev = kmem_zalloc(sizeof (struct oce_dev), KM_SLEEP); in oce_attach() 210 /* populate the dev structure */ in oce_attach() 211 dev in oce_attach() 383 struct oce_dev *dev; oce_detach() local 439 struct oce_dev *dev = ddi_get_driver_private(dip); oce_quiesce() local 458 struct oce_dev *dev = ddi_get_driver_private(dip); oce_suspend() local 476 struct oce_dev *dev; oce_resume() local 505 oce_init_locks(struct oce_dev * dev) oce_init_locks() argument 515 oce_destroy_locks(struct oce_dev * dev) oce_destroy_locks() argument 522 oce_unconfigure(struct oce_dev * dev) oce_unconfigure() argument 564 oce_get_params(struct oce_dev * dev) oce_get_params() argument 654 oce_get_prop(struct oce_dev * dev,char * propname,int minval,int maxval,int defval,uint32_t * values) oce_get_prop() argument [all...] |
H A D | oce_gld.c | 44 static int oce_set_priv_prop(struct oce_dev *dev, const char *name, 47 static int oce_get_priv_prop(struct oce_dev *dev, const char *name, 54 struct oce_dev *dev = arg; in oce_m_start() local 57 mutex_enter(&dev->dev_lock); in oce_m_start() 59 if (dev->state & STATE_MAC_STARTED) { in oce_m_start() 60 mutex_exit(&dev->dev_lock); in oce_m_start() 64 if (dev->suspended) { in oce_m_start() 65 mutex_exit(&dev->dev_lock); in oce_m_start() 68 ret = oce_start(dev); in oce_m_start() 70 mutex_exit(&dev in oce_m_start() 82 oce_start(struct oce_dev * dev) oce_start() argument 119 struct oce_dev *dev = arg; oce_m_stop() local 135 oce_stop(struct oce_dev * dev) oce_stop() argument 161 struct oce_dev *dev = (struct oce_dev *)arg; oce_m_multicast() local 241 struct oce_dev *dev = arg; oce_m_unicast() local 280 struct oce_dev *dev = arg; oce_m_send() local 319 struct oce_dev *dev = arg; oce_m_getcap() local 351 struct oce_dev *dev = arg; oce_m_setprop() local 442 struct oce_dev *dev = arg; oce_m_getprop() local 571 struct oce_dev *dev = arg; oce_m_ioctl() local 645 struct oce_dev *dev = arg; oce_m_promiscuous() local 681 oce_set_priv_prop(struct oce_dev * dev,const char * name,uint_t size,const void * val) oce_set_priv_prop() argument 729 oce_get_priv_prop(struct oce_dev * dev,const char * name,uint_t size,void * val) oce_get_priv_prop() argument [all...] |
H A D | oce_intr.c | 37 * dev - software handle to the device 42 oce_setup_intr(struct oce_dev *dev) in oce_setup_intr() argument 53 ret = ddi_intr_get_supported_types(dev->dip, &intr_types); in oce_setup_intr() 55 oce_log(dev, CE_WARN, MOD_CONFIG, "%s", in oce_setup_intr() 62 dev->intr_type = DDI_INTR_TYPE_MSIX; in oce_setup_intr() 64 nreqd = dev->rx_rings + 1; in oce_setup_intr() 67 dev->intr_type = DDI_INTR_TYPE_FIXED; in oce_setup_intr() 72 ret = ddi_intr_get_nintrs(dev->dip, dev->intr_type, &nsupported); in oce_setup_intr() 74 oce_log(dev, CE_WAR in oce_setup_intr() 159 oce_teardown_intr(struct oce_dev * dev) oce_teardown_intr() argument 183 oce_setup_handlers(struct oce_dev * dev) oce_setup_handlers() argument 210 oce_remove_handler(struct oce_dev * dev) oce_remove_handler() argument 219 oce_chip_ei(struct oce_dev * dev) oce_chip_ei() argument 236 oce_ei(struct oce_dev * dev) oce_ei() argument 258 oce_chip_di(struct oce_dev * dev) oce_chip_di() argument 275 oce_di(struct oce_dev * dev) oce_di() argument 311 struct oce_dev *dev; oce_isr() local [all...] |
H A D | oce_queue.c | 36 oce_mq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len); 40 oce_eq_create(struct oce_dev *dev, uint32_t q_len, uint32_t item_size, 45 oce_cq_create(struct oce_dev *dev, struct oce_eq *eq, uint32_t q_len, 51 static struct oce_wq *oce_wq_init(struct oce_dev *dev, uint32_t q_len, 53 static void oce_wq_fini(struct oce_dev *dev, struct oce_wq *wq); 55 static void oce_wq_del(struct oce_dev *dev, struct oce_wq *wq); 57 static struct oce_rq *oce_rq_init(struct oce_dev *dev, uint32_t q_len, 60 static void oce_rq_fini(struct oce_dev *dev, struct oce_rq *rq); 62 static void oce_rq_del(struct oce_dev *dev, struct oce_rq *rq); 67 * dev 73 oce_eq_create(struct oce_dev * dev,uint32_t q_len,uint32_t item_size,uint32_t eq_delay) oce_eq_create() argument 163 oce_eq_del(struct oce_dev * dev,struct oce_eq * eq) oce_eq_del() argument 195 oce_cq_create(struct oce_dev * dev,struct oce_eq * eq,uint32_t q_len,uint32_t item_size,boolean_t sol_event,boolean_t is_eventable,boolean_t nodelay,uint32_t ncoalesce) oce_cq_create() argument 291 oce_cq_del(struct oce_dev * dev,struct oce_cq * cq) oce_cq_del() argument 328 oce_mq_create(struct oce_dev * dev,struct oce_eq * eq,uint32_t q_len) oce_mq_create() argument 427 oce_mq_del(struct oce_dev * dev,struct oce_mq * mq) oce_mq_del() argument 456 oce_wq_init(struct oce_dev * dev,uint32_t q_len,int wq_type) oce_wq_init() argument 559 oce_wq_fini(struct oce_dev * dev,struct oce_wq * wq) oce_wq_fini() argument 584 struct oce_dev *dev = wq->parent; oce_wq_create() local 663 oce_wq_del(struct oce_dev * dev,struct oce_wq * wq) oce_wq_del() argument 694 oce_rq_init(struct oce_dev * dev,uint32_t q_len,uint32_t frag_size,uint32_t mtu,boolean_t rss) oce_rq_init() argument 800 oce_rq_fini(struct oce_dev * dev,struct oce_rq * rq) oce_rq_fini() argument 827 struct oce_dev *dev = rq->parent; oce_rq_create() local 898 oce_rq_del(struct oce_dev * dev,struct oce_rq * rq) oce_rq_del() argument 937 oce_arm_eq(struct oce_dev * dev,int16_t qid,int npopped,boolean_t rearm,boolean_t clearint) oce_arm_eq() argument 961 oce_arm_cq(struct oce_dev * dev,int16_t qid,int npopped,boolean_t rearm) oce_arm_cq() argument 985 oce_destroy_q(struct oce_dev * dev,struct oce_mbx * mbx,size_t req_size,enum qtype qtype) oce_destroy_q() argument 1054 oce_set_eq_delay(struct oce_dev * dev,uint32_t * eq_arr,uint32_t eq_cnt,uint32_t eq_delay) oce_set_eq_delay() argument 1108 struct oce_dev *dev; oce_drain_eq() local 1133 oce_init_txrx(struct oce_dev * dev) oce_init_txrx() argument 1171 oce_fini_txrx(struct oce_dev * dev) oce_fini_txrx() argument 1196 oce_create_queues(struct oce_dev * dev) oce_create_queues() argument 1232 oce_delete_queues(struct oce_dev * dev) oce_delete_queues() argument 1255 oce_dev_rss_ready(struct oce_dev * dev) oce_dev_rss_ready() argument [all...] |
H A D | oce_fm.c | 37 * dev - software handle to the device 43 oce_fm_init(struct oce_dev *dev) in oce_fm_init() argument 47 if (dev->fm_caps == DDI_FM_NOT_CAPABLE) { in oce_fm_init() 51 oce_set_dma_fma_flags(dev->fm_caps); in oce_fm_init() 52 oce_set_reg_fma_flags(dev->fm_caps); in oce_fm_init() 54 (void) ddi_fm_init(dev->dip, &dev->fm_caps, &ibc); in oce_fm_init() 55 if (DDI_FM_EREPORT_CAP(dev->fm_caps) || in oce_fm_init() 56 DDI_FM_ERRCB_CAP(dev->fm_caps)) { in oce_fm_init() 57 pci_ereport_setup(dev in oce_fm_init() 73 oce_fm_fini(struct oce_dev * dev) oce_fm_fini() argument 97 oce_fm_check_acc_handle(struct oce_dev * dev,ddi_acc_handle_t acc_handle) oce_fm_check_acc_handle() argument 120 oce_fm_check_dma_handle(struct oce_dev * dev,ddi_dma_handle_t dma_handle) oce_fm_check_dma_handle() argument 139 oce_fm_ereport(struct oce_dev * dev,char * detail) oce_fm_ereport() argument [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audiosolo/ |
H A D | audiosolo.c | 139 struct solo_dev *dev; member 177 struct solo_dev *dev; member 238 solo_dspready(solo_dev_t *dev) in solo_dspready() argument 240 return ((PORT_RD8(dev->sb, 0xc) & 0x80) == 0 ? true : false); in solo_dspready() 244 solo_dspwr(solo_dev_t *dev, uint8_t val) in solo_dspwr() argument 249 if (solo_dspready(dev)) { in solo_dspwr() 250 PORT_WR8(dev->sb, 0xc, val); in solo_dspwr() 256 audio_dev_warn(dev->adev, "solo_dspwr(0x%02x) timed out", val); in solo_dspwr() 261 solo_cmd(solo_dev_t *dev, uint8_t val) in solo_cmd() argument 263 return (solo_dspwr(dev, va in solo_cmd() 267 solo_cmd1(solo_dev_t * dev,uint8_t cmd,uint8_t val) solo_cmd1() argument 275 solo_setmixer(solo_dev_t * dev,uint8_t port,uint8_t value) solo_setmixer() argument 284 solo_getmixer(solo_dev_t * dev,uint8_t port) solo_getmixer() argument 297 solo_get_byte(solo_dev_t * dev) solo_get_byte() argument 310 solo_write(solo_dev_t * dev,uint8_t reg,uint8_t val) solo_write() argument 316 solo_read(solo_dev_t * dev,uint8_t reg) solo_read() argument 325 solo_reset_dsp(solo_dev_t * dev) solo_reset_dsp() argument 340 solo_dev_t *dev = (void *)arg1; solo_intr() local 371 solo_mixer_scale(solo_dev_t * dev,solo_ctrl_num_t num) solo_mixer_scale() argument 385 solo_configure_mixer(solo_dev_t * dev) solo_configure_mixer() argument 470 solo_dev_t *dev = pc->dev; solo_set_mixsrc() local 486 solo_dev_t *dev = pc->dev; solo_set_mono() local 505 solo_dev_t *dev = pc->dev; solo_set_stereo() local 526 solo_dev_t *dev = pc->dev; solo_set_bool() local 539 solo_dev_t *dev = pc->dev; solo_get_value() local 555 solo_alloc_ctrl(solo_dev_t * dev,uint32_t num,uint64_t val) solo_alloc_ctrl() argument 698 solo_add_controls(solo_dev_t * dev) solo_add_controls() argument 731 solo_dev_t *dev = e->dev; solo_aud1_update() local 789 solo_dev_t *dev = e->dev; solo_aud1_start() local 844 solo_dev_t *dev = e->dev; solo_aud1_stop() local 854 solo_dev_t *dev = e->dev; solo_aud2_update() local 873 solo_dev_t *dev = e->dev; solo_aud2_start() local 916 solo_dev_t *dev = e->dev; solo_aud2_stop() local 977 solo_dev_t *dev = e->dev; solo_count() local 992 solo_dev_t *dev = e->dev; solo_open() local 1011 solo_dev_t *dev = e->dev; solo_close() local 1024 solo_dev_t *dev = e->dev; solo_start() local 1040 solo_dev_t *dev = e->dev; solo_stop() local 1068 solo_release_resources(solo_dev_t * dev) solo_release_resources() argument 1133 solo_setup_interrupts(solo_dev_t * dev) solo_setup_interrupts() argument 1166 solo_map_registers(solo_dev_t * dev) solo_map_registers() argument 1195 solo_init_hw(solo_dev_t * dev) solo_init_hw() argument 1251 solo_alloc_engine(solo_dev_t * dev,int engno) solo_alloc_engine() argument 1337 solo_suspend(solo_dev_t * dev) solo_suspend() argument 1349 solo_resume(solo_dev_t * dev) solo_resume() argument 1368 solo_dev_t *dev; solo_attach() local 1417 solo_detach(solo_dev_t * dev) solo_detach() argument 1430 solo_dev_t *dev; solo_ddi_attach() local 1450 solo_dev_t *dev; solo_ddi_detach() local 1470 solo_dev_t *dev; solo_quiesce() local [all...] |
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 14 static int pci_probe(struct dev *dev, const char *type_name) in pci_probe() argument 26 struct pci_probe_state *state = &dev->state.pci; in pci_probe() 28 if (dev->how_probe == PROBE_FIRST) { in pci_probe() 30 state->dev.driver = 0; in pci_probe() 31 state->dev.bus = 0; in pci_probe() 32 state->dev.devfn = 0; in pci_probe() 33 dev->index = -1; in pci_probe() 36 if ((dev->how_probe != PROBE_AWAKE) && state->advance) { in pci_probe() 37 find_pci(dev in pci_probe() 71 isa_probe(struct dev * dev,const char * type_name) isa_probe() argument 122 probe(struct dev * dev) probe() argument 159 disable(struct dev * dev) disable() argument [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audioens/ |
H A D | audioens.c | 101 struct audioens_dev *dev; member 154 #define GET8(dev, offset) \ argument 155 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset))) 156 #define GET16(dev, offset) \ argument 157 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset))) 158 #define GET32(dev, offset) \ argument 159 ddi_get32(dev->acch, (uint32_t *)(void *)(dev 160 PUT8(dev,offset,v) global() argument 162 PUT16(dev,offset,v) global() argument 164 PUT32(dev,offset,v) global() argument 167 CLR8(dev,offset,v) global() argument 168 SET8(dev,offset,v) global() argument 169 CLR32(dev,offset,v) global() argument 170 SET32(dev,offset,v) global() argument 177 audioens_dev_t *dev = dev_; audioens_rd97() local 207 audioens_dev_t *dev = dev_; audioens_wr97() local 224 SRCRegRead(audioens_dev_t * dev,unsigned short reg) SRCRegRead() argument 250 SRCRegWrite(audioens_dev_t * dev,unsigned short reg,unsigned short val) SRCRegWrite() argument 270 SRCSetRate(audioens_dev_t * dev,unsigned char base,unsigned short rate) SRCSetRate() argument 338 SRCInit(audioens_dev_t * dev) SRCInit() argument 377 audioens_writemem(audioens_dev_t * dev,uint32_t page,uint32_t offs,uint32_t data) audioens_writemem() argument 386 audioens_readmem(audioens_dev_t * dev,uint32_t page,uint32_t offs) audioens_readmem() argument 424 audioens_dev_t *dev = port->dev; audioens_open() local 444 audioens_dev_t *dev = port->dev; audioens_start() local 526 audioens_dev_t *dev = port->dev; audioens_stop() local 545 audioens_dev_t *dev = port->dev; audioens_count() local 630 audioens_init_hw(audioens_dev_t * dev) audioens_init_hw() argument 686 audioens_init(audioens_dev_t * dev) audioens_init() argument 795 audioens_destroy(audioens_dev_t * dev) audioens_destroy() argument 838 audioens_dev_t *dev; audioens_attach() local 957 audioens_detach(audioens_dev_t * dev) audioens_detach() argument 989 audioens_resume(audioens_dev_t * dev) audioens_resume() argument 1003 audioens_suspend(audioens_dev_t * dev) audioens_suspend() argument 1013 audioens_dev_t *dev; audioens_quiesce() local 1042 audioens_dev_t *dev; audioens_ddi_attach() local 1062 audioens_dev_t *dev; audioens_ddi_detach() local [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audiols/ |
H A D | audiols.c | 95 static void audigyls_configure_mixer(audigyls_dev_t *dev); 149 read_chan(audigyls_dev_t *dev, int reg, int chn) in read_chan() argument 153 mutex_enter(&dev->low_mutex); in read_chan() 155 OUTL(dev, PR, (reg << 16) | (chn & 0xffff)); in read_chan() 157 val = INL(dev, DR); in read_chan() 158 mutex_exit(&dev->low_mutex); in read_chan() 164 write_chan(audigyls_dev_t *dev, int reg, int chn, uint32_t value) in write_chan() argument 166 mutex_enter(&dev->low_mutex); in write_chan() 168 OUTL(dev, PR, (reg << 16) | (chn & 0x7)); in write_chan() 170 OUTL(dev, D in write_chan() 175 read_reg(audigyls_dev_t * dev,int reg) read_reg() argument 181 write_reg(audigyls_dev_t * dev,int reg,uint32_t value) write_reg() argument 190 audigyls_dev_t *dev = arg; audigyls_read_ac97() local 213 audigyls_dev_t *dev = arg; audigyls_write_ac97() local 231 select_digital_enable(audigyls_dev_t * dev,int mode) select_digital_enable() argument 247 audigyls_i2c_write(audigyls_dev_t * dev,int reg,int data) audigyls_i2c_write() argument 279 audigyls_spi_write(audigyls_dev_t * dev,int data) audigyls_spi_write() argument 312 audigyls_dev_t *dev = port->dev; audigyls_open() local 336 audigyls_dev_t *dev = port->dev; audigyls_start() local 380 audigyls_dev_t *dev = port->dev; audigyls_stop() local 441 audigyls_dev_t *dev = port->dev; audigyls_count() local 486 audigyls_alloc_port(audigyls_dev_t * dev,int num) audigyls_alloc_port() argument 557 audigyls_del_controls(audigyls_dev_t * dev) audigyls_del_controls() argument 568 audigyls_destroy(audigyls_dev_t * dev) audigyls_destroy() argument 612 audigyls_hwinit(audigyls_dev_t * dev) audigyls_hwinit() argument 774 audigyls_configure_mixer(audigyls_dev_t * dev) audigyls_configure_mixer() argument 890 audigyls_dev_t *dev = pc->dev; audigyls_set_control() local 942 audigyls_dev_t *dev = pc->dev; audigyls_get_control() local 951 audigyls_alloc_ctrl(audigyls_dev_t * dev,uint32_t num,uint64_t val) audigyls_alloc_ctrl() argument 1081 audigyls_add_controls(audigyls_dev_t * dev) audigyls_add_controls() argument 1103 audigyls_dev_t *dev; audigyls_attach() local 1262 audigyls_dev_t *dev; audigyls_resume() local 1278 audigyls_detach(audigyls_dev_t * dev) audigyls_detach() argument 1288 audigyls_suspend(audigyls_dev_t * dev) audigyls_suspend() argument 1372 audigyls_dev_t *dev; audigyls_ddi_detach() local 1391 audigyls_dev_t *dev; audigyls_ddi_quiesce() local [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audiopci/ |
H A D | audiopci.c | 94 struct audiopci_dev *dev; member 115 struct audiopci_dev *dev; member 180 #define GET8(dev, offset) \ argument 181 ddi_get8(dev->acch, (uint8_t *)(dev->regs + (offset))) 182 #define GET16(dev, offset) \ argument 183 ddi_get16(dev->acch, (uint16_t *)(void *)(dev->regs + (offset))) 184 #define GET32(dev, offset) \ argument 185 ddi_get32(dev 186 PUT8(dev,offset,v) global() argument 188 PUT16(dev,offset,v) global() argument 190 PUT32(dev,offset,v) global() argument 193 CLR8(dev,offset,v) global() argument 194 SET8(dev,offset,v) global() argument 195 CLR16(dev,offset,v) global() argument 196 SET16(dev,offset,v) global() argument 206 audiopci_ak_wait(audiopci_dev_t * dev,uint8_t wstat) audiopci_ak_wait() argument 217 audiopci_ak_idle(audiopci_dev_t * dev) audiopci_ak_idle() argument 227 audiopci_ak_write(audiopci_dev_t * dev,uint16_t addr,uint8_t data) audiopci_ak_write() argument 245 audiopci_writemem(audiopci_dev_t * dev,uint32_t page,uint32_t offs,uint32_t data) audiopci_writemem() argument 254 audiopci_readmem(audiopci_dev_t * dev,uint32_t page,uint32_t offs) audiopci_readmem() argument 289 audiopci_dev_t *dev = port->dev; audiopci_init_port() local 395 audiopci_dev_t *dev = port->dev; audiopci_start() local 421 audiopci_dev_t *dev = port->dev; audiopci_stop() local 442 audiopci_dev_t *dev = port->dev; audiopci_count() local 537 audiopci_init_hw(audiopci_dev_t * dev) audiopci_init_hw() argument 602 audiopci_init(audiopci_dev_t * dev) audiopci_init() argument 701 audiopci_destroy(audiopci_dev_t * dev) audiopci_destroy() argument 738 audiopci_stereo(audiopci_dev_t * dev,audiopci_ctrl_num_t num,uint8_t lreg) audiopci_stereo() argument 762 audiopci_mono(audiopci_dev_t * dev,audiopci_ctrl_num_t num,uint8_t reg) audiopci_mono() argument 774 audiopci_mono8(audiopci_dev_t * dev,audiopci_ctrl_num_t num,uint8_t reg) audiopci_mono8() argument 796 audiopci_configure_output(audiopci_dev_t * dev) audiopci_configure_output() argument 832 audiopci_configure_input(audiopci_dev_t * dev) audiopci_configure_input() argument 889 audiopci_dev_t *dev = pc->dev; audiopci_set_reclevel() local 911 audiopci_dev_t *dev = pc->dev; audiopci_set_micboost() local 924 audiopci_dev_t *dev = pc->dev; audiopci_set_monsrc() local 940 audiopci_dev_t *dev = pc->dev; audiopci_set_recsrc() local 956 audiopci_dev_t *dev = pc->dev; audiopci_set_volume() local 976 audiopci_dev_t *dev = pc->dev; audiopci_set_front() local 998 audiopci_dev_t *dev = pc->dev; audiopci_set_speaker() local 1021 audiopci_alloc_ctrl(audiopci_dev_t * dev,uint32_t num,uint64_t val) audiopci_alloc_ctrl() argument 1146 audiopci_add_controls(audiopci_dev_t * dev) audiopci_add_controls() argument 1167 audiopci_del_controls(audiopci_dev_t * dev) audiopci_del_controls() argument 1180 audiopci_dev_t *dev; audiopci_attach() local 1249 audiopci_detach(audiopci_dev_t * dev) audiopci_detach() argument 1281 audiopci_resume(audiopci_dev_t * dev) audiopci_resume() argument 1291 audiopci_suspend(audiopci_dev_t * dev) audiopci_suspend() argument 1301 audiopci_dev_t *dev; audiopci_quiesce() local 1330 audiopci_dev_t *dev; audiopci_ddi_attach() local 1350 audiopci_dev_t *dev; audiopci_ddi_detach() local [all...] |
/titanic_51/usr/src/uts/common/io/yge/ |
H A D | yge.c | 277 yge_dev_t *dev = port->p_dev; in yge_mii_readreg() local 281 GMAC_WRITE_2(dev, pnum, GM_SMI_CTRL, in yge_mii_readreg() 286 val = GMAC_READ_2(dev, pnum, GM_SMI_CTRL); in yge_mii_readreg() 288 val = GMAC_READ_2(dev, pnum, GM_SMI_DATA); in yge_mii_readreg() 306 yge_dev_t *dev = port->p_dev; in yge_mii_writereg() local 309 GMAC_WRITE_2(dev, pnum, GM_SMI_DATA, val); in yge_mii_writereg() 310 GMAC_WRITE_2(dev, pnum, GM_SMI_CTRL, in yge_mii_writereg() 315 if ((GMAC_READ_2(dev, pnum, GM_SMI_CTRL) & GM_SMI_CT_BUSY) == 0) in yge_mii_writereg() 352 yge_dev_t *dev = port->p_dev; in yge_mii_notify() local 363 DEV_LOCK(dev); in yge_mii_notify() 448 yge_dev_t *dev; yge_setrxfilt() local 536 yge_setup_rambuffer(yge_dev_t * dev) yge_setup_rambuffer() argument 566 yge_phy_power(yge_dev_t * dev,boolean_t powerup) yge_phy_power() argument 681 yge_reset(yge_dev_t * dev) yge_reset() argument 911 yge_dev_t *dev = port->p_dev; yge_init_port() local 990 yge_add_intr(yge_dev_t * dev,int intr_type) yge_add_intr() argument 1081 yge_attach_intr(yge_dev_t * dev) yge_attach_intr() argument 1130 yge_intr_enable(yge_dev_t * dev) yge_intr_enable() argument 1144 yge_intr_disable(yge_dev_t * dev) yge_intr_disable() argument 1157 yge_find_capability(yge_dev_t * dev,uint8_t cap) yge_find_capability() argument 1179 yge_attach(yge_dev_t * dev) yge_attach() argument 1408 yge_detach(yge_dev_t * dev) yge_detach() argument 1465 yge_alloc_ring(yge_port_t * port,yge_dev_t * dev,yge_ring_t * ring,uint32_t num) yge_alloc_ring() argument 1530 yge_dev_t *dev = port->p_dev; yge_alloc_buf() local 1708 yge_suspend(yge_dev_t * dev) yge_suspend() argument 1744 yge_resume(yge_dev_t * dev) yge_resume() argument 1813 yge_dev_t *dev = port->p_dev; yge_rxeof() local 1924 yge_restart_task(yge_dev_t * dev) yge_restart_task() argument 1958 yge_dev_t *dev = arg; yge_tick() local 2022 yge_dev_t *dev = port->p_dev; yge_intr_gmac() local 2055 yge_dev_t *dev = port->p_dev; yge_handle_hwerr() local 2088 yge_intr_hwerr(yge_dev_t * dev) yge_intr_hwerr() argument 2173 yge_handle_events(yge_dev_t * dev,mblk_t ** heads,mblk_t ** tails,int * txindex) yge_handle_events() argument 2261 yge_dev_t *dev; yge_intr() local 2378 yge_dev_t *dev = port->p_dev; yge_set_tx_stfwd() local 2414 yge_dev_t *dev = port->p_dev; yge_start_port() local 2633 yge_dev_t *dev; yge_set_rambuffer() local 2682 yge_set_prefetch(yge_dev_t * dev,int qaddr,yge_ring_t * ring) yge_set_prefetch() argument 2707 yge_dev_t *dev = port->p_dev; yge_stop_port() local 2830 yge_dev_t *dev; yge_stats_clear() local 2851 yge_dev_t *dev; yge_stats_update() local 3088 yge_dev_t *dev = port->p_dev; yge_m_stop() local 3369 yge_dispatch(yge_dev_t * dev,int flag) yge_dispatch() argument 3380 yge_dev_t *dev = arg; yge_task() local 3407 yge_error(yge_dev_t * dev,yge_port_t * port,char * fmt,...) yge_error() argument 3431 yge_dev_t *dev; yge_ddi_attach() local 3469 yge_dev_t *dev; yge_ddi_detach() local 3518 yge_dev_t *dev; yge_quiesce() local [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.c | 96 cmpci_dev_t *dev = port->dev; in cmpci_open() local 100 mutex_enter(&dev->mutex); in cmpci_open() 106 mutex_exit(&dev->mutex); in cmpci_open() 121 cmpci_dev_t *dev = port->dev; in cmpci_start() local 123 mutex_enter(&dev->mutex); in cmpci_start() 128 SET32(dev, REG_FUNCTRL0, port->fc0_rst_bit); in cmpci_start() 130 CLR32(dev, REG_FUNCTRL0, port->fc0_rst_bit); in cmpci_start() 134 SET32(dev, REG_FUNCTRL in cmpci_start() 217 cmpci_dev_t *dev = port->dev; cmpci_stop() local 228 cmpci_dev_t *dev = port->dev; cmpci_count() local 260 LEFT(dev,ctl) global() argument 261 RIGHT(dev,ctl) global() argument 262 MONO(dev,ctl) global() argument 265 cmpci_setmixer(cmpci_dev_t * dev,uint8_t idx,uint8_t val) cmpci_setmixer() argument 272 cmpci_getmixer(cmpci_dev_t * dev,uint8_t idx) cmpci_getmixer() argument 280 cmpci_configure_mixer(cmpci_dev_t * dev) cmpci_configure_mixer() argument 444 cmpci_dev_t *dev = cc->dev; cmpci_set_ctrl() local 462 cmpci_dev_t *dev = cc->dev; cmpci_get_ctrl() local 478 cmpci_alloc_ctrl(cmpci_dev_t * dev,uint32_t num,uint64_t val) cmpci_alloc_ctrl() argument 584 cmpci_add_controls(cmpci_dev_t * dev) cmpci_add_controls() argument 603 cmpci_del_controls(cmpci_dev_t * dev) cmpci_del_controls() argument 614 cmpci_reset(cmpci_dev_t * dev) cmpci_reset() argument 707 cmpci_init(cmpci_dev_t * dev) cmpci_init() argument 834 cmpci_destroy(cmpci_dev_t * dev) cmpci_destroy() argument 872 cmpci_dev_t *dev; cmpci_attach() local 977 cmpci_resume(cmpci_dev_t * dev) cmpci_resume() argument 991 cmpci_detach(cmpci_dev_t * dev) cmpci_detach() argument 1011 cmpci_dev_t *dev; cmpci_quiesce() local 1026 cmpci_dev_t *dev; cmpci_ddi_attach() local 1046 cmpci_dev_t *dev; cmpci_ddi_detach() local [all...] |
/titanic_51/usr/src/uts/common/io/audio/drv/audiop16x/ |
H A D | audiop16x.c | 132 read_reg(p16x_dev_t *dev, int reg, int chn) in read_reg() argument 136 mutex_enter(&dev->mutex); in read_reg() 137 OUTL(dev, (reg << 16) | (chn & 0xffff), PTR); /* Pointer */ in read_reg() 138 val = INL(dev, DR); /* Data */ in read_reg() 139 mutex_exit(&dev->mutex); in read_reg() 145 write_reg(p16x_dev_t *dev, int reg, int chn, unsigned int value) in write_reg() argument 148 mutex_enter(&dev->mutex); in write_reg() 149 OUTL(dev, (reg << 16) | (chn & 0xffff), PTR); /* Pointer */ in write_reg() 150 OUTL(dev, value, DR); /* Data */ in write_reg() 151 mutex_exit(&dev in write_reg() 155 set_reg_bits(p16x_dev_t * dev,int reg,int chn,unsigned int mask) set_reg_bits() argument 167 clear_reg_bits(p16x_dev_t * dev,int reg,int chn,unsigned int mask) clear_reg_bits() argument 181 p16x_dev_t *dev = arg; p16x_read_ac97() local 196 p16x_dev_t *dev = arg; p16x_write_ac97() local 234 p16x_dev_t *dev = port->dev; p16x_start() local 265 p16x_dev_t *dev = port->dev; p16x_stop() local 314 p16x_dev_t *dev = port->dev; p16x_count() local 371 p16x_alloc_port(p16x_dev_t * dev,int num) p16x_alloc_port() argument 451 p16x_destroy(p16x_dev_t * dev) p16x_destroy() argument 491 p16x_hwinit(p16x_dev_t * dev) p16x_hwinit() argument 545 p16x_dev_t *dev; p16x_attach() local 633 p16x_dev_t *dev; p16x_resume() local 647 p16x_detach(p16x_dev_t * dev) p16x_detach() argument 657 p16x_suspend(p16x_dev_t * dev) p16x_suspend() argument 741 p16x_dev_t *dev; p16x_ddi_detach() local 760 p16x_dev_t *dev; p16x_ddi_quiesce() local [all...] |
/titanic_51/usr/src/uts/common/xen/io/ |
H A D | xenbus_probe.c | 105 free_otherend_details(struct xenbus_device *dev) in free_otherend_details() argument 107 if (dev->otherend != NULL) { in free_otherend_details() 108 kmem_free((void *)dev->otherend, strlen(dev->otherend) + 1); in free_otherend_details() 109 dev->otherend = NULL; in free_otherend_details() 115 free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch() argument 117 if (dev->otherend_watch.node) { in free_otherend_watch() 118 unregister_xenbus_watch(&dev->otherend_watch); in free_otherend_watch() 119 kmem_free((void *)dev->otherend_watch.node, in free_otherend_watch() 120 strlen(dev in free_otherend_watch() 130 struct xenbus_device *dev = watch->dev; otherend_changed() local 157 talk_to_otherend(struct xenbus_device * dev) talk_to_otherend() argument [all...] |
H A D | xenbus_client.c | 72 xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path() argument 87 xenbus_dev_fatal(dev, err, "adding watch on %s", path); in xenbus_watch_path() 95 xenbus_watch_path2(struct xenbus_device *dev, const char *path, in xenbus_watch_path2() argument 108 err = xenbus_watch_path(dev, state, watch, callback); in xenbus_watch_path2() 126 xenbus_switch_state(struct xenbus_device *dev, xenbus_transaction_t xbt, in xenbus_switch_state() argument 132 err = xenbus_scanf(xbt, dev->nodename, "state", "%d", ¤t_state); in xenbus_switch_state() 143 err = xenbus_printf(xbt, dev->nodename, "state", "%d", state); in xenbus_switch_state() 145 xenbus_dev_fatal(dev, err, "writing new state"); in xenbus_switch_state() 157 error_path(struct xenbus_device *dev) in error_path() argument 161 path_buffer = kmem_alloc(strlen("error/") + strlen(dev in error_path() 171 common_dev_error(struct xenbus_device * dev,int err,const char * fmt,va_list ap) common_dev_error() argument 211 xenbus_dev_error(struct xenbus_device * dev,int err,const char * fmt,...) xenbus_dev_error() argument 222 xenbus_dev_fatal(struct xenbus_device * dev,int err,const char * fmt,...) xenbus_dev_fatal() argument 235 xenbus_dev_ok(struct xenbus_device * dev) xenbus_dev_ok() argument 247 xenbus_grant_ring(struct xenbus_device * dev,unsigned long ring_mfn) xenbus_grant_ring() argument 257 xenbus_alloc_evtchn(struct xenbus_device * dev,int * port) xenbus_alloc_evtchn() argument [all...] |
/titanic_51/usr/src/uts/common/avs/ns/nsctl/ |
H A D | nsc_resv.c | 148 nsc_dev_t *dev = fd->sf_dev; local 158 mutex_enter(&dev->nsc_lock); 169 mutex_exit(&dev->nsc_lock); 269 nsc_dev_t *dev; in nsc_waiting() local 274 dev = fd->sf_dev; in nsc_waiting() 276 return (dev->nsc_wait || dev->nsc_refcnt <= 0); in nsc_waiting() 301 nsc_dev_t *dev = fd->sf_dev; local 306 if (dev->nsc_wait || dev 327 nsc_dev_t *dev = fd->sf_dev; global() local 387 nsc_dev_t *dev; global() local 436 nsc_dev_t *dev = fd->sf_dev; global() local 516 nsc_dev_t *dev = fd->sf_dev; global() local 576 nsc_dev_t *dev = fd->sf_dev; global() local 677 nsc_dev_t *dev = iodev->si_dev; global() local 741 nsc_dev_t *dev = iodev->si_dev; _nsc_detach_iodev() local 805 _nsc_attach_dev(dev,flag) _nsc_attach_dev() argument 841 _nsc_detach_dev(nsc_dev_t * dev,nsc_iodev_t * keep,int flag) _nsc_detach_dev() argument 907 _nsc_call_dev(nsc_dev_t * dev,blindfn_t fn,blind_t arg,int * ap,int * pp,int a,int flag,nsc_iodev_t * iodev) _nsc_call_dev() argument 966 _nsc_wait_dev(dev,flag) _nsc_wait_dev() argument 1005 _nsc_wake_dev(dev,valp) _nsc_wake_dev() argument [all...] |
H A D | nsc_dev.c | 490 nsc_dev_t *dp, *dev; local 495 for (dev = _nsc_dev_top; dev; dev = dev->nsc_next) { 496 if (path && !nsc_strmatch(dev->nsc_path, path)) 499 if (!(rc = _nsc_reopen_dev(dev, flag | try))) 503 if (dp == dev) 522 * _nsc_reopen_dev (nsc_dev_t *dev, int flag) 537 _nsc_reopen_dev(dev, fla argument 603 _nsc_relock_dev(nsc_dev_t * dev,nsc_fd_t * fd,nsc_iodev_t * iodev) _nsc_relock_dev() argument 663 nsc_dev_t *dev = fd->sf_dev; global() local 786 nsc_dev_t *dev = fd->sf_dev; global() local 839 nsc_dev_t *dev = fd->sf_dev; global() local 960 nsc_dev_t *dev = fd->sf_dev; global() local 1040 nsc_dev_t *dev = fd->sf_dev; global() local 1121 _nsc_setval(nsc_dev_t * dev,char * path,char * name,int val,int do_ncall) _nsc_setval() argument 1726 nsc_dev_t *dev; global() local 1767 nsc_dev_t *dev = fd->sf_dev; global() local 1810 nsc_dev_t *dev = fd->sf_dev; _nsc_relink_fd() local 1852 _nsc_alloc_iodev(dev,type,iodevp) _nsc_alloc_iodev() argument 1922 nsc_dev_t *dev; _nsc_free_iodev() local 1985 nsc_dev_t *dev, *dp, **ddp; _nsc_alloc_dev() local 2107 _nsc_free_dev(dev) _nsc_free_dev() argument [all...] |
/titanic_51/usr/src/boot/sys/boot/common/ |
H A D | disk.c | 52 struct disk_devdesc *dev; member 83 struct disk_devdesc *dev; in ptblread() local 86 dev = (struct disk_devdesc *)d; in ptblread() 87 od = (struct open_disk *)dev->d_opendata; in ptblread() 99 return (dev->d_dev->dv_strategy(dev, F_READ | F_NORA , offset, in ptblread() 107 struct disk_devdesc dev; in ptable_print() local 115 od = (struct open_disk *)pa->dev->d_opendata; in ptable_print() 128 dev.d_dev = pa->dev in ptable_print() 152 disk_print(struct disk_devdesc * dev,char * prefix,int verbose) disk_print() argument 166 disk_read(struct disk_devdesc * dev,void * buf,uint64_t offset,u_int blocks) disk_read() argument 179 disk_write(struct disk_devdesc * dev,void * buf,uint64_t offset,u_int blocks) disk_write() argument 192 disk_ioctl(struct disk_devdesc * dev,u_long cmd,void * data) disk_ioctl() argument 217 disk_open(struct disk_devdesc * dev,uint64_t mediasize,u_int sectorsize) disk_open() argument 345 disk_close(struct disk_devdesc * dev) disk_close() argument 357 disk_fmtdev(struct disk_devdesc * dev) disk_fmtdev() argument 381 disk_parsedev(struct disk_devdesc * dev,const char * devspec,const char ** path) disk_parsedev() argument [all...] |
/titanic_51/usr/src/cmd/login/ |
H A D | logindevperm.sh | 45 # If the "console" is "/dev/vt/console_user" which is a symlink to the current 46 # active virtual console (/dev/console, or /dev/vt/#), then the first 51 # ending in "/*", such as "/dev/fbs/*", specifies all entries (except "." 61 /dev/vt/console_user 0600 /dev/mouse:/dev/kbd 62 /dev/vt/console_user 0600 /dev/sound/* # audio devices 63 /dev/v [all...] |
/titanic_51/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biosdisk.c | 94 #define BD(dev) (bdinfo[(dev)->d_unit]) argument 289 struct disk_devdesc dev; in bd_print() local 310 dev.d_dev = &biosdisk; in bd_print() 311 dev.d_unit = i; in bd_print() 312 dev.d_slice = -1; in bd_print() 313 dev.d_partition = -1; in bd_print() 314 if (disk_open(&dev, in bd_print() 318 ret = disk_print(&dev, line, verbose); in bd_print() 319 disk_close(&dev); in bd_print() 340 struct disk_devdesc *dev; bd_open() local 397 struct disk_devdesc *dev; bd_close() local 411 struct disk_devdesc *dev; bd_ioctl() local 438 struct disk_devdesc *dev; bd_strategy() local 453 struct disk_devdesc *dev = (struct disk_devdesc *)devdata; bd_realstrategy() local 594 bd_edd_io(struct disk_devdesc * dev,daddr_t dblk,int blks,caddr_t dest,int dowrite) bd_edd_io() argument 621 bd_chs_io(struct disk_devdesc * dev,daddr_t dblk,int blks,caddr_t dest,int dowrite) bd_chs_io() argument 657 bd_io(struct disk_devdesc * dev,daddr_t dblk,int blks,caddr_t dest,int dowrite) bd_io() argument 749 struct disk_devdesc *dev; bd_getdev() local [all...] |
/titanic_51/usr/src/boot/sys/boot/uboot/lib/ |
H A D | disk.c | 49 printf("%s%d: ", dev->d_dev->dv_name, dev->d_unit); \ 68 #define SI(dev) (stor_info[(dev)->d_unit]) argument 149 struct disk_devdesc *dev = (struct disk_devdesc *)devdata; in stor_strategy() local 159 if (size % SI(dev).bsize) { in stor_strategy() 162 size, SI(dev).bsize); in stor_strategy() 165 bcount = size / SI(dev).bsize; in stor_strategy() 169 err = stor_readdev(dev, blk + dev in stor_strategy() 180 struct disk_devdesc *dev; stor_open() local 190 stor_opendev(struct disk_devdesc * dev) stor_opendev() argument 212 struct disk_devdesc *dev; stor_close() local 219 stor_readdev(struct disk_devdesc * dev,daddr_t blk,size_t size,char * buf) stor_readdev() argument 243 struct disk_devdesc dev; stor_print() local 273 struct disk_devdesc *dev; stor_ioctl() local [all...] |
/titanic_51/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_impl.h | 161 #define OCE_CSR_READ32(dev, offset) \ argument 162 OCE_READ_REG32((dev)->csr_handle, \ 163 (uint32_t *)(void *)((dev)->csr_addr + offset)) 165 #define OCE_CSR_WRITE32(dev, offset, value) \ argument 166 OCE_WRITE_REG32((dev)->csr_handle, \ 167 (uint32_t *)(void *)((dev)->csr_addr + offset), value) 169 #define OCE_DB_READ32(dev, offset) \ argument 170 OCE_READ_REG32((dev)->db_handle, \ 171 (uint32_t *)(void *)((dev)->db_addr + offset)) 173 #define OCE_DB_WRITE32(dev, offse argument 177 OCE_CFG_READ32(dev,offset) global() argument 181 OCE_CFG_WRITE32(dev,offset,value) global() argument 185 OCE_PCI_FUNC(dev) global() argument 189 DEV_LOCK(dev) global() argument 191 DEV_UNLOCK(dev) global() argument [all...] |
/titanic_51/usr/src/uts/i86pc/sys/ |
H A D | pci_cfgspace_impl.h | 41 extern uint8_t pci_mech1_getb(int bus, int dev, int func, int reg); 42 extern uint16_t pci_mech1_getw(int bus, int dev, int func, int reg); 43 extern uint32_t pci_mech1_getl(int bus, int dev, int func, int reg); 44 extern void pci_mech1_putb(int bus, int dev, int func, int reg, uint8_t val); 45 extern void pci_mech1_putw(int bus, int dev, int func, int reg, uint16_t val); 46 extern void pci_mech1_putl(int bus, int dev, int func, int reg, uint32_t val); 52 extern uint8_t pci_mech1_amd_getb(int bus, int dev, int func, int reg); 53 extern uint16_t pci_mech1_amd_getw(int bus, int dev, int func, int reg); 54 extern uint32_t pci_mech1_amd_getl(int bus, int dev, int func, int reg); 55 extern void pci_mech1_amd_putb(int bus, int dev, in [all...] |
/titanic_51/usr/src/test/util-tests/tests/dladm/ |
H A D | set-linkprop.ksh | 36 dladm delete-vnic $vm_pvnic 2>/dev/null 37 dladm delete-vnic $vm_tvnic 2>/dev/null 38 dladm delete-etherstub $vm_stub 2>/dev/null 56 typeset dev=$1 59 dladm create-vnic $flags -l $vm_stub $dev 2>/dev/null || fatal \ 60 "failed to create vnic: $dev" 65 typeset dev=$1 67 dladm delete-vnic $dev || fatal "failed to delete vnic: $dev" [all...] |