Home
last modified time | relevance | path

Searched refs:iob (Results 1 – 11 of 11) sorted by relevance

/drivers/s390/net/
Dqeth_core_main.c66 struct qeth_cmd_buffer *iob,
501 struct qeth_cmd_buffer *iob = card->read_cmd; in __qeth_issue_next_read() local
502 struct qeth_channel *channel = iob->channel; in __qeth_issue_next_read()
503 struct ccw1 *ccw = __ccw_from_cmd(iob); in __qeth_issue_next_read()
510 memset(iob->data, 0, iob->length); in __qeth_issue_next_read()
511 qeth_setup_ccw(ccw, CCW_CMD_READ, 0, iob->length, iob->data); in __qeth_issue_next_read()
512 iob->callback = qeth_issue_next_read_cb; in __qeth_issue_next_read()
514 qeth_get_cmd(iob); in __qeth_issue_next_read()
517 rc = ccw_device_start(channel->ccwdev, ccw, (addr_t) iob, 0, 0); in __qeth_issue_next_read()
519 channel->active_cmd = iob; in __qeth_issue_next_read()
[all …]
Dqeth_l2_main.c85 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelmac() local
88 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelmac()
90 if (!iob) in qeth_l2_send_setdelmac()
92 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelmac()
95 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelmac_cb, NULL); in qeth_l2_send_setdelmac()
240 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelvlan() local
243 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelvlan()
245 if (!iob) in qeth_l2_send_setdelvlan()
247 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelvlan()
249 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelvlan_cb, NULL); in qeth_l2_send_setdelvlan()
[all …]
Dqeth_l3_main.c374 struct qeth_cmd_buffer *iob; in qeth_l3_send_setdelmc() local
379 iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto, in qeth_l3_send_setdelmc()
381 if (!iob) in qeth_l3_send_setdelmc()
383 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelmc()
391 return qeth_send_ipa_cmd(card, iob, qeth_l3_setdelip_cb, NULL); in qeth_l3_send_setdelmc()
425 struct qeth_cmd_buffer *iob; in qeth_l3_send_setdelip() local
432 iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto, in qeth_l3_send_setdelip()
434 if (!iob) in qeth_l3_send_setdelip()
436 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelip()
454 return qeth_send_ipa_cmd(card, iob, qeth_l3_setdelip_cb, NULL); in qeth_l3_send_setdelip()
[all …]
Dlcs.c110 channel->iob[cnt].data = in lcs_alloc_channel()
112 if (channel->iob[cnt].data == NULL) in lcs_alloc_channel()
114 channel->iob[cnt].state = LCS_BUF_STATE_EMPTY; in lcs_alloc_channel()
120 kfree(channel->iob[cnt].data); in lcs_alloc_channel()
136 kfree(channel->iob[cnt].data); in lcs_free_channel()
137 channel->iob[cnt].data = NULL; in lcs_free_channel()
226 (__u32) __pa(card->read.iob[cnt].data); in lcs_setup_read_ccws()
228 card->read.iob[cnt].data)->offset = LCS_ILLEGAL_OFFSET; in lcs_setup_read_ccws()
229 card->read.iob[cnt].callback = lcs_get_frames_cb; in lcs_setup_read_ccws()
230 card->read.iob[cnt].state = LCS_BUF_STATE_READY; in lcs_setup_read_ccws()
[all …]
Dqeth_core.h644 void (*finalize)(struct qeth_card *card, struct qeth_cmd_buffer *iob);
645 void (*callback)(struct qeth_card *card, struct qeth_cmd_buffer *iob,
650 static inline void qeth_get_cmd(struct qeth_cmd_buffer *iob) in qeth_get_cmd() argument
652 refcount_inc(&iob->ref_count); in qeth_get_cmd()
655 static inline struct qeth_ipa_cmd *__ipa_cmd(struct qeth_cmd_buffer *iob) in __ipa_cmd() argument
657 return (struct qeth_ipa_cmd *)(iob->data + IPA_PDU_HEADER_SIZE); in __ipa_cmd()
660 static inline struct ccw1 *__ccw_from_cmd(struct qeth_cmd_buffer *iob) in __ccw_from_cmd() argument
662 return (struct ccw1 *)(iob->data + ALIGN(iob->length, 8)); in __ccw_from_cmd()
1051 void qeth_notify_cmd(struct qeth_cmd_buffer *iob, int reason);
1052 void qeth_put_cmd(struct qeth_cmd_buffer *iob);
[all …]
Dlcs.h294 struct lcs_buffer iob[LCS_NUM_BUFFS]; member
/drivers/s390/block/
Ddasd_diag.c53 struct dasd_diag_rw_io iob; member
70 static inline int __dia250(void *iob, int cmd) in __dia250() argument
72 register unsigned long reg2 asm ("2") = (unsigned long) iob; in __dia250()
87 : "+d" (rc), "=m" (*(addr_type *) iob) in __dia250()
88 : "d" (cmd), "d" (reg2), "m" (*(addr_type *) iob) in __dia250()
93 static inline int dia250(void *iob, int cmd) in dia250() argument
96 return __dia250(iob, cmd); in dia250()
181 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag()
182 private->iob.key = 0; in dasd_start_diag()
183 private->iob.flags = DASD_DIAG_RWFLAG_ASYNC; in dasd_start_diag()
[all …]
/drivers/cpufreq/
Ds3c24xx-cpufreq-debugfs.c101 union s3c_iobank *iob; in io_show() local
125 iob = &iot->bank[bank]; in io_show()
129 if (!iob->io_2410) { in io_show()
134 show_bank(seq, cfg, iob); in io_show()
/drivers/tty/serial/
Ddz.c557 iob(); in dz_reset()
822 iob(); in dz_console_putchar()
834 iob(); in dz_console_putchar()
/drivers/staging/octeon/
Docteon-stubs.h1007 uint64_t iob:1; member
1040 uint64_t iob:1; member
1075 uint64_t iob:1; member
1109 uint64_t iob:1; member
/drivers/net/ethernet/amd/
Ddeclance.c299 iob(); in writereg()
384 iob(); in cp_to_buf()
524 iob(); in lance_init_ring()