Home
last modified time | relevance | path

Searched refs:obj_num (Results 1 – 9 of 9) sorted by relevance

/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-dump.c140 .val = tx->obj_num, in mcp251xfd_dump_tef_ring()
173 .val = rx->obj_num, in mcp251xfd_dump_rx_ring_one()
216 .val = tx->obj_num, in mcp251xfd_dump_tx_ring()
244 unsigned int rings_num, obj_num; in mcp251xfd_dump() local
249 obj_num = 2; in mcp251xfd_dump()
258 obj_num += rings_num; in mcp251xfd_dump()
263 file_size += sizeof(*iter.hdr) * obj_num; in mcp251xfd_dump()
275 iter.data = &iter.hdr[obj_num]; in mcp251xfd_dump()
Dmcp251xfd.h523 u8 obj_num; member
537 u8 obj_num; member
766 return priv->tef->head & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_head()
771 return priv->tef->tail & (priv->tx->obj_num - 1); in mcp251xfd_get_tef_tail()
785 return min_t(u8, len, priv->tx->obj_num - mcp251xfd_get_tef_tail(priv)); in mcp251xfd_get_tef_linear_len()
790 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_tx_head()
795 return ring->tail & (ring->obj_num - 1); in mcp251xfd_get_tx_tail()
800 return ring->obj_num - (ring->head - ring->tail); in mcp251xfd_get_tx_free()
808 addr >= mcp251xfd_get_tx_obj_addr(tx_ring, tx_ring->obj_num)) in mcp251xfd_get_tx_nr_by_addr()
819 return ring->head & (ring->obj_num - 1); in mcp251xfd_get_rx_head()
[all …]
Dmcp251xfd-core.c373 tx_ring->base = mcp251xfd_get_tef_obj_addr(tx_ring->obj_num); in mcp251xfd_ring_init()
394 tx_ring->obj_num); in mcp251xfd_ring_init()
398 prev_rx_ring->obj_num; in mcp251xfd_ring_init()
459 tx_ring->obj_num = tx_obj_num; in mcp251xfd_ring_alloc()
480 rx_ring->obj_num = rx_obj_num; in mcp251xfd_ring_alloc()
484 ram_free -= rx_ring->obj_num * rx_ring->obj_size; in mcp251xfd_ring_alloc()
496 i, rx_ring->obj_num, rx_ring->obj_size, in mcp251xfd_ring_alloc()
497 rx_ring->obj_size * rx_ring->obj_num); in mcp251xfd_ring_alloc()
854 ring->obj_num - 1) | in mcp251xfd_chip_rx_fifo_init_one()
894 tx_ring->obj_num - 1) | in mcp251xfd_chip_fifo_init()
[all …]
/drivers/net/can/c_can/
Dc_can.h183 unsigned int obj_num; member
231 return ring->head & (ring->obj_num - 1); in c_can_get_tx_head()
236 return ring->tail & (ring->obj_num - 1); in c_can_get_tx_tail()
246 return ring->obj_num - (ring->head - ring->tail); in c_can_get_tx_free()
254 return ring->obj_num - head; in c_can_get_tx_free()
Dc_can_main.c1254 priv->tx.obj_num = msg_obj_tx_num; in alloc_c_can_dev()
/drivers/crypto/qat/qat_4xxx/
Dadf_4xxx_hw_data.c204 static char *uof_get_name(u32 obj_num) in uof_get_name() argument
206 return adf_4xxx_fw_config[obj_num].obj_name; in uof_get_name()
209 static u32 uof_get_ae_mask(u32 obj_num) in uof_get_ae_mask() argument
211 return adf_4xxx_fw_config[obj_num].ae_mask; in uof_get_ae_mask()
/drivers/net/can/
Dpch_can.c630 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) in pch_can_rx_normal() argument
646 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, obj_num); in pch_can_rx_normal()
656 pch_can_rx_msg_lost(ndev, obj_num); in pch_can_rx_normal()
659 obj_num++; in pch_can_rx_normal()
662 obj_num++; in pch_can_rx_normal()
701 pch_fifo_thresh(priv, obj_num); in pch_can_rx_normal()
702 obj_num++; in pch_can_rx_normal()
/drivers/crypto/qat/qat_common/
Dadf_accel_devices.h178 char *(*uof_get_name)(u32 obj_num);
180 u32 (*uof_get_ae_mask)(u32 obj_num);
/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2044 static void calc_pg_sz(u32 obj_num, u32 obj_size, u32 hop_num, u32 ctx_bt_num, in calc_pg_sz() argument
2081 *bt_page_size = ilog2(DIV_ROUND_UP(obj_num, obj_per_chunk)); in calc_pg_sz()
2083 *buf_page_size = ilog2(DIV_ROUND_UP(obj_num, obj_per_chunk)); in calc_pg_sz()