HomeSort by: relevance | last modified time | path
    Searched refs:devhandle (Results 1 - 25 of 75) sorted by relevancy

1 2 3

  /src/sys/arch/sparc64/include/
hypervisor.h 130 int64_t hv_intr_devino_to_sysino(uint64_t devhandle, uint64_t devino,
148 int64_t hv_vintr_getcookie(uint64_t devhandle, uint64_t devino,
150 int64_t hv_vintr_setcookie(uint64_t devhandle, uint64_t devino,
152 int64_t hv_vintr_getenabled(uint64_t devhandle, uint64_t devino,
154 int64_t hv_vintr_setenabled(uint64_t devhandle, uint64_t devino,
156 int64_t hv_vintr_getstate(uint64_t devhandle, uint64_t devino,
158 int64_t hv_vintr_setstate(uint64_t devhandle, uint64_t devino,
160 int64_t hv_vintr_gettarget(uint64_t devhandle, uint64_t devino,
162 int64_t hv_vintr_settarget(uint64_t devhandle, uint64_t devino,
205 int64_t hv_pci_iommu_map(uint64_t devhandle, uint64_t tsbid
    [all...]
  /src/sys/dev/pci/
pci_calls.h 51 * pci-bus-get-child-devhandle
53 * Retrieve the devhandle for the PCI device represented by 'tag'
71 devhandle_t devhandle; /* OUT */ member in struct:pci_bus_get_child_devhandle_args
82 #define PCI_BUS_GET_CHILD_DEVHANDLE_STR "pci-bus-get-child-devhandle"
86 .binding.name = "pci-bus-get-child-devhandle", \
  /src/sys/arch/sparc64/sparc64/
intr.c 372 sun4v_intr_devino_to_sysino(uint64_t devhandle, uint64_t devino, uint64_t *ino)
375 return hv_intr_devino_to_sysino(devhandle, devino, ino);
382 sun4v_intr_setcookie(uint64_t devhandle, uint64_t ino, uint64_t cookie_value)
387 return hv_vintr_setcookie(devhandle, ino, cookie_value);
391 sun4v_intr_setenabled(uint64_t devhandle, uint64_t ino, uint64_t intr_enabled)
396 return hv_vintr_setenabled(devhandle, ino, intr_enabled);
400 sun4v_intr_setstate(uint64_t devhandle, uint64_t ino, uint64_t intr_state)
405 return hv_vintr_setstate(devhandle, ino, intr_state);
409 sun4v_intr_settarget(uint64_t devhandle, uint64_t ino, uint64_t cpuid)
414 return hv_vintr_settarget(devhandle, ino, cpuid)
    [all...]
autoconf.c 737 CFARGS(.devhandle = devhandle_from_of(selfh, ma.ma_node)));
821 CFARGS(.devhandle = prom_node_to_devhandle(selfh,
1104 devhandle_t devhandle; local in function:device_register
1111 devhandle = device_handle(dev);
1112 if (devhandle_type(devhandle) == DEVHANDLE_TYPE_OF) {
1113 ofnode = devhandle_to_of(devhandle);
1172 * controller's devhandle. Hoist it up one more so
1176 devhandle = device_handle(busdev);
1177 KASSERT(devhandle_type(devhandle) == DEVHANDLE_TYPE_OF);
1178 ofnode = devhandle_to_of(devhandle);
    [all...]
  /src/sys/arch/sparc64/dev/
cbus.c 126 CFARGS(.devhandle = devhandle_from_of(selfh, ca.ca_node)));
147 uint64_t devhandle = sc->sc_devhandle; local in function:cbus_intr_setstate
150 err = hv_vintr_setstate(devhandle, devino, state);
161 uint64_t devhandle = sc->sc_devhandle; local in function:cbus_intr_setenabled
164 err = hv_vintr_setenabled(devhandle, devino, enabled);
176 uint64_t devhandle = sc->sc_devhandle; local in function:cbus_intr_establish
195 err = hv_vintr_setenabled(devhandle, devino, INTR_DISABLED);
201 err = hv_vintr_setcookie(devhandle, devino, (vaddr_t)ih);
209 err = hv_vintr_settarget(devhandle, devino, cpus->ci_cpuid);
216 err = hv_vintr_setstate(devhandle, devino, INTR_IDLE)
231 uint64_t devhandle = sc->sc_devhandle; local in function:cbus_intr_ack
    [all...]
vbus.c 101 CFARGS(.devhandle = prom_node_to_devhandle(selfh,
146 uint64_t devhandle; local in function:vbus_intr_map
187 devhandle = reg[0] & 0x0fffffff;
189 err = hv_intr_devino_to_sysino(devhandle, devino, sysino);
ebus_mainbus.c 178 CFARGS(.devhandle = prom_node_to_devhandle(selfh,
284 u_int64_t devhandle, devino = INTINO(ihandle);
300 devhandle = (reg.ur_paddr >> 32) & 0x0fffffff;
302 err = hv_intr_devino_to_sysino(devhandle, devino, &sysino);
  /src/sys/dev/i2c/
i2cmuxvar.h 52 devhandle_t devhandle; member in struct:iicmux_bus
pcai2cmux.c 223 switch (devhandle_type(bus->devhandle)) {
225 error = fdtbus_get_reg(devhandle_to_of(bus->devhandle),
238 rv = acpi_eval_integer(devhandle_to_acpi(bus->devhandle),
352 devhandle_t devhandle = device_handle(self); local in function:pcaiicmux_attach
367 if (devhandle_type(devhandle) == DEVHANDLE_TYPE_OF) {
368 const int phandle = devhandle_to_of(devhandle);
i2cvar.h 151 * XXX is available in the device's devhandle. The remain for
181 iicbus_attach_with_devhandle(device_t dev, i2c_tag_t tag, devhandle_t devhandle)
188 .devhandle = devhandle));
i2cmux.c 176 bus->devhandle = bus_devhandle;
192 bus->devhandle);
294 * XXX way to enumerate children of an arbitrary devhandle.
i2c.c 425 devhandle_t devhandle = device_handle(sc->sc_dev); local in function:iic_attach_children_direct
439 switch (devhandle_type(devhandle)) {
485 if (prop_dictionary_get_data(dev, "devhandle",
541 .devhandle = child_devhandle));
565 devhandle_t devhandle = device_handle(self); local in function:iic_attach
578 switch (devhandle_type(devhandle)) {
  /src/sys/arch/macppc/macppc/
mainbus.c 92 CFARGS(.devhandle = devhandle_from_of(selfh,
112 CFARGS(.devhandle = devhandle_from_of(selfh, node)));
125 CFARGS(.devhandle = devhandle_from_of(selfh, node)));
  /src/usr.sbin/mmcformat/
uscsilib.h 81 void *devhandle; /* for if a fhandle is not enough */ member in struct:uscsi_dev
uscsi_subr.c 378 disc->devhandle = cam_open_device(disc->dev_name, O_RDWR);
380 if (disc->devhandle == NULL) {
395 if (disc->devhandle != NULL) {
396 cam_close_device(disc->devhandle);
397 disc->devhandle = NULL;
421 cam_dev = (struct cam_device *) disc->devhandle;
495 cam_dev = (struct cam_device *) disc->devhandle;
  /src/sys/arch/shark/ofw/
ofisascr.c 108 CFARGS(.devhandle = device_handle(dev)));
  /src/sys/dev/ofw/
ofw_pci_subr.c 80 args->devhandle = devhandle_from_of(call_handle, phandle);
ofbus.c 186 CFARGS(.devhandle = devhandle_from_of(selfh,
217 CFARGS(.devhandle = devhandle_from_of(selfh,
ofw_subr.c 541 devhandle_t devhandle; local in function:of_device_from_phandle
548 devhandle = device_handle(dev);
549 if (devhandle_type(devhandle) == DEVHANDLE_TYPE_OF) {
550 if (devhandle_to_of(devhandle) == phandle) {
  /src/sys/dev/spi/
mcp23xxxgpio_spi.c 210 devhandle_t devhandle = device_handle(sc->sc_dev); local in function:mcpgpio_spi_present_mask_fdt
211 int phandle = devhandle_to_of(devhandle);
238 devhandle_t devhandle = device_handle(self); local in function:mcpgpio_spi_attach
284 switch (devhandle_type(devhandle)) {
mcp3k.c 261 devhandle_t devhandle = device_handle(sc->sc_dev); local in function:mcp3kadc_vref_fdt
262 int phandle = devhandle_to_of(devhandle);
305 devhandle_t devhandle = device_handle(self); local in function:mcp3kadc_attach
330 switch (devhandle_type(devhandle)) {
spivar.h 164 .devhandle = device_handle(dev)));
  /src/sys/dev/sbus/
xbox.c 152 CFARGS(.devhandle = device_handle(self)));
lebuffer.c 128 CFARGS(.devhandle = prom_node_to_devhandle(selfh, node)));
  /src/sys/sys/
device.h 160 struct devhandle { struct
174 typedef struct devhandle devhandle_t;
475 devhandle_t devhandle; /* devhandle_t (by value) */ member in struct:cfargs
488 * .devhandle = my_devhandle)

Completed in 79 milliseconds

1 2 3