Home
last modified time | relevance | path

Searched refs:msgr (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.10/arch/powerpc/sysdev/
Dmpic_msgr.c30 static inline void _mpic_msgr_mer_write(struct mpic_msgr *msgr, u32 value) in _mpic_msgr_mer_write() argument
32 out_be32(msgr->mer, value); in _mpic_msgr_mer_write()
35 static inline u32 _mpic_msgr_mer_read(struct mpic_msgr *msgr) in _mpic_msgr_mer_read() argument
37 return in_be32(msgr->mer); in _mpic_msgr_mer_read()
40 static inline void _mpic_msgr_disable(struct mpic_msgr *msgr) in _mpic_msgr_disable() argument
42 u32 mer = _mpic_msgr_mer_read(msgr); in _mpic_msgr_disable()
44 _mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num)); in _mpic_msgr_disable()
50 struct mpic_msgr *msgr; in mpic_msgr_get() local
53 msgr = ERR_PTR(-EBUSY); in mpic_msgr_get()
59 msgr = mpic_msgrs[reg_num]; in mpic_msgr_get()
[all …]
DMakefile9 mpic-msgr-obj-$(CONFIG_MPIC_MSGR) += mpic_msgr.o
10 obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
/Linux-v5.10/arch/powerpc/include/asm/
Dmpic_msgr.h44 extern void mpic_msgr_put(struct mpic_msgr *msgr);
53 extern void mpic_msgr_enable(struct mpic_msgr *msgr);
62 extern void mpic_msgr_disable(struct mpic_msgr *msgr);
73 static inline void mpic_msgr_write(struct mpic_msgr *msgr, u32 message) in mpic_msgr_write() argument
75 out_be32(msgr->base, message); in mpic_msgr_write()
86 static inline u32 mpic_msgr_read(struct mpic_msgr *msgr) in mpic_msgr_read() argument
88 return in_be32(msgr->base); in mpic_msgr_read()
97 static inline void mpic_msgr_clear(struct mpic_msgr *msgr) in mpic_msgr_clear() argument
99 (void) mpic_msgr_read(msgr); in mpic_msgr_clear()
110 static inline void mpic_msgr_set_destination(struct mpic_msgr *msgr, in mpic_msgr_set_destination() argument
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-msgr.txt11 "fsl,mpic-v<version>-msgr", where <version> is the version number of
25 - mpic-msgr-receive-mask: Specifies what registers in the containing block
37 'mpic-msgr-block<n>', where <n> is an integer specifying the block's number.
43 mpic-msgr-block0 = &mpic_msgr_block0;
44 mpic-msgr-block1 = &mpic_msgr_block1;
47 mpic_msgr_block0: mpic-msgr-block@41400 {
48 compatible = "fsl,mpic-v3.1-msgr";
53 mpic-msgr-receive-mask = <0x5>;
56 mpic_msgr_block1: mpic-msgr-block@42400 {
57 compatible = "fsl,mpic-v3.1-msgr";
[all …]
/Linux-v5.10/net/ceph/
Dmessenger.c222 static void encode_my_addr(struct ceph_messenger *msgr) in encode_my_addr() argument
224 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, sizeof(msgr->my_enc_addr)); in encode_my_addr()
225 ceph_encode_banner_addr(&msgr->my_enc_addr); in encode_my_addr()
370 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready()
464 ret = sock_create_kern(read_pnet(&con->msgr->net), ss.ss_family, in ceph_tcp_connect()
493 if (ceph_test_opt(from_msgr(con->msgr), TCP_NODELAY)) in ceph_tcp_connect()
720 struct ceph_messenger *msgr) in ceph_con_init() argument
726 con->msgr = msgr; in ceph_con_init()
744 static u32 get_global_seq(struct ceph_messenger *msgr, u32 gt) in get_global_seq() argument
748 spin_lock(&msgr->global_seq_lock); in get_global_seq()
[all …]
Dceph_common.c144 if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) in ceph_compare_options()
658 return &client->msgr.inst.addr; in ceph_client_addr()
703 ceph_messenger_init(&client->msgr, myaddr); in ceph_create_client()
718 ceph_messenger_fini(&client->msgr); in ceph_create_client()
728 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client()
733 ceph_messenger_fini(&client->msgr); in ceph_destroy_client()
746 ceph_messenger_reset_nonce(&client->msgr); in ceph_reset_client_addr()
Dmon_client.c1126 &monc->client->msgr); in ceph_monc_init()
1222 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in handle_auth_reply()
1223 monc->client->msgr.inst.name.num = in handle_auth_reply()
Dauth_x.c876 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_sign_message()
895 if (ceph_test_opt(from_msgr(msg->con->msgr), NOMSGSIGN)) in ceph_x_check_message_signature()
Dosd_client.c1241 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
/Linux-v5.10/include/linux/ceph/
Dmessenger.h259 struct ceph_messenger *msgr; member
338 extern void ceph_messenger_init(struct ceph_messenger *msgr,
340 extern void ceph_messenger_fini(struct ceph_messenger *msgr);
341 extern void ceph_messenger_reset_nonce(struct ceph_messenger *msgr);
345 struct ceph_messenger *msgr);
Dlibceph.h139 struct ceph_messenger msgr; /* messenger instance */ member
151 #define from_msgr(ms) container_of(ms, struct ceph_client, msgr)
/Linux-v5.10/arch/powerpc/boot/dts/fsl/
Dpq3-mpic-message-B.dtsi36 compatible = "fsl,mpic-v3.1-msgr";
Dpq3-mpic.dtsi57 compatible = "fsl,mpic-v3.1-msgr";
Dbsc9131si-post.dtsi161 compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";
/Linux-v5.10/arch/s390/tools/
Dopcodes.txt489 b90c msgr RRE_RR
/Linux-v5.10/fs/ceph/
Dmds_client.c737 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()