Lines Matching refs:MC_CMD_OP
48 MC_CMD_OP(cmd, 0, 0, 32, int, dpni_id)
77 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, cfg->adv.options); \
78 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, cfg->adv.num_queues); \
79 MC_CMD_OP(cmd, 0, 40, 8, uint8_t, cfg->adv.num_tcs); \
80 MC_CMD_OP(cmd, 0, 48, 8, uint8_t, cfg->adv.mac_entries); \
81 MC_CMD_OP(cmd, 1, 0, 8, uint8_t, cfg->adv.vlan_entries); \
82 MC_CMD_OP(cmd, 1, 16, 8, uint8_t, cfg->adv.qos_entries); \
83 MC_CMD_OP(cmd, 1, 32, 16, uint8_t, cfg->adv.fs_entries); \
89 MC_CMD_OP(cmd, 0, 0, 8, uint8_t, cfg->num_dpbp); \
90 MC_CMD_OP(cmd, 0, 8, 1, int, cfg->pools[0].backup_pool); \
91 MC_CMD_OP(cmd, 0, 9, 1, int, cfg->pools[1].backup_pool); \
92 MC_CMD_OP(cmd, 0, 10, 1, int, cfg->pools[2].backup_pool); \
93 MC_CMD_OP(cmd, 0, 11, 1, int, cfg->pools[3].backup_pool); \
94 MC_CMD_OP(cmd, 0, 12, 1, int, cfg->pools[4].backup_pool); \
95 MC_CMD_OP(cmd, 0, 13, 1, int, cfg->pools[5].backup_pool); \
96 MC_CMD_OP(cmd, 0, 14, 1, int, cfg->pools[6].backup_pool); \
97 MC_CMD_OP(cmd, 0, 15, 1, int, cfg->pools[7].backup_pool); \
98 MC_CMD_OP(cmd, 0, 32, 32, int, cfg->pools[0].dpbp_id); \
99 MC_CMD_OP(cmd, 4, 32, 16, uint16_t, cfg->pools[0].buffer_size);\
100 MC_CMD_OP(cmd, 1, 0, 32, int, cfg->pools[1].dpbp_id); \
101 MC_CMD_OP(cmd, 4, 48, 16, uint16_t, cfg->pools[1].buffer_size);\
102 MC_CMD_OP(cmd, 1, 32, 32, int, cfg->pools[2].dpbp_id); \
103 MC_CMD_OP(cmd, 5, 0, 16, uint16_t, cfg->pools[2].buffer_size);\
104 MC_CMD_OP(cmd, 2, 0, 32, int, cfg->pools[3].dpbp_id); \
105 MC_CMD_OP(cmd, 5, 16, 16, uint16_t, cfg->pools[3].buffer_size);\
106 MC_CMD_OP(cmd, 2, 32, 32, int, cfg->pools[4].dpbp_id); \
107 MC_CMD_OP(cmd, 5, 32, 16, uint16_t, cfg->pools[4].buffer_size);\
108 MC_CMD_OP(cmd, 3, 0, 32, int, cfg->pools[5].dpbp_id); \
109 MC_CMD_OP(cmd, 5, 48, 16, uint16_t, cfg->pools[5].buffer_size);\
110 MC_CMD_OP(cmd, 3, 32, 32, int, cfg->pools[6].dpbp_id); \
111 MC_CMD_OP(cmd, 6, 0, 16, uint16_t, cfg->pools[6].buffer_size);\
112 MC_CMD_OP(cmd, 4, 0, 32, int, cfg->pools[7].dpbp_id); \
113 MC_CMD_OP(cmd, 6, 16, 16, uint16_t, cfg->pools[7].buffer_size);\
134 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, cfg->errors); \
135 MC_CMD_OP(cmd, 0, 32, 4, enum dpni_error_action, cfg->error_action); \
136 MC_CMD_OP(cmd, 0, 36, 1, int, cfg->set_frame_annotation); \
142 MC_CMD_OP(cmd, 0, 0, 8, enum dpni_queue_type, queue); \
143 MC_CMD_OP(cmd, 1, 0, 16, uint16_t, layout->private_data_size); \
144 MC_CMD_OP(cmd, 1, 16, 16, uint16_t, layout->data_align); \
145 MC_CMD_OP(cmd, 0, 32, 16, uint16_t, layout->options); \
146 MC_CMD_OP(cmd, 0, 48, 1, int, layout->pass_timestamp); \
147 MC_CMD_OP(cmd, 0, 49, 1, int, layout->pass_parser_result); \
148 MC_CMD_OP(cmd, 0, 50, 1, int, layout->pass_frame_status); \
149 MC_CMD_OP(cmd, 1, 32, 16, uint16_t, layout->data_head_room); \
150 MC_CMD_OP(cmd, 1, 48, 16, uint16_t, layout->data_tail_room); \
164 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, cfg->rate);\
165 MC_CMD_OP(cmd, 2, 0, 64, uint64_t, cfg->options);\
181 MC_CMD_OP(cmd, 0, 16, 8, uint8_t, mac_addr[5]); \
182 MC_CMD_OP(cmd, 0, 24, 8, uint8_t, mac_addr[4]); \
183 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, mac_addr[3]); \
184 MC_CMD_OP(cmd, 0, 40, 8, uint8_t, mac_addr[2]); \
185 MC_CMD_OP(cmd, 0, 48, 8, uint8_t, mac_addr[1]); \
186 MC_CMD_OP(cmd, 0, 56, 8, uint8_t, mac_addr[0]); \
203 MC_CMD_OP(cmd, 0, 16, 8, uint8_t, mac_addr[5]); \
204 MC_CMD_OP(cmd, 0, 24, 8, uint8_t, mac_addr[4]); \
205 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, mac_addr[3]); \
206 MC_CMD_OP(cmd, 0, 40, 8, uint8_t, mac_addr[2]); \
207 MC_CMD_OP(cmd, 0, 48, 8, uint8_t, mac_addr[1]); \
208 MC_CMD_OP(cmd, 0, 56, 8, uint8_t, mac_addr[0]); \
214 MC_CMD_OP(cmd, 0, 16, 8, uint8_t, mac_addr[5]); \
215 MC_CMD_OP(cmd, 0, 24, 8, uint8_t, mac_addr[4]); \
216 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, mac_addr[3]); \
217 MC_CMD_OP(cmd, 0, 40, 8, uint8_t, mac_addr[2]); \
218 MC_CMD_OP(cmd, 0, 48, 8, uint8_t, mac_addr[1]); \
219 MC_CMD_OP(cmd, 0, 56, 8, uint8_t, mac_addr[0]); \
224 MC_CMD_OP(cmd, 0, 0, 8, enum dpni_queue_type, type); \
225 MC_CMD_OP(cmd, 0, 8, 8, uint8_t, tc); \
226 MC_CMD_OP(cmd, 0, 16, 8, uint8_t, index); \
243 MC_CMD_OP(cmd, 0, 0, 8, enum dpni_queue_type, type); \
244 MC_CMD_OP(cmd, 0, 8, 8, uint8_t, tc); \
245 MC_CMD_OP(cmd, 0, 16, 8, uint8_t, index); \
246 MC_CMD_OP(cmd, 0, 24, 8, uint8_t, (queue)->options); \
247 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, (queue)->destination.id); \
248 MC_CMD_OP(cmd, 1, 56, 4, enum dpni_dest, (queue)->destination.type); \
249 MC_CMD_OP(cmd, 1, 62, 1, char, (queue)->destination.stash_ctrl); \
250 MC_CMD_OP(cmd, 1, 63, 1, char, (queue)->destination.hold_active); \
251 MC_CMD_OP(cmd, 1, 0, 32, uint32_t, (queue)->destination.id); \
252 MC_CMD_OP(cmd, 2, 0, 64, uint64_t, (queue)->flc); \
253 MC_CMD_OP(cmd, 3, 0, 64, uint64_t, (queue)->user_context); \
258 MC_CMD_OP(cmd, 0, 0, 8, uint8_t, page)