Home
last modified time | relevance | path

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

/drivers/s390/block/
Ddasd_ioctl.c204 if (base->discipline->format_device == NULL) in dasd_format()
228 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
230 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
242 if (!base->discipline->check_device_format) in dasd_check_format()
245 rc = base->discipline->check_device_format(base, cdata, 1); in dasd_check_format()
247 rc = base->discipline->check_device_format(base, cdata, 0); in dasd_check_format()
333 if (!device->discipline->is_ese && !device->discipline->is_ese(device)) in dasd_release_space()
335 if (!device->discipline->release_space) in dasd_release_space()
338 return device->discipline->release_space(device, rdata); in dasd_release_space()
422 if (!device->discipline->copy_pair_swap) { in dasd_ioctl_copy_pair_swap()
[all …]
Ddasd.c271 if (device->discipline->basic_to_known) { in dasd_state_basic_to_known()
272 rc = device->discipline->basic_to_known(device); in dasd_state_basic_to_known()
323 if (block->base->discipline->do_analysis != NULL) in dasd_state_basic_to_ready()
324 rc = block->base->discipline->do_analysis(block); in dasd_state_basic_to_ready()
335 if (device->discipline->setup_blk_queue) in dasd_state_basic_to_ready()
336 device->discipline->setup_blk_queue(block); in dasd_state_basic_to_ready()
349 if (device->discipline->basic_to_ready) in dasd_state_basic_to_ready()
350 rc = device->discipline->basic_to_ready(device); in dasd_state_basic_to_ready()
426 if (device->discipline->online_to_ready) { in dasd_state_online_to_ready()
427 rc = device->discipline->online_to_ready(device); in dasd_state_online_to_ready()
[all …]
Ddasd_devmap.c604 if (!device->discipline || !device->discipline->pprc_status) { in dasd_devmap_get_pprc_status()
613 if (device->discipline->pprc_status(device, temp)) { in dasd_devmap_get_pprc_status()
668 if (!device->discipline || !device->discipline->get_uid || in dasd_devmap_check_copy_relation()
669 device->discipline->get_uid(device, &uid)) in dasd_devmap_check_copy_relation()
1250 if (!device->discipline) in dasd_access_show()
1252 else if (!device->discipline->host_access_count) in dasd_access_show()
1255 count = device->discipline->host_access_count(device); in dasd_access_show()
1276 else if (!device->discipline) { in dasd_discipline_show()
1281 device->discipline->name); in dasd_discipline_show()
1290 static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL);
[all …]
Ddasd_erp.c182 if (device->discipline && device->discipline->dump_sense) in dasd_log_sense()
183 device->discipline->dump_sense(device, cqr, irb); in dasd_log_sense()
193 if (device->discipline && device->discipline->dump_sense_dbf) in dasd_log_sense_dbf()
194 device->discipline->dump_sense_dbf(device, irb, "log"); in dasd_log_sense_dbf()
Ddasd_proc.c54 if (device->discipline != NULL) in dasd_devices_show()
55 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show()
Ddasd_eer.c467 else if (!device->discipline || in dasd_eer_enable()
468 strcmp(device->discipline->name, "ECKD")) in dasd_eer_enable()
Ddasd_diag.c260 if (strncmp(device->discipline->ebcname, (char *) &cqr->magic, 4)) { in dasd_ext_handler()
264 cqr->magic, *(int *) (&device->discipline->name)); in dasd_ext_handler()
Ddasd_alias.c195 device->discipline->get_uid(device, &uid); in dasd_alias_make_device_known_to_lcu()
257 device->discipline->get_uid(device, &uid); in dasd_alias_disconnect_device_from_lcu()
Ddasd_int.h589 struct dasd_discipline *discipline; member
Ddasd_eckd.c6695 device->discipline->check_attention(device, lpum); in dasd_eckd_handle_cuir()
6762 device->discipline->check_attention(device, lpum); in dasd_eckd_handle_oos()
/drivers/s390/char/
Dtape_core.c374 struct tape_discipline *discipline) in tape_generic_online() argument
378 DBF_LH(6, "tape_enable_device(%p, %p)\n", device, discipline); in tape_generic_online()
388 device->discipline = discipline; in tape_generic_online()
389 if (!try_module_get(discipline->owner)) { in tape_generic_online()
393 rc = discipline->setup_device(device); in tape_generic_online()
413 device->discipline->cleanup_device(device); in tape_generic_online()
414 device->discipline = NULL; in tape_generic_online()
416 module_put(discipline->owner); in tape_generic_online()
424 device->discipline->cleanup_device(device); in tape_cleanup_device()
425 module_put(device->discipline->owner); in tape_cleanup_device()
[all …]
Dtape_char.c166 request = device->discipline->read_block(device, block_size); in tapechar_read()
219 request = device->discipline->write_block(device, block_size); in tapechar_write()
247 if (device->discipline->process_eov) in tapechar_write()
248 device->discipline->process_eov(device); in tapechar_write()
426 if (device->discipline->ioctl_fn == NULL) in __tapechar_ioctl()
428 return device->discipline->ioctl_fn(device, no, (unsigned long)data); in __tapechar_ioctl()
Dtape.h193 struct tape_discipline * discipline; member
/drivers/misc/ti-st/
DKconfig3 # TI's shared transport line discipline and the protocol
6 menu "Texas Instruments shared transport line discipline"
/drivers/pps/clients/
DKconfig18 tristate "PPS line discipline"
/drivers/net/mctp/
DKconfig12 serial line-discipline, as defined by DMTF specification "DSP0253 -
/drivers/tty/
DKconfig157 line discipline that is in a kernel module when a user asks
226 tristate "HDLC line discipline support"
286 tristate "GSM MUX line discipline support (EXPERIMENTAL)"
289 This line discipline provides support for the GSM MUX protocol and
/drivers/s390/net/
Dqeth_core_main.c850 if (card->discipline->control_event_handler(card, cmd)) in qeth_check_ipa_data()
5413 disc = card->discipline; in qeth_do_reset()
6130 enum qeth_discipline_id discipline) in qeth_setup_discipline() argument
6135 switch (discipline) { in qeth_setup_discipline()
6137 card->discipline = try_then_request_module( in qeth_setup_discipline()
6141 card->discipline = try_then_request_module( in qeth_setup_discipline()
6149 if (!card->discipline) { in qeth_setup_discipline()
6151 "support discipline %d\n", discipline); in qeth_setup_discipline()
6155 rc = card->discipline->setup(card->gdev); in qeth_setup_discipline()
6157 if (discipline == QETH_DISCIPLINE_LAYER2) in qeth_setup_discipline()
[all …]
Dqeth_core_sys.c379 if (card->discipline) { in qeth_dev_layer2_store()
Dqeth_core.h844 const struct qeth_discipline *discipline; member
Dqeth_l3_main.c1962 qeth_set_offline(card, card->discipline, false); in qeth_l3_remove_device()
Dqeth_l2_main.c2322 qeth_set_offline(card, card->discipline, false); in qeth_l2_remove_device()
/drivers/net/can/
DKconfig167 Userspace tools to attach the SLCAN line discipline (slcan_attach,
/drivers/input/serio/
DKconfig44 tristate "Serial port line discipline"