Lines Matching defs:port_type
259 * @p core_id and @p port_type.
265 * @param port_type The bhnd(4) port type.
268 siba_port_count(struct siba_core_id *core_id, bhnd_port_type port_type)
270 switch (port_type) {
290 * Return true if @p port of @p port_type is defined by @p core_id, false
294 * @param port_type The bhnd(4) port type.
298 siba_is_port_valid(struct siba_core_id *core_id, bhnd_port_type port_type,
302 if (siba_port_count(core_id, port_type) <= port)
310 * @p port of @p port_type.
313 * @param port_type The bhnd(4) port type.
316 siba_port_region_count(struct siba_core_id *core_id, bhnd_port_type port_type,
320 if (!siba_is_port_valid(core_id, port_type, port))
323 switch (port_type) {
348 bhnd_port_type_name(port_type), port);
362 * @param port_type The bhnd(4) port type.
372 siba_cfg_index(struct siba_core_id *core_id, bhnd_port_type port_type,
376 if (port_type != BHND_PORT_AGENT)
380 if (!siba_is_port_valid(core_id, port_type, port))
435 * @param port_type The bhnd(4) port type.
445 siba_addrspace_index(struct siba_core_id *core_id, bhnd_port_type port_type,
451 if (port_type != BHND_PORT_DEVICE)
455 if (!siba_is_port_valid(core_id, port_type, port))