Home
last modified time | relevance | path

Searched refs:discipline (Results 1 – 23 of 23) sorted by relevance

/drivers/s390/block/
Ddasd.c191 if (device->discipline) { in dasd_state_known_to_new()
192 if (device->discipline->uncheck_device) in dasd_state_known_to_new()
193 device->discipline->uncheck_device(device); in dasd_state_known_to_new()
194 module_put(device->discipline->owner); in dasd_state_known_to_new()
196 device->discipline = NULL; in dasd_state_known_to_new()
281 if (block->base->discipline->do_analysis != NULL) in dasd_state_basic_to_ready()
282 rc = block->base->discipline->do_analysis(block); in dasd_state_basic_to_ready()
349 if (device->discipline->ready_to_online) { in dasd_state_ready_to_online()
350 rc = device->discipline->ready_to_online(device); in dasd_state_ready_to_online()
376 if (device->discipline->online_to_ready) { in dasd_state_online_to_ready()
[all …]
Ddasd_ioctl.c139 if (base->discipline->format_device == NULL) in dasd_format()
165 cqr = base->discipline->format_device(base, fdata); in dasd_format()
257 if (!base->discipline->fill_info) in dasd_ioctl_information()
264 rc = base->discipline->fill_info(base, dasd_info); in dasd_ioctl_information()
300 if (base->discipline) in dasd_ioctl_information()
301 memcpy(dasd_info->type, base->discipline->name, 4); in dasd_ioctl_information()
414 if (block->base->discipline->ioctl) { in dasd_ioctl()
415 int rval = block->base->discipline->ioctl(block, cmd, argp); in dasd_ioctl()
Ddasd_erp.c161 if (device->discipline && device->discipline->dump_sense) in dasd_log_sense()
162 device->discipline->dump_sense(device, cqr, irb); in dasd_log_sense()
Ddasd_proc.c72 if (device != NULL && device->discipline != NULL) in dasd_devices_show()
73 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show()
Ddasd_eer.c458 if (!device->discipline || strcmp(device->discipline->name, "ECKD")) in dasd_eer_enable()
Ddasd_devmap.c870 if (!IS_ERR(device) && device->discipline) { in dasd_discipline_show()
872 device->discipline->name); in dasd_discipline_show()
879 static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL);
Ddasd_diag.c251 if (strncmp(device->discipline->ebcname, (char *) &cqr->magic, 4)) { in dasd_ext_handler()
255 cqr->magic, *(int *) (&device->discipline->name)); in dasd_ext_handler()
Ddasd_int.h341 struct dasd_discipline *discipline; member
Ddasd_fba.c238 device->discipline->dump_sense(device, NULL, irb); in dasd_fba_handle_unsolicited_interrupt()
Ddasd_eckd.c1523 device->discipline->dump_sense(device, NULL, irb); in dasd_eckd_handle_unsolicited_interrupt()
/drivers/s390/char/
Dtape_char.c169 request = device->discipline->read_block(device, block_size); in tapechar_read()
228 request = device->discipline->write_block(device, block_size); in tapechar_write()
257 if (device->discipline->process_eov) in tapechar_write()
258 device->discipline->process_eov(device); in tapechar_write()
454 if (device->discipline->ioctl_fn == NULL) in tapechar_ioctl()
456 return device->discipline->ioctl_fn(device, no, data); in tapechar_ioctl()
465 if (device->discipline->ioctl_fn) { in tapechar_compat_ioctl()
467 rval = device->discipline->ioctl_fn(device, no, data); in tapechar_compat_ioctl()
Dtape_core.c319 struct tape_discipline *discipline) in tape_generic_online() argument
323 DBF_LH(6, "tape_enable_device(%p, %p)\n", device, discipline); in tape_generic_online()
334 device->discipline = discipline; in tape_generic_online()
335 if (!try_module_get(discipline->owner)) { in tape_generic_online()
340 rc = discipline->setup_device(device); in tape_generic_online()
363 device->discipline->cleanup_device(device); in tape_generic_online()
364 device->discipline = NULL; in tape_generic_online()
368 module_put(discipline->owner); in tape_generic_online()
377 device->discipline->cleanup_device(device); in tape_cleanup_device()
378 module_put(device->discipline->owner); in tape_cleanup_device()
[all …]
Dtape_block.c101 device->discipline->free_bread(ccw_req); in __tapeblock_end_request()
118 ccw_req = device->discipline->bread(device, req); in tapeblock_start_request()
135 device->discipline->free_bread(ccw_req); in tapeblock_start_request()
Dtape.h216 struct tape_discipline * discipline; member
/drivers/s390/net/
Dqeth_core_main.c1114 kthread_run(card->discipline.recover, (void *) card, in qeth_start_kernel_thread()
3748 init_data.input_handler = card->discipline.input_handler; in qeth_qdio_establish()
3749 init_data.output_handler = card->discipline.output_handler; in qeth_qdio_establish()
4100 enum qeth_discipline_id discipline) in qeth_core_load_discipline() argument
4103 switch (discipline) { in qeth_core_load_discipline()
4105 card->discipline.ccwgdriver = try_then_request_module( in qeth_core_load_discipline()
4110 card->discipline.ccwgdriver = try_then_request_module( in qeth_core_load_discipline()
4115 if (!card->discipline.ccwgdriver) { in qeth_core_load_discipline()
4117 "support discipline %d\n", discipline); in qeth_core_load_discipline()
4129 card->discipline.ccwgdriver = NULL; in qeth_core_free_discipline()
[all …]
Dqeth_core_sys.c400 if (card->discipline.ccwgdriver) { in qeth_dev_layer2_store()
401 card->discipline.ccwgdriver->remove(card->gdev); in qeth_dev_layer2_store()
410 rc = card->discipline.ccwgdriver->probe(card->gdev); in qeth_dev_layer2_store()
Dqeth_l2_main.c853 card->discipline.input_handler = (qdio_handler_t *) in qeth_l2_probe_device()
855 card->discipline.output_handler = (qdio_handler_t *) in qeth_l2_probe_device()
857 card->discipline.recover = qeth_l2_recover; in qeth_l2_probe_device()
Dqeth_core.h727 struct qeth_discipline discipline; member
Dqeth_l3_main.c3020 card->discipline.input_handler = (qdio_handler_t *) in qeth_l3_probe_device()
3022 card->discipline.output_handler = (qdio_handler_t *) in qeth_l3_probe_device()
3024 card->discipline.recover = qeth_l3_recover; in qeth_l3_probe_device()
/drivers/char/
DChangeLog351 Remove code which forced line discipline back to N_TTY
441 drained before closing the old line discipline --- needed
445 driver is closed; in general, the line discipline
447 transmitting before the line discipline terminates.
449 * tty_io.c (release_dev): Shutdown the line discipline after
456 bad has happened (probably a line discipline close blocked
462 * tty_io.c (release_dev): Try to shutdown the line discipline
465 discipline close blocks, and another process then tries
470 discipline close blocks waiting for the characters to get
496 tty->closing and rely on the line discipline to prevent
DKconfig286 tristate "HDLC line discipline support"
918 tristate "Siemens R3964 line discipline"
/drivers/input/serio/
DKconfig36 tristate "Serial port line discipline"
/drivers/net/irda/
DKconfig11 discipline. To compile it as a module, choose M here: the module