Home
last modified time | relevance | path

Searched full:sccb (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/s390/char/
H A Dsclp_early_core.c65 int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb) in sclp_early_cmd() argument
71 rc = sclp_service_call(cmd, sccb); in sclp_early_cmd()
90 struct write_sccb *sccb; in sclp_early_print_lm() local
96 sccb = (struct write_sccb *) sclp_early_sccb; in sclp_early_print_lm()
97 end = (unsigned char *) sccb + EARLY_SCCB_SIZE - 1; in sclp_early_print_lm()
98 memset(sccb, 0, sizeof(*sccb)); in sclp_early_print_lm()
99 ptr = (unsigned char *) &sccb->msg.mdb.mto; in sclp_early_print_lm()
115 len = ptr - (unsigned char *) sccb; in sclp_early_print_lm()
116 sccb->header.length = len - offsetof(struct write_sccb, header); in sclp_early_print_lm()
117 msg = &sccb->msg; in sclp_early_print_lm()
[all …]
H A Dsclp_cmd.c44 int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) in sclp_sync_request() argument
46 return sclp_sync_request_timeout(cmd, sccb, 0); in sclp_sync_request()
49 int sclp_sync_request_timeout(sclp_cmdw_t cmd, void *sccb, int timeout) in sclp_sync_request_timeout() argument
61 request->sccb = sccb; in sclp_sync_request_timeout()
95 struct read_cpu_info_sccb *sccb; in _sclp_get_core_info() local
100 sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length)); in _sclp_get_core_info()
101 if (!sccb) in _sclp_get_core_info()
103 sccb->header.length = length; in _sclp_get_core_info()
104 sccb->header.control_mask[2] = 0x80; in _sclp_get_core_info()
105 rc = sclp_sync_request_timeout(SCLP_CMDW_READ_CPU_INFO, sccb, in _sclp_get_core_info()
[all …]
H A Dsclp_sdias.c61 struct sdias_sccb *sccb = sclp_sdias_sccb; in sdias_sclp_send() local
82 if (!(sccb->evbuf.hdr.flags & 0x80)) { in sdias_sclp_send()
84 sccb->evbuf.hdr.flags); in sdias_sclp_send()
88 * for the sync interface the response is in the initial sccb in sdias_sclp_send()
91 memcpy(&sdias_evbuf, &sccb->evbuf, sizeof(sdias_evbuf)); in sdias_sclp_send()
108 struct sdias_sccb *sccb = sclp_sdias_sccb; in sclp_sdias_blk_count() local
114 memset(sccb, 0, sizeof(*sccb)); in sclp_sdias_blk_count()
117 sccb->hdr.length = sizeof(*sccb); in sclp_sdias_blk_count()
118 sccb->evbuf.hdr.length = sizeof(struct sdias_evbuf); in sclp_sdias_blk_count()
119 sccb->evbuf.hdr.type = EVTYP_SDIAS; in sclp_sdias_blk_count()
[all …]
H A Dsclp_rw.c23 * The room for the SCCB (only for writing) is not equal to a pages size
44 struct sccb_header *sccb; in sclp_make_buffer() local
46 sccb = (struct sccb_header *) page; in sclp_make_buffer()
49 * of the sccb page. in sclp_make_buffer()
51 buffer = ((struct sclp_buffer *) ((addr_t) sccb + PAGE_SIZE)) - 1; in sclp_make_buffer()
52 buffer->sccb = sccb; in sclp_make_buffer()
61 /* initialize sccb */ in sclp_make_buffer()
62 memset(sccb, 0, sizeof(struct sccb_header)); in sclp_make_buffer()
63 sccb->length = sizeof(struct sccb_header); in sclp_make_buffer()
75 return buffer->sccb; in sclp_unmake_buffer()
[all …]
H A Dsclp_ftp.c42 pr_debug("SCLP (ET7) TX-IRQ, SCCB @ 0x%p: %*phN\n", in sclp_ftp_txcb()
43 req->sccb, 24, req->sccb); in sclp_ftp_txcb()
91 struct sclp_diag_sccb *sccb; in sclp_ftp_et7() local
97 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ftp_et7()
98 if (!req || !sccb) { in sclp_ftp_et7()
103 sccb->hdr.length = SCLP_DIAG_FTP_EVBUF_LEN + in sclp_ftp_et7()
105 sccb->evbuf.hdr.type = EVTYP_DIAG_TEST; in sclp_ftp_et7()
106 sccb->evbuf.hdr.length = SCLP_DIAG_FTP_EVBUF_LEN; in sclp_ftp_et7()
107 sccb->evbuf.hdr.flags = 0; /* clear processed-buffer */ in sclp_ftp_et7()
108 sccb->evbuf.route = SCLP_DIAG_FTP_ROUTE; in sclp_ftp_et7()
[all …]
H A Dsclp.c110 static inline int abbrev_len(sclp_cmdw_t cmd, struct sccb_header *sccb) in abbrev_len() argument
112 struct evbuf_header *evbuf = (struct evbuf_header *)(sccb + 1); in abbrev_len()
113 int len = sccb->length, limit = SCLP_TRACE_MAX_SIZE; in abbrev_len()
115 /* Full SCCB tracing if debug level is set to max. */ in abbrev_len()
128 sclp_cmdw_t cmd, struct sccb_header *sccb, in sclp_trace_sccb() argument
132 if (sccb) { in sclp_trace_sccb()
133 sclp_trace_bin(prio + 1, sccb, abbrev_len(cmd, sccb), in sclp_trace_sccb()
134 err ? sccb->length : 0); in sclp_trace_sccb()
150 struct sccb_header *sccb = req->sccb; in sclp_trace_req() local
162 summary.response = sccb ? sccb->response_code : 0; in sclp_trace_req()
[all …]
H A Dsclp_ctl.c58 struct sccb_header *sccb; in sclp_ctl_ioctl_sccb() local
66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb()
67 if (!sccb) in sclp_ctl_ioctl_sccb()
70 copy_from_user(sccb, u64_to_uptr(ctl_sccb.sccb), PAGE_SIZE); in sclp_ctl_ioctl_sccb()
72 sizeof(sccb->length) > copied || sccb->length > copied) { in sclp_ctl_ioctl_sccb()
76 if (sccb->length < 8) { in sclp_ctl_ioctl_sccb()
80 rc = sclp_sync_request(ctl_sccb.cmdw, sccb); in sclp_ctl_ioctl_sccb()
83 if (copy_to_user(u64_to_uptr(ctl_sccb.sccb), sccb, sccb->length)) in sclp_ctl_ioctl_sccb()
86 free_page((unsigned long) sccb); in sclp_ctl_ioctl_sccb()
91 * SCLP SCCB ioctl function
H A Dsclp_vt220.c49 /* VT220 SCCB */
123 page = request->sclp_req.sccb; in sclp_vt220_process_queue()
155 struct sclp_vt220_sccb *sccb; in sclp_vt220_callback() local
162 sccb = (struct sclp_vt220_sccb *) vt220_request->sclp_req.sccb; in sclp_vt220_callback()
165 switch (sccb->header.response_code) { in sclp_vt220_callback()
176 if (sclp_remove_processed((struct sccb_header *) sccb) > 0) { in sclp_vt220_callback()
178 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
188 sccb->header.response_code = 0x0000; in sclp_vt220_callback()
223 struct sclp_vt220_sccb *sccb; in sclp_vt220_emit_current() local
227 sccb = (struct sclp_vt220_sccb *) in sclp_vt220_emit_current()
[all …]
H A Dsclp_ap.c24 struct ap_cfg_sccb *sccb; in do_ap_configure() local
30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure()
31 if (!sccb) in do_ap_configure()
34 sccb->header.length = PAGE_SIZE; in do_ap_configure()
36 rc = sclp_sync_request(cmd, sccb); in do_ap_configure()
39 switch (sccb->header.response_code) { in do_ap_configure()
44 apid, cmd, sccb->header.response_code); in do_ap_configure()
49 free_page((unsigned long) sccb); in do_ap_configure()
H A Dsclp_rw.h57 /* The number of empty mto buffers that can be contained in a single sccb. */
68 void *sccb; member
77 unsigned int char_sum; /* # chars in sccb */
78 unsigned int messages; /* # messages in sccb */
H A Dsclp_diag.h80 * struct sclp_diag_sccb - Diagnostic Test (ET7) SCCB
81 * @hdr: SCCB header
H A Dsclp_tty.c85 * character needs the same space in the sccb. The worst case is
279 * in the SCCB (will be written next time the SCLP is not busy) as well as
412 /* convert EBCDIC to ASCII (modify original input in SCCB) */ in sclp_get_input()
/linux/drivers/base/regmap/
H A Dregmap-sccb.c2 // Register map access API - SCCB support
11 * sccb_is_available - Check if the adapter supports SCCB protocol
14 * Return true if the I2C adapter is capable of using SCCB helper functions,
22 * If we ever want support for hardware doing SCCB natively, we will in sccb_is_available()
31 * regmap_sccb_read - Read data from SCCB slave device
67 * regmap_sccb_write - Write data to SCCB slave device
72 * This executes the SCCB 3-phase write transmission cycle, returning negative
128 MODULE_DESCRIPTION("Register map access API - SCCB support");
H A DMakefile20 obj-$(CONFIG_REGMAP_SCCB) += regmap-sccb.o
/linux/drivers/scsi/
H A DFlashPoint.c3 FlashPoint.c -- FlashPoint SCCB Manager for Linux
5 This file contains the FlashPoint SCCB Manager from BusLogic's FlashPoint
28 struct sccb;
29 typedef void (*CALL_BK_FN) (struct sccb *);
69 /* SCCB struct used for both SCCB and UCB manager compiles!
70 * The UCB Manager treats the SCCB as it's 'native hardware structure'
74 struct sccb { struct
108 struct sccb *Sccb_forwardlink; argument
109 struct sccb *Sccb_backlink; argument
153 #define SCCB_COMPLETE 0x00 /* SCCB completed without error */
[all …]
H A DBusLogic.h16 Finally, special thanks to Mylex/BusLogic for making the FlashPoint SCCB
655 only uses codes 0 - 4. The FlashPoint SCCB Manager has no mailboxes, so
758 Firmware Interface and the FlashPoint SCCB Manager.
781 FlashPoint SCCB Manager. The next 60 bytes are defined by the FlashPoint
782 SCCB Manager. The remaining components are defined by the Linux BusLogic
790 FlashPoint SCCB Manager; the FlashPoint SCCB Manager only supports 32 Logical
799 MultiMaster Firmware and FlashPoint SCCB Manager Common Portion.
824 FlashPoint SCCB Manager Defined Portion.
937 by the FlashPoint SCCB Manager.
1256 Define the version number of the FlashPoint Firmware (SCCB Manager).
/linux/arch/s390/kvm/
H A Dintercept.c515 * a: an sccb answering interrupt was already pending or in flight. in handle_pv_sclp()
516 * As the sccb value is not known we can simply set some value to in handle_pv_sclp()
517 * trigger delivery of a saved SCCB. UV will then use its saved in handle_pv_sclp()
518 * copy of the SCCB value. in handle_pv_sclp()
519 * b: an error SCCB interrupt needs to be injected so we also inject in handle_pv_sclp()
520 * a fake SCCB address. Firmware will use the proper one. in handle_pv_sclp()
521 * This makes sure, that both errors and real sccb returns will only in handle_pv_sclp()
/linux/Documentation/devicetree/bindings/media/i2c/
H A Dovti,ov8856.yaml17 Serial Camera Control Bus (SCCB) interface. This chip is programmable
18 through I2C and two-wire SCCB. The sensor output is available via CSI-2
H A Dovti,ov5675.yaml20 Serial Camera Control Bus (SCCB) interface.
22 This chip is programmable through I2C and two-wire SCCB. The sensor output
H A Dovti,ov5693.yaml17 Serial Camera Control Bus (SCCB) interface.
20 (SCCB). The sensor output is available via CSI-2 serial data output (up to
H A Dov2659.txt4 1632H x 1212V. It is programmable through a SCCB. The OV2659 sensor supports
H A Dovti,ov8858.yaml15 controlled through an I2C-compatible SCCB bus. The sensor transmits images
H A Dovti,og01a1b.yaml15 image sensor controlled over an I2C-compatible SCCB bus.
H A Dovti,ov2680.yaml16 various formats via the control of the Serial Camera Control Bus (SCCB)
/linux/arch/s390/include/uapi/asm/
H A Dsclp_ctl.h17 __u64 sccb; member

12