Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/sysdev/
Dmpic_msgr.c35 static inline void _mpic_msgr_mer_write(struct mpic_msgr *msgr, u32 value) in _mpic_msgr_mer_write() argument
37 out_be32(msgr->mer, value); in _mpic_msgr_mer_write()
40 static inline u32 _mpic_msgr_mer_read(struct mpic_msgr *msgr) in _mpic_msgr_mer_read() argument
42 return in_be32(msgr->mer); in _mpic_msgr_mer_read()
45 static inline void _mpic_msgr_disable(struct mpic_msgr *msgr) in _mpic_msgr_disable() argument
47 u32 mer = _mpic_msgr_mer_read(msgr); in _mpic_msgr_disable()
49 _mpic_msgr_mer_write(msgr, mer & ~(1 << msgr->num)); in _mpic_msgr_disable()
55 struct mpic_msgr *msgr; in mpic_msgr_get() local
58 msgr = ERR_PTR(-EBUSY); in mpic_msgr_get()
64 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-4.1.27/arch/powerpc/include/asm/
Dmpic_msgr.h49 extern void mpic_msgr_put(struct mpic_msgr *msgr);
58 extern void mpic_msgr_enable(struct mpic_msgr *msgr);
67 extern void mpic_msgr_disable(struct mpic_msgr *msgr);
78 static inline void mpic_msgr_write(struct mpic_msgr *msgr, u32 message) in mpic_msgr_write() argument
80 out_be32(msgr->base, message); in mpic_msgr_write()
91 static inline u32 mpic_msgr_read(struct mpic_msgr *msgr) in mpic_msgr_read() argument
93 return in_be32(msgr->base); in mpic_msgr_read()
102 static inline void mpic_msgr_clear(struct mpic_msgr *msgr) in mpic_msgr_clear() argument
104 (void) mpic_msgr_read(msgr); in mpic_msgr_clear()
115 static inline void mpic_msgr_set_destination(struct mpic_msgr *msgr, in mpic_msgr_set_destination() argument
[all …]
/linux-4.1.27/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-4.1.27/net/ceph/
Dmessenger.c225 static void encode_my_addr(struct ceph_messenger *msgr) in encode_my_addr() argument
227 memcpy(&msgr->my_enc_addr, &msgr->inst.addr, sizeof(msgr->my_enc_addr)); in encode_my_addr()
228 ceph_encode_addr(&msgr->my_enc_addr); in encode_my_addr()
394 if (atomic_read(&con->msgr->stopping)) { in ceph_sock_data_ready()
511 if (con->msgr->tcp_nodelay) { in ceph_tcp_connect()
741 struct ceph_messenger *msgr) in ceph_con_init() argument
747 con->msgr = msgr; in ceph_con_init()
765 static u32 get_global_seq(struct ceph_messenger *msgr, u32 gt) in get_global_seq() argument
769 spin_lock(&msgr->global_seq_lock); in get_global_seq()
770 if (msgr->global_seq < gt) in get_global_seq()
[all …]
Dceph_common.c574 ceph_messenger_init(&client->msgr, myaddr, in ceph_create_client()
602 atomic_set(&client->msgr.stopping, 1); in ceph_destroy_client()
Dmon_client.c828 &monc->client->msgr); in ceph_monc_init()
912 monc->client->msgr.inst.name.type = CEPH_ENTITY_TYPE_CLIENT; in handle_auth_reply()
913 monc->client->msgr.inst.name.num = in handle_auth_reply()
Dosd_client.c1016 ceph_con_init(&osd->o_con, osd, &osd_con_ops, &osdc->client->msgr); in create_osd()
2097 &osdc->client->msgr); in ceph_osdc_handle_map()
Dosdmap.c1199 struct ceph_messenger *msgr) in osdmap_apply_incremental() argument
/linux-4.1.27/include/linux/ceph/
Dmessenger.h189 struct ceph_messenger *msgr; member
264 extern void ceph_messenger_init(struct ceph_messenger *msgr,
273 struct ceph_messenger *msgr);
Dlibceph.h130 struct ceph_messenger msgr; /* messenger instance */ member
Dosdmap.h198 struct ceph_messenger *msgr);
/linux-4.1.27/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-4.1.27/fs/ceph/
Dmds_client.c442 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()