Home
last modified time | relevance | path

Searched refs:evbuf (Results 1 – 8 of 8) sorted by relevance

/drivers/s390/char/
Dsclp_sdias.c62 struct sdias_evbuf evbuf; member
75 static void sclp_sdias_receiver_fn(struct evbuf_header *evbuf) in sclp_sdias_receiver_fn() argument
77 memcpy(&sdias_evbuf, evbuf, in sclp_sdias_receiver_fn()
78 min_t(unsigned long, sizeof(sdias_evbuf), evbuf->length)); in sclp_sdias_receiver_fn()
114 if (!(sccb.evbuf.hdr.flags & 0x80)) { in sdias_sclp_send()
116 sccb.evbuf.hdr.flags); in sdias_sclp_send()
123 memcpy(&sdias_evbuf, &sccb.evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send()
149 sccb.evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
150 sccb.evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
151 sccb.evbuf.event_qual = EQ_SIZE; in sclp_sdias_blk_count()
[all …]
Dsclp_async.c45 struct async_evbuf evbuf; member
128 sccb->evbuf.header.type = EVTYP_ASYNC; in sclp_async_send_wait()
129 sccb->evbuf.rtype = 0xA5; in sclp_async_send_wait()
130 sccb->evbuf.otype = 0x00; in sclp_async_send_wait()
131 evb = &sccb->evbuf; in sclp_async_send_wait()
135 strncpy(sccb->evbuf.data, message, sizeof(sccb->evbuf.data)); in sclp_async_send_wait()
140 strncpy(sccb->evbuf.comp_id, "000000000", sizeof(sccb->evbuf.comp_id)); in sclp_async_send_wait()
141 sccb->evbuf.header.length = sizeof(sccb->evbuf); in sclp_async_send_wait()
142 sccb->header.length = sizeof(sccb->evbuf) + sizeof(sccb->header); in sclp_async_send_wait()
Dsclp.c309 struct evbuf_header *evbuf; in sclp_dispatch_evbufs() local
318 offset += evbuf->length) { in sclp_dispatch_evbufs()
319 evbuf = (struct evbuf_header *) ((addr_t) sccb + offset); in sclp_dispatch_evbufs()
321 if (evbuf->length == 0) in sclp_dispatch_evbufs()
327 if (reg->receive_mask & (1 << (32 - evbuf->type))) in sclp_dispatch_evbufs()
334 reg->receiver_fn(evbuf); in sclp_dispatch_evbufs()
537 sclp_state_change_cb(struct evbuf_header *evbuf) in sclp_state_change_cb() argument
542 scbuf = (struct sclp_statechangebuf *) evbuf; in sclp_state_change_cb()
633 struct evbuf_header *evbuf; in sclp_remove_processed() local
637 evbuf = (struct evbuf_header *) (sccb + 1); in sclp_remove_processed()
[all …]
Dsclp_vt220.c49 struct evbuf_header evbuf; member
96 static void sclp_vt220_receiver_fn(struct evbuf_header *evbuf);
285 sccb->evbuf.type = EVTYP_VT220MSG; in sclp_vt220_initialize_page()
286 sccb->evbuf.length = sizeof(struct evbuf_header); in sclp_vt220_initialize_page()
305 return sccb->evbuf.length - sizeof(struct evbuf_header); in sclp_vt220_chars_stored()
349 sccb->evbuf.length += to; in sclp_vt220_add_msg()
354 sccb->evbuf.length += count; in sclp_vt220_add_msg()
461 sclp_vt220_receiver_fn(struct evbuf_header *evbuf) in sclp_vt220_receiver_fn() argument
470 buffer = (char *) ((addr_t) evbuf + sizeof(struct evbuf_header)); in sclp_vt220_receiver_fn()
471 count = evbuf->length - sizeof(struct evbuf_header); in sclp_vt220_receiver_fn()
Dsclp_ocf.c43 static void sclp_ocf_handler(struct evbuf_header *evbuf) in sclp_ocf_handler() argument
50 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_ocf_handler()
Dsclp_config.c51 static void sclp_conf_receiver_fn(struct evbuf_header *evbuf) in sclp_conf_receiver_fn() argument
55 cdata = (struct conf_mgm_data *)(evbuf + 1); in sclp_conf_receiver_fn()
Dsclp_tty.c469 static void sclp_tty_receiver(struct evbuf_header *evbuf) in sclp_tty_receiver() argument
473 v = sclp_find_gds_vector(evbuf + 1, (void *) evbuf + evbuf->length, in sclp_tty_receiver()
Dsclp_quiesce.c39 static void sclp_quiesce_handler(struct evbuf_header *evbuf) in sclp_quiesce_handler() argument