Home
last modified time | relevance | path

Searched refs:tx_buf (Results 1 – 8 of 8) sorted by relevance

/openbsd/sys/dev/ic/
H A Dacx111.c379 struct acx_txbuf *tx_buf; in acx111_init_fw_txring() local
383 tx_buf = sc->sc_buf_data.tx_buf; in acx111_init_fw_txring()
387 tx_buf[i].tb_fwdesc_ofs = fw_txdesc_start + in acx111_init_fw_txring()
394 FW_TXDESC_SETFIELD_4(sc, &tx_buf[i], f_tx_host_desc, in acx111_init_fw_txring()
396 FW_TXDESC_SETFIELD_1(sc, &tx_buf[i], f_tx_ctrl, in acx111_init_fw_txring()
442 acx111_set_fw_txdesc_rate(struct acx_softc *sc, struct acx_txbuf *tx_buf, in acx111_set_fw_txdesc_rate() argument
452 FW_TXDESC_SETFIELD_2(sc, tx_buf, u.r2.rate111, rate); in acx111_set_fw_txdesc_rate()
H A Dacx100.c524 struct acx_txbuf *tx_buf; in acx100_init_fw_txring() local
532 tx_buf = sc->sc_buf_data.tx_buf; in acx100_init_fw_txring()
546 tx_buf[i].tb_fwdesc_ofs = fw_desc_offset; in acx100_init_fw_txring()
672 acx100_set_fw_txdesc_rate(struct acx_softc *sc, struct acx_txbuf *tx_buf, in acx100_set_fw_txdesc_rate() argument
675 FW_TXDESC_SETFIELD_1(sc, tx_buf, f_tx_rate100, ACX100_RATE(rate)); in acx100_set_fw_txdesc_rate()
H A Dacx.c580 buf = &bd->tx_buf[i]; in acx_stop()
913 for (buf = &bd->tx_buf[idx]; buf->tb_mbuf == NULL; in acx_start()
914 buf = &bd->tx_buf[idx]) { in acx_start()
1153 for (buf = &bd->tx_buf[idx]; buf->tb_mbuf != NULL; in acx_txeof()
1154 buf = &bd->tx_buf[idx]) { in acx_txeof()
2003 bd->tx_buf[i].tb_desc1 = &rd->tx_ring[i * 2]; in acx_dma_alloc()
2040 if (bd->tx_buf[i].tb_desc1 != NULL) { in acx_dma_free()
2041 if (bd->tx_buf[i].tb_mbuf != NULL) { in acx_dma_free()
2043 bd->tx_buf[i].tb_mbuf_dmamap); in acx_dma_free()
2044 m_freem(bd->tx_buf[i].tb_mbuf); in acx_dma_free()
[all …]
H A Dacxvar.h272 struct acx_txbuf tx_buf[ACX_TX_DESC_CNT]; member
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_dp.c133 u8 tx_buf[20]; in amdgpu_atombios_dp_aux_transfer() local
140 tx_buf[0] = msg->address & 0xff; in amdgpu_atombios_dp_aux_transfer()
141 tx_buf[1] = msg->address >> 8; in amdgpu_atombios_dp_aux_transfer()
142 tx_buf[2] = (msg->request << 4) | in amdgpu_atombios_dp_aux_transfer()
144 tx_buf[3] = msg->size ? (msg->size - 1) : 0; in amdgpu_atombios_dp_aux_transfer()
154 tx_buf[3] |= BARE_ADDRESS_SIZE << 4; in amdgpu_atombios_dp_aux_transfer()
156 tx_buf[3] |= tx_size << 4; in amdgpu_atombios_dp_aux_transfer()
157 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); in amdgpu_atombios_dp_aux_transfer()
159 tx_buf, tx_size, NULL, 0, delay, &ack); in amdgpu_atombios_dp_aux_transfer()
171 tx_buf[3] |= BARE_ADDRESS_SIZE << 4; in amdgpu_atombios_dp_aux_transfer()
[all …]
/openbsd/sys/dev/pci/drm/radeon/
H A Datombios_dp.c164 u8 tx_buf[20]; in radeon_dp_aux_transfer_atom() local
171 tx_buf[0] = msg->address & 0xff; in radeon_dp_aux_transfer_atom()
172 tx_buf[1] = (msg->address >> 8) & 0xff; in radeon_dp_aux_transfer_atom()
173 tx_buf[2] = (msg->request << 4) | in radeon_dp_aux_transfer_atom()
175 tx_buf[3] = msg->size ? (msg->size - 1) : 0; in radeon_dp_aux_transfer_atom()
193 tx_buf[3] |= BARE_ADDRESS_SIZE << 4; in radeon_dp_aux_transfer_atom()
195 tx_buf[3] |= tx_size << 4; in radeon_dp_aux_transfer_atom()
196 memcpy(tx_buf + HEADER_SIZE, msg->buffer, msg->size); in radeon_dp_aux_transfer_atom()
198 tx_buf, tx_size, NULL, 0, delay, &ack); in radeon_dp_aux_transfer_atom()
210 tx_buf[3] |= BARE_ADDRESS_SIZE << 4; in radeon_dp_aux_transfer_atom()
[all …]
/openbsd/sys/dev/pci/drm/
H A Ddrm_mipi_dsi.c580 packet->payload = msg->tx_buf; in mipi_dsi_create_packet()
582 const u8 *tx = msg->tx_buf; in mipi_dsi_create_packet()
605 .tx_buf = (u8 [2]) { 0, 0 }, in mipi_dsi_shutdown_peripheral()
625 .tx_buf = (u8 [2]) { 0, 0 }, in mipi_dsi_turn_on_peripheral()
651 .tx_buf = tx, in mipi_dsi_set_maximum_return_packet_size()
677 .tx_buf = tx, in mipi_dsi_compression_mode()
701 .tx_buf = pps, in mipi_dsi_picture_parameter_set()
726 .tx_buf = payload, in mipi_dsi_generic_write()
772 .tx_buf = params, in mipi_dsi_generic_read()
815 .tx_buf = data, in mipi_dsi_dcs_write_buffer()
[all …]
/openbsd/sys/dev/pci/drm/include/drm/
H A Ddrm_mipi_dsi.h38 const void *tx_buf; member