Home
last modified time | relevance | path

Searched refs:host_dev (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/ide/
Dide.c73 struct device *host_dev; in ide_device_get() local
79 host_dev = drive->hwif->host->dev[0]; in ide_device_get()
80 module = host_dev ? host_dev->driver->owner : NULL; in ide_device_get()
101 struct device *host_dev = drive->hwif->host->dev[0]; in ide_device_put() local
102 struct module *module = host_dev ? host_dev->driver->owner : NULL; in ide_device_put()
/linux-4.4.14/drivers/scsi/
Dstorvsc_drv.c927 struct hv_host_device *host_dev = shost_priv(scmnd->device->host); in storvsc_command_completion() local
932 struct hv_device *dev = host_dev->dev; in storvsc_command_completion()
1292 struct hv_host_device *host_dev = shost_priv(scmnd->device->host); in storvsc_host_reset_handler() local
1293 struct hv_device *device = host_dev->dev; in storvsc_host_reset_handler()
1376 struct hv_host_device *host_dev = shost_priv(host); in storvsc_queuecommand() local
1377 struct hv_device *dev = host_dev->dev; in storvsc_queuecommand()
1437 vm_srb->port_number = host_dev->port; in storvsc_queuecommand()
1544 struct hv_host_device *host_dev; in storvsc_probe() local
1582 host_dev = shost_priv(host); in storvsc_probe()
1583 memset(host_dev, 0, sizeof(struct hv_host_device)); in storvsc_probe()
[all …]
Dscsi_lib.c2082 struct device *host_dev; in scsi_calculate_bounce_limit() local
2094 host_dev = scsi_get_device(shost); in scsi_calculate_bounce_limit()
2095 if (host_dev && host_dev->dma_mask) in scsi_calculate_bounce_limit()
2096 bounce_limit = (u64)dma_max_pfn(host_dev) << PAGE_SHIFT; in scsi_calculate_bounce_limit()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6123_61_65.c32 static char *mv88e6123_61_65_probe(struct device *host_dev, int sw_addr) in mv88e6123_61_65_probe() argument
34 return mv88e6xxx_lookup_name(host_dev, sw_addr, mv88e6123_61_65_table, in mv88e6123_61_65_probe()
Dmv88e6171.c27 static char *mv88e6171_probe(struct device *host_dev, int sw_addr) in mv88e6171_probe() argument
29 return mv88e6xxx_lookup_name(host_dev, sw_addr, mv88e6171_table, in mv88e6171_probe()
Dmv88e6131.c28 static char *mv88e6131_probe(struct device *host_dev, int sw_addr) in mv88e6131_probe() argument
30 return mv88e6xxx_lookup_name(host_dev, sw_addr, mv88e6131_table, in mv88e6131_probe()
Dmv88e6060.c60 static char *mv88e6060_probe(struct device *host_dev, int sw_addr) in mv88e6060_probe() argument
62 struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev); in mv88e6060_probe()
Dmv88e6352.c39 static char *mv88e6352_probe(struct device *host_dev, int sw_addr) in mv88e6352_probe() argument
41 return mv88e6xxx_lookup_name(host_dev, sw_addr, mv88e6352_table, in mv88e6352_probe()
Dmv88e6xxx.h430 char *mv88e6xxx_lookup_name(struct device *host_dev, int sw_addr,
Dmv88e6xxx.c2596 char *mv88e6xxx_lookup_name(struct device *host_dev, int sw_addr, in mv88e6xxx_lookup_name() argument
2600 struct mii_bus *bus = dsa_host_dev_to_mii_bus(host_dev); in mv88e6xxx_lookup_name()
2618 dev_warn(host_dev, "unknown revision %d, using base switch 0x%x\n", in mv88e6xxx_lookup_name()
Dbcm_sf2.c138 static char *bcm_sf2_sw_probe(struct device *host_dev, int sw_addr) in bcm_sf2_sw_probe() argument
/linux-4.4.14/net/dsa/
Ddsa.c52 dsa_switch_probe(struct device *host_dev, int sw_addr, char **_name) in dsa_switch_probe() argument
67 name = drv->probe(host_dev, sw_addr); in dsa_switch_probe()
377 struct device *parent, struct device *host_dev) in dsa_switch_setup() argument
388 drv = dsa_switch_probe(host_dev, pd->sw_addr, &name); in dsa_switch_setup()
410 ds->master_dev = host_dev; in dsa_switch_setup()
674 if (pd->chip[i].host_dev) in dsa_of_free_platform_data()
675 put_device(pd->chip[i].host_dev); in dsa_of_free_platform_data()
741 cd->host_dev = get_device(&mdio_bus->dev); in dsa_of_probe()
766 put_device(cd->host_dev); in dsa_of_probe()
767 cd->host_dev = &mdio_bus_switch->dev; in dsa_of_probe()
[all …]
/linux-4.4.14/include/net/
Ddsa.h38 struct device *host_dev; member
214 char *(*probe)(struct device *host_dev, int sw_addr);
/linux-4.4.14/arch/arm/plat-orion/
Dcommon.c498 d->chip[i].host_dev = &orion_ge_mvmdio.dev; in orion_ge00_switch_init()