/titanic_50/usr/src/lib/libpcp/common/ |
H A D | libpcp.c | 74 static int pcp_io_op(void *buf, int byte_cnt, int io_op); 82 static int check_magic_byte_presence(int byte_cnt, uint8_t *byte_val, 89 static int pcp_update_read_area(int byte_cnt); 571 pcp_io_op(void *buf, int byte_cnt, int io_op) in pcp_io_op() argument 581 if ((buf == NULL) || (byte_cnt < 0)) { in pcp_io_op() 605 while (rv < byte_cnt) { in pcp_io_op() 606 io_sz = MIN((byte_cnt - rv), mtu_size); in pcp_io_op() 626 if (rv == byte_cnt) in pcp_io_op() 692 pcp_write(uint8_t *buf, int byte_cnt) in pcp_write() argument 698 if (buf == NULL || byte_cnt < 0 || byte_cnt > mtu_size) { in pcp_write() [all …]
|
/titanic_50/usr/src/uts/sun4v/ontario/io/ |
H A D | tsalarm.c | 223 int byte_cnt, int io_op); 229 static int check_magic_byte_presence(tsalarm_softc_t *sc, int byte_cnt, 1053 tsal_pcp_io_op(tsalarm_softc_t *sc, void *buf, int byte_cnt, int io_op) in tsal_pcp_io_op() argument 1062 if ((buf == NULL) || (byte_cnt < 0)) { in tsal_pcp_io_op() 1086 while (rv < byte_cnt) { in tsal_pcp_io_op() 1087 io_sz = MIN((byte_cnt - rv), sc->mtu_size); in tsal_pcp_io_op() 1108 if (rv == byte_cnt) in tsal_pcp_io_op() 1166 tsal_pcp_write(tsalarm_softc_t *sc, uint8_t *buf, int byte_cnt) in tsal_pcp_write() argument 1173 if (buf == NULL || byte_cnt < 0 || byte_cnt > sc->mtu_size) { in tsal_pcp_write() 1179 iov.iov_len = byte_cnt; in tsal_pcp_write() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_xport_api_dd.c | 511 void *buf, size_t byte_cnt) in etm_xport_raw_peek() argument 526 if ((etm_xport_irb_mtu_sz > 0) && (byte_cnt > etm_xport_irb_mtu_sz)) { in etm_xport_raw_peek() 534 peek_ctl.pk_buflen = byte_cnt; in etm_xport_raw_peek() 593 void *buf, size_t byte_cnt) in etm_xport_buffered_read() argument 627 if (byte_cnt > etm_xport_irb_mtu_sz) { in etm_xport_buffered_read() 634 if (byte_cnt <= (etm_xport_irb_tail - etm_xport_irb_head)) { in etm_xport_buffered_read() 635 (void) memcpy(buf, etm_xport_irb_head, byte_cnt); in etm_xport_buffered_read() 636 etm_xport_irb_head += byte_cnt; in etm_xport_buffered_read() 639 byte_cnt); in etm_xport_buffered_read() 641 return (byte_cnt); in etm_xport_buffered_read() [all …]
|
H A D | etm_xport_api.h | 207 size_t byte_cnt); 218 size_t byte_cnt);
|
H A D | etm.c | 692 etm_hexdump(fmd_hdl_t *hdl, void *buf, size_t byte_cnt) in etm_hexdump() argument 707 for (i = 1; i <= byte_cnt; i++) { in etm_hexdump() 712 if (((i % 16) == 0) || (i >= byte_cnt)) { in etm_hexdump() 813 void *buf, size_t byte_cnt, int io_op) in etm_io_op() argument 845 if (byte_cnt == 0) { in etm_io_op() 846 return (byte_cnt); /* nop */ in etm_io_op() 861 while (rv < byte_cnt) { in etm_io_op() 862 io_sz = MIN((byte_cnt - rv), mtu_sz); in etm_io_op() 921 io_op, (int)rv, (int)byte_cnt); in etm_io_op() 944 int byte_cnt; /* count of bytes read */ in etm_magic_read() local [all …]
|
/titanic_50/usr/src/cmd/fm/modules/common/event-transport/ |
H A D | etm_xport_api.h | 108 void *buf, size_t byte_cnt); 116 void *buf, size_t byte_cnt);
|
/titanic_50/usr/src/cmd/fm/modules/SUNW,SPARC-Enterprise/event-transport/ |
H A D | ex_dscp.c | 671 void *buf, size_t byte_cnt) in etm_xport_read() argument 691 while (nbytes < byte_cnt) { in etm_xport_read() 693 if ((len = recv(cp->c_sd, ptr, byte_cnt - nbytes, in etm_xport_read() 730 void *buf, size_t byte_cnt) in etm_xport_write() argument 750 while (nbytes < byte_cnt) { in etm_xport_write() 752 if ((len = send(cp->c_sd, ptr, byte_cnt - nbytes, in etm_xport_write()
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | append.h | 141 u32_t byte_cnt; member
|
/titanic_50/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hw.h | 140 uint32_t byte_cnt; member 447 uint32_t byte_cnt :31; member
|
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | svcctl_scm.c | 653 svcctl_scm_cb_bytes_needed(void *svc_node, void *byte_cnt) in svcctl_scm_cb_bytes_needed() argument 656 int *cnt = byte_cnt; in svcctl_scm_cb_bytes_needed()
|
/titanic_50/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 713 sf1_read(struct adapter *adapter, unsigned int byte_cnt, int cont, int lock, in sf1_read() argument 718 if (!byte_cnt || byte_cnt > 4) in sf1_read() 723 V_SF_LOCK(lock) | V_CONT(cont) | V_BYTECNT(byte_cnt - 1)); in sf1_read() 743 sf1_write(struct adapter *adapter, unsigned int byte_cnt, int cont, int lock, in sf1_write() argument 746 if (!byte_cnt || byte_cnt > 4) in sf1_write() 752 V_CONT(cont) | V_BYTECNT(byte_cnt - 1) | V_OP(1)); in sf1_write()
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 40 u8 dev_addr, u16 addr, u8 byte_cnt, 8613 u8 dev_addr, u16 addr, u8 byte_cnt, in elink_8726_read_sfp_module_eeprom() argument 8620 if (byte_cnt > ELINK_SFP_EEPROM_PAGE_SIZE) { in elink_8726_read_sfp_module_eeprom() 8628 (byte_cnt | (dev_addr << 8))); in elink_8726_read_sfp_module_eeprom() 8660 for (i = 0; i < byte_cnt; i++) { in elink_8726_read_sfp_module_eeprom() 8707 u16 addr, u8 byte_cnt, in elink_warpcore_read_sfp_module_eeprom() argument 8716 if (byte_cnt > ELINK_SFP_EEPROM_PAGE_SIZE) { in elink_warpcore_read_sfp_module_eeprom() 8731 rc = elink_bsc_read(params, cb, dev_addr, addr32, 0, byte_cnt, in elink_warpcore_read_sfp_module_eeprom() 8736 for (i = (addr - addr32); i < byte_cnt + (addr - addr32); i++) { in elink_warpcore_read_sfp_module_eeprom() 8749 u8 dev_addr, u16 addr, u8 byte_cnt, in elink_8727_read_sfp_module_eeprom() argument [all …]
|
/titanic_50/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/ |
H A D | clc.h | 582 u16 addr, u16 byte_cnt, u8 *o_buf);
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 621 tdc_byte_cnt_t byte_cnt; in hxge_txdma_reclaim() local 655 TXDMA_REG_READ64(handle, TDC_BYTE_CNT, tdc, &byte_cnt.value); in hxge_txdma_reclaim() 656 tdc_stats->obytes_with_pad += byte_cnt.bits.byte_count; in hxge_txdma_reclaim()
|
/titanic_50/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 1404 uint32_t byte_cnt; member 2325 uint32_t byte_cnt :31; member
|
/titanic_50/usr/src/uts/common/io/iwp/ |
H A D | iwp_hw.h | 1782 uint16_t byte_cnt; member
|
/titanic_50/usr/src/uts/common/io/iwh/ |
H A D | iwh_hw.h | 1782 uint16_t byte_cnt; member
|
/titanic_50/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 5607 int byte_cnt = in sf_cmd_callback() local 5611 if (byte_cnt != 0) { in sf_cmd_callback() 5616 byte_cnt, cmd->cmd_dmacount, in sf_cmd_callback() 5622 } else if (byte_cnt < cmd->cmd_dmacount) { in sf_cmd_callback() 5627 "target 0x%x\n", byte_cnt, in sf_cmd_callback()
|
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 2606 uint32_t byte_cnt; member 4700 uint32_t byte_cnt :31; member
|