Searched refs:pardev (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/ata/pata_parport/ |
D | bpck6.c | 70 parport_write_data(pi->pardev->port, cmd); in bpck6_send_cmd() 71 parport_frob_control(pi->pardev->port, 0, PARPORT_CONTROL_AUTOFD); in bpck6_send_cmd() 76 pi->pardev->port->ops->epp_write_addr(pi->pardev->port, &cmd, 1, 0); in bpck6_send_cmd() 88 parport_frob_control(pi->pardev->port, PARPORT_CONTROL_STROBE, in bpck6_rd_data_byte() 90 data = parport_read_status(pi->pardev->port); in bpck6_rd_data_byte() 92 parport_frob_control(pi->pardev->port, PARPORT_CONTROL_STROBE, in bpck6_rd_data_byte() 94 data |= parport_read_status(pi->pardev->port) & 0xB8; in bpck6_rd_data_byte() 98 parport_data_reverse(pi->pardev->port); in bpck6_rd_data_byte() 99 parport_frob_control(pi->pardev->port, PARPORT_CONTROL_STROBE, in bpck6_rd_data_byte() 101 data = parport_read_data(pi->pardev->port); in bpck6_rd_data_byte() [all …]
|
D | pata_parport.c | 30 parport_claim_or_block(pi->pardev); in pi_connect() 37 parport_release(pi->pardev); in pi_disconnect() 347 parport_unregister_device(pi->pardev); in pi_release() 381 parport_claim_or_block(pi->pardev); in pi_test_proto() 386 parport_release(pi->pardev); in pi_test_proto() 432 parport_claim_or_block(pi->pardev); in pi_probe_unit() 434 parport_release(pi->pardev); in pi_probe_unit() 440 parport_claim_or_block(pi->pardev); in pi_probe_unit() 443 parport_release(pi->pardev); in pi_probe_unit() 447 parport_release(pi->pardev); in pi_probe_unit() [all …]
|
D | pata_parport.h | 24 struct pardevice *pardev; /* pointer to pardevice */ member
|
/Linux-v6.6/drivers/pps/clients/ |
D | pps_parport.c | 40 struct pardevice *pardev; /* parport device */ member 57 struct parport *port = dev->pardev->port; in parport_irq() 156 device->pardev = parport_register_dev_model(port, in parport_attach() 160 if (!device->pardev) { in parport_attach() 165 if (parport_claim_or_block(device->pardev) < 0) { in parport_attach() 187 parport_release(device->pardev); in parport_attach() 189 parport_unregister_device(device->pardev); in parport_attach() 197 struct pardevice *pardev = port->cad; in parport_detach() local 201 if (!pardev || strcmp(pardev->name, KBUILD_MODNAME)) in parport_detach() 205 device = pardev->private; in parport_detach() [all …]
|
/Linux-v6.6/drivers/pps/generators/ |
D | pps_gen_parport.c | 40 struct pardevice *pardev; /* parport device */ member 46 .pardev = NULL, 94 port = dev->pardev->port; in hrtimer_event() 143 struct parport *port = dev->pardev->port; in calibrate_port() 194 device.pardev = parport_register_dev_model(port, KBUILD_MODNAME, in parport_attach() 196 if (!device.pardev) { in parport_attach() 201 if (parport_claim_or_block(device.pardev) < 0) { in parport_attach() 218 parport_unregister_device(device.pardev); in parport_attach() 223 if (port->cad != device.pardev) in parport_detach() 227 parport_release(device.pardev); in parport_detach() [all …]
|
/Linux-v6.6/sound/drivers/ |
D | portman2x4.c | 71 struct pardevice *pardev; member 84 struct pardevice *pardev, in portman_create() argument 98 pm->pardev = pardev; in portman_create() 182 parport_write_control(pm->pardev->port, value); in portman_write_command() 187 return parport_read_status(pm->pardev->port); in portman_read_status() 192 parport_write_data(pm->pardev->port, value); in portman_write_data() 658 static int snd_portman_dev_probe(struct pardevice *pardev) in snd_portman_dev_probe() argument 660 if (strcmp(pardev->name, DRIVER_NAME)) in snd_portman_dev_probe() 680 struct pardevice *pardev = pm->pardev; in snd_portman_card_private_free() local 682 if (pardev) { in snd_portman_card_private_free() [all …]
|
D | mts64.c | 52 struct pardevice *pardev; member 70 struct pardevice *pardev, in snd_mts64_create() argument 84 mts->pardev = pardev; in snd_mts64_create() 226 struct parport *p = mts->pardev->port; in mts64_device_open() 240 struct parport *p = mts->pardev->port; in mts64_device_close() 412 struct parport *p = mts->pardev->port; in mts64_write_midi() 457 mts64_smpte_start(mts->pardev->port, in snd_mts64_ctl_smpte_switch_put() 462 mts64_smpte_stop(mts->pardev->port); in snd_mts64_ctl_smpte_switch_put() 822 ret = mts64_read(mts->pardev->port); in snd_mts64_interrupt() 872 static int snd_mts64_dev_probe(struct pardevice *pardev) in snd_mts64_dev_probe() argument [all …]
|
/Linux-v6.6/drivers/net/plip/ |
D | plip.c | 212 struct pardevice *pardev; member 230 ((struct net_local *)netdev_priv(dev))->pardev->port; in enable_parport_interrupts() 240 ((struct net_local *)netdev_priv(dev))->pardev->port; in disable_parport_interrupts() 248 ((struct net_local *)netdev_priv(dev))->pardev->port; in write_data() 256 ((struct net_local *)netdev_priv(dev))->pardev->port; in read_status() 887 parport_release(nl->pardev); in plip_connection_close() 980 if (parport_claim(nl->pardev)) in plip_tx_packet() 1074 if (parport_claim(nl->pardev)) return -EAGAIN; in plip_open() 1150 parport_release(nl->pardev); in plip_close() 1197 if (!parport_claim(nl->pardev)) in plip_wakeup() [all …]
|