Lines Matching +full:15 +full:- +full:input

1 /* SPDX-License-Identifier: GPL-2.0 or MIT */
27 #define CS_FEATURES_SCOREBOARDS(x) (((x) & GENMASK(15, 8)) >> 8)
62 #define CS_CONFIG_DOORBELL(x) (((x) << 8) & GENMASK(15, 8))
81 u32 reserved1[15];
84 #define CS_STATUS_WAIT_SB_MASK GENMASK(15, 0)
166 #define CSG_EP_REQ_FRAGMENT(x) (((x) << 8) & GENMASK(15, 8))
272 * struct panthor_fw_cs_iface - Firmware command stream slot interface
283 * interface sections are mapped uncached/write-combined right now, and
294 * This interface is read-only.
299 * @input: Command stream slot input interface.
303 struct panthor_fw_cs_input_iface *input; member
310 * This interface is read-only.
316 * struct panthor_fw_csg_iface - Firmware command stream group slot interface
327 * interface sections are mapped uncached/write-combined right now, and
338 * This interface is read-only.
343 * @input: Command stream slot input interface.
347 struct panthor_fw_csg_input_iface *input; member
354 * This interface is read-only.
360 * struct panthor_fw_global_iface - Firmware global interface
371 * interface sections are mapped uncached/write-combined right now, and
382 * This interface is read-only.
387 * @input: Global input interface.
391 struct panthor_fw_global_input_iface *input; member
398 * This interface is read-only.
404 * panthor_fw_toggle_reqs() - Toggle acknowledge bits to send an event to the FW
406 * @__in_reg: Name of the register to update in the input section of the interface.
411 * The Host -> FW event/message passing was designed to be lockless, with each side of
418 * for events to be re-evaluated, the interface doorbell needs to be rung.
427 spin_lock(&(__iface)->lock); \
428 __cur_val = READ_ONCE((__iface)->input->__in_reg); \
429 __out_val = READ_ONCE((__iface)->output->__out_reg); \
431 WRITE_ONCE((__iface)->input->__in_reg, __new_val); \
432 spin_unlock(&(__iface)->lock); \
436 * panthor_fw_update_reqs() - Update bits to reflect a configuration change
438 * @__in_reg: Name of the register to update in the input section of the interface.
453 spin_lock(&(__iface)->lock); \
454 __cur_val = READ_ONCE((__iface)->input->__in_reg); \
456 WRITE_ONCE((__iface)->input->__in_reg, __new_val); \
457 spin_unlock(&(__iface)->lock); \
479 struct panthor_fw_ringbuf_input_iface **input,