Home
last modified time | relevance | path

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

/drivers/s390/net/
Dqeth_core_main.c68 struct qeth_cmd_buffer *iob,
423 static void qeth_put_cmd(struct qeth_cmd_buffer *iob) in qeth_put_cmd() argument
425 if (refcount_dec_and_test(&iob->ref_count)) { in qeth_put_cmd()
426 kfree(iob->data); in qeth_put_cmd()
427 kfree(iob); in qeth_put_cmd()
441 struct qeth_cmd_buffer *iob = card->read_cmd; in __qeth_issue_next_read() local
442 struct qeth_channel *channel = iob->channel; in __qeth_issue_next_read()
443 struct ccw1 *ccw = __ccw_from_cmd(iob); in __qeth_issue_next_read()
450 memset(iob->data, 0, iob->length); in __qeth_issue_next_read()
451 qeth_setup_ccw(ccw, CCW_CMD_READ, 0, iob->length, iob->data); in __qeth_issue_next_read()
[all …]
Dqeth_l2_main.c78 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelmac() local
81 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelmac()
83 if (!iob) in qeth_l2_send_setdelmac()
85 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelmac()
88 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelmac_cb, NULL); in qeth_l2_send_setdelmac()
233 struct qeth_cmd_buffer *iob; in qeth_l2_send_setdelvlan() local
236 iob = qeth_ipa_alloc_cmd(card, ipacmd, QETH_PROT_IPV4, in qeth_l2_send_setdelvlan()
238 if (!iob) in qeth_l2_send_setdelvlan()
240 cmd = __ipa_cmd(iob); in qeth_l2_send_setdelvlan()
242 return qeth_send_ipa_cmd(card, iob, qeth_l2_send_setdelvlan_cb, NULL); in qeth_l2_send_setdelvlan()
[all …]
Dqeth_l3_main.c318 struct qeth_cmd_buffer *iob; in qeth_l3_send_setdelmc() local
323 iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto, in qeth_l3_send_setdelmc()
325 if (!iob) in qeth_l3_send_setdelmc()
327 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelmc()
336 return qeth_send_ipa_cmd(card, iob, qeth_l3_setdelip_cb, NULL); in qeth_l3_send_setdelmc()
369 struct qeth_cmd_buffer *iob; in qeth_l3_send_setdelip() local
375 iob = qeth_ipa_alloc_cmd(card, ipacmd, addr->proto, in qeth_l3_send_setdelip()
377 if (!iob) in qeth_l3_send_setdelip()
379 cmd = __ipa_cmd(iob); in qeth_l3_send_setdelip()
395 return qeth_send_ipa_cmd(card, iob, qeth_l3_setdelip_cb, NULL); in qeth_l3_send_setdelip()
[all …]
Dqeth_core.h625 void (*finalize)(struct qeth_card *card, struct qeth_cmd_buffer *iob);
626 bool (*match)(struct qeth_cmd_buffer *iob,
628 void (*callback)(struct qeth_card *card, struct qeth_cmd_buffer *iob,
633 static inline void qeth_get_cmd(struct qeth_cmd_buffer *iob) in qeth_get_cmd() argument
635 refcount_inc(&iob->ref_count); in qeth_get_cmd()
638 static inline struct qeth_ipa_cmd *__ipa_reply(struct qeth_cmd_buffer *iob) in __ipa_reply() argument
640 if (!IS_IPA(iob->data)) in __ipa_reply()
643 return (struct qeth_ipa_cmd *) PDU_ENCAPSULATION(iob->data); in __ipa_reply()
646 static inline struct qeth_ipa_cmd *__ipa_cmd(struct qeth_cmd_buffer *iob) in __ipa_cmd() argument
648 return (struct qeth_ipa_cmd *)(iob->data + IPA_PDU_HEADER_SIZE); in __ipa_cmd()
[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 …]
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 union register_pair rx = { .even = (unsigned long)iob, }; in __dia250()
86 : [cc] "+&d" (cc), [rx] "+&d" (rx.pair), "+m" (*(addr_type *)iob) in __dia250()
92 static inline int dia250(void *iob, int cmd) in dia250() argument
95 return __dia250(iob, cmd); in dia250()
180 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag()
181 private->iob.key = 0; in dasd_start_diag()
182 private->iob.flags = DASD_DIAG_RWFLAG_ASYNC; in dasd_start_diag()
183 private->iob.block_count = dreq->block_count; 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.c553 iob(); in dz_reset()
819 iob(); in dz_console_putchar()
831 iob(); in dz_console_putchar()
/drivers/staging/octeon/
Docteon-stubs.h1009 uint64_t iob:1; member
1042 uint64_t iob:1; member
1077 uint64_t iob:1; member
1111 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()
/drivers/nvme/host/
Dcore.c1921 u32 iob; in nvme_set_chunk_sectors() local
1925 iob = ctrl->max_hw_sectors; in nvme_set_chunk_sectors()
1927 iob = nvme_lba_to_sect(ns, le16_to_cpu(id->noiob)); in nvme_set_chunk_sectors()
1929 if (!iob) in nvme_set_chunk_sectors()
1932 if (!is_power_of_2(iob)) { in nvme_set_chunk_sectors()
1935 ns->disk->disk_name, iob); in nvme_set_chunk_sectors()
1946 blk_queue_chunk_sectors(ns->queue, iob); in nvme_set_chunk_sectors()