Lines Matching +full:clear +full:- +full:bit

1 /*-
41 * ntb_link_event() - notify driver context of a change in link status
50 * ntb_db_event() - notify driver context of a doorbell event
65 * ntb_port_number() - get the local port number
75 * ntb_port_count() - get the number of peer device ports
85 * ntb_peer_port_number() - get the peer port by given index
97 * ntb_peer_port_idx() - get the peer device port index by given port
110 * ntb_link_is_up() - get the current ntb link state
112 * @speed: OUT - The link speed expressed as PCIe generation number
113 * @width: OUT - The link width expressed as the number of PCIe lanes
120 * ntb_link_enable() - enable the link on the secondary side of the ntb
138 * ntb_link_disable() - disable the link on the secondary side of the ntb
157 * ntb_set_ctx() - associate a driver context with an ntb device
171 * ntb_set_ctx() - get a driver context associated with an ntb device
180 * ntb_clear_ctx() - disassociate any driver context from an ntb device
183 * Clear any association that may exist between a driver context and the ntb
189 * ntb_mw_count() - Get the number of memory windows available for KPI
197 * ntb_mw_get_range() - get the range of a memory window
200 * @base: OUT - the base address for mapping the memory window
201 * @size: OUT - the size for mapping the memory window
202 * @align: OUT - the base alignment for translating the memory window
203 * @align_size: OUT - the size alignment for translating the memory window
218 * ntb_mw_set_trans() - set the translation of a memory window
229 * 32-bit BARs).
237 * ntb_mw_clear_trans() - clear the translation of a memory window
241 * Clear the translation of a memory window. The peer may no longer access
249 * ntb_mw_get_wc - Get the write-combine status of a memory window
259 * ntb_mw_set_wc - Set the write-combine status of a memory window
271 * ntb_spad_count() - get the total scratch regs usable
274 * This function returns the max 32bit scratchpad registers usable by the
282 * ntb_spad_clear() - zero local scratch registers
290 * ntb_spad_write() - write to the secondary scratchpad register
295 * This function allows writing of a 32bit value to the indexed scratchpad
303 * ntb_spad_read() - read from the primary scratchpad register
306 * @val: pointer to 32bit integer for storing the register value
308 * This function allows reading of the 32bit scratchpad register on
316 * ntb_peer_spad_write() - write to the secondary scratchpad register
321 * This function allows writing of a 32bit value to the indexed scratchpad
329 * ntb_peer_spad_read() - read from the primary scratchpad register
332 * @val: pointer to 32bit integer for storing the register value
334 * This function allows reading of the 32bit scratchpad register on
342 * ntb_db_valid_mask() - get a mask of doorbell bits supported by the ntb
352 * ntb_db_vector_count() - get the number of doorbell interrupt vectors
362 * ntb_db_vector_mask() - get a mask of doorbell bits serviced by a vector
373 * ntb_peer_db_addr() - address and size of the peer doorbell register
375 * @db_addr: OUT - The address of the peer doorbell register.
376 * @db_size: OUT - The number of bytes to write the peer doorbell register.
394 * ntb_db_clear() - clear bits in the local doorbell register
396 * @db_bits: Doorbell bits to clear.
398 * Clear bits in the local doorbell register, arming the bits for the next
406 * ntb_db_clear_mask() - clear bits in the local doorbell mask
408 * @db_bits: Doorbell bits to clear.
410 * Clear bits in the local doorbell mask register, allowing doorbell interrupts
411 * from being generated for those doorbell bits. If a doorbell bit is already
412 * set at the time the mask is cleared, and the corresponding mask bit is
413 * changed from set to clear, then the ntb driver must ensure that
415 * on clearing the mask bit, then the driver must call ntb_db_event() anyway.
422 * ntb_db_read() - read the local doorbell register
432 * ntb_db_set_mask() - set bits in the local doorbell mask
445 * ntb_peer_db_set() - Set the doorbell on the secondary/external side
447 * @bit: doorbell bits to ring