/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_mii.c | 242 dmfe_mii_write(void *arg, uint8_t phy_num, uint8_t reg_num, uint16_t reg_dat) in dmfe_mii_write() argument 251 command_word |= reg_num << MII_REG_ADDR_SHIFT; in dmfe_mii_write() 258 dmfe_mii_read(void *arg, uint8_t phy_num, uint8_t reg_num) in dmfe_mii_read() argument 267 command_word |= reg_num << MII_REG_ADDR_SHIFT; in dmfe_mii_read()
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-fifo.c | 396 int reg_num = i / 2; in __hal_fifo_hw_initialize() local 410 if (reg_num == 0) { in __hal_fifo_hw_initialize() 416 val64, tx_fifo_partitions[reg_num]); in __hal_fifo_hw_initialize() 420 reg_num, (unsigned long long)(ulong_t) in __hal_fifo_hw_initialize() 421 tx_fifo_partitions[reg_num], in __hal_fifo_hw_initialize()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | pcnet32.c | 280 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num); 282 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num, 955 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) in mdio_read() argument 966 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f)); in mdio_read() 974 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num, 985 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | pca9556.c | 185 uint8_t reg, reg_num = 0; in pca9556_resume() local 226 pcap->pca9556_cpr_state[reg_num++]; in pca9556_resume() 422 uint8_t reg, reg_num = 0; in pca9556_suspend() local 494 pcap->pca9556_cpr_state[reg_num++] = in pca9556_suspend()
|
H A D | pic16f819.c | 308 err = pic16f819_get(unitp, ioctl_reg.reg_num, &val8, in pic16f819_ioctl() 327 err = pic16f819_set(unitp, ioctl_reg.reg_num, in pic16f819_ioctl()
|
H A D | ssc050.c | 546 err = ssc050_get(unitp, ioctl_reg.reg_num, &val8, in ssc050_ioctl() 565 err = ssc050_set(unitp, ioctl_reg.reg_num, in ssc050_ioctl()
|
H A D | ssc100.c | 459 err = ssc100_get_reg(unitp, &byte, ioctl_reg.reg_num); in ssc100_ioctl()
|
/illumos-gate/usr/src/uts/sun4u/sys/i2c/clients/ |
H A D | i2c_client.h | 100 uint8_t reg_num; member
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | geniconvtbl.c | 86 itm_num_t reg_num; /* number of register */ member 196 ist->reg_num = ist->itm->hdr->reg_num; in _icv_open() 217 if (hdr->reg_num <= 0) { in _icv_open() 220 ist->regs = malloc((sizeof (itm_num_t)) * hdr->reg_num); in _icv_open() 228 (sizeof (itm_num_t)) * hdr->reg_num); in _icv_open() 1685 if (expr->data.operand[0].itm_ptr < ist->itm_hdr->reg_num) { in eval_expr() 1847 if (0 < ist->itm_hdr->reg_num) { in regs_init() 1849 (sizeof (itm_num_t)) * ist->itm_hdr->reg_num); in regs_init()
|
H A D | assemble.c | 154 itm_header->reg_num = reg_id; in assemble() 314 ((sizeof (itm_data_t)) * (itm_header->reg_num)); in relocation_I() 315 info_header->reg_plc_tbl.number = itm_header->reg_num; in relocation_I()
|
H A D | iconv_tm.h | 274 itm_num_t reg_num; /* number of register */ member
|
H A D | disassemble.c | 243 itm_header->reg_num, in dump_itm_header() 3204 itm_num_t reg_num; in reg_name() local 3206 reg_num = (itm_num_t)(op.itm_ptr); in reg_name() 3208 (void) sprintf(sbuf, "reg%ld\n", reg_num); in reg_name() 3215 (reg_num *sizeof (itm_data_t)))); in reg_name()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1074 i2c_reg.reg_num = PIC16F819_COMMAND_REGISTER; in envd_setup_fans() 1909 i2c_reg.reg_num = PIC16F819_COMMAND_REGISTER; in dimm_fan_thr() 2795 i2c_reg.reg_num = PIC16F819_FAN_PERIOD_MSB_REGISTER; in get_dimm_fan_speed() 2803 i2c_reg.reg_num = PIC16F819_FAN_PERIOD_LSB_REGISTER; in get_dimm_fan_speed() 2836 i2c_reg.reg_num = PIC16F819_STATUS_REGISTER; in is_dimm_fan_failed() 2869 i2c_reg.reg_num = PIC16F819_DEBUG_REGISTER; in is_dimm_fan_failed() 2878 i2c_reg.reg_num = PIC16F819_COMMAND_REGISTER; in is_dimm_fan_failed()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ecpp.c | 5438 pc87332_read_config_reg(struct ecppunit *pp, uint8_t reg_num) in pc87332_read_config_reg() argument 5442 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_read_config_reg() 5449 pc87332_write_config_reg(struct ecppunit *pp, uint8_t reg_num, uint8_t val) in pc87332_write_config_reg() argument 5451 PP_PUTB(pp->uh.ebus.c_handle, &pp->uh.ebus.c_reg->index, reg_num); in pc87332_write_config_reg() 5848 m1553_read_config_reg(struct ecppunit *pp, uint8_t reg_num) in m1553_read_config_reg() argument 5852 dma8237_write(pp, 0x3F0, reg_num); in m1553_read_config_reg() 5859 m1553_write_config_reg(struct ecppunit *pp, uint8_t reg_num, uint8_t val) in m1553_write_config_reg() argument 5861 dma8237_write(pp, 0x3F0, reg_num); in m1553_write_config_reg() 6217 dma8237_write(struct ecppunit *pp, int reg_num, uint8_t val) in dma8237_write() argument 6220 &pp->uh.m1553.isa_space->isa_reg[reg_num], val); in dma8237_write() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dnet/ |
H A D | dnet.c | 191 static ushort_t dnet_mii_read(dev_info_t *dip, int phy_addr, int reg_num); 192 static void dnet_mii_write(dev_info_t *dip, int phy_addr, int reg_num, 3821 dnet_mii_read(dev_info_t *dip, int phy_addr, int reg_num) in dnet_mii_read() argument 3840 command_word |= (uint32_t)reg_num << MII_REG_ADDR_ALIGN; in dnet_mii_read() 3871 dnet_mii_write(dev_info_t *dip, int phy_addr, int reg_num, int reg_dat) in dnet_mii_write() argument 3884 command_word |= ((uint32_t)reg_num << MII_REG_ADDR_ALIGN); in dnet_mii_write()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 1975 i2cregarg.reg_num = PSVC_GET_ASPEC_REG(aspec); in i_psvc_get_reg_11_1() 2010 i2cregarg.reg_num = PSVC_GET_ASPEC_REG(aspec); in i_psvc_get_reg_11_7() 2051 i2cregarg.reg_num = PSVC_GET_ASPEC_REG(aspec); in i_psvc_set_reg_11_1() 2101 i2cregarg.reg_num = PSVC_GET_ASPEC_REG(aspec); in i_psvc_set_reg_11_7() 2383 reg.reg_num = 0; in i_psvc_probe_11_1() 2682 reg.reg_num = 0x10; in i_psvc_probe_11_9()
|
/illumos-gate/usr/src/uts/sun4u/daktari/io/ |
H A D | hpc3130_dak.c | 548 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl() 592 i2c_tran_pointer->i2c_wbuf[0] = ioctl_reg.reg_num; in hpc3130_ioctl()
|