Home
last modified time | relevance | path

Searched refs:SET_FIELD (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_roce.c437 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
441 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
445 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
449 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
453 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
457 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
461 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
465 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
473 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_responder()
606 SET_FIELD(p_ramrod->flags, in ecore_roce_sp_create_requester()
[all …]
H A Decore_init_fw_funcs.c171 #define QM_CMD_SET_FIELD(var, cmd, field, value) SET_FIELD(var[cmd##_##field##_OFFSET], cmd##_##f…
173SET_FIELD(map.reg, QM_RF_PQ_MAP_##chip##_PQ_VALID, 1); SET_FIELD(map.reg, QM_RF_PQ_MAP_##chip##_R…
1504 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_VALID, 1); in ecore_gft_config()
1507 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_PF_ID_MASK, GFT_CAM_LINE_MAPPED_PF_ID_MASK_MASK); in ecore_gft_config()
1508 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_PF_ID, pf_id); in ecore_gft_config()
1511SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_UPPER_PROTOCOL_TYPE_MASK, GFT_CAM_LINE_MAPPED_UPPER_PROTOC… in ecore_gft_config()
1513 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_UPPER_PROTOCOL_TYPE, GFT_PROFILE_TCP_PROTOCOL); in ecore_gft_config()
1515 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_UPPER_PROTOCOL_TYPE, GFT_PROFILE_UDP_PROTOCOL); in ecore_gft_config()
1519 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_IP_VERSION_MASK, 1); in ecore_gft_config()
1521 SET_FIELD(cam_line, GFT_CAM_LINE_MAPPED_IP_VERSION, GFT_PROFILE_IPV4); in ecore_gft_config()
[all …]
H A Decore_cxt.c1499 SET_FIELD(cdu_params, CDUC_CXT_SIZE, cxt_size); in ecore_cdu_init_common()
1500 SET_FIELD(cdu_params, CDUC_BLOCK_WASTE, block_waste); in ecore_cdu_init_common()
1501 SET_FIELD(cdu_params, (u32)CDUC_NCIB, elems_per_page); in ecore_cdu_init_common()
1512 SET_FIELD(cdu_params, (u32)CDUT_TYPE0_CXT_SIZE, (cxt_size >> 3)); in ecore_cdu_init_common()
1513 SET_FIELD(cdu_params, CDUT_TYPE0_BLOCK_WASTE, (block_waste >> 3)); in ecore_cdu_init_common()
1514 SET_FIELD(cdu_params, CDUT_TYPE0_NCIB, elems_per_page); in ecore_cdu_init_common()
1524 SET_FIELD(cdu_params, (u32)CDUT_TYPE1_CXT_SIZE, (cxt_size >> 3)); in ecore_cdu_init_common()
1525 SET_FIELD(cdu_params, CDUT_TYPE1_BLOCK_WASTE, (block_waste >> 3)); in ecore_cdu_init_common()
1526 SET_FIELD(cdu_params, CDUT_TYPE1_NCIB, elems_per_page); in ecore_cdu_init_common()
1576 SET_FIELD(cdu_seg_params, CDU_SEG_REG_TYPE, p_seg->type); in ecore_cdu_init_pf()
[all …]
H A Decore_hw.c390 SET_FIELD(control, PXP_PRETEND_CMD_IS_CONCRETE, 1); in ecore_fid_pretend()
391 SET_FIELD(control, PXP_PRETEND_CMD_PRETEND_FUNCTION, 1); in ecore_fid_pretend()
396 SET_FIELD(control, PXP_PRETEND_CMD_PORT, 0); in ecore_fid_pretend()
397 SET_FIELD(control, PXP_PRETEND_CMD_USE_PORT, 0); in ecore_fid_pretend()
398 SET_FIELD(control, PXP_PRETEND_CMD_PRETEND_PORT, 1); in ecore_fid_pretend()
417 SET_FIELD(control, PXP_PRETEND_CMD_PORT, port_id); in ecore_port_pretend()
418 SET_FIELD(control, PXP_PRETEND_CMD_USE_PORT, 1); in ecore_port_pretend()
419 SET_FIELD(control, PXP_PRETEND_CMD_PRETEND_PORT, 1); in ecore_port_pretend()
433 SET_FIELD(control, PXP_PRETEND_CMD_PORT, 0); in ecore_port_unpretend()
434 SET_FIELD(control, PXP_PRETEND_CMD_USE_PORT, 0); in ecore_port_unpretend()
[all …]
H A Decore_int.c1449 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_PF_NUMBER, pf_id); in ecore_init_cau_sb_entry()
1450 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_VF_NUMBER, vf_number); in ecore_init_cau_sb_entry()
1451 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_VF_VALID, vf_valid); in ecore_init_cau_sb_entry()
1452 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_SB_TIMESET0, 0x7F); in ecore_init_cau_sb_entry()
1453 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_SB_TIMESET1, 0x7F); in ecore_init_cau_sb_entry()
1472 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_TIMER_RES0, timer_res); in ecore_init_cau_sb_entry()
1480 SET_FIELD(p_sb_entry->params, CAU_SB_ENTRY_TIMER_RES1, timer_res); in ecore_init_cau_sb_entry()
1482 SET_FIELD(p_sb_entry->data, CAU_SB_ENTRY_STATE0, cau_state); in ecore_init_cau_sb_entry()
1483 SET_FIELD(p_sb_entry->data, CAU_SB_ENTRY_STATE1, cau_state); in ecore_init_cau_sb_entry()
1501 SET_FIELD(pi_entry.prod, CAU_PI_ENTRY_PI_TIMESET, timeset); in _ecore_int_cau_conf_pi()
[all …]
H A Decore_rdma.c698 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_RNR_NAK, 1); in ecore_rdma_init_devinfo()
699 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_PORT_ACTIVE_EVENT, 1); in ecore_rdma_init_devinfo()
700 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_PORT_CHANGE_EVENT, 1); in ecore_rdma_init_devinfo()
701 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_RESIZE_CQ, 1); in ecore_rdma_init_devinfo()
702 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_BASE_MEMORY_EXT, 1); in ecore_rdma_init_devinfo()
703 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_BASE_QUEUE_EXT, 1); in ecore_rdma_init_devinfo()
704 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_ZBVA, 1); in ecore_rdma_init_devinfo()
705 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_LOCAL_INV_FENCE, 1); in ecore_rdma_init_devinfo()
714 SET_FIELD(dev->dev_caps, ECORE_RDMA_DEV_CAP_ATOMIC_OP, 1); in ecore_rdma_init_devinfo()
1684 SET_FIELD(qp->vlan_id, ECORE_RDMA_VLAN_PRIO, in ecore_rdma_modify_qp()
[all …]
H A Decore_l2.c413 SET_FIELD(rx_mode, ETH_VPORT_RX_MODE_UCAST_DROP_ALL, 1); in ecore_sp_eth_vport_start()
414 SET_FIELD(rx_mode, ETH_VPORT_RX_MODE_MCAST_DROP_ALL, 1); in ecore_sp_eth_vport_start()
419 SET_FIELD(tx_err, ETH_TX_ERR_VALS_ILLEGAL_VLAN_MODE, in ecore_sp_eth_vport_start()
422 SET_FIELD(tx_err, ETH_TX_ERR_VALS_PACKET_TOO_SMALL, in ecore_sp_eth_vport_start()
425 SET_FIELD(tx_err, ETH_TX_ERR_VALS_ANTI_SPOOFING_ERR, in ecore_sp_eth_vport_start()
428 SET_FIELD(tx_err, ETH_TX_ERR_VALS_ILLEGAL_INBAND_TAGS, in ecore_sp_eth_vport_start()
431 SET_FIELD(tx_err, ETH_TX_ERR_VALS_VLAN_INSERTION_W_INBAND_TAG, in ecore_sp_eth_vport_start()
434 SET_FIELD(tx_err, ETH_TX_ERR_VALS_MTU_VIOLATION, in ecore_sp_eth_vport_start()
437 SET_FIELD(tx_err, ETH_TX_ERR_VALS_ILLEGAL_CONTROL_FRAME, in ecore_sp_eth_vport_start()
529 SET_FIELD(capabilities, in ecore_sp_vport_update_rss()
[all …]
H A Decore_ll2.c702 SET_FIELD(bd_flags, CORE_TX_BD_DATA_FORCE_VLAN_MODE, 1); in ecore_ooo_submit_tx_buffers()
703 SET_FIELD(bd_flags, CORE_TX_BD_DATA_L4_PROTOCOL, 1); in ecore_ooo_submit_tx_buffers()
1379 SET_FIELD(action_on_error, in ecore_ll2_establish_connection_rx()
1383 SET_FIELD(action_on_error, in ecore_ll2_establish_connection_rx()
1493 SET_FIELD(p_tx->db_msg.params, CORE_DB_DATA_DEST, DB_DEST_XCM); in ecore_ll2_establish_connection()
1494 SET_FIELD(p_tx->db_msg.params, CORE_DB_DATA_AGG_CMD, in ecore_ll2_establish_connection()
1496 SET_FIELD(p_tx->db_msg.params, CORE_DB_DATA_AGG_VAL_SEL, in ecore_ll2_establish_connection()
1699 SET_FIELD(start_bd->bitfield1, CORE_TX_BD_L4_HDR_OFFSET_W, in ecore_ll2_prepare_tx_packet_set_bd()
1701 SET_FIELD(start_bd->bitfield1, CORE_TX_BD_TX_DST, tx_dest); in ecore_ll2_prepare_tx_packet_set_bd()
1703 SET_FIELD(bd_data, CORE_TX_BD_DATA_START_BD, 0x1); in ecore_ll2_prepare_tx_packet_set_bd()
[all …]
H A Decore_spq.c289 SET_FIELD(p_cxt->xstorm_ag_context.flags10, in ecore_spq_hw_initialize()
291 SET_FIELD(p_cxt->xstorm_ag_context.flags1, in ecore_spq_hw_initialize()
295 SET_FIELD(p_cxt->xstorm_ag_context.flags9, in ecore_spq_hw_initialize()
626 SET_FIELD(p_db_data->params, CORE_DB_DATA_DEST, DB_DEST_XCM); in ecore_spq_setup()
627 SET_FIELD(p_db_data->params, CORE_DB_DATA_AGG_CMD, DB_AGG_CMD_MAX); in ecore_spq_setup()
628 SET_FIELD(p_db_data->params, CORE_DB_DATA_AGG_VAL_SEL, in ecore_spq_setup()
H A Decore_dbg_fw_funcs.c4230SET_FIELD(reg_hdr->data, DBG_IDLE_CHK_RESULT_REG_HDR_IS_MEM, reg->num_entries > 1 || reg->start_en… in ecore_idle_chk_dump_failure()
4231 SET_FIELD(reg_hdr->data, DBG_IDLE_CHK_RESULT_REG_HDR_REG_ID, reg_id); in ecore_idle_chk_dump_failure()
4281 SET_FIELD(reg_hdr->data, DBG_IDLE_CHK_RESULT_REG_HDR_REG_ID, rule->num_cond_regs + reg_id); in ecore_idle_chk_dump_failure()
4981 SET_FIELD(dev_data->bus.blocks[BLOCK_DBG].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, 0x1); in ecore_dbg_bus_reset()
5144 SET_FIELD(block_bus->data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, enable_mask); in ecore_dbg_bus_enable_block()
5145 SET_FIELD(block_bus->data, DBG_BUS_BLOCK_DATA_RIGHT_SHIFT, right_shift); in ecore_dbg_bus_enable_block()
5146 SET_FIELD(block_bus->data, DBG_BUS_BLOCK_DATA_FORCE_VALID_MASK, force_valid_mask); in ecore_dbg_bus_enable_block()
5147 SET_FIELD(block_bus->data, DBG_BUS_BLOCK_DATA_FORCE_FRAME_MASK, force_frame_mask); in ecore_dbg_bus_enable_block()
5213 SET_FIELD(dev_data->bus.blocks[BLOCK_DBG].data, DBG_BUS_BLOCK_DATA_ENABLE_MASK, 0x1); in ecore_dbg_bus_enable_timestamp()
5409SET_FIELD(bus->trigger_states[dev_data->bus.next_trigger_state].data, DBG_BUS_TRIGGER_STATE_DATA_B… in ecore_dbg_bus_add_trigger_state()
[all …]
H A Decore_iwarp.c300 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
304 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
308 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
312 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
316 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
320 SET_FIELD(p_ramrod->flags, in ecore_iwarp_create_qp()
384 SET_FIELD(p_ramrod->flags, IWARP_MODIFY_QP_RAMROD_DATA_STATE_TRANS_EN, in ecore_iwarp_modify_fw()
823 SET_FIELD(p_tcp_ramrod->tcp.flags, in ecore_iwarp_tcp_offload()
827 SET_FIELD(p_tcp_ramrod->tcp.flags, in ecore_iwarp_tcp_offload()
967 SET_FIELD(p_mpa_ramrod->rtr_pref, in ecore_iwarp_mpa_offload()
H A Decore_sriov.c920 SET_FIELD(igu_vf_conf, IGU_VF_CONF_PARENT, p_hwfn->rel_pf_id); in ecore_iov_enable_vf_access()
993 SET_FIELD(val, IGU_MAPPING_LINE_FUNCTION_NUMBER, vf->abs_vf_id); in ecore_iov_alloc_vf_igu_sbs()
994 SET_FIELD(val, IGU_MAPPING_LINE_VALID, 1); in ecore_iov_alloc_vf_igu_sbs()
995 SET_FIELD(val, IGU_MAPPING_LINE_PF_VALID, 0); in ecore_iov_alloc_vf_igu_sbs()
1001 SET_FIELD(val, IGU_MAPPING_LINE_VECTOR_NUMBER, qid); in ecore_iov_alloc_vf_igu_sbs()
1051 SET_FIELD(val, IGU_MAPPING_LINE_VALID, 0); in ecore_iov_free_vf_igu_sbs()
H A Decore.h110 #define SET_FIELD(value, name, flag) \ macro
H A Decore_dev.c919 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_NON_ROCE, eng_sel); in ecore_llh_set_ppfid_affinity()
972 SET_FIELD(val, NIG_REG_PPF_TO_ENGINE_SEL_ROCE, eng_sel); in ecore_llh_set_roce_affinity()
6460 SET_FIELD(p_coal_timeset->value, COALESCING_TIMESET_TIMESET, timeset); in ecore_set_coalesce()
6461 SET_FIELD(p_coal_timeset->value, COALESCING_TIMESET_VALID, 1); in ecore_set_coalesce()
H A Dqlnx_os.c6739 SET_FIELD(txq->tx_db.data.params, in qlnx_start_queues()
6741 SET_FIELD(txq->tx_db.data.params, ETH_DB_DATA_AGG_CMD, in qlnx_start_queues()
6743 SET_FIELD(txq->tx_db.data.params, in qlnx_start_queues()
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_seterror.c37 #define SET_FIELD(D, R, F) \ macro
50 SET_FIELD(dbg, oldhandler, errhand); in dwarf_seterrhand()
60 SET_FIELD(dbg, oldarg, errarg); in dwarf_seterrarg()
/freebsd/sys/dev/qlnx/qlnxr/
H A Dqlnxr_verbs.c3398 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3408 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3425 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3460 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3508 SET_FIELD(qp_params.modify_flags, \ in qlnxr_modify_qp()
3530 SET_FIELD(qp_params.modify_flags,\ in qlnxr_modify_qp()
3536 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3543 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3560 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
3567 SET_FIELD(qp_params.modify_flags, in qlnxr_modify_qp()
[all …]