0x0
  	   ˆÂÁ0À¿  *   ˆl–Ü4ý( ©³( 	Å€fàB¦-ÿÂƒM¿_†I|¥�+ÂÁ ³    /* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright 2021 NXP
 */

#ifndef DT_BINDING_PCC_RESET_IMX8ULP_H
#define DT_BINDING_PCC_RESET_IMX8ULP_H

/* PCC3 */
#define PCC3_WDOG3_SWRST	0
#define PCC3_WDOG4_SWRST	1
#define PCC3_LPIT1_SWRST	2
#define PCC3_TPM4_SWRST		3
#define PCC3_TPM5_SWRST		4
#define PCC3_FLEXIO1_SWRST	5
#define PCC3_I3C2_SWRST		6
#define PCC3_LPI2C4_SWRST	7
#define PCC3_LPI2C5_SWRST	8
#define PCC3_LPUART4_SWRST	9
#define PCC3_LPUART5_SWRST	10
#define PCC3_LPSPI4_SWRST	11
#define PCC3_LPSPI5_SWRST	12

/* PCC4 */
#define PCC4_FLEXSPI2_SWRST	0
#define PCC4_TPM6_SWRST		1
#define PCC4_TPM7_SWRST		2
#define PCC4_LPI2C6_SWRST	3
#define PCC4_LPI2C7_SWRST	4
#define PCC4_LPUART6_SWRST	5
#define PCC4_LPUART7_SWRST	6
#define PCC4_SAI4_SWRST		7
#define PCC4_SAI5_SWRST		8
#define PCC4_USDHC0_SWRST	9
#define PCC4_USDHC1_SWRST	10
#define PCC4_USDHC2_SWRST	11
#define PCC4_USB0_SWRST		12
#define PCC4_USB0_PHY_SWRST	13
#define PCC4_USB1_SWRST		14
#define PCC4_USB1_PHY_SWRST	15
#define PCC4_ENET_SWRST		16

/* PCC5 */
#define PCC5_TPM8_SWRST		0
#define PCC5_SAI6_SWRST		1
#define PCC5_SAI7_SWRST		2
#define PCC5_SPDIF_SWRST	3
#define PCC5_ISI_SWRST		4
#define PCC5_CSI_REGS_SWRST	5
#define PCC5_CSI_SWRST		6
#define PCC5_DSI_SWRST		7
#define PCC5_WDOG5_SWRST	8
#define PCC5_EPDC_SWRST		9
#define PCC5_PXP_SWRST		10
#define PCC5_GPU2D_SWRST	11
#define PCC5_GPU3D_SWRST	12
#define PCC5_DC_NANO_SWRST	13

#endif /*DT_BINDING_RESET_IMX8ULP_H */
     	ˆ¿ÃƒqÆž¾ÂÁ ø    	/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/*
 * Copyright (c) 2005 Network Appliance, Inc. All rights reserved.
 * Copyright (c) 2005 Open Grid Computing, Inc. All rights reserved.
 */

#ifndef IW_CM_H
#define IW_CM_H

#include <linux/in.h>
#include <rdma/ib_cm.h>

struct iw_cm_id;

enum iw_cm_event_type {
	IW_CM_EVENT_CONNECT_REQUEST = 1, /* connect request received */
	IW_CM_EVENT_CONNECT_REPLY,	 /* reply from active connect request */
	IW_CM_EVENT_ESTABLISHED,	 /* passive side accept successful */
	IW_CM_EVENT_DISCONNECT,		 /* orderly shutdown */
	IW_CM_EVENT_CLOSE		 /* close complete */
};

struct iw_cm_event {
	enum iw_cm_event_type event;
	int			 status;
	struct sockaddr_storage local_addr;
	struct sockaddr_storage remote_addr;
	void *private_data;
	void *provider_data;
	u8 private_data_len;
	u8 ord;
	u8 ird;
};

/**
 * iw_cm_handler - Function to be called by the IW CM when delivering events
 * to the client.
 *
 * @cm_id: The IW CM identifier associated with the event.
 * @event: Pointer to the event structure.
 */
typedef int (*iw_cm_handler)(struct iw_cm_id *cm_id,
			     struct iw_cm_event *event);

/**
 * iw_event_handler - Function called by the provider when delivering provider
 * events to the IW CM.  Returns either 0 indicating the event was processed
 * or -errno if the event could not be processed.
 *
 * @cm_id: The IW CM identifier associated with the event.
 * @event: Pointer to the event structure.
 */
typedef int (*iw_event_handler)(struct iw_cm_id *cm_id,
				 struct iw_cm_event *event);

struct iw_cm_id {
	iw_cm_handler		cm_handler;      /* client callback function */
	void		        *context;	 /* client cb context */
	struct ib_device	*device;
	struct sockaddr_storage local_addr;      /* local addr */
	struct sockaddr_storage	remote_addr;
	struct sockaddr_storage m_local_addr;	 /* nmapped local addr */
	struct sockaddr_storage	m_remote_addr;	 /* nmapped rem addr */
	void			*provider_data;	 /* provider private data */
	iw_event_handler        event_handler;   /* cb for provider
						    events */
	/* Used by provider to add and remove refs on IW cm_id */
	void (*add_ref)(struct iw_cm_id *);
	void (*rem_ref)(struct iw_cm_id *);
	u8  tos;
	bool tos_set:1;
	bool mapped:1;
	bool afonly:1;
};

struct iw_cm_conn_param {
	const void *private_data;
	u16 private_data_len;
	u32 ord;
	u32 ird;
	u32 qpn;
};

enum iw_flags {

	/*
	 * This flag allows the iwcm and iwpmd to still advertise
	 * mappings but the real and mapped port numbers are the
	 * same.  