controller 1721 arch/ia64/hp/common/sba_iommu.c struct pci_controller *controller = NULL; controller 1732 arch/ia64/hp/common/sba_iommu.c controller = kzalloc(sizeof(*controller), GFP_KERNEL); controller 1733 arch/ia64/hp/common/sba_iommu.c if (!controller) controller 1736 arch/ia64/hp/common/sba_iommu.c controller->iommu = ioc; controller 1737 arch/ia64/hp/common/sba_iommu.c sac->sysdata = controller; controller 120 arch/ia64/pci/pci.c struct pci_controller controller; controller 303 arch/ia64/pci/pci.c info->controller.segment = root->segment; controller 304 arch/ia64/pci/pci.c info->controller.companion = device; controller 305 arch/ia64/pci/pci.c info->controller.node = acpi_get_node(device->handle); controller 308 arch/ia64/pci/pci.c &info->common, &info->controller); controller 320 arch/ia64/pci/pci.c struct pci_controller *controller = bridge->bus->sysdata; controller 321 arch/ia64/pci/pci.c ACPI_COMPANION_SET(&bridge->dev, controller->companion); controller 80 arch/mips/pci/pci-malta.c struct pci_controller *controller; controller 146 arch/mips/pci/pci-malta.c controller = >64120_controller; controller 178 arch/mips/pci/pci-malta.c controller = &bonito64_controller; controller 226 arch/mips/pci/pci-malta.c controller = &msc_controller; controller 233 arch/mips/pci/pci-malta.c if (controller->io_resource->start < 0x00001000UL) controller 234 arch/mips/pci/pci-malta.c controller->io_resource->start = 0x00001000UL; controller 237 arch/mips/pci/pci-malta.c ioport_resource.end = controller->io_resource->end; controller 239 arch/mips/pci/pci-malta.c controller->io_map_base = mips_io_port_base; controller 241 arch/mips/pci/pci-malta.c register_pci_controller(controller); controller 138 arch/powerpc/include/asm/eeh.h struct pci_controller *controller; controller 157 arch/powerpc/include/asm/eeh.h (edev)->controller->global_number, PCI_BUSNO((edev)->bdfn), \ controller 51 arch/powerpc/kernel/eeh_dev.c edev->controller = pdn->phb; controller 77 arch/powerpc/platforms/powermac/low_i2c.c struct device_node *controller; controller 565 arch/powerpc/platforms/powermac/low_i2c.c struct device_node *controller, controller 575 arch/powerpc/platforms/powermac/low_i2c.c bus->controller = of_node_get(controller); controller 586 arch/powerpc/platforms/powermac/low_i2c.c if (controller == busnode) controller 591 arch/powerpc/platforms/powermac/low_i2c.c (controller == busnode) ? "<multibus>" : busnode->full_name); controller 806 arch/powerpc/platforms/powermac/low_i2c.c bus->controller = busnode; controller 896 arch/powerpc/platforms/powermac/low_i2c.c struct device_node *controller, *busnode; controller 904 arch/powerpc/platforms/powermac/low_i2c.c controller = of_find_node_by_name(NULL, "smu-i2c-control"); controller 905 arch/powerpc/platforms/powermac/low_i2c.c if (controller == NULL) controller 906 arch/powerpc/platforms/powermac/low_i2c.c controller = of_find_node_by_name(NULL, "smu"); controller 907 arch/powerpc/platforms/powermac/low_i2c.c if (controller == NULL) controller 910 arch/powerpc/platforms/powermac/low_i2c.c printk(KERN_INFO "SMU i2c %pOF\n", controller); controller 916 arch/powerpc/platforms/powermac/low_i2c.c for_each_child_of_node(controller, busnode) { controller 929 arch/powerpc/platforms/powermac/low_i2c.c bus->controller = controller; controller 999 arch/powerpc/platforms/powermac/low_i2c.c return bus->controller; controller 1060 arch/powerpc/platforms/powermac/low_i2c.c if (np == bus->controller) { controller 1076 arch/powerpc/platforms/powermac/low_i2c.c if (np == bus->controller) { controller 164 arch/sparc/kernel/chmc.c struct jbusmc *controller; controller 312 arch/sparc/kernel/chmc.c p = dp->controller; controller 374 arch/sparc/kernel/chmc.c dp->controller = p; controller 89 drivers/ata/pata_legacy.c enum controller type; controller 98 drivers/ata/pata_legacy.c enum controller type; controller 160 drivers/ata/pata_legacy.c enum controller type, unsigned long private) controller 934 drivers/ata/pata_legacy.c struct legacy_controller *controller = &controllers[probe->type]; controller 935 drivers/ata/pata_legacy.c int pio_modes = controller->pio_mask; controller 938 drivers/ata/pata_legacy.c struct ata_port_operations *ops = controller->ops; controller 948 drivers/ata/pata_legacy.c iordy |= controller->flags; controller 966 drivers/ata/pata_legacy.c if (controller->setup) controller 967 drivers/ata/pata_legacy.c if (controller->setup(pdev, probe, ld) < 0) controller 977 drivers/ata/pata_legacy.c ap->pflags |= controller->pflags; controller 1310 drivers/bus/mvebu-mbus.c struct device_node *np, *controller; controller 1329 drivers/bus/mvebu-mbus.c controller = of_find_node_by_phandle(be32_to_cpup(prop)); controller 1330 drivers/bus/mvebu-mbus.c if (!controller) { controller 1335 drivers/bus/mvebu-mbus.c if (of_address_to_resource(controller, 0, &mbuswins_res)) { controller 1340 drivers/bus/mvebu-mbus.c if (of_address_to_resource(controller, 1, &sdramwins_res)) { controller 1354 drivers/bus/mvebu-mbus.c if (of_address_to_resource(controller, 2, &mbusbridge_res)) controller 295 drivers/char/agp/frontend.c struct agp_controller *controller; controller 297 drivers/char/agp/frontend.c controller = agp_fe.controllers; controller 299 drivers/char/agp/frontend.c while (controller != NULL) { controller 300 drivers/char/agp/frontend.c if (controller->pid == id) controller 301 drivers/char/agp/frontend.c return controller; controller 302 drivers/char/agp/frontend.c controller = controller->next; controller 310 drivers/char/agp/frontend.c struct agp_controller *controller; controller 312 drivers/char/agp/frontend.c controller = kzalloc(sizeof(struct agp_controller), GFP_KERNEL); controller 313 drivers/char/agp/frontend.c if (controller == NULL) controller 316 drivers/char/agp/frontend.c controller->pid = id; controller 317 drivers/char/agp/frontend.c return controller; controller 320 drivers/char/agp/frontend.c static int agp_insert_controller(struct agp_controller *controller) controller 325 drivers/char/agp/frontend.c controller->next = prev_controller; controller 328 drivers/char/agp/frontend.c prev_controller->prev = controller; controller 330 drivers/char/agp/frontend.c agp_fe.controllers = controller; controller 335 drivers/char/agp/frontend.c static void agp_remove_all_clients(struct agp_controller *controller) controller 340 drivers/char/agp/frontend.c client = controller->clients; controller 358 drivers/char/agp/frontend.c static void agp_remove_all_memory(struct agp_controller *controller) controller 363 drivers/char/agp/frontend.c memory = controller->pool; controller 372 drivers/char/agp/frontend.c static int agp_remove_controller(struct agp_controller *controller) controller 377 drivers/char/agp/frontend.c prev_controller = controller->prev; controller 378 drivers/char/agp/frontend.c next_controller = controller->next; controller 392 drivers/char/agp/frontend.c agp_remove_all_memory(controller); controller 393 drivers/char/agp/frontend.c agp_remove_all_clients(controller); controller 395 drivers/char/agp/frontend.c if (agp_fe.current_controller == controller) { controller 400 drivers/char/agp/frontend.c kfree(controller); controller 404 drivers/char/agp/frontend.c static void agp_controller_make_current(struct agp_controller *controller) controller 408 drivers/char/agp/frontend.c clients = controller->clients; controller 422 drivers/char/agp/frontend.c agp_fe.current_controller = controller; controller 425 drivers/char/agp/frontend.c static void agp_controller_release_current(struct agp_controller *controller, controller 431 drivers/char/agp/frontend.c clients = controller->clients; controller 455 drivers/char/agp/frontend.c *agp_find_client_in_controller(struct agp_controller *controller, pid_t id) controller 459 drivers/char/agp/frontend.c if (controller == NULL) controller 462 drivers/char/agp/frontend.c client = controller->clients; controller 475 drivers/char/agp/frontend.c struct agp_controller *controller; controller 477 drivers/char/agp/frontend.c controller = agp_fe.controllers; controller 479 drivers/char/agp/frontend.c while (controller != NULL) { controller 480 drivers/char/agp/frontend.c if ((agp_find_client_in_controller(controller, id)) != NULL) controller 481 drivers/char/agp/frontend.c return controller; controller 482 drivers/char/agp/frontend.c controller = controller->next; controller 531 drivers/char/agp/frontend.c struct agp_controller *controller; controller 533 drivers/char/agp/frontend.c controller = agp_find_controller_for_client(id); controller 534 drivers/char/agp/frontend.c if (controller == NULL) controller 537 drivers/char/agp/frontend.c client = agp_find_client_in_controller(controller, id); controller 552 drivers/char/agp/frontend.c controller->clients = next_client; controller 555 drivers/char/agp/frontend.c controller->num_clients--; controller 652 drivers/char/agp/frontend.c struct agp_controller *controller; controller 654 drivers/char/agp/frontend.c controller = agp_find_controller_by_pid(priv->my_pid); controller 656 drivers/char/agp/frontend.c if (controller != NULL) { controller 657 drivers/char/agp/frontend.c if (controller == agp_fe.current_controller) controller 658 drivers/char/agp/frontend.c agp_controller_release_current(controller, priv); controller 659 drivers/char/agp/frontend.c agp_remove_controller(controller); controller 660 drivers/char/agp/frontend.c controller = NULL; controller 739 drivers/char/agp/frontend.c struct agp_controller *controller; controller 759 drivers/char/agp/frontend.c controller = agp_find_controller_by_pid(priv->my_pid); controller 761 drivers/char/agp/frontend.c if (controller != NULL) { controller 762 drivers/char/agp/frontend.c agp_controller_make_current(controller); controller 764 drivers/char/agp/frontend.c controller = agp_create_controller(priv->my_pid); controller 766 drivers/char/agp/frontend.c if (controller == NULL) { controller 771 drivers/char/agp/frontend.c agp_insert_controller(controller); controller 772 drivers/char/agp/frontend.c agp_controller_make_current(controller); controller 729 drivers/firmware/stratix10-svc.c struct stratix10_svc_controller *controller; controller 738 drivers/firmware/stratix10-svc.c controller = list_first_entry(&svc_ctrl, controller 741 drivers/firmware/stratix10-svc.c if (!strcmp(controller->chans[i].name, name)) { controller 742 drivers/firmware/stratix10-svc.c chan = &controller->chans[i]; controller 753 drivers/firmware/stratix10-svc.c if (chan->scl || !try_module_get(controller->dev->driver->owner)) { controller 959 drivers/firmware/stratix10-svc.c struct stratix10_svc_controller *controller; controller 988 drivers/firmware/stratix10-svc.c controller = devm_kzalloc(dev, sizeof(*controller), GFP_KERNEL); controller 989 drivers/firmware/stratix10-svc.c if (!controller) controller 997 drivers/firmware/stratix10-svc.c controller->dev = dev; controller 998 drivers/firmware/stratix10-svc.c controller->num_chans = SVC_NUM_CHANNEL; controller 999 drivers/firmware/stratix10-svc.c controller->num_active_client = 0; controller 1000 drivers/firmware/stratix10-svc.c controller->chans = chans; controller 1001 drivers/firmware/stratix10-svc.c controller->genpool = genpool; controller 1002 drivers/firmware/stratix10-svc.c controller->task = NULL; controller 1003 drivers/firmware/stratix10-svc.c controller->invoke_fn = invoke_fn; controller 1004 drivers/firmware/stratix10-svc.c init_completion(&controller->complete_status); controller 1007 drivers/firmware/stratix10-svc.c ret = kfifo_alloc(&controller->svc_fifo, fifo_size, GFP_KERNEL); controller 1012 drivers/firmware/stratix10-svc.c spin_lock_init(&controller->svc_fifo_lock); controller 1015 drivers/firmware/stratix10-svc.c chans[0].ctrl = controller; controller 1020 drivers/firmware/stratix10-svc.c chans[1].ctrl = controller; controller 1024 drivers/firmware/stratix10-svc.c list_add_tail(&controller->node, &svc_ctrl); controller 1025 drivers/firmware/stratix10-svc.c platform_set_drvdata(pdev, controller); controller 529 drivers/gpio/gpio-tegra186.c #define TEGRA186_MAIN_GPIO_PORT(port, base, count, controller) \ controller 534 drivers/gpio/gpio-tegra186.c .irq = controller, \ controller 569 drivers/gpio/gpio-tegra186.c #define TEGRA186_AON_GPIO_PORT(port, base, count, controller) \ controller 574 drivers/gpio/gpio-tegra186.c .irq = controller, \ controller 594 drivers/gpio/gpio-tegra186.c #define TEGRA194_MAIN_GPIO_PORT(port, base, count, controller) \ controller 599 drivers/gpio/gpio-tegra186.c .irq = controller, \ controller 639 drivers/gpio/gpio-tegra186.c #define TEGRA194_AON_GPIO_PORT(port, base, count, controller) \ controller 644 drivers/gpio/gpio-tegra186.c .irq = controller, \ controller 77 drivers/gpio/gpio-zevio.c struct zevio_gpio *controller = gpiochip_get_data(chip); controller 80 drivers/gpio/gpio-zevio.c spin_lock(&controller->lock); controller 81 drivers/gpio/gpio-zevio.c dir = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_DIRECTION); controller 83 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_INPUT); controller 85 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); controller 86 drivers/gpio/gpio-zevio.c spin_unlock(&controller->lock); controller 93 drivers/gpio/gpio-zevio.c struct zevio_gpio *controller = gpiochip_get_data(chip); controller 96 drivers/gpio/gpio-zevio.c spin_lock(&controller->lock); controller 97 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); controller 103 drivers/gpio/gpio-zevio.c zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_OUTPUT, val); controller 104 drivers/gpio/gpio-zevio.c spin_unlock(&controller->lock); controller 109 drivers/gpio/gpio-zevio.c struct zevio_gpio *controller = gpiochip_get_data(chip); controller 112 drivers/gpio/gpio-zevio.c spin_lock(&controller->lock); controller 114 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_DIRECTION); controller 116 drivers/gpio/gpio-zevio.c zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_DIRECTION, val); controller 118 drivers/gpio/gpio-zevio.c spin_unlock(&controller->lock); controller 126 drivers/gpio/gpio-zevio.c struct zevio_gpio *controller = gpiochip_get_data(chip); controller 129 drivers/gpio/gpio-zevio.c spin_lock(&controller->lock); controller 130 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_OUTPUT); controller 136 drivers/gpio/gpio-zevio.c zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_OUTPUT, val); controller 137 drivers/gpio/gpio-zevio.c val = zevio_gpio_port_get(controller, pin, ZEVIO_GPIO_DIRECTION); controller 139 drivers/gpio/gpio-zevio.c zevio_gpio_port_set(controller, pin, ZEVIO_GPIO_DIRECTION, val); controller 141 drivers/gpio/gpio-zevio.c spin_unlock(&controller->lock); controller 171 drivers/gpio/gpio-zevio.c struct zevio_gpio *controller; controller 174 drivers/gpio/gpio-zevio.c controller = devm_kzalloc(&pdev->dev, sizeof(*controller), GFP_KERNEL); controller 175 drivers/gpio/gpio-zevio.c if (!controller) controller 178 drivers/gpio/gpio-zevio.c platform_set_drvdata(pdev, controller); controller 181 drivers/gpio/gpio-zevio.c controller->chip.gc = zevio_gpio_chip; controller 182 drivers/gpio/gpio-zevio.c controller->chip.gc.parent = &pdev->dev; controller 185 drivers/gpio/gpio-zevio.c &(controller->chip), controller 186 drivers/gpio/gpio-zevio.c controller); controller 192 drivers/gpio/gpio-zevio.c spin_lock_init(&controller->lock); controller 195 drivers/gpio/gpio-zevio.c for (i = 0; i < controller->chip.gc.ngpio; i += 8) controller 196 drivers/gpio/gpio-zevio.c zevio_gpio_port_set(controller, i, ZEVIO_GPIO_INT_MASK, 0xFF); controller 198 drivers/gpio/gpio-zevio.c dev_dbg(controller->chip.gc.parent, "ZEVIO GPIO controller set up!\n"); controller 210 drivers/gpio/gpiolib-acpi.c const char *controller, *pin_str; controller 214 drivers/gpio/gpiolib-acpi.c controller = ignore_wake; controller 215 drivers/gpio/gpiolib-acpi.c while (controller) { controller 216 drivers/gpio/gpiolib-acpi.c pin_str = strchr(controller, '@'); controller 220 drivers/gpio/gpiolib-acpi.c len = pin_str - controller; controller 222 drivers/gpio/gpiolib-acpi.c strncmp(controller, controller_in, len) == 0) { controller 231 drivers/gpio/gpiolib-acpi.c controller = strchr(controller, ','); controller 232 drivers/gpio/gpiolib-acpi.c if (controller) controller 233 drivers/gpio/gpiolib-acpi.c controller++; controller 766 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c ATOM_PPLIB_THERMALCONTROLLER *controller; controller 776 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c controller = &power_table->sThermalController; controller 779 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (controller->ucType > 0) { controller 780 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (controller->ucFanParameters & ATOM_PP_FANPARAMETERS_NOFAN) controller 783 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c controller->ucFanParameters & ATOM_PP_FANPARAMETERS_TACHOMETER_PULSES_PER_REVOLUTION_MASK; controller 785 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.fan_min_rpm = controller->ucFanMinRPM; controller 786 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.fan_max_rpm = controller->ucFanMaxRPM; controller 788 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) { controller 790 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 793 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV770) { controller 795 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 798 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_EVERGREEN) { controller 800 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 803 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SUMO) { controller 805 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 808 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_NISLANDS) { controller 810 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 813 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SISLANDS) { controller 815 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 818 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_CISLANDS) { controller 820 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 823 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_KAVERI) { controller 825 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 828 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_EXTERNAL_GPIO) { controller 830 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 833 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == controller 836 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 839 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType == controller 842 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 845 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c } else if (controller->ucType < ARRAY_SIZE(pp_lib_thermal_controller_names)) { controller 847 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c pp_lib_thermal_controller_names[controller->ucType], controller 848 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c controller->ucI2cAddress >> 1, controller 849 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 852 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c i2c_bus = amdgpu_atombios_lookup_i2c_gpio(adev, controller->ucI2cLine); controller 856 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c const char *name = pp_lib_thermal_controller_names[controller->ucType]; controller 857 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c info.addr = controller->ucI2cAddress >> 1; controller 863 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c controller->ucType, controller 864 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c controller->ucI2cAddress >> 1, controller 865 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c (controller->ucFanParameters & controller 336 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.backlight.controller = method->controller; controller 348 drivers/gpu/drm/i915/display/intel_bios.c dev_priv->vbt.backlight.controller); controller 214 drivers/gpu/drm/i915/display/intel_display_types.h u8 controller; /* bxt+ only */ controller 879 drivers/gpu/drm/i915/display/intel_dp.c int backlight_controller = dev_priv->vbt.backlight.controller; controller 591 drivers/gpu/drm/i915/display/intel_panel.c return I915_READ(BXT_BLC_PWM_DUTY(panel->backlight.controller)); controller 667 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_DUTY(panel->backlight.controller), level); controller 808 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 809 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 812 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.controller == 1) { controller 828 drivers/gpu/drm/i915/display/intel_panel.c tmp = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 829 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 1084 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.controller == 1) { controller 1099 drivers/gpu/drm/i915/display/intel_panel.c pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1103 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 1107 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller), controller 1116 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl); controller 1117 drivers/gpu/drm/i915/display/intel_panel.c POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1118 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 1130 drivers/gpu/drm/i915/display/intel_panel.c pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1134 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 1138 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_FREQ(panel->backlight.controller), controller 1147 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), pwm_ctl); controller 1148 drivers/gpu/drm/i915/display/intel_panel.c POSTING_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1149 drivers/gpu/drm/i915/display/intel_panel.c I915_WRITE(BXT_BLC_PWM_CTL(panel->backlight.controller), controller 1768 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.controller = dev_priv->vbt.backlight.controller; controller 1770 drivers/gpu/drm/i915/display/intel_panel.c pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1773 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.controller == 1) { controller 1781 drivers/gpu/drm/i915/display/intel_panel.c I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller)); controller 1813 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.controller = 0; controller 1815 drivers/gpu/drm/i915/display/intel_panel.c pwm_ctl = I915_READ(BXT_BLC_PWM_CTL(panel->backlight.controller)); controller 1819 drivers/gpu/drm/i915/display/intel_panel.c I915_READ(BXT_BLC_PWM_FREQ(panel->backlight.controller)); controller 781 drivers/gpu/drm/i915/display/intel_vbt_defs.h u8 controller:4; controller 795 drivers/gpu/drm/i915/i915_drv.h u8 controller; /* brightness controller number */ controller 4908 drivers/gpu/drm/i915/i915_reg.h #define BXT_BLC_PWM_CTL(controller) _MMIO_PIPE(controller, \ controller 4910 drivers/gpu/drm/i915/i915_reg.h #define BXT_BLC_PWM_FREQ(controller) _MMIO_PIPE(controller, \ controller 4912 drivers/gpu/drm/i915/i915_reg.h #define BXT_BLC_PWM_DUTY(controller) _MMIO_PIPE(controller, \ controller 2278 drivers/gpu/drm/radeon/radeon_atombios.c ATOM_PPLIB_THERMALCONTROLLER *controller) controller 2283 drivers/gpu/drm/radeon/radeon_atombios.c if (controller->ucType > 0) { controller 2284 drivers/gpu/drm/radeon/radeon_atombios.c if (controller->ucFanParameters & ATOM_PP_FANPARAMETERS_NOFAN) controller 2287 drivers/gpu/drm/radeon/radeon_atombios.c controller->ucFanParameters & ATOM_PP_FANPARAMETERS_TACHOMETER_PULSES_PER_REVOLUTION_MASK; controller 2289 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.fan_min_rpm = controller->ucFanMinRPM; controller 2290 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.fan_max_rpm = controller->ucFanMaxRPM; controller 2292 drivers/gpu/drm/radeon/radeon_atombios.c if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV6xx) { controller 2294 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2297 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_RV770) { controller 2299 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2302 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_EVERGREEN) { controller 2304 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2307 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SUMO) { controller 2309 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2312 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_NISLANDS) { controller 2314 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2317 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_SISLANDS) { controller 2319 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2322 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_CISLANDS) { controller 2324 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2327 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == ATOM_PP_THERMALCONTROLLER_KAVERI) { controller 2329 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2332 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == controller 2335 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2338 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == controller 2341 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2344 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType == controller 2347 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2350 drivers/gpu/drm/radeon/radeon_atombios.c } else if (controller->ucType < ARRAY_SIZE(pp_lib_thermal_controller_names)) { controller 2352 drivers/gpu/drm/radeon/radeon_atombios.c pp_lib_thermal_controller_names[controller->ucType], controller 2353 drivers/gpu/drm/radeon/radeon_atombios.c controller->ucI2cAddress >> 1, controller 2354 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 2357 drivers/gpu/drm/radeon/radeon_atombios.c i2c_bus = radeon_lookup_i2c_gpio(rdev, controller->ucI2cLine); controller 2361 drivers/gpu/drm/radeon/radeon_atombios.c const char *name = pp_lib_thermal_controller_names[controller->ucType]; controller 2362 drivers/gpu/drm/radeon/radeon_atombios.c info.addr = controller->ucI2cAddress >> 1; controller 2368 drivers/gpu/drm/radeon/radeon_atombios.c controller->ucType, controller 2369 drivers/gpu/drm/radeon/radeon_atombios.c controller->ucI2cAddress >> 1, controller 2370 drivers/gpu/drm/radeon/radeon_atombios.c (controller->ucFanParameters & controller 235 drivers/i2c/busses/i2c-designware-core.h struct dw_pci_controller *controller; controller 210 drivers/i2c/busses/i2c-designware-pcidrv.c return dev->controller->clk_khz; controller 219 drivers/i2c/busses/i2c-designware-pcidrv.c struct dw_pci_controller *controller; controller 228 drivers/i2c/busses/i2c-designware-pcidrv.c controller = &dw_pci_controllers[id->driver_data]; controller 254 drivers/i2c/busses/i2c-designware-pcidrv.c dev->controller = controller; controller 259 drivers/i2c/busses/i2c-designware-pcidrv.c dev->flags |= controller->flags; controller 261 drivers/i2c/busses/i2c-designware-pcidrv.c if (controller->setup) { controller 262 drivers/i2c/busses/i2c-designware-pcidrv.c r = controller->setup(pdev, controller); controller 269 drivers/i2c/busses/i2c-designware-pcidrv.c dev->functionality = controller->functionality | controller 272 drivers/i2c/busses/i2c-designware-pcidrv.c dev->master_cfg = controller->bus_cfg; controller 273 drivers/i2c/busses/i2c-designware-pcidrv.c if (controller->scl_sda_cfg) { controller 274 drivers/i2c/busses/i2c-designware-pcidrv.c cfg = controller->scl_sda_cfg; controller 284 drivers/i2c/busses/i2c-designware-pcidrv.c dev->tx_fifo_depth = controller->tx_fifo_depth; controller 285 drivers/i2c/busses/i2c-designware-pcidrv.c dev->rx_fifo_depth = controller->rx_fifo_depth; controller 291 drivers/i2c/busses/i2c-designware-pcidrv.c adap->nr = controller->bus_num; controller 63 drivers/ide/cs5520.c int controller = drive->dn > 1 ? 1 : 0; controller 67 drivers/ide/cs5520.c pci_write_config_byte(pdev, 0x62 + controller, controller 75 drivers/ide/cs5520.c pci_write_config_byte(pdev, 0x64 + 4*controller + (drive->dn&1), controller 79 drivers/ide/cs5520.c pci_write_config_byte(pdev, 0x66 + 4*controller + (drive->dn&1), controller 139 drivers/irqchip/exynos-combiner.c struct device_node *controller, controller 144 drivers/irqchip/exynos-combiner.c if (irq_domain_get_of_node(d) != controller) controller 326 drivers/irqchip/irq-hip04.c struct device_node *controller, controller 333 drivers/irqchip/irq-hip04.c if (irq_domain_get_of_node(d) != controller) controller 53 drivers/isdn/capi/kcapi.c u32 controller; controller 276 drivers/isdn/capi/kcapi.c (void *)(long)event->controller); controller 284 drivers/isdn/capi/kcapi.c static int notify_push(unsigned int event_type, u32 controller) controller 293 drivers/isdn/capi/kcapi.c event->controller = controller; controller 38 drivers/mailbox/armada-37xx-rwtm-mailbox.c struct mbox_controller controller; controller 177 drivers/mailbox/armada-37xx-rwtm-mailbox.c mbox->controller.dev = mbox->dev; controller 178 drivers/mailbox/armada-37xx-rwtm-mailbox.c mbox->controller.num_chans = 1; controller 179 drivers/mailbox/armada-37xx-rwtm-mailbox.c mbox->controller.chans = chans; controller 180 drivers/mailbox/armada-37xx-rwtm-mailbox.c mbox->controller.ops = &a37xx_mbox_ops; controller 181 drivers/mailbox/armada-37xx-rwtm-mailbox.c mbox->controller.txdone_irq = true; controller 183 drivers/mailbox/armada-37xx-rwtm-mailbox.c ret = devm_mbox_controller_register(mbox->dev, &mbox->controller); controller 299 drivers/mailbox/bcm-flexrm-mailbox.c struct mbox_controller controller; controller 1091 drivers/mailbox/bcm-flexrm-mailbox.c struct mbox_chan *chan = &ring->mbox->controller.chans[ring->num]; controller 1634 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.txdone_irq = false; controller 1635 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.txdone_poll = false; controller 1636 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.ops = &flexrm_mbox_chan_ops; controller 1637 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.dev = dev; controller 1638 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.num_chans = mbox->num_rings; controller 1639 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.of_xlate = flexrm_mbox_of_xlate; controller 1640 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.chans = devm_kcalloc(dev, mbox->num_rings, controller 1641 drivers/mailbox/bcm-flexrm-mailbox.c sizeof(*mbox->controller.chans), GFP_KERNEL); controller 1642 drivers/mailbox/bcm-flexrm-mailbox.c if (!mbox->controller.chans) { controller 1647 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.chans[index].con_priv = &mbox->rings[index]; controller 1650 drivers/mailbox/bcm-flexrm-mailbox.c ret = devm_mbox_controller_register(dev, &mbox->controller); controller 1655 drivers/mailbox/bcm-flexrm-mailbox.c mbox->controller.num_chans); controller 58 drivers/mailbox/bcm2835-mailbox.c struct mbox_controller controller; controller 63 drivers/mailbox/bcm2835-mailbox.c return container_of(link->mbox, struct bcm2835_mbox, controller); controller 69 drivers/mailbox/bcm2835-mailbox.c struct device *dev = mbox->controller.dev; controller 70 drivers/mailbox/bcm2835-mailbox.c struct mbox_chan *link = &mbox->controller.chans[0]; controller 87 drivers/mailbox/bcm2835-mailbox.c dev_dbg(mbox->controller.dev, "Request 0x%08X\n", msg); controller 164 drivers/mailbox/bcm2835-mailbox.c mbox->controller.txdone_poll = true; controller 165 drivers/mailbox/bcm2835-mailbox.c mbox->controller.txpoll_period = 5; controller 166 drivers/mailbox/bcm2835-mailbox.c mbox->controller.ops = &bcm2835_mbox_chan_ops; controller 167 drivers/mailbox/bcm2835-mailbox.c mbox->controller.of_xlate = &bcm2835_mbox_index_xlate; controller 168 drivers/mailbox/bcm2835-mailbox.c mbox->controller.dev = dev; controller 169 drivers/mailbox/bcm2835-mailbox.c mbox->controller.num_chans = 1; controller 170 drivers/mailbox/bcm2835-mailbox.c mbox->controller.chans = devm_kzalloc(dev, controller 171 drivers/mailbox/bcm2835-mailbox.c sizeof(*mbox->controller.chans), GFP_KERNEL); controller 172 drivers/mailbox/bcm2835-mailbox.c if (!mbox->controller.chans) controller 175 drivers/mailbox/bcm2835-mailbox.c ret = devm_mbox_controller_register(dev, &mbox->controller); controller 78 drivers/mailbox/hi3660-mailbox.c struct mbox_controller controller; controller 83 drivers/mailbox/hi3660-mailbox.c return container_of(mbox, struct hi3660_mbox, controller); controller 212 drivers/mailbox/hi3660-mailbox.c static struct mbox_chan *hi3660_mbox_xlate(struct mbox_controller *controller, controller 215 drivers/mailbox/hi3660-mailbox.c struct hi3660_mbox *mbox = to_hi3660_mbox(controller); controller 257 drivers/mailbox/hi3660-mailbox.c mbox->controller.dev = dev; controller 258 drivers/mailbox/hi3660-mailbox.c mbox->controller.chans = mbox->chan; controller 259 drivers/mailbox/hi3660-mailbox.c mbox->controller.num_chans = MBOX_CHAN_MAX; controller 260 drivers/mailbox/hi3660-mailbox.c mbox->controller.ops = &hi3660_mbox_ops; controller 261 drivers/mailbox/hi3660-mailbox.c mbox->controller.of_xlate = hi3660_mbox_xlate; controller 268 drivers/mailbox/hi3660-mailbox.c err = devm_mbox_controller_register(dev, &mbox->controller); controller 86 drivers/mailbox/hi6220-mailbox.c struct mbox_controller controller; controller 222 drivers/mailbox/hi6220-mailbox.c static struct mbox_chan *hi6220_mbox_xlate(struct mbox_controller *controller, controller 225 drivers/mailbox/hi6220-mailbox.c struct hi6220_mbox *mbox = dev_get_drvdata(controller->dev); controller 312 drivers/mailbox/hi6220-mailbox.c mbox->controller.dev = dev; controller 313 drivers/mailbox/hi6220-mailbox.c mbox->controller.chans = &mbox->chan[0]; controller 314 drivers/mailbox/hi6220-mailbox.c mbox->controller.num_chans = mbox->chan_num; controller 315 drivers/mailbox/hi6220-mailbox.c mbox->controller.ops = &hi6220_mbox_ops; controller 316 drivers/mailbox/hi6220-mailbox.c mbox->controller.of_xlate = hi6220_mbox_xlate; controller 337 drivers/mailbox/hi6220-mailbox.c mbox->controller.txdone_irq = true; controller 339 drivers/mailbox/hi6220-mailbox.c mbox->controller.txdone_poll = true; controller 340 drivers/mailbox/hi6220-mailbox.c mbox->controller.txpoll_period = 5; controller 343 drivers/mailbox/hi6220-mailbox.c err = devm_mbox_controller_register(dev, &mbox->controller); controller 45 drivers/mailbox/mailbox-altera.c struct mbox_controller controller; controller 319 drivers/mailbox/mailbox-altera.c mbox->controller.dev = mbox->dev; controller 320 drivers/mailbox/mailbox-altera.c mbox->controller.num_chans = 1; controller 321 drivers/mailbox/mailbox-altera.c mbox->controller.chans = chans; controller 322 drivers/mailbox/mailbox-altera.c mbox->controller.ops = &altera_mbox_ops; controller 326 drivers/mailbox/mailbox-altera.c mbox->controller.txdone_irq = true; controller 328 drivers/mailbox/mailbox-altera.c mbox->controller.txdone_poll = true; controller 329 drivers/mailbox/mailbox-altera.c mbox->controller.txpoll_period = MBOX_POLLING_MS; controller 333 drivers/mailbox/mailbox-altera.c ret = devm_mbox_controller_register(&pdev->dev, &mbox->controller); controller 85 drivers/mailbox/omap-mailbox.c struct mbox_controller controller; controller 491 drivers/mailbox/omap-mailbox.c ret = devm_mbox_controller_register(mdev->dev, &mdev->controller); controller 672 drivers/mailbox/omap-mailbox.c static struct mbox_chan *omap_mbox_of_xlate(struct mbox_controller *controller, controller 680 drivers/mailbox/omap-mailbox.c mdev = container_of(controller, struct omap_mbox_device, controller); controller 844 drivers/mailbox/omap-mailbox.c mdev->controller.txdone_irq = true; controller 845 drivers/mailbox/omap-mailbox.c mdev->controller.dev = mdev->dev; controller 846 drivers/mailbox/omap-mailbox.c mdev->controller.ops = &omap_mbox_chan_ops; controller 847 drivers/mailbox/omap-mailbox.c mdev->controller.chans = chnls; controller 848 drivers/mailbox/omap-mailbox.c mdev->controller.num_chans = info_count; controller 849 drivers/mailbox/omap-mailbox.c mdev->controller.of_xlate = omap_mbox_of_xlate; controller 49 drivers/mailbox/stm32-ipcc.c struct mbox_controller controller; controller 85 drivers/mailbox/stm32-ipcc.c struct device *dev = ipcc->controller.dev; controller 104 drivers/mailbox/stm32-ipcc.c mbox_chan_received_data(&ipcc->controller.chans[chan], NULL); controller 118 drivers/mailbox/stm32-ipcc.c struct device *dev = ipcc->controller.dev; controller 138 drivers/mailbox/stm32-ipcc.c mbox_chan_txdone(&ipcc->controller.chans[chan], 0); controller 150 drivers/mailbox/stm32-ipcc.c controller); controller 152 drivers/mailbox/stm32-ipcc.c dev_dbg(ipcc->controller.dev, "%s: chan:%d\n", __func__, chan); controller 169 drivers/mailbox/stm32-ipcc.c controller); controller 174 drivers/mailbox/stm32-ipcc.c dev_err(ipcc->controller.dev, "can not enable the clock\n"); controller 189 drivers/mailbox/stm32-ipcc.c controller); controller 305 drivers/mailbox/stm32-ipcc.c ipcc->controller.dev = dev; controller 306 drivers/mailbox/stm32-ipcc.c ipcc->controller.txdone_irq = true; controller 307 drivers/mailbox/stm32-ipcc.c ipcc->controller.ops = &stm32_ipcc_ops; controller 308 drivers/mailbox/stm32-ipcc.c ipcc->controller.num_chans = ipcc->n_chans; controller 309 drivers/mailbox/stm32-ipcc.c ipcc->controller.chans = devm_kcalloc(dev, ipcc->controller.num_chans, controller 310 drivers/mailbox/stm32-ipcc.c sizeof(*ipcc->controller.chans), controller 312 drivers/mailbox/stm32-ipcc.c if (!ipcc->controller.chans) { controller 317 drivers/mailbox/stm32-ipcc.c for (i = 0; i < ipcc->controller.num_chans; i++) controller 318 drivers/mailbox/stm32-ipcc.c ipcc->controller.chans[i].con_priv = (void *)i; controller 320 drivers/mailbox/stm32-ipcc.c ret = devm_mbox_controller_register(dev, &ipcc->controller); controller 331 drivers/mailbox/stm32-ipcc.c ipcc->controller.num_chans, ipcc->proc_id); controller 798 drivers/media/common/siano/smscoreapi.c msg->msg_data[0] = coredev->ir.controller; controller 50 drivers/media/common/siano/smsir.c coredev->ir.controller = 0; /* Todo: vega/nova SPI number */ controller 53 drivers/media/common/siano/smsir.c coredev->ir.controller, coredev->ir.timeout); controller 30 drivers/media/common/siano/smsir.h u32 controller; controller 310 drivers/mtd/nand/raw/ams-delta.c this->controller = &priv->base; controller 439 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 463 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 511 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 524 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 605 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 631 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 653 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 676 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 696 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 723 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 753 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 788 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 912 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 984 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(chip->controller); controller 1051 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 1119 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(chip->controller); controller 1178 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(nand->base.controller); controller 1409 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(nand->base.controller); controller 1434 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_hsmc_nand_controller(nand->base.controller); controller 1461 drivers/mtd/nand/raw/atmel/nand-controller.c nc = to_nand_controller(nand->base.controller); controller 1477 drivers/mtd/nand/raw/atmel/nand-controller.c nand->base.controller = &nc->base; controller 1513 drivers/mtd/nand/raw/atmel/nand-controller.c smc_nc = to_smc_nand_controller(chip->controller); controller 1918 drivers/mtd/nand/raw/atmel/nand-controller.c struct atmel_nand_controller *nc = to_nand_controller(chip->controller); controller 160 drivers/mtd/nand/raw/brcmnand/brcmnand.c struct nand_controller controller; controller 2412 drivers/mtd/nand/raw/brcmnand/brcmnand.c chip->controller = &ctrl->controller; controller 2564 drivers/mtd/nand/raw/brcmnand/brcmnand.c nand_controller_init(&ctrl->controller); controller 2565 drivers/mtd/nand/raw/brcmnand/brcmnand.c ctrl->controller.ops = &brcmnand_controller_ops; controller 51 drivers/mtd/nand/raw/denali.c return container_of(chip->controller, struct denali_controller, controller 52 drivers/mtd/nand/raw/denali.c controller); controller 1165 drivers/mtd/nand/raw/denali.c chip->controller = &denali->controller; controller 1254 drivers/mtd/nand/raw/denali.c nand_controller_init(&denali->controller); controller 1255 drivers/mtd/nand/raw/denali.c denali->controller.ops = &denali_controller_ops; controller 362 drivers/mtd/nand/raw/denali.h struct nand_controller controller; controller 21 drivers/mtd/nand/raw/denali_dt.c struct denali_controller controller; controller 159 drivers/mtd/nand/raw/denali_dt.c denali = &dt->controller; controller 250 drivers/mtd/nand/raw/denali_dt.c denali_remove(&dt->controller); controller 51 drivers/mtd/nand/raw/fsl_elbc_nand.c struct nand_controller controller; controller 717 drivers/mtd/nand/raw/fsl_elbc_nand.c chip->controller = &elbc_fcm_ctrl->controller; controller 901 drivers/mtd/nand/raw/fsl_elbc_nand.c nand_controller_init(&elbc_fcm_ctrl->controller); controller 932 drivers/mtd/nand/raw/fsl_elbc_nand.c priv->chip.controller->ops = &fsl_elbc_controller_ops; controller 42 drivers/mtd/nand/raw/fsl_ifc_nand.c struct nand_controller controller; controller 877 drivers/mtd/nand/raw/fsl_ifc_nand.c chip->controller = &ifc_nand_ctrl->controller; controller 1027 drivers/mtd/nand/raw/fsl_ifc_nand.c nand_controller_init(&ifc_nand_ctrl->controller); controller 1069 drivers/mtd/nand/raw/fsl_ifc_nand.c priv->chip.controller->ops = &fsl_ifc_controller_ops; controller 1093 drivers/mtd/nand/raw/fsmc_nand.c nand->controller = &host->base; controller 2587 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c chip->controller = &this->base; controller 49 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct nand_controller controller; controller 72 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c return container_of(ctrl, struct ingenic_nfc, controller); controller 148 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); controller 164 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); controller 201 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); controller 222 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct ingenic_nfc *nfc = to_ingenic_nfc(nand->chip.controller); controller 235 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c struct ingenic_nfc *nfc = to_ingenic_nfc(chip->controller); controller 369 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c chip->controller = &nfc->controller; controller 372 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c chip->controller->ops = &ingenic_nand_controller_ops; controller 461 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c nand_controller_init(&nfc->controller); controller 101 drivers/mtd/nand/raw/internals.h if (!chip->controller || !chip->controller->ops || controller 102 drivers/mtd/nand/raw/internals.h !chip->controller->ops->exec_op) controller 117 drivers/mtd/nand/raw/internals.h return chip->controller->ops->exec_op(chip, op, false); controller 122 drivers/mtd/nand/raw/internals.h if (!chip->controller || !chip->controller->ops || controller 123 drivers/mtd/nand/raw/internals.h !chip->controller->ops->setup_data_interface) controller 391 drivers/mtd/nand/raw/marvell_nand.c struct nand_controller controller; controller 410 drivers/mtd/nand/raw/marvell_nand.c return container_of(ctrl, struct marvell_nfc, controller); controller 530 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 554 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 592 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 626 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 652 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 690 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 722 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 773 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 790 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 945 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 988 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1100 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1244 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1507 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1640 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1729 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1811 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 1883 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2108 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2173 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2247 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2313 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2411 drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc *nfc = to_marvell_nfc(chip->controller); controller 2630 drivers/mtd/nand/raw/marvell_nand.c chip->controller = &nfc->controller; controller 2855 drivers/mtd/nand/raw/marvell_nand.c nand_controller_init(&nfc->controller); controller 2856 drivers/mtd/nand/raw/marvell_nand.c nfc->controller.ops = &marvell_nand_controller_ops; controller 151 drivers/mtd/nand/raw/meson_nand.c struct nand_controller controller; controller 1264 drivers/mtd/nand/raw/meson_nand.c nand->controller = &nfc->controller; controller 1265 drivers/mtd/nand/raw/meson_nand.c nand->controller->ops = &meson_nand_controller_ops; controller 1382 drivers/mtd/nand/raw/meson_nand.c nand_controller_init(&nfc->controller); controller 144 drivers/mtd/nand/raw/mtk_nand.c struct nand_controller controller; controller 1378 drivers/mtd/nand/raw/mtk_nand.c nand->controller = &nfc->controller; controller 1502 drivers/mtd/nand/raw/mtk_nand.c nand_controller_init(&nfc->controller); controller 1504 drivers/mtd/nand/raw/mtk_nand.c nfc->controller.ops = &mtk_nfc_controller_ops; controller 179 drivers/mtd/nand/raw/mxic_nand.c struct nand_controller controller; controller 522 drivers/mtd/nand/raw/mxic_nand.c nfc->controller.ops = &mxic_nand_controller_ops; controller 523 drivers/mtd/nand/raw/mxic_nand.c nand_controller_init(&nfc->controller); controller 524 drivers/mtd/nand/raw/mxic_nand.c nand_chip->controller = &nfc->controller; controller 277 drivers/mtd/nand/raw/nand_base.c mutex_unlock(&chip->controller->lock); controller 369 drivers/mtd/nand/raw/nand_base.c mutex_lock(&chip->controller->lock); controller 822 drivers/mtd/nand/raw/nand_base.c ret = chip->controller->ops->setup_data_interface(chip, chipnr, controller 864 drivers/mtd/nand/raw/nand_base.c ret = chip->controller->ops->setup_data_interface(chip, chipnr, controller 946 drivers/mtd/nand/raw/nand_base.c ret = chip->controller->ops->setup_data_interface(chip, controller 4367 drivers/mtd/nand/raw/nand_base.c if (!chip->controller) { controller 4368 drivers/mtd/nand/raw/nand_base.c chip->controller = &chip->legacy.dummy_controller; controller 4369 drivers/mtd/nand/raw/nand_base.c nand_controller_init(chip->controller); controller 5847 drivers/mtd/nand/raw/nand_base.c if (chip->controller->ops && chip->controller->ops->attach_chip) controller 5848 drivers/mtd/nand/raw/nand_base.c return chip->controller->ops->attach_chip(chip); controller 5855 drivers/mtd/nand/raw/nand_base.c if (chip->controller->ops && chip->controller->ops->detach_chip) controller 5856 drivers/mtd/nand/raw/nand_base.c chip->controller->ops->detach_chip(chip); controller 2299 drivers/mtd/nand/raw/nandsim.c chip->controller = &ns->base; controller 146 drivers/mtd/nand/raw/ndfc.c chip->controller = &ndfc->ndfc_control; controller 2227 drivers/mtd/nand/raw/omap2.c nand_chip->controller = &omap_gpmc_controller; controller 122 drivers/mtd/nand/raw/oxnas_nand.c chip->controller = &oxnas->base; controller 360 drivers/mtd/nand/raw/qcom_nandc.c struct nand_controller controller; controller 568 drivers/mtd/nand/raw/qcom_nandc.c return container_of(chip->controller, struct qcom_nand_controller, controller 569 drivers/mtd/nand/raw/qcom_nandc.c controller); controller 2719 drivers/mtd/nand/raw/qcom_nandc.c nand_controller_init(&nandc->controller); controller 2720 drivers/mtd/nand/raw/qcom_nandc.c nandc->controller.ops = &qcom_nandc_ops; controller 2815 drivers/mtd/nand/raw/qcom_nandc.c chip->controller = &nandc->controller; controller 152 drivers/mtd/nand/raw/s3c2410.c struct nand_controller controller; controller 860 drivers/mtd/nand/raw/s3c2410.c chip->controller = &info->controller; controller 1100 drivers/mtd/nand/raw/s3c2410.c nand_controller_init(&info->controller); controller 1101 drivers/mtd/nand/raw/s3c2410.c info->controller.ops = &s3c24xx_nand_controller_ops; controller 287 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 319 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 347 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 503 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 539 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 621 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 706 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 795 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 896 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1092 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1150 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1243 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1290 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1336 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1363 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1459 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1643 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1739 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_nfc *fmc2 = to_stm32_nfc(chip->controller); controller 1961 drivers/mtd/nand/raw/stm32_fmc2_nand.c chip->controller = &fmc2->base; controller 238 drivers/mtd/nand/raw/sunxi_nand.c struct nand_controller controller; controller 254 drivers/mtd/nand/raw/sunxi_nand.c return container_of(ctrl, struct sunxi_nfc, controller); controller 409 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); controller 439 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); controller 477 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); controller 615 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 630 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 641 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 679 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 697 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 719 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 733 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 763 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 803 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 908 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 1032 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 1276 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 1383 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(sunxi_nand->nand.controller); controller 1610 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 1774 drivers/mtd/nand/raw/sunxi_nand.c struct sunxi_nfc *nfc = to_sunxi_nfc(nand->controller); controller 1986 drivers/mtd/nand/raw/sunxi_nand.c nand->controller = &nfc->controller; controller 1987 drivers/mtd/nand/raw/sunxi_nand.c nand->controller->ops = &sunxi_nand_controller_ops; controller 2065 drivers/mtd/nand/raw/sunxi_nand.c nand_controller_init(&nfc->controller); controller 129 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 157 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 206 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 279 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 302 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 483 drivers/mtd/nand/raw/tango_nand.c struct tango_nfc *nfc = to_tango_nfc(chip->controller); controller 574 drivers/mtd/nand/raw/tango_nand.c chip->controller = &nfc->hw; controller 167 drivers/mtd/nand/raw/tegra_nand.c struct nand_controller controller; controller 192 drivers/mtd/nand/raw/tegra_nand.c return container_of(hw_ctrl, struct tegra_nand_controller, controller); controller 352 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 461 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 495 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 654 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 764 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 817 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 908 drivers/mtd/nand/raw/tegra_nand.c struct tegra_nand_controller *ctrl = to_tegra_ctrl(chip->controller); controller 1104 drivers/mtd/nand/raw/tegra_nand.c chip->controller = &ctrl->controller; controller 1148 drivers/mtd/nand/raw/tegra_nand.c nand_controller_init(&ctrl->controller); controller 1149 drivers/mtd/nand/raw/tegra_nand.c ctrl->controller.ops = &tegra_nand_controller_ops; controller 73 drivers/mtd/nand/raw/txx9ndfmc.c struct nand_controller controller; controller 303 drivers/mtd/nand/raw/txx9ndfmc.c nand_controller_init(&drvdata->controller); controller 304 drivers/mtd/nand/raw/txx9ndfmc.c drvdata->controller.ops = &txx9ndfmc_controller_ops; controller 335 drivers/mtd/nand/raw/txx9ndfmc.c chip->controller = &drvdata->controller; controller 893 drivers/mtd/nand/raw/vf610_nfc.c chip->controller = &nfc->base; controller 94 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller; controller 197 drivers/mtd/spi-nor/aspeed-smc.c #define SEGMENT_ADDR_REG(controller, cs) \ controller 198 drivers/mtd/spi-nor/aspeed-smc.c ((controller)->regs + SEGMENT_ADDR_REG0 + (cs) * 4) controller 258 drivers/mtd/spi-nor/aspeed-smc.c return BIT(chip->controller->info->we0 + chip->cs); controller 263 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 266 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(controller->regs + CONFIG_REG); controller 271 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, "config write is not set ! @%p: 0x%08x\n", controller 272 drivers/mtd/spi-nor/aspeed-smc.c controller->regs + CONFIG_REG, reg); controller 274 drivers/mtd/spi-nor/aspeed-smc.c writel(reg, controller->regs + CONFIG_REG); controller 312 drivers/mtd/spi-nor/aspeed-smc.c mutex_lock(&chip->controller->mutex); controller 320 drivers/mtd/spi-nor/aspeed-smc.c mutex_unlock(&chip->controller->mutex); controller 401 drivers/mtd/spi-nor/aspeed-smc.c static int aspeed_smc_unregister(struct aspeed_smc_controller *controller) controller 406 drivers/mtd/spi-nor/aspeed-smc.c for (n = 0; n < controller->info->nce; n++) { controller 407 drivers/mtd/spi-nor/aspeed-smc.c chip = controller->chips[n]; controller 439 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 443 drivers/mtd/spi-nor/aspeed-smc.c if (controller->info->nce > 1) { controller 444 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(SEGMENT_ADDR_REG(controller, chip->cs)); controller 452 drivers/mtd/spi-nor/aspeed-smc.c return controller->ahb_base + offset; controller 455 drivers/mtd/spi-nor/aspeed-smc.c static u32 aspeed_smc_ahb_base_phy(struct aspeed_smc_controller *controller) controller 457 drivers/mtd/spi-nor/aspeed-smc.c u32 seg0_val = readl(SEGMENT_ADDR_REG(controller, 0)); controller 465 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 469 drivers/mtd/spi-nor/aspeed-smc.c ahb_base_phy = aspeed_smc_ahb_base_phy(controller); controller 471 drivers/mtd/spi-nor/aspeed-smc.c seg_reg = SEGMENT_ADDR_REG(controller, cs); controller 486 drivers/mtd/spi-nor/aspeed-smc.c if (start + size > ahb_base_phy + controller->ahb_window_size) { controller 487 drivers/mtd/spi-nor/aspeed-smc.c size = ahb_base_phy + controller->ahb_window_size - start; controller 525 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 533 drivers/mtd/spi-nor/aspeed-smc.c if (size > controller->info->maxsize) controller 534 drivers/mtd/spi-nor/aspeed-smc.c size = controller->info->maxsize; controller 541 drivers/mtd/spi-nor/aspeed-smc.c if (controller->info == &spi_2400_info) controller 550 drivers/mtd/spi-nor/aspeed-smc.c if (chip->cs == 0 && controller->info == &spi_2500_info && controller 558 drivers/mtd/spi-nor/aspeed-smc.c ahb_base_phy = aspeed_smc_ahb_base_phy(controller); controller 566 drivers/mtd/spi-nor/aspeed-smc.c u32 prev = readl(SEGMENT_ADDR_REG(controller, chip->cs - 1)); controller 576 drivers/mtd/spi-nor/aspeed-smc.c chip->ahb_base = controller->ahb_base + (start - ahb_base_phy); controller 583 drivers/mtd/spi-nor/aspeed-smc.c if (chip->cs < controller->info->nce - 1) controller 597 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 600 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(controller->regs + CONFIG_REG); controller 603 drivers/mtd/spi-nor/aspeed-smc.c writel(reg, controller->regs + CONFIG_REG); controller 608 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 613 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(controller->regs + CONFIG_REG); controller 616 drivers/mtd/spi-nor/aspeed-smc.c writel(reg, controller->regs + CONFIG_REG); controller 626 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 629 drivers/mtd/spi-nor/aspeed-smc.c reg = readl(controller->regs + CE_CONTROL_REG); controller 631 drivers/mtd/spi-nor/aspeed-smc.c writel(reg, controller->regs + CE_CONTROL_REG); controller 648 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 649 drivers/mtd/spi-nor/aspeed-smc.c const struct aspeed_smc_info *info = controller->info; controller 678 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, "control register: %08x\n", reg); controller 682 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, controller 700 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, "default control register: %08x\n", controller 707 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller = chip->controller; controller 708 drivers/mtd/spi-nor/aspeed-smc.c const struct aspeed_smc_info *info = controller->info; controller 724 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, "write control register: %08x\n", controller 744 drivers/mtd/spi-nor/aspeed-smc.c dev_dbg(controller->dev, "base control register: %08x\n", controller 749 drivers/mtd/spi-nor/aspeed-smc.c static int aspeed_smc_setup_flash(struct aspeed_smc_controller *controller, controller 757 drivers/mtd/spi-nor/aspeed-smc.c const struct aspeed_smc_info *info = controller->info; controller 758 drivers/mtd/spi-nor/aspeed-smc.c struct device *dev = controller->dev; controller 785 drivers/mtd/spi-nor/aspeed-smc.c if (controller->chips[cs]) { controller 787 drivers/mtd/spi-nor/aspeed-smc.c cs, dev_name(controller->chips[cs]->nor.dev)); controller 792 drivers/mtd/spi-nor/aspeed-smc.c chip = devm_kzalloc(controller->dev, sizeof(*chip), GFP_KERNEL); controller 798 drivers/mtd/spi-nor/aspeed-smc.c chip->controller = controller; controller 799 drivers/mtd/spi-nor/aspeed-smc.c chip->ctl = controller->regs + info->ctl0 + cs * 4; controller 836 drivers/mtd/spi-nor/aspeed-smc.c controller->chips[cs] = chip; controller 841 drivers/mtd/spi-nor/aspeed-smc.c aspeed_smc_unregister(controller); controller 851 drivers/mtd/spi-nor/aspeed-smc.c struct aspeed_smc_controller *controller; controller 862 drivers/mtd/spi-nor/aspeed-smc.c controller = devm_kzalloc(&pdev->dev, controller 863 drivers/mtd/spi-nor/aspeed-smc.c struct_size(controller, chips, info->nce), controller 865 drivers/mtd/spi-nor/aspeed-smc.c if (!controller) controller 867 drivers/mtd/spi-nor/aspeed-smc.c controller->info = info; controller 868 drivers/mtd/spi-nor/aspeed-smc.c controller->dev = dev; controller 870 drivers/mtd/spi-nor/aspeed-smc.c mutex_init(&controller->mutex); controller 871 drivers/mtd/spi-nor/aspeed-smc.c platform_set_drvdata(pdev, controller); controller 874 drivers/mtd/spi-nor/aspeed-smc.c controller->regs = devm_ioremap_resource(dev, res); controller 875 drivers/mtd/spi-nor/aspeed-smc.c if (IS_ERR(controller->regs)) controller 876 drivers/mtd/spi-nor/aspeed-smc.c return PTR_ERR(controller->regs); controller 879 drivers/mtd/spi-nor/aspeed-smc.c controller->ahb_base = devm_ioremap_resource(dev, res); controller 880 drivers/mtd/spi-nor/aspeed-smc.c if (IS_ERR(controller->ahb_base)) controller 881 drivers/mtd/spi-nor/aspeed-smc.c return PTR_ERR(controller->ahb_base); controller 883 drivers/mtd/spi-nor/aspeed-smc.c controller->ahb_window_size = resource_size(res); controller 885 drivers/mtd/spi-nor/aspeed-smc.c ret = aspeed_smc_setup_flash(controller, np, res); controller 46 drivers/mux/adg792a.c unsigned int controller = mux_control_get_index(mux); controller 49 drivers/mux/adg792a.c cmd = ADG792A_DISABLE(controller); controller 51 drivers/mux/adg792a.c cmd = ADG792A_MUX(controller, state); controller 430 drivers/mux/core.c unsigned int controller; controller 466 drivers/mux/core.c controller = 0; controller 468 drivers/mux/core.c controller = args.args[0]; controller 470 drivers/mux/core.c if (controller >= mux_chip->controllers) { controller 472 drivers/mux/core.c np, controller, args.np); controller 477 drivers/mux/core.c return &mux_chip->mux[controller]; controller 71 drivers/pci/hotplug/cpci_hotplug.h int cpci_hp_register_controller(struct cpci_hp_controller *controller); controller 72 drivers/pci/hotplug/cpci_hotplug.h int cpci_hp_unregister_controller(struct cpci_hp_controller *controller); controller 48 drivers/pci/hotplug/cpci_hotplug_core.c static struct cpci_hp_controller *controller; controller 78 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->ops->set_power) controller 79 drivers/pci/hotplug/cpci_hotplug_core.c retval = controller->ops->set_power(slot, 1); controller 112 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->ops->set_power) { controller 113 drivers/pci/hotplug/cpci_hotplug_core.c retval = controller->ops->set_power(slot, 0); controller 134 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->ops->get_power) controller 135 drivers/pci/hotplug/cpci_hotplug_core.c power = controller->ops->get_power(slot); controller 197 drivers/pci/hotplug/cpci_hotplug_core.c if (!(controller && bus)) controller 275 drivers/pci/hotplug/cpci_hotplug_core.c if ((controller->irq_flags & IRQF_SHARED) && controller 276 drivers/pci/hotplug/cpci_hotplug_core.c !controller->ops->check_irq(controller->dev_id)) { controller 282 drivers/pci/hotplug/cpci_hotplug_core.c controller->ops->disable_irq(); controller 459 drivers/pci/hotplug/cpci_hotplug_core.c controller->ops->enable_irq(); controller 474 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->ops->query_enum()) { controller 496 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->irq) controller 520 drivers/pci/hotplug/cpci_hotplug_core.c if (controller) controller 541 drivers/pci/hotplug/cpci_hotplug_core.c controller = new_controller; controller 573 drivers/pci/hotplug/cpci_hotplug_core.c if (controller) { controller 576 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->irq) controller 577 drivers/pci/hotplug/cpci_hotplug_core.c free_irq(controller->irq, controller->dev_id); controller 578 drivers/pci/hotplug/cpci_hotplug_core.c controller = NULL; controller 593 drivers/pci/hotplug/cpci_hotplug_core.c if (!controller) controller 614 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->irq) { controller 617 drivers/pci/hotplug/cpci_hotplug_core.c controller->ops->enable_irq(); controller 627 drivers/pci/hotplug/cpci_hotplug_core.c if (!controller) controller 629 drivers/pci/hotplug/cpci_hotplug_core.c if (controller->irq) { controller 632 drivers/pci/hotplug/cpci_hotplug_core.c controller->ops->disable_irq(); controller 261 drivers/pci/hotplug/cpqphp.h struct controller *ctrl; controller 278 drivers/pci/hotplug/cpqphp.h struct controller *next; controller 395 drivers/pci/hotplug/cpqphp.h void cpqhp_create_debugfs_files(struct controller *ctrl); controller 396 drivers/pci/hotplug/cpqphp.h void cpqhp_remove_debugfs_files(struct controller *ctrl); controller 401 drivers/pci/hotplug/cpqphp.h int cpqhp_find_available_resources(struct controller *ctrl, controller 408 drivers/pci/hotplug/cpqphp.h int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func); controller 409 drivers/pci/hotplug/cpqphp.h int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func); controller 410 drivers/pci/hotplug/cpqphp.h int cpqhp_hardware_test(struct controller *ctrl, int test_num); controller 417 drivers/pci/hotplug/cpqphp.h int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num, controller 419 drivers/pci/hotplug/cpqphp.h int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug); controller 420 drivers/pci/hotplug/cpqphp.h int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func); controller 421 drivers/pci/hotplug/cpqphp.h int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func); controller 422 drivers/pci/hotplug/cpqphp.h int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func); controller 423 drivers/pci/hotplug/cpqphp.h int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot); controller 424 drivers/pci/hotplug/cpqphp.h int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func); controller 429 drivers/pci/hotplug/cpqphp.h int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func); controller 435 drivers/pci/hotplug/cpqphp.h extern struct controller *cpqhp_ctrl_list; controller 470 drivers/pci/hotplug/cpqphp.h static inline void set_SOGO(struct controller *ctrl) controller 480 drivers/pci/hotplug/cpqphp.h static inline void amber_LED_on(struct controller *ctrl, u8 slot) controller 490 drivers/pci/hotplug/cpqphp.h static inline void amber_LED_off(struct controller *ctrl, u8 slot) controller 500 drivers/pci/hotplug/cpqphp.h static inline int read_amber_LED(struct controller *ctrl, u8 slot) controller 511 drivers/pci/hotplug/cpqphp.h static inline void green_LED_on(struct controller *ctrl, u8 slot) controller 520 drivers/pci/hotplug/cpqphp.h static inline void green_LED_off(struct controller *ctrl, u8 slot) controller 530 drivers/pci/hotplug/cpqphp.h static inline void green_LED_blink(struct controller *ctrl, u8 slot) controller 541 drivers/pci/hotplug/cpqphp.h static inline void slot_disable(struct controller *ctrl, u8 slot) controller 551 drivers/pci/hotplug/cpqphp.h static inline void slot_enable(struct controller *ctrl, u8 slot) controller 561 drivers/pci/hotplug/cpqphp.h static inline u8 is_slot_enabled(struct controller *ctrl, u8 slot) controller 571 drivers/pci/hotplug/cpqphp.h static inline u8 read_slot_enable(struct controller *ctrl) controller 584 drivers/pci/hotplug/cpqphp.h static inline u8 get_controller_speed(struct controller *ctrl) controller 616 drivers/pci/hotplug/cpqphp.h static inline u8 get_adapter_speed(struct controller *ctrl, u8 hp_slot) controller 633 drivers/pci/hotplug/cpqphp.h static inline void enable_slot_power(struct controller *ctrl, u8 slot) controller 642 drivers/pci/hotplug/cpqphp.h static inline void disable_slot_power(struct controller *ctrl, u8 slot) controller 652 drivers/pci/hotplug/cpqphp.h static inline int cpq_get_attention_status(struct controller *ctrl, struct slot *slot) controller 662 drivers/pci/hotplug/cpqphp.h static inline int get_slot_enabled(struct controller *ctrl, struct slot *slot) controller 672 drivers/pci/hotplug/cpqphp.h static inline int cpq_get_latch_status(struct controller *ctrl, controller 688 drivers/pci/hotplug/cpqphp.h static inline int get_presence_status(struct controller *ctrl, controller 704 drivers/pci/hotplug/cpqphp.h static inline int wait_for_ctrl_irq(struct controller *ctrl) controller 38 drivers/pci/hotplug/cpqphp_core.c struct controller *cpqhp_ctrl_list; /* = NULL */ controller 120 drivers/pci/hotplug/cpqphp_core.c static int init_SERR(struct controller *ctrl) controller 266 drivers/pci/hotplug/cpqphp_core.c static int ctrl_slot_cleanup(struct controller *ctrl) controller 374 drivers/pci/hotplug/cpqphp_core.c cpqhp_set_attention_status(struct controller *ctrl, struct pci_func *func, controller 418 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 445 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 477 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 504 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 515 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 526 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 537 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 549 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl = slot->ctrl; controller 571 drivers/pci/hotplug/cpqphp_core.c static int ctrl_slot_setup(struct controller *ctrl, controller 764 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl; controller 824 drivers/pci/hotplug/cpqphp_core.c ctrl = kzalloc(sizeof(struct controller), GFP_KERNEL); controller 1251 drivers/pci/hotplug/cpqphp_core.c struct controller *ctrl; controller 1252 drivers/pci/hotplug/cpqphp_core.c struct controller *tctrl; controller 28 drivers/pci/hotplug/cpqphp_ctrl.c static u32 configure_new_device(struct controller *ctrl, struct pci_func *func, controller 30 drivers/pci/hotplug/cpqphp_ctrl.c static int configure_new_function(struct controller *ctrl, struct pci_func *func, controller 32 drivers/pci/hotplug/cpqphp_ctrl.c static void interrupt_event_handler(struct controller *ctrl); controller 53 drivers/pci/hotplug/cpqphp_ctrl.c static u8 handle_switch_change(u8 change, struct controller *ctrl) controller 116 drivers/pci/hotplug/cpqphp_ctrl.c static struct slot *cpqhp_find_slot(struct controller *ctrl, u8 device) controller 127 drivers/pci/hotplug/cpqphp_ctrl.c static u8 handle_presence_change(u16 change, struct controller *ctrl) controller 221 drivers/pci/hotplug/cpqphp_ctrl.c static u8 handle_power_fault(u8 change, struct controller *ctrl) controller 879 drivers/pci/hotplug/cpqphp_ctrl.c struct controller *ctrl = data; controller 1115 drivers/pci/hotplug/cpqphp_ctrl.c static u8 set_controller_speed(struct controller *ctrl, u8 adapter_speed, u8 hp_slot) controller 1254 drivers/pci/hotplug/cpqphp_ctrl.c static u32 board_replaced(struct pci_func *func, struct controller *ctrl) controller 1405 drivers/pci/hotplug/cpqphp_ctrl.c static u32 board_added(struct pci_func *func, struct controller *ctrl) controller 1610 drivers/pci/hotplug/cpqphp_ctrl.c static u32 remove_board(struct pci_func *func, u32 replace_flag, struct controller *ctrl) controller 1730 drivers/pci/hotplug/cpqphp_ctrl.c struct controller *ctrl; controller 1768 drivers/pci/hotplug/cpqphp_ctrl.c static void interrupt_event_handler(struct controller *ctrl) controller 1891 drivers/pci/hotplug/cpqphp_ctrl.c struct controller *ctrl = (struct controller *) p_slot->ctrl; controller 1947 drivers/pci/hotplug/cpqphp_ctrl.c int cpqhp_process_SI(struct controller *ctrl, struct pci_func *func) controller 2037 drivers/pci/hotplug/cpqphp_ctrl.c int cpqhp_process_SS(struct controller *ctrl, struct pci_func *func) controller 2108 drivers/pci/hotplug/cpqphp_ctrl.c static void switch_leds(struct controller *ctrl, const int num_of_slots, controller 2137 drivers/pci/hotplug/cpqphp_ctrl.c int cpqhp_hardware_test(struct controller *ctrl, int test_num) controller 2222 drivers/pci/hotplug/cpqphp_ctrl.c static u32 configure_new_device(struct controller *ctrl, struct pci_func *func, controller 2318 drivers/pci/hotplug/cpqphp_ctrl.c static int configure_new_function(struct controller *ctrl, struct pci_func *func, controller 231 drivers/pci/hotplug/cpqphp_nvram.c struct controller *ctrl; controller 424 drivers/pci/hotplug/cpqphp_nvram.c int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl) controller 21 drivers/pci/hotplug/cpqphp_nvram.h static inline int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl) controller 34 drivers/pci/hotplug/cpqphp_nvram.h int compaq_nvram_load(void __iomem *rom_start, struct controller *ctrl); controller 70 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_configure_device(struct controller *ctrl, struct pci_func *func) controller 199 drivers/pci/hotplug/cpqphp_pci.c static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 *dev_num) controller 237 drivers/pci/hotplug/cpqphp_pci.c static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobridge) controller 276 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot) controller 297 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_config(struct controller *ctrl, int busnumber, int is_hot_plug) controller 464 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_slot_config(struct controller *ctrl, struct pci_func *new_slot) controller 548 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_base_addr_length(struct controller *ctrl, struct pci_func *func) controller 685 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_save_used_resources(struct controller *ctrl, struct pci_func *func) controller 948 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_configure_board(struct controller *ctrl, struct pci_func *func) controller 1026 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_valid_replace(struct controller *ctrl, struct pci_func *func) controller 1168 drivers/pci/hotplug/cpqphp_pci.c int cpqhp_find_available_resources(struct controller *ctrl, void __iomem *rom_start) controller 28 drivers/pci/hotplug/cpqphp_sysfs.c static int show_ctrl(struct controller *ctrl, char *buf) controller 66 drivers/pci/hotplug/cpqphp_sysfs.c static int show_dev(struct controller *ctrl, char *buf) controller 114 drivers/pci/hotplug/cpqphp_sysfs.c static int spew_debug_info(struct controller *ctrl, char *data, int size) controller 126 drivers/pci/hotplug/cpqphp_sysfs.c struct controller *ctrl; controller 133 drivers/pci/hotplug/cpqphp_sysfs.c struct controller *ctrl = inode->i_private; controller 197 drivers/pci/hotplug/cpqphp_sysfs.c void cpqhp_create_debugfs_files(struct controller *ctrl) controller 203 drivers/pci/hotplug/cpqphp_sysfs.c void cpqhp_remove_debugfs_files(struct controller *ctrl) controller 701 drivers/pci/hotplug/ibmphp.h struct controller *ctrl; controller 63 drivers/pci/hotplug/ibmphp_ebda.c static struct controller *alloc_ebda_hpc(u32 slot_count, u32 bus_count) controller 65 drivers/pci/hotplug/ibmphp_ebda.c struct controller *controller; controller 69 drivers/pci/hotplug/ibmphp_ebda.c controller = kzalloc(sizeof(struct controller), GFP_KERNEL); controller 70 drivers/pci/hotplug/ibmphp_ebda.c if (!controller) controller 76 drivers/pci/hotplug/ibmphp_ebda.c controller->slots = slots; controller 81 drivers/pci/hotplug/ibmphp_ebda.c controller->buses = buses; controller 83 drivers/pci/hotplug/ibmphp_ebda.c return controller; controller 85 drivers/pci/hotplug/ibmphp_ebda.c kfree(controller->slots); controller 87 drivers/pci/hotplug/ibmphp_ebda.c kfree(controller); controller 92 drivers/pci/hotplug/ibmphp_ebda.c static void free_ebda_hpc(struct controller *controller) controller 94 drivers/pci/hotplug/ibmphp_ebda.c kfree(controller->slots); controller 95 drivers/pci/hotplug/ibmphp_ebda.c kfree(controller->buses); controller 96 drivers/pci/hotplug/ibmphp_ebda.c kfree(controller); controller 193 drivers/pci/hotplug/ibmphp_ebda.c struct controller *hpc_ptr; controller 687 drivers/pci/hotplug/ibmphp_ebda.c struct controller *hpc_ptr; controller 1046 drivers/pci/hotplug/ibmphp_ebda.c struct controller *controller = NULL, *next; controller 1049 drivers/pci/hotplug/ibmphp_ebda.c list_for_each_entry_safe(controller, next, &ebda_hpc_head, controller 1051 drivers/pci/hotplug/ibmphp_ebda.c if (controller->ctlr_type == 0) controller 1052 drivers/pci/hotplug/ibmphp_ebda.c release_region(controller->u.isa_ctlr.io_start, (controller->u.isa_ctlr.io_end - controller->u.isa_ctlr.io_start + 1)); controller 1053 drivers/pci/hotplug/ibmphp_ebda.c else if ((controller->ctlr_type == 1) && (!pci_flag)) { controller 1057 drivers/pci/hotplug/ibmphp_ebda.c free_ebda_hpc(controller); controller 1093 drivers/pci/hotplug/ibmphp_ebda.c struct controller *ctrl; controller 1106 drivers/pci/hotplug/ibmphp_ebda.c struct controller *ctrl; controller 99 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_read(struct controller *, void __iomem *, u8); controller 100 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_write(struct controller *, void __iomem *, u8, u8); controller 107 drivers/pci/hotplug/ibmphp_hpc.c static int process_changeinlatch(u8, u8, struct controller *); controller 108 drivers/pci/hotplug/ibmphp_hpc.c static int hpc_wait_ctlr_notworking(int, struct controller *, void __iomem *, u8 *); controller 118 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_read(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index) controller 226 drivers/pci/hotplug/ibmphp_hpc.c static u8 i2c_ctrl_write(struct controller *ctlr_ptr, void __iomem *WPGBbar, u8 index, u8 cmd) controller 325 drivers/pci/hotplug/ibmphp_hpc.c static u8 isa_ctrl_read(struct controller *ctlr_ptr, u8 offset) controller 340 drivers/pci/hotplug/ibmphp_hpc.c static void isa_ctrl_write(struct controller *ctlr_ptr, u8 offset, u8 data) controller 350 drivers/pci/hotplug/ibmphp_hpc.c static u8 pci_ctrl_read(struct controller *ctrl, u8 offset) controller 359 drivers/pci/hotplug/ibmphp_hpc.c static u8 pci_ctrl_write(struct controller *ctrl, u8 offset, u8 data) controller 370 drivers/pci/hotplug/ibmphp_hpc.c static u8 ctrl_read(struct controller *ctlr, void __iomem *base, u8 offset) controller 390 drivers/pci/hotplug/ibmphp_hpc.c static u8 ctrl_write(struct controller *ctlr, void __iomem *base, u8 offset, u8 data) controller 508 drivers/pci/hotplug/ibmphp_hpc.c struct controller *ctlr_ptr; controller 646 drivers/pci/hotplug/ibmphp_hpc.c struct controller *ctlr_ptr; controller 985 drivers/pci/hotplug/ibmphp_hpc.c static int process_changeinlatch(u8 old, u8 new, struct controller *ctrl) controller 1068 drivers/pci/hotplug/ibmphp_hpc.c static int hpc_wait_ctlr_notworking(int timeout, struct controller *ctlr_ptr, void __iomem *wpg_bbar, controller 155 drivers/pci/hotplug/pciehp.h void pciehp_request(struct controller *ctrl, int action); controller 156 drivers/pci/hotplug/pciehp.h void pciehp_handle_button_press(struct controller *ctrl); controller 157 drivers/pci/hotplug/pciehp.h void pciehp_handle_disable_request(struct controller *ctrl); controller 158 drivers/pci/hotplug/pciehp.h void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events); controller 159 drivers/pci/hotplug/pciehp.h int pciehp_configure_device(struct controller *ctrl); controller 160 drivers/pci/hotplug/pciehp.h void pciehp_unconfigure_device(struct controller *ctrl, bool presence); controller 162 drivers/pci/hotplug/pciehp.h struct controller *pcie_init(struct pcie_device *dev); controller 163 drivers/pci/hotplug/pciehp.h int pcie_init_notification(struct controller *ctrl); controller 164 drivers/pci/hotplug/pciehp.h void pcie_shutdown_notification(struct controller *ctrl); controller 165 drivers/pci/hotplug/pciehp.h void pcie_clear_hotplug_events(struct controller *ctrl); controller 166 drivers/pci/hotplug/pciehp.h void pcie_enable_interrupt(struct controller *ctrl); controller 167 drivers/pci/hotplug/pciehp.h void pcie_disable_interrupt(struct controller *ctrl); controller 168 drivers/pci/hotplug/pciehp.h int pciehp_power_on_slot(struct controller *ctrl); controller 169 drivers/pci/hotplug/pciehp.h void pciehp_power_off_slot(struct controller *ctrl); controller 170 drivers/pci/hotplug/pciehp.h void pciehp_get_power_status(struct controller *ctrl, u8 *status); controller 173 drivers/pci/hotplug/pciehp.h void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn); controller 175 drivers/pci/hotplug/pciehp.h void pciehp_get_latch_status(struct controller *ctrl, u8 *status); controller 176 drivers/pci/hotplug/pciehp.h int pciehp_query_power_fault(struct controller *ctrl); controller 177 drivers/pci/hotplug/pciehp.h int pciehp_card_present(struct controller *ctrl); controller 178 drivers/pci/hotplug/pciehp.h int pciehp_card_present_or_link_active(struct controller *ctrl); controller 179 drivers/pci/hotplug/pciehp.h int pciehp_check_link_status(struct controller *ctrl); controller 180 drivers/pci/hotplug/pciehp.h int pciehp_check_link_active(struct controller *ctrl); controller 181 drivers/pci/hotplug/pciehp.h void pciehp_release_ctrl(struct controller *ctrl); controller 190 drivers/pci/hotplug/pciehp.h static inline const char *slot_name(struct controller *ctrl) controller 195 drivers/pci/hotplug/pciehp.h static inline struct controller *to_ctrl(struct hotplug_slot *hotplug_slot) controller 197 drivers/pci/hotplug/pciehp.h return container_of(hotplug_slot, struct controller, hotplug_slot); controller 50 drivers/pci/hotplug/pciehp_core.c static int init_slot(struct controller *ctrl) controller 89 drivers/pci/hotplug/pciehp_core.c static void cleanup_slot(struct controller *ctrl) controller 102 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 118 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 129 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 140 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 164 drivers/pci/hotplug/pciehp_core.c static void pciehp_check_presence(struct controller *ctrl) controller 185 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl; controller 244 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = get_service_data(dev); controller 287 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = get_service_data(dev); controller 303 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = get_service_data(dev); controller 321 drivers/pci/hotplug/pciehp_core.c struct controller *ctrl = get_service_data(dev); controller 31 drivers/pci/hotplug/pciehp_ctrl.c static void set_slot_off(struct controller *ctrl) controller 59 drivers/pci/hotplug/pciehp_ctrl.c static int board_added(struct controller *ctrl) controller 111 drivers/pci/hotplug/pciehp_ctrl.c static void remove_board(struct controller *ctrl, bool safe_removal) controller 134 drivers/pci/hotplug/pciehp_ctrl.c static int pciehp_enable_slot(struct controller *ctrl); controller 135 drivers/pci/hotplug/pciehp_ctrl.c static int pciehp_disable_slot(struct controller *ctrl, bool safe_removal); controller 137 drivers/pci/hotplug/pciehp_ctrl.c void pciehp_request(struct controller *ctrl, int action) controller 146 drivers/pci/hotplug/pciehp_ctrl.c struct controller *ctrl = container_of(work, struct controller, controller 163 drivers/pci/hotplug/pciehp_ctrl.c void pciehp_handle_button_press(struct controller *ctrl) controller 212 drivers/pci/hotplug/pciehp_ctrl.c void pciehp_handle_disable_request(struct controller *ctrl) controller 227 drivers/pci/hotplug/pciehp_ctrl.c void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events) controller 286 drivers/pci/hotplug/pciehp_ctrl.c static int __pciehp_enable_slot(struct controller *ctrl) controller 311 drivers/pci/hotplug/pciehp_ctrl.c static int pciehp_enable_slot(struct controller *ctrl) controller 330 drivers/pci/hotplug/pciehp_ctrl.c static int __pciehp_disable_slot(struct controller *ctrl, bool safe_removal) controller 347 drivers/pci/hotplug/pciehp_ctrl.c static int pciehp_disable_slot(struct controller *ctrl, bool safe_removal) controller 364 drivers/pci/hotplug/pciehp_ctrl.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 403 drivers/pci/hotplug/pciehp_ctrl.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 29 drivers/pci/hotplug/pciehp_hpc.c static inline struct pci_dev *ctrl_dev(struct controller *ctrl) controller 38 drivers/pci/hotplug/pciehp_hpc.c static inline int pciehp_request_irq(struct controller *ctrl) controller 58 drivers/pci/hotplug/pciehp_hpc.c static inline void pciehp_free_irq(struct controller *ctrl) controller 66 drivers/pci/hotplug/pciehp_hpc.c static int pcie_poll_cmd(struct controller *ctrl, int timeout) controller 92 drivers/pci/hotplug/pciehp_hpc.c static void pcie_wait_cmd(struct controller *ctrl) controller 137 drivers/pci/hotplug/pciehp_hpc.c static void pcie_do_write_cmd(struct controller *ctrl, u16 cmd, controller 193 drivers/pci/hotplug/pciehp_hpc.c static void pcie_write_cmd(struct controller *ctrl, u16 cmd, u16 mask) controller 199 drivers/pci/hotplug/pciehp_hpc.c static void pcie_write_cmd_nowait(struct controller *ctrl, u16 cmd, u16 mask) controller 215 drivers/pci/hotplug/pciehp_hpc.c int pciehp_check_link_active(struct controller *ctrl) controller 257 drivers/pci/hotplug/pciehp_hpc.c int pciehp_check_link_status(struct controller *ctrl) controller 291 drivers/pci/hotplug/pciehp_hpc.c static int __pciehp_link_set(struct controller *ctrl, bool enable) controller 308 drivers/pci/hotplug/pciehp_hpc.c static int pciehp_link_enable(struct controller *ctrl) controller 316 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 329 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 357 drivers/pci/hotplug/pciehp_hpc.c void pciehp_get_power_status(struct controller *ctrl, u8 *status) controller 379 drivers/pci/hotplug/pciehp_hpc.c void pciehp_get_latch_status(struct controller *ctrl, u8 *status) controller 400 drivers/pci/hotplug/pciehp_hpc.c int pciehp_card_present(struct controller *ctrl) controller 425 drivers/pci/hotplug/pciehp_hpc.c int pciehp_card_present_or_link_active(struct controller *ctrl) controller 436 drivers/pci/hotplug/pciehp_hpc.c int pciehp_query_power_fault(struct controller *ctrl) controller 448 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 473 drivers/pci/hotplug/pciehp_hpc.c void pciehp_set_indicators(struct controller *ctrl, int pwr, int attn) controller 494 drivers/pci/hotplug/pciehp_hpc.c int pciehp_power_on_slot(struct controller *ctrl) controller 519 drivers/pci/hotplug/pciehp_hpc.c void pciehp_power_off_slot(struct controller *ctrl) controller 529 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = (struct controller *)dev_id; controller 618 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = (struct controller *)dev_id; controller 677 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = data; controller 696 drivers/pci/hotplug/pciehp_hpc.c static void pcie_enable_notification(struct controller *ctrl) controller 734 drivers/pci/hotplug/pciehp_hpc.c static void pcie_disable_notification(struct controller *ctrl) controller 747 drivers/pci/hotplug/pciehp_hpc.c void pcie_clear_hotplug_events(struct controller *ctrl) controller 753 drivers/pci/hotplug/pciehp_hpc.c void pcie_enable_interrupt(struct controller *ctrl) controller 761 drivers/pci/hotplug/pciehp_hpc.c void pcie_disable_interrupt(struct controller *ctrl) controller 786 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl = to_ctrl(hotplug_slot); controller 818 drivers/pci/hotplug/pciehp_hpc.c int pcie_init_notification(struct controller *ctrl) controller 827 drivers/pci/hotplug/pciehp_hpc.c void pcie_shutdown_notification(struct controller *ctrl) controller 836 drivers/pci/hotplug/pciehp_hpc.c static inline void dbg_ctrl(struct controller *ctrl) controller 850 drivers/pci/hotplug/pciehp_hpc.c struct controller *pcie_init(struct pcie_device *dev) controller 852 drivers/pci/hotplug/pciehp_hpc.c struct controller *ctrl; controller 926 drivers/pci/hotplug/pciehp_hpc.c void pciehp_release_ctrl(struct controller *ctrl) controller 32 drivers/pci/hotplug/pciehp_pci.c int pciehp_configure_device(struct controller *ctrl) controller 84 drivers/pci/hotplug/pciehp_pci.c void pciehp_unconfigure_device(struct controller *ctrl, bool presence) controller 74 drivers/pci/hotplug/shpchp.h struct controller *ctrl; controller 158 drivers/pci/hotplug/shpchp.h int __must_check shpchp_create_ctrl_files(struct controller *ctrl); controller 159 drivers/pci/hotplug/shpchp.h void shpchp_remove_ctrl_files(struct controller *ctrl); controller 162 drivers/pci/hotplug/shpchp.h u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl); controller 163 drivers/pci/hotplug/shpchp.h u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl); controller 164 drivers/pci/hotplug/shpchp.h u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl); controller 165 drivers/pci/hotplug/shpchp.h u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl); controller 168 drivers/pci/hotplug/shpchp.h void cleanup_slots(struct controller *ctrl); controller 170 drivers/pci/hotplug/shpchp.h int shpc_init(struct controller *ctrl, struct pci_dev *pdev); controller 215 drivers/pci/hotplug/shpchp.h static inline struct slot *shpchp_find_slot(struct controller *ctrl, u8 device) controller 320 drivers/pci/hotplug/shpchp.h void (*release_ctlr)(struct controller *ctrl); controller 321 drivers/pci/hotplug/shpchp.h int (*check_cmd_status)(struct controller *ctrl); controller 64 drivers/pci/hotplug/shpchp_core.c static int init_slots(struct controller *ctrl) controller 130 drivers/pci/hotplug/shpchp_core.c void cleanup_slots(struct controller *ctrl) controller 258 drivers/pci/hotplug/shpchp_core.c struct controller *ctrl; controller 306 drivers/pci/hotplug/shpchp_core.c struct controller *ctrl = pci_get_drvdata(dev); controller 45 drivers/pci/hotplug/shpchp_ctrl.c u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl) controller 68 drivers/pci/hotplug/shpchp_ctrl.c u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl) controller 106 drivers/pci/hotplug/shpchp_ctrl.c u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl) controller 141 drivers/pci/hotplug/shpchp_ctrl.c u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl) controller 178 drivers/pci/hotplug/shpchp_ctrl.c static int change_bus_speed(struct controller *ctrl, struct slot *p_slot, controller 193 drivers/pci/hotplug/shpchp_ctrl.c static int fix_bus_speed(struct controller *ctrl, struct slot *pslot, controller 235 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 340 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 463 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 548 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 605 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 640 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 676 drivers/pci/hotplug/shpchp_ctrl.c struct controller *ctrl = p_slot->ctrl; controller 169 drivers/pci/hotplug/shpchp_hpc.c static void start_int_poll_timer(struct controller *ctrl, int sec); controller 170 drivers/pci/hotplug/shpchp_hpc.c static int hpc_check_cmd_status(struct controller *ctrl); controller 172 drivers/pci/hotplug/shpchp_hpc.c static inline u8 shpc_readb(struct controller *ctrl, int reg) controller 177 drivers/pci/hotplug/shpchp_hpc.c static inline void shpc_writeb(struct controller *ctrl, int reg, u8 val) controller 182 drivers/pci/hotplug/shpchp_hpc.c static inline u16 shpc_readw(struct controller *ctrl, int reg) controller 187 drivers/pci/hotplug/shpchp_hpc.c static inline void shpc_writew(struct controller *ctrl, int reg, u16 val) controller 192 drivers/pci/hotplug/shpchp_hpc.c static inline u32 shpc_readl(struct controller *ctrl, int reg) controller 197 drivers/pci/hotplug/shpchp_hpc.c static inline void shpc_writel(struct controller *ctrl, int reg, u32 val) controller 202 drivers/pci/hotplug/shpchp_hpc.c static inline int shpc_indirect_read(struct controller *ctrl, int index, controller 220 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = from_timer(ctrl, t, poll_timer); controller 234 drivers/pci/hotplug/shpchp_hpc.c static void start_int_poll_timer(struct controller *ctrl, int sec) controller 244 drivers/pci/hotplug/shpchp_hpc.c static inline int is_ctrl_busy(struct controller *ctrl) controller 254 drivers/pci/hotplug/shpchp_hpc.c static inline int shpc_poll_ctrl_busy(struct controller *ctrl) controller 271 drivers/pci/hotplug/shpchp_hpc.c static inline int shpc_wait_cmd(struct controller *ctrl) controller 295 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 336 drivers/pci/hotplug/shpchp_hpc.c static int hpc_check_cmd_status(struct controller *ctrl) controller 367 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 391 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 416 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 426 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 437 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 447 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 500 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 516 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 560 drivers/pci/hotplug/shpchp_hpc.c static void hpc_release_ctlr(struct controller *ctrl) controller 637 drivers/pci/hotplug/shpchp_hpc.c static int shpc_get_cur_bus_speed(struct controller *ctrl) controller 709 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = slot->ctrl; controller 774 drivers/pci/hotplug/shpchp_hpc.c struct controller *ctrl = (struct controller *)dev_id; controller 851 drivers/pci/hotplug/shpchp_hpc.c static int shpc_get_max_bus_speed(struct controller *ctrl) controller 919 drivers/pci/hotplug/shpchp_hpc.c int shpc_init(struct controller *ctrl, struct pci_dev *pdev) controller 26 drivers/pci/hotplug/shpchp_pci.c struct controller *ctrl = p_slot->ctrl; controller 69 drivers/pci/hotplug/shpchp_pci.c struct controller *ctrl = p_slot->ctrl; controller 74 drivers/pci/hotplug/shpchp_sysfs.c int shpchp_create_ctrl_files(struct controller *ctrl) controller 79 drivers/pci/hotplug/shpchp_sysfs.c void shpchp_remove_ctrl_files(struct controller *ctrl) controller 76 drivers/scsi/dpt/dpti_i2o.h struct _adpt_hba *controller; /* Controlling IOP */ controller 1475 drivers/scsi/dpt_i2o.c d->controller = pHba; controller 1579 drivers/scsi/dpt_i2o.c d->controller=pHba; controller 2558 drivers/scsi/dpt_i2o.c d->controller = pHba; controller 922 drivers/scsi/isci/host.c if (oem->controller.mode_type == SCIC_PORT_MANUAL_CONFIGURATION_MODE) { controller 1667 drivers/scsi/isci/host.c if (oem->controller.mode_type == SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE) { controller 1671 drivers/scsi/isci/host.c } else if (oem->controller.mode_type == SCIC_PORT_MANUAL_CONFIGURATION_MODE) { controller 1682 drivers/scsi/isci/host.c if (oem->controller.max_concurr_spin_up > MAX_CONCURRENT_DEVICE_SPIN_UP_COUNT || controller 1683 drivers/scsi/isci/host.c oem->controller.max_concurr_spin_up < 1) controller 1686 drivers/scsi/isci/host.c if (oem->controller.do_enable_ssc) { controller 1687 drivers/scsi/isci/host.c if (version < ISCI_ROM_VER_1_1 && oem->controller.do_enable_ssc != 1) controller 1691 drivers/scsi/isci/host.c u8 test = oem->controller.ssc_sata_tx_spread_level; controller 1704 drivers/scsi/isci/host.c test = oem->controller.ssc_sas_tx_spread_level; controller 1705 drivers/scsi/isci/host.c if (oem->controller.ssc_sas_tx_type == 0) { controller 1714 drivers/scsi/isci/host.c } else if (oem->controller.ssc_sas_tx_type == 1) { controller 1736 drivers/scsi/isci/host.c return min_t(u8, ihost->oem_parameters.controller.max_concurr_spin_up, controller 1901 drivers/scsi/isci/host.c return &ihost->oem_parameters.controller.cable_selection_mask; controller 376 drivers/scsi/isci/host.h #define sci_controller_clear_invalid_phy(controller, phy) \ controller 377 drivers/scsi/isci/host.h ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index)) controller 450 drivers/scsi/isci/init.c oem->controller.mode_type = SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE; controller 453 drivers/scsi/isci/init.c oem->controller.max_concurr_spin_up = 1; controller 456 drivers/scsi/isci/init.c oem->controller.do_enable_ssc = false; controller 459 drivers/scsi/isci/init.c oem->controller.cable_selection_mask = 0; controller 170 drivers/scsi/isci/phy.c if (ihost->oem_parameters.controller.do_enable_ssc) { controller 187 drivers/scsi/isci/phy.c sata_spread = ihost->oem_parameters.controller.ssc_sata_tx_spread_level; controller 188 drivers/scsi/isci/phy.c sas_spread = ihost->oem_parameters.controller.ssc_sas_tx_spread_level; controller 195 drivers/scsi/isci/phy.c sas_type = ihost->oem_parameters.controller.ssc_sas_tx_type; controller 653 drivers/scsi/isci/port.c if (iport->owning_controller->oem_parameters.controller.mode_type == controller 738 drivers/scsi/isci/port_config.c mode = ihost->oem_parameters.controller.mode_type; controller 306 drivers/scsi/isci/probe_roms.h } controller; controller 236 drivers/scsi/myrb.h } __packed controller; /* Byte 3 */ controller 146 drivers/soc/fsl/qe/gpio.c struct qe_gpio_chip *controller; controller 196 drivers/soc/fsl/qe/gpio.c qe_pin->controller = qe_gc; controller 224 drivers/soc/fsl/qe/gpio.c struct qe_gpio_chip *qe_gc = qe_pin->controller; controller 246 drivers/soc/fsl/qe/gpio.c struct qe_gpio_chip *qe_gc = qe_pin->controller; controller 286 drivers/soc/fsl/qe/gpio.c struct qe_gpio_chip *qe_gc = qe_pin->controller; controller 336 drivers/spi/spi-at91-usart.c struct spi_controller *controller = dev_id; controller 337 drivers/spi/spi-at91-usart.c struct at91_usart_spi *aus = spi_master_get_devdata(controller); controller 362 drivers/spi/spi-at91-usart.c struct at91_usart_spi *aus = spi_master_get_devdata(spi->controller); controller 515 drivers/spi/spi-at91-usart.c struct spi_controller *controller; controller 535 drivers/spi/spi-at91-usart.c controller = spi_alloc_master(&pdev->dev, sizeof(*aus)); controller 536 drivers/spi/spi-at91-usart.c if (!controller) controller 543 drivers/spi/spi-at91-usart.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_LOOP | SPI_CS_HIGH; controller 544 drivers/spi/spi-at91-usart.c controller->dev.of_node = pdev->dev.parent->of_node; controller 545 drivers/spi/spi-at91-usart.c controller->bits_per_word_mask = SPI_BPW_MASK(8); controller 546 drivers/spi/spi-at91-usart.c controller->setup = at91_usart_spi_setup; controller 547 drivers/spi/spi-at91-usart.c controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX; controller 548 drivers/spi/spi-at91-usart.c controller->transfer_one = at91_usart_spi_transfer_one; controller 549 drivers/spi/spi-at91-usart.c controller->prepare_message = at91_usart_spi_prepare_message; controller 550 drivers/spi/spi-at91-usart.c controller->unprepare_message = at91_usart_spi_unprepare_message; controller 551 drivers/spi/spi-at91-usart.c controller->can_dma = at91_usart_spi_can_dma; controller 552 drivers/spi/spi-at91-usart.c controller->cleanup = at91_usart_spi_cleanup; controller 553 drivers/spi/spi-at91-usart.c controller->max_speed_hz = DIV_ROUND_UP(clk_get_rate(clk), controller 555 drivers/spi/spi-at91-usart.c controller->min_speed_hz = DIV_ROUND_UP(clk_get_rate(clk), controller 557 drivers/spi/spi-at91-usart.c platform_set_drvdata(pdev, controller); controller 559 drivers/spi/spi-at91-usart.c aus = spi_master_get_devdata(controller); controller 572 drivers/spi/spi-at91-usart.c dev_name(&pdev->dev), controller); controller 587 drivers/spi/spi-at91-usart.c ret = at91_usart_spi_configure_dma(controller, aus); controller 594 drivers/spi/spi-at91-usart.c ret = devm_spi_register_master(&pdev->dev, controller); controller 606 drivers/spi/spi-at91-usart.c at91_usart_spi_release_dma(controller); controller 610 drivers/spi/spi-at91-usart.c spi_master_put(controller); controller 1179 drivers/spi/spi-bcm2835.c struct spi_controller *ctlr = spi->controller; controller 129 drivers/spi/spi-dw.c struct dw_spi *dws = spi_controller_get_devdata(spi->controller); controller 817 drivers/spi/spi-fsl-dspi.c struct fsl_dspi *dspi = spi_controller_get_devdata(spi->controller); controller 885 drivers/spi/spi-fsl-dspi.c spi->controller->bus_num, spi->chip_select); controller 180 drivers/spi/spi-fsl-lpspi.c static bool fsl_lpspi_can_dma(struct spi_controller *controller, controller 186 drivers/spi/spi-fsl-lpspi.c if (!controller->dma_rx) controller 204 drivers/spi/spi-fsl-lpspi.c static int lpspi_prepare_xfer_hardware(struct spi_controller *controller) controller 207 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 219 drivers/spi/spi-fsl-lpspi.c static int lpspi_unprepare_xfer_hardware(struct spi_controller *controller) controller 222 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 230 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_prepare_message(struct spi_controller *controller, controller 234 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 354 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_dma_configure(struct spi_controller *controller) controller 360 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 380 drivers/spi/spi-fsl-lpspi.c ret = dmaengine_slave_config(controller->dma_tx, &tx); controller 391 drivers/spi/spi-fsl-lpspi.c ret = dmaengine_slave_config(controller->dma_rx, &rx); controller 434 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_setup_transfer(struct spi_controller *controller, controller 439 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(spi->controller); controller 471 drivers/spi/spi-fsl-lpspi.c if (fsl_lpspi_can_dma(controller, spi, t)) controller 479 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_slave_abort(struct spi_controller *controller) controller 482 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 495 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_wait_for_completion(struct spi_controller *controller) controller 498 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 565 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_dma_transfer(struct spi_controller *controller, controller 575 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_dma_configure(controller); controller 579 drivers/spi/spi-fsl-lpspi.c desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, controller 589 drivers/spi/spi-fsl-lpspi.c dma_async_issue_pending(controller->dma_rx); controller 591 drivers/spi/spi-fsl-lpspi.c desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, controller 595 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_tx); controller 603 drivers/spi/spi-fsl-lpspi.c dma_async_issue_pending(controller->dma_tx); controller 616 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_tx); controller 617 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_rx); controller 626 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_tx); controller 627 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_rx); controller 636 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_tx); controller 637 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_rx); controller 646 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_tx); controller 647 drivers/spi/spi-fsl-lpspi.c dmaengine_terminate_all(controller->dma_rx); controller 658 drivers/spi/spi-fsl-lpspi.c static void fsl_lpspi_dma_exit(struct spi_controller *controller) controller 660 drivers/spi/spi-fsl-lpspi.c if (controller->dma_rx) { controller 661 drivers/spi/spi-fsl-lpspi.c dma_release_channel(controller->dma_rx); controller 662 drivers/spi/spi-fsl-lpspi.c controller->dma_rx = NULL; controller 665 drivers/spi/spi-fsl-lpspi.c if (controller->dma_tx) { controller 666 drivers/spi/spi-fsl-lpspi.c dma_release_channel(controller->dma_tx); controller 667 drivers/spi/spi-fsl-lpspi.c controller->dma_tx = NULL; controller 673 drivers/spi/spi-fsl-lpspi.c struct spi_controller *controller) controller 678 drivers/spi/spi-fsl-lpspi.c controller->dma_tx = dma_request_slave_channel_reason(dev, "tx"); controller 679 drivers/spi/spi-fsl-lpspi.c if (IS_ERR(controller->dma_tx)) { controller 680 drivers/spi/spi-fsl-lpspi.c ret = PTR_ERR(controller->dma_tx); controller 682 drivers/spi/spi-fsl-lpspi.c controller->dma_tx = NULL; controller 687 drivers/spi/spi-fsl-lpspi.c controller->dma_rx = dma_request_slave_channel_reason(dev, "rx"); controller 688 drivers/spi/spi-fsl-lpspi.c if (IS_ERR(controller->dma_rx)) { controller 689 drivers/spi/spi-fsl-lpspi.c ret = PTR_ERR(controller->dma_rx); controller 691 drivers/spi/spi-fsl-lpspi.c controller->dma_rx = NULL; controller 697 drivers/spi/spi-fsl-lpspi.c controller->can_dma = fsl_lpspi_can_dma; controller 698 drivers/spi/spi-fsl-lpspi.c controller->max_dma_len = FSL_LPSPI_MAX_EDMA_BYTES; controller 702 drivers/spi/spi-fsl-lpspi.c fsl_lpspi_dma_exit(controller); controller 706 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_pio_transfer(struct spi_controller *controller, controller 710 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 722 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_wait_for_completion(controller); controller 731 drivers/spi/spi-fsl-lpspi.c static int fsl_lpspi_transfer_one(struct spi_controller *controller, controller 736 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 740 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_setup_transfer(controller, spi, t); controller 748 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_dma_transfer(controller, fsl_lpspi, t); controller 750 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_pio_transfer(controller, t); controller 792 drivers/spi/spi-fsl-lpspi.c struct spi_controller *controller = dev_get_drvdata(dev); controller 796 drivers/spi/spi-fsl-lpspi.c fsl_lpspi = spi_controller_get_devdata(controller); controller 813 drivers/spi/spi-fsl-lpspi.c struct spi_controller *controller = dev_get_drvdata(dev); controller 816 drivers/spi/spi-fsl-lpspi.c fsl_lpspi = spi_controller_get_devdata(controller); controller 840 drivers/spi/spi-fsl-lpspi.c struct spi_controller *controller; controller 850 drivers/spi/spi-fsl-lpspi.c controller = spi_alloc_slave(&pdev->dev, controller 853 drivers/spi/spi-fsl-lpspi.c controller = spi_alloc_master(&pdev->dev, controller 856 drivers/spi/spi-fsl-lpspi.c if (!controller) controller 859 drivers/spi/spi-fsl-lpspi.c platform_set_drvdata(pdev, controller); controller 861 drivers/spi/spi-fsl-lpspi.c fsl_lpspi = spi_controller_get_devdata(controller); controller 865 drivers/spi/spi-fsl-lpspi.c controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(8, 32); controller 866 drivers/spi/spi-fsl-lpspi.c controller->transfer_one = fsl_lpspi_transfer_one; controller 867 drivers/spi/spi-fsl-lpspi.c controller->prepare_transfer_hardware = lpspi_prepare_xfer_hardware; controller 868 drivers/spi/spi-fsl-lpspi.c controller->unprepare_transfer_hardware = lpspi_unprepare_xfer_hardware; controller 869 drivers/spi/spi-fsl-lpspi.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH; controller 870 drivers/spi/spi-fsl-lpspi.c controller->flags = SPI_MASTER_MUST_RX | SPI_MASTER_MUST_TX; controller 871 drivers/spi/spi-fsl-lpspi.c controller->dev.of_node = pdev->dev.of_node; controller 872 drivers/spi/spi-fsl-lpspi.c controller->bus_num = pdev->id; controller 873 drivers/spi/spi-fsl-lpspi.c controller->slave_abort = fsl_lpspi_slave_abort; controller 875 drivers/spi/spi-fsl-lpspi.c ret = devm_spi_register_controller(&pdev->dev, controller); controller 882 drivers/spi/spi-fsl-lpspi.c for (i = 0; i < controller->num_chipselect; i++) { controller 900 drivers/spi/spi-fsl-lpspi.c controller->cs_gpios = fsl_lpspi->chipselect; controller 901 drivers/spi/spi-fsl-lpspi.c controller->prepare_message = fsl_lpspi_prepare_message; controller 954 drivers/spi/spi-fsl-lpspi.c ret = fsl_lpspi_dma_init(&pdev->dev, fsl_lpspi, controller); controller 964 drivers/spi/spi-fsl-lpspi.c spi_controller_put(controller); controller 971 drivers/spi/spi-fsl-lpspi.c struct spi_controller *controller = platform_get_drvdata(pdev); controller 973 drivers/spi/spi-fsl-lpspi.c spi_controller_get_devdata(controller); controller 977 drivers/spi/spi-fsl-lpspi.c spi_master_put(controller); controller 191 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 225 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 252 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 276 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 418 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 499 drivers/spi/spi-mem.c struct spi_controller *ctlr = mem->spi->controller; controller 546 drivers/spi/spi-mem.c struct spi_controller *ctlr = desc->mem->spi->controller; controller 643 drivers/spi/spi-mem.c struct spi_controller *ctlr = desc->mem->spi->controller; controller 689 drivers/spi/spi-mem.c struct spi_controller *ctlr = desc->mem->spi->controller; controller 724 drivers/spi/spi-mem.c struct spi_controller *ctlr = spi->controller; controller 23 drivers/spi/spi-pxa2xx-dma.c struct spi_message *msg = drv_data->controller->cur_msg; controller 59 drivers/spi/spi-pxa2xx-dma.c spi_finalize_current_transfer(drv_data->controller); controller 74 drivers/spi/spi-pxa2xx-dma.c spi_get_ctldata(drv_data->controller->cur_msg->spi); controller 102 drivers/spi/spi-pxa2xx-dma.c chan = drv_data->controller->dma_tx; controller 109 drivers/spi/spi-pxa2xx-dma.c chan = drv_data->controller->dma_rx; controller 130 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_async(drv_data->controller->dma_rx); controller 131 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_async(drv_data->controller->dma_tx); controller 171 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_async(drv_data->controller->dma_tx); controller 178 drivers/spi/spi-pxa2xx-dma.c dma_async_issue_pending(drv_data->controller->dma_rx); controller 179 drivers/spi/spi-pxa2xx-dma.c dma_async_issue_pending(drv_data->controller->dma_tx); controller 187 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_sync(drv_data->controller->dma_rx); controller 188 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_sync(drv_data->controller->dma_tx); controller 195 drivers/spi/spi-pxa2xx-dma.c struct spi_controller *controller = drv_data->controller; controller 201 drivers/spi/spi-pxa2xx-dma.c controller->dma_tx = dma_request_slave_channel_compat(mask, controller 203 drivers/spi/spi-pxa2xx-dma.c if (!controller->dma_tx) controller 206 drivers/spi/spi-pxa2xx-dma.c controller->dma_rx = dma_request_slave_channel_compat(mask, controller 208 drivers/spi/spi-pxa2xx-dma.c if (!controller->dma_rx) { controller 209 drivers/spi/spi-pxa2xx-dma.c dma_release_channel(controller->dma_tx); controller 210 drivers/spi/spi-pxa2xx-dma.c controller->dma_tx = NULL; controller 219 drivers/spi/spi-pxa2xx-dma.c struct spi_controller *controller = drv_data->controller; controller 221 drivers/spi/spi-pxa2xx-dma.c if (controller->dma_rx) { controller 222 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_sync(controller->dma_rx); controller 223 drivers/spi/spi-pxa2xx-dma.c dma_release_channel(controller->dma_rx); controller 224 drivers/spi/spi-pxa2xx-dma.c controller->dma_rx = NULL; controller 226 drivers/spi/spi-pxa2xx-dma.c if (controller->dma_tx) { controller 227 drivers/spi/spi-pxa2xx-dma.c dmaengine_terminate_sync(controller->dma_tx); controller 228 drivers/spi/spi-pxa2xx-dma.c dma_release_channel(controller->dma_tx); controller 229 drivers/spi/spi-pxa2xx-dma.c controller->dma_tx = NULL; controller 239 drivers/spi/spi-pxa2xx-dma.c struct driver_data *drv_data = spi_controller_get_devdata(spi->controller); controller 346 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 369 drivers/spi/spi-pxa2xx.c (drv_data->controller->max_speed_hz / 2)); controller 376 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 413 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 438 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 584 drivers/spi/spi-pxa2xx.c spi_get_ctldata(drv_data->controller->cur_msg->spi); controller 616 drivers/spi/spi-pxa2xx.c drv_data->controller->cur_msg->status = -EIO; controller 617 drivers/spi/spi-pxa2xx.c spi_finalize_current_transfer(drv_data->controller); controller 628 drivers/spi/spi-pxa2xx.c spi_finalize_current_transfer(drv_data->controller); controller 764 drivers/spi/spi-pxa2xx.c if (!drv_data->controller->cur_msg) { controller 896 drivers/spi/spi-pxa2xx.c unsigned long ssp_clk = drv_data->controller->max_speed_hz; controller 915 drivers/spi/spi-pxa2xx.c spi_get_ctldata(drv_data->controller->cur_msg->spi); controller 929 drivers/spi/spi-pxa2xx.c static bool pxa2xx_spi_can_dma(struct spi_controller *controller, controller 940 drivers/spi/spi-pxa2xx.c static int pxa2xx_spi_transfer_one(struct spi_controller *controller, controller 944 drivers/spi/spi-pxa2xx.c struct driver_data *drv_data = spi_controller_get_devdata(controller); controller 945 drivers/spi/spi-pxa2xx.c struct spi_message *message = controller->cur_msg; controller 1027 drivers/spi/spi-pxa2xx.c dma_mapped = controller->can_dma && controller 1028 drivers/spi/spi-pxa2xx.c controller->can_dma(controller, spi, transfer) && controller 1029 drivers/spi/spi-pxa2xx.c controller->cur_msg_mapped; controller 1057 drivers/spi/spi-pxa2xx.c controller->max_speed_hz controller 1062 drivers/spi/spi-pxa2xx.c controller->max_speed_hz / 2 controller 1113 drivers/spi/spi-pxa2xx.c if (spi_controller_is_slave(controller)) { controller 1132 drivers/spi/spi-pxa2xx.c static int pxa2xx_spi_slave_abort(struct spi_controller *controller) controller 1134 drivers/spi/spi-pxa2xx.c struct driver_data *drv_data = spi_controller_get_devdata(controller); controller 1147 drivers/spi/spi-pxa2xx.c drv_data->controller->cur_msg->status = -EINTR; controller 1148 drivers/spi/spi-pxa2xx.c spi_finalize_current_transfer(drv_data->controller); controller 1153 drivers/spi/spi-pxa2xx.c static void pxa2xx_spi_handle_err(struct spi_controller *controller, controller 1156 drivers/spi/spi-pxa2xx.c struct driver_data *drv_data = spi_controller_get_devdata(controller); controller 1180 drivers/spi/spi-pxa2xx.c static int pxa2xx_spi_unprepare_transfer(struct spi_controller *controller) controller 1182 drivers/spi/spi-pxa2xx.c struct driver_data *drv_data = spi_controller_get_devdata(controller); controller 1195 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 1254 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 1281 drivers/spi/spi-pxa2xx.c if (spi_controller_is_slave(drv_data->controller)) { controller 1331 drivers/spi/spi-pxa2xx.c if (spi_controller_is_slave(drv_data->controller)) { controller 1409 drivers/spi/spi-pxa2xx.c spi_controller_get_devdata(spi->controller); controller 1618 drivers/spi/spi-pxa2xx.c static int pxa2xx_spi_fw_translate_cs(struct spi_controller *controller, controller 1621 drivers/spi/spi-pxa2xx.c struct driver_data *drv_data = spi_controller_get_devdata(controller); controller 1651 drivers/spi/spi-pxa2xx.c struct spi_controller *controller; controller 1677 drivers/spi/spi-pxa2xx.c controller = spi_alloc_slave(dev, sizeof(struct driver_data)); controller 1679 drivers/spi/spi-pxa2xx.c controller = spi_alloc_master(dev, sizeof(struct driver_data)); controller 1681 drivers/spi/spi-pxa2xx.c if (!controller) { controller 1686 drivers/spi/spi-pxa2xx.c drv_data = spi_controller_get_devdata(controller); controller 1687 drivers/spi/spi-pxa2xx.c drv_data->controller = controller; controller 1692 drivers/spi/spi-pxa2xx.c controller->dev.of_node = pdev->dev.of_node; controller 1694 drivers/spi/spi-pxa2xx.c controller->mode_bits = SPI_CPOL | SPI_CPHA | SPI_CS_HIGH | SPI_LOOP; controller 1696 drivers/spi/spi-pxa2xx.c controller->bus_num = ssp->port_id; controller 1697 drivers/spi/spi-pxa2xx.c controller->dma_alignment = DMA_ALIGNMENT; controller 1698 drivers/spi/spi-pxa2xx.c controller->cleanup = cleanup; controller 1699 drivers/spi/spi-pxa2xx.c controller->setup = setup; controller 1700 drivers/spi/spi-pxa2xx.c controller->set_cs = pxa2xx_spi_set_cs; controller 1701 drivers/spi/spi-pxa2xx.c controller->transfer_one = pxa2xx_spi_transfer_one; controller 1702 drivers/spi/spi-pxa2xx.c controller->slave_abort = pxa2xx_spi_slave_abort; controller 1703 drivers/spi/spi-pxa2xx.c controller->handle_err = pxa2xx_spi_handle_err; controller 1704 drivers/spi/spi-pxa2xx.c controller->unprepare_transfer_hardware = pxa2xx_spi_unprepare_transfer; controller 1705 drivers/spi/spi-pxa2xx.c controller->fw_translate_cs = pxa2xx_spi_fw_translate_cs; controller 1706 drivers/spi/spi-pxa2xx.c controller->auto_runtime_pm = true; controller 1707 drivers/spi/spi-pxa2xx.c controller->flags = SPI_CONTROLLER_MUST_RX | SPI_CONTROLLER_MUST_TX; controller 1716 drivers/spi/spi-pxa2xx.c controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); controller 1719 drivers/spi/spi-pxa2xx.c controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 16); controller 1728 drivers/spi/spi-pxa2xx.c controller->bits_per_word_mask = SPI_BPW_RANGE_MASK(4, 32); controller 1750 drivers/spi/spi-pxa2xx.c controller->can_dma = pxa2xx_spi_can_dma; controller 1751 drivers/spi/spi-pxa2xx.c controller->max_dma_len = MAX_DMA_LEN; controller 1752 drivers/spi/spi-pxa2xx.c controller->max_transfer_size = controller 1762 drivers/spi/spi-pxa2xx.c controller->max_speed_hz = clk_get_rate(ssp->clk); controller 1768 drivers/spi/spi-pxa2xx.c controller->min_speed_hz = controller 1769 drivers/spi/spi-pxa2xx.c DIV_ROUND_UP(controller->max_speed_hz, 4096); controller 1771 drivers/spi/spi-pxa2xx.c controller->min_speed_hz = controller 1772 drivers/spi/spi-pxa2xx.c DIV_ROUND_UP(controller->max_speed_hz, 512); controller 1795 drivers/spi/spi-pxa2xx.c if (spi_controller_is_slave(controller)) { controller 1808 drivers/spi/spi-pxa2xx.c if (!spi_controller_is_slave(controller)) controller 1833 drivers/spi/spi-pxa2xx.c controller->num_chipselect = platform_info->num_chipselect; controller 1839 drivers/spi/spi-pxa2xx.c controller->num_chipselect = max_t(int, count, controller 1840 drivers/spi/spi-pxa2xx.c controller->num_chipselect); controller 1843 drivers/spi/spi-pxa2xx.c controller->num_chipselect, sizeof(struct gpio_desc *), controller 1850 drivers/spi/spi-pxa2xx.c for (i = 0; i < controller->num_chipselect; i++) { controller 1883 drivers/spi/spi-pxa2xx.c status = spi_register_controller(controller); controller 1902 drivers/spi/spi-pxa2xx.c spi_controller_put(controller); controller 1918 drivers/spi/spi-pxa2xx.c spi_unregister_controller(drv_data->controller); controller 1947 drivers/spi/spi-pxa2xx.c status = spi_controller_suspend(drv_data->controller); controller 1972 drivers/spi/spi-pxa2xx.c return spi_controller_resume(drv_data->controller); controller 31 drivers/spi/spi-pxa2xx.h struct spi_controller *controller; controller 156 drivers/spi/spi-qup.c static inline bool spi_qup_is_flag_set(struct spi_qup *controller, u32 flag) controller 158 drivers/spi/spi-qup.c u32 opflag = readl_relaxed(controller->base + QUP_OPERATIONAL); controller 172 drivers/spi/spi-qup.c static inline unsigned int spi_qup_len(struct spi_qup *controller) controller 174 drivers/spi/spi-qup.c return controller->n_words * controller->w_size; controller 177 drivers/spi/spi-qup.c static inline bool spi_qup_is_valid_state(struct spi_qup *controller) controller 179 drivers/spi/spi-qup.c u32 opstate = readl_relaxed(controller->base + QUP_STATE); controller 184 drivers/spi/spi-qup.c static int spi_qup_set_state(struct spi_qup *controller, u32 state) controller 190 drivers/spi/spi-qup.c while (!spi_qup_is_valid_state(controller)) { controller 199 drivers/spi/spi-qup.c dev_dbg(controller->dev, "invalid state for %ld,us %d\n", controller 202 drivers/spi/spi-qup.c cur_state = readl_relaxed(controller->base + QUP_STATE); controller 209 drivers/spi/spi-qup.c writel_relaxed(QUP_STATE_CLEAR, controller->base + QUP_STATE); controller 210 drivers/spi/spi-qup.c writel_relaxed(QUP_STATE_CLEAR, controller->base + QUP_STATE); controller 214 drivers/spi/spi-qup.c writel_relaxed(cur_state, controller->base + QUP_STATE); controller 218 drivers/spi/spi-qup.c while (!spi_qup_is_valid_state(controller)) { controller 229 drivers/spi/spi-qup.c static void spi_qup_read_from_fifo(struct spi_qup *controller, u32 num_words) controller 231 drivers/spi/spi-qup.c u8 *rx_buf = controller->rx_buf; controller 237 drivers/spi/spi-qup.c word = readl_relaxed(controller->base + QUP_INPUT_FIFO); controller 239 drivers/spi/spi-qup.c num_bytes = min_t(int, spi_qup_len(controller) - controller 240 drivers/spi/spi-qup.c controller->rx_bytes, controller 241 drivers/spi/spi-qup.c controller->w_size); controller 244 drivers/spi/spi-qup.c controller->rx_bytes += num_bytes; controller 248 drivers/spi/spi-qup.c for (i = 0; i < num_bytes; i++, controller->rx_bytes++) { controller 256 drivers/spi/spi-qup.c shift *= (controller->w_size - i - 1); controller 257 drivers/spi/spi-qup.c rx_buf[controller->rx_bytes] = word >> shift; controller 262 drivers/spi/spi-qup.c static void spi_qup_read(struct spi_qup *controller, u32 *opflags) controller 265 drivers/spi/spi-qup.c bool is_block_mode = controller->mode == QUP_IO_M_MODE_BLOCK; controller 267 drivers/spi/spi-qup.c remainder = DIV_ROUND_UP(spi_qup_len(controller) - controller->rx_bytes, controller 268 drivers/spi/spi-qup.c controller->w_size); controller 269 drivers/spi/spi-qup.c words_per_block = controller->in_blk_sz >> 2; controller 274 drivers/spi/spi-qup.c controller->base + QUP_OPERATIONAL); controller 283 drivers/spi/spi-qup.c if (!spi_qup_is_flag_set(controller, controller 291 drivers/spi/spi-qup.c spi_qup_read_from_fifo(controller, num_words); controller 296 drivers/spi/spi-qup.c if (is_block_mode && !spi_qup_is_flag_set(controller, controller 310 drivers/spi/spi-qup.c *opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); controller 313 drivers/spi/spi-qup.c controller->base + QUP_OPERATIONAL); controller 317 drivers/spi/spi-qup.c static void spi_qup_write_to_fifo(struct spi_qup *controller, u32 num_words) controller 319 drivers/spi/spi-qup.c const u8 *tx_buf = controller->tx_buf; controller 326 drivers/spi/spi-qup.c num_bytes = min_t(int, spi_qup_len(controller) - controller 327 drivers/spi/spi-qup.c controller->tx_bytes, controller 328 drivers/spi/spi-qup.c controller->w_size); controller 331 drivers/spi/spi-qup.c data = tx_buf[controller->tx_bytes + i]; controller 335 drivers/spi/spi-qup.c controller->tx_bytes += num_bytes; controller 337 drivers/spi/spi-qup.c writel_relaxed(word, controller->base + QUP_OUTPUT_FIFO); controller 348 drivers/spi/spi-qup.c static void spi_qup_write(struct spi_qup *controller) controller 350 drivers/spi/spi-qup.c bool is_block_mode = controller->mode == QUP_IO_M_MODE_BLOCK; controller 353 drivers/spi/spi-qup.c remainder = DIV_ROUND_UP(spi_qup_len(controller) - controller->tx_bytes, controller 354 drivers/spi/spi-qup.c controller->w_size); controller 355 drivers/spi/spi-qup.c words_per_block = controller->out_blk_sz >> 2; controller 360 drivers/spi/spi-qup.c controller->base + QUP_OPERATIONAL); controller 370 drivers/spi/spi-qup.c if (spi_qup_is_flag_set(controller, controller 377 drivers/spi/spi-qup.c spi_qup_write_to_fifo(controller, num_words); controller 382 drivers/spi/spi-qup.c if (is_block_mode && !spi_qup_is_flag_set(controller, controller 579 drivers/spi/spi-qup.c static bool spi_qup_data_pending(struct spi_qup *controller) controller 583 drivers/spi/spi-qup.c remainder_tx = DIV_ROUND_UP(spi_qup_len(controller) - controller 584 drivers/spi/spi-qup.c controller->tx_bytes, controller->w_size); controller 586 drivers/spi/spi-qup.c remainder_rx = DIV_ROUND_UP(spi_qup_len(controller) - controller 587 drivers/spi/spi-qup.c controller->rx_bytes, controller->w_size); controller 594 drivers/spi/spi-qup.c struct spi_qup *controller = dev_id; controller 599 drivers/spi/spi-qup.c qup_err = readl_relaxed(controller->base + QUP_ERROR_FLAGS); controller 600 drivers/spi/spi-qup.c spi_err = readl_relaxed(controller->base + SPI_ERROR_FLAGS); controller 601 drivers/spi/spi-qup.c opflags = readl_relaxed(controller->base + QUP_OPERATIONAL); controller 603 drivers/spi/spi-qup.c writel_relaxed(qup_err, controller->base + QUP_ERROR_FLAGS); controller 604 drivers/spi/spi-qup.c writel_relaxed(spi_err, controller->base + SPI_ERROR_FLAGS); controller 608 drivers/spi/spi-qup.c dev_warn(controller->dev, "OUTPUT_OVER_RUN\n"); controller 610 drivers/spi/spi-qup.c dev_warn(controller->dev, "INPUT_UNDER_RUN\n"); controller 612 drivers/spi/spi-qup.c dev_warn(controller->dev, "OUTPUT_UNDER_RUN\n"); controller 614 drivers/spi/spi-qup.c dev_warn(controller->dev, "INPUT_OVER_RUN\n"); controller 621 drivers/spi/spi-qup.c dev_warn(controller->dev, "CLK_OVER_RUN\n"); controller 623 drivers/spi/spi-qup.c dev_warn(controller->dev, "CLK_UNDER_RUN\n"); controller 628 drivers/spi/spi-qup.c spin_lock_irqsave(&controller->lock, flags); controller 629 drivers/spi/spi-qup.c if (!controller->error) controller 630 drivers/spi/spi-qup.c controller->error = error; controller 631 drivers/spi/spi-qup.c spin_unlock_irqrestore(&controller->lock, flags); controller 633 drivers/spi/spi-qup.c if (spi_qup_is_dma_xfer(controller->mode)) { controller 634 drivers/spi/spi-qup.c writel_relaxed(opflags, controller->base + QUP_OPERATIONAL); controller 637 drivers/spi/spi-qup.c spi_qup_read(controller, &opflags); controller 640 drivers/spi/spi-qup.c spi_qup_write(controller); controller 642 drivers/spi/spi-qup.c if (!spi_qup_data_pending(controller)) controller 643 drivers/spi/spi-qup.c complete(&controller->done); controller 647 drivers/spi/spi-qup.c complete(&controller->done); controller 650 drivers/spi/spi-qup.c if (!spi_qup_is_dma_xfer(controller->mode)) { controller 651 drivers/spi/spi-qup.c if (spi_qup_data_pending(controller)) controller 654 drivers/spi/spi-qup.c complete(&controller->done); controller 663 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(spi->master); controller 666 drivers/spi/spi-qup.c if (spi->mode & SPI_LOOP && xfer->len > controller->in_fifo_sz) { controller 667 drivers/spi/spi-qup.c dev_err(controller->dev, "too big size for loopback %d > %d\n", controller 668 drivers/spi/spi-qup.c xfer->len, controller->in_fifo_sz); controller 672 drivers/spi/spi-qup.c ret = clk_set_rate(controller->cclk, xfer->speed_hz); controller 674 drivers/spi/spi-qup.c dev_err(controller->dev, "fail to set frequency %d", controller 679 drivers/spi/spi-qup.c controller->w_size = DIV_ROUND_UP(xfer->bits_per_word, 8); controller 680 drivers/spi/spi-qup.c controller->n_words = xfer->len / controller->w_size; controller 682 drivers/spi/spi-qup.c if (controller->n_words <= (controller->in_fifo_sz / sizeof(u32))) controller 683 drivers/spi/spi-qup.c controller->mode = QUP_IO_M_MODE_FIFO; controller 687 drivers/spi/spi-qup.c controller->mode = QUP_IO_M_MODE_BAM; controller 689 drivers/spi/spi-qup.c controller->mode = QUP_IO_M_MODE_BLOCK; controller 697 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(spi->master); controller 701 drivers/spi/spi-qup.c spin_lock_irqsave(&controller->lock, flags); controller 702 drivers/spi/spi-qup.c controller->xfer = xfer; controller 703 drivers/spi/spi-qup.c controller->error = 0; controller 704 drivers/spi/spi-qup.c controller->rx_bytes = 0; controller 705 drivers/spi/spi-qup.c controller->tx_bytes = 0; controller 706 drivers/spi/spi-qup.c spin_unlock_irqrestore(&controller->lock, flags); controller 709 drivers/spi/spi-qup.c if (spi_qup_set_state(controller, QUP_STATE_RESET)) { controller 710 drivers/spi/spi-qup.c dev_err(controller->dev, "cannot set RESET state\n"); controller 714 drivers/spi/spi-qup.c switch (controller->mode) { controller 716 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 717 drivers/spi/spi-qup.c controller->base + QUP_MX_READ_CNT); controller 718 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 719 drivers/spi/spi-qup.c controller->base + QUP_MX_WRITE_CNT); controller 721 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_INPUT_CNT); controller 722 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_OUTPUT_CNT); controller 725 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 726 drivers/spi/spi-qup.c controller->base + QUP_MX_INPUT_CNT); controller 727 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 728 drivers/spi/spi-qup.c controller->base + QUP_MX_OUTPUT_CNT); controller 730 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_READ_CNT); controller 731 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_WRITE_CNT); controller 733 drivers/spi/spi-qup.c if (!controller->qup_v1) { controller 736 drivers/spi/spi-qup.c input_cnt = controller->base + QUP_MX_INPUT_CNT; controller 746 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, input_cnt); controller 748 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_OUTPUT_CNT); controller 752 drivers/spi/spi-qup.c reinit_completion(&controller->done); controller 753 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 754 drivers/spi/spi-qup.c controller->base + QUP_MX_INPUT_CNT); controller 755 drivers/spi/spi-qup.c writel_relaxed(controller->n_words, controller 756 drivers/spi/spi-qup.c controller->base + QUP_MX_OUTPUT_CNT); controller 758 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_READ_CNT); controller 759 drivers/spi/spi-qup.c writel_relaxed(0, controller->base + QUP_MX_WRITE_CNT); controller 762 drivers/spi/spi-qup.c dev_err(controller->dev, "unknown mode = %d\n", controller 763 drivers/spi/spi-qup.c controller->mode); controller 767 drivers/spi/spi-qup.c iomode = readl_relaxed(controller->base + QUP_IO_M_MODES); controller 771 drivers/spi/spi-qup.c if (!spi_qup_is_dma_xfer(controller->mode)) controller 776 drivers/spi/spi-qup.c iomode |= (controller->mode << QUP_IO_M_OUTPUT_MODE_MASK_SHIFT); controller 777 drivers/spi/spi-qup.c iomode |= (controller->mode << QUP_IO_M_INPUT_MODE_MASK_SHIFT); controller 779 drivers/spi/spi-qup.c writel_relaxed(iomode, controller->base + QUP_IO_M_MODES); controller 781 drivers/spi/spi-qup.c control = readl_relaxed(controller->base + SPI_IO_CONTROL); controller 788 drivers/spi/spi-qup.c writel_relaxed(control, controller->base + SPI_IO_CONTROL); controller 790 drivers/spi/spi-qup.c config = readl_relaxed(controller->base + SPI_CONFIG); controller 811 drivers/spi/spi-qup.c writel_relaxed(config, controller->base + SPI_CONFIG); controller 813 drivers/spi/spi-qup.c config = readl_relaxed(controller->base + QUP_CONFIG); controller 818 drivers/spi/spi-qup.c if (spi_qup_is_dma_xfer(controller->mode)) { controller 825 drivers/spi/spi-qup.c writel_relaxed(config, controller->base + QUP_CONFIG); controller 828 drivers/spi/spi-qup.c if (!controller->qup_v1) { controller 836 drivers/spi/spi-qup.c if (spi_qup_is_dma_xfer(controller->mode)) controller 839 drivers/spi/spi-qup.c writel_relaxed(mask, controller->base + QUP_OPERATIONAL_MASK); controller 849 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 862 drivers/spi/spi-qup.c reinit_completion(&controller->done); controller 864 drivers/spi/spi-qup.c spin_lock_irqsave(&controller->lock, flags); controller 865 drivers/spi/spi-qup.c controller->xfer = xfer; controller 866 drivers/spi/spi-qup.c controller->error = 0; controller 867 drivers/spi/spi-qup.c controller->rx_bytes = 0; controller 868 drivers/spi/spi-qup.c controller->tx_bytes = 0; controller 869 drivers/spi/spi-qup.c spin_unlock_irqrestore(&controller->lock, flags); controller 871 drivers/spi/spi-qup.c if (spi_qup_is_dma_xfer(controller->mode)) controller 876 drivers/spi/spi-qup.c spi_qup_set_state(controller, QUP_STATE_RESET); controller 877 drivers/spi/spi-qup.c spin_lock_irqsave(&controller->lock, flags); controller 879 drivers/spi/spi-qup.c ret = controller->error; controller 880 drivers/spi/spi-qup.c spin_unlock_irqrestore(&controller->lock, flags); controller 882 drivers/spi/spi-qup.c if (ret && spi_qup_is_dma_xfer(controller->mode)) controller 979 drivers/spi/spi-qup.c struct spi_qup *controller; controller 983 drivers/spi/spi-qup.c controller = spi_master_get_devdata(spi->master); controller 984 drivers/spi/spi-qup.c spi_ioc = readl_relaxed(controller->base + SPI_IO_CONTROL); controller 992 drivers/spi/spi-qup.c writel_relaxed(spi_ioc, controller->base + SPI_IO_CONTROL); controller 999 drivers/spi/spi-qup.c struct spi_qup *controller; controller 1073 drivers/spi/spi-qup.c controller = spi_master_get_devdata(master); controller 1075 drivers/spi/spi-qup.c controller->dev = dev; controller 1076 drivers/spi/spi-qup.c controller->base = base; controller 1077 drivers/spi/spi-qup.c controller->iclk = iclk; controller 1078 drivers/spi/spi-qup.c controller->cclk = cclk; controller 1079 drivers/spi/spi-qup.c controller->irq = irq; controller 1087 drivers/spi/spi-qup.c controller->qup_v1 = (uintptr_t)of_device_get_match_data(dev); controller 1089 drivers/spi/spi-qup.c if (!controller->qup_v1) controller 1092 drivers/spi/spi-qup.c spin_lock_init(&controller->lock); controller 1093 drivers/spi/spi-qup.c init_completion(&controller->done); controller 1099 drivers/spi/spi-qup.c controller->out_blk_sz = size * 16; controller 1101 drivers/spi/spi-qup.c controller->out_blk_sz = 4; controller 1105 drivers/spi/spi-qup.c controller->in_blk_sz = size * 16; controller 1107 drivers/spi/spi-qup.c controller->in_blk_sz = 4; controller 1110 drivers/spi/spi-qup.c controller->out_fifo_sz = controller->out_blk_sz * (2 << size); controller 1113 drivers/spi/spi-qup.c controller->in_fifo_sz = controller->in_blk_sz * (2 << size); controller 1116 drivers/spi/spi-qup.c controller->in_blk_sz, controller->in_fifo_sz, controller 1117 drivers/spi/spi-qup.c controller->out_blk_sz, controller->out_fifo_sz); controller 1121 drivers/spi/spi-qup.c ret = spi_qup_set_state(controller, QUP_STATE_RESET); controller 1130 drivers/spi/spi-qup.c if (!controller->qup_v1) controller 1137 drivers/spi/spi-qup.c if (controller->qup_v1) controller 1146 drivers/spi/spi-qup.c IRQF_TRIGGER_HIGH, pdev->name, controller); controller 1176 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 1180 drivers/spi/spi-qup.c config = readl(controller->base + QUP_CONFIG); controller 1182 drivers/spi/spi-qup.c writel_relaxed(config, controller->base + QUP_CONFIG); controller 1184 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); controller 1185 drivers/spi/spi-qup.c clk_disable_unprepare(controller->iclk); controller 1193 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 1197 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->iclk); controller 1201 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->cclk); controller 1206 drivers/spi/spi-qup.c config = readl_relaxed(controller->base + QUP_CONFIG); controller 1208 drivers/spi/spi-qup.c writel_relaxed(config, controller->base + QUP_CONFIG); controller 1217 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 1229 drivers/spi/spi-qup.c ret = spi_qup_set_state(controller, QUP_STATE_RESET); controller 1233 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); controller 1234 drivers/spi/spi-qup.c clk_disable_unprepare(controller->iclk); controller 1241 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 1244 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->iclk); controller 1248 drivers/spi/spi-qup.c ret = clk_prepare_enable(controller->cclk); controller 1252 drivers/spi/spi-qup.c ret = spi_qup_set_state(controller, QUP_STATE_RESET); controller 1263 drivers/spi/spi-qup.c struct spi_qup *controller = spi_master_get_devdata(master); controller 1270 drivers/spi/spi-qup.c ret = spi_qup_set_state(controller, QUP_STATE_RESET); controller 1276 drivers/spi/spi-qup.c clk_disable_unprepare(controller->cclk); controller 1277 drivers/spi/spi-qup.c clk_disable_unprepare(controller->iclk); controller 553 drivers/spi/spi-sh-msiof.c spi_controller_get_devdata(spi->controller); controller 293 drivers/spi/spi-sprd.c struct spi_controller *sctlr = sdev->controller; controller 404 drivers/spi/spi-sprd.c struct sprd_spi *ss = spi_controller_get_devdata(sdev->controller); controller 719 drivers/spi/spi-sprd.c struct sprd_spi *ss = spi_controller_get_devdata(sdev->controller); controller 51 drivers/spi/spi.c if (spi->controller->cleanup) controller 52 drivers/spi/spi.c spi->controller->cleanup(spi); controller 54 drivers/spi/spi.c spi_controller_put(spi->controller); controller 508 drivers/spi/spi.c spi->master = spi->controller = ctlr; controller 530 drivers/spi/spi.c dev_set_name(&spi->dev, "%s.%u", dev_name(&spi->controller->dev), controller 539 drivers/spi/spi.c if (spi->controller == new_spi->controller && controller 557 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 797 drivers/spi/spi.c if ((spi->controller->flags & SPI_MASTER_GPIO_SS) && controller 798 drivers/spi/spi.c spi->controller->set_cs) controller 799 drivers/spi/spi.c spi->controller->set_cs(spi, !enable); controller 800 drivers/spi/spi.c } else if (spi->controller->set_cs) { controller 801 drivers/spi/spi.c spi->controller->set_cs(spi, !enable); controller 1619 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 2096 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3058 drivers/spi/spi.c bad_bits = spi->mode & ~(spi->controller->mode_bits | SPI_CS_WORD); controller 3083 drivers/spi/spi.c status = __spi_validate_bits_per_word(spi->controller, controller 3089 drivers/spi/spi.c spi->max_speed_hz = spi->controller->max_speed_hz; controller 3091 drivers/spi/spi.c if (spi->controller->setup) controller 3092 drivers/spi/spi.c status = spi->controller->setup(spi); controller 3096 drivers/spi/spi.c if (spi->rt && !spi->controller->rt) { controller 3097 drivers/spi/spi.c spi->controller->rt = true; controller 3098 drivers/spi/spi.c spi_set_thread_rt(spi->controller); controller 3124 drivers/spi/spi.c if (spi->controller->set_cs_timing) controller 3125 drivers/spi/spi.c spi->controller->set_cs_timing(spi, setup, hold, inactive_dly); controller 3131 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3275 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3327 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3381 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3416 drivers/spi/spi.c struct spi_controller *ctlr = spi->controller; controller 3491 drivers/spi/spi.c mutex_lock(&spi->controller->bus_lock_mutex); controller 3493 drivers/spi/spi.c mutex_unlock(&spi->controller->bus_lock_mutex); controller 397 drivers/spi/spidev.c struct spi_controller *ctlr = spi->controller; controller 1352 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 1965 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 2597 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 3070 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 3271 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 3305 drivers/staging/octeon-usb/octeon-hcd.c struct device *dev = hcd->self.controller; controller 3674 drivers/staging/octeon-usb/octeon-hcd.c device_wakeup_enable(hcd->self.controller); controller 815 drivers/staging/wusbcore/host/hwa-hc.c device_wakeup_enable(usb_hcd->self.controller); controller 285 drivers/staging/wusbcore/host/whci/hcd.c device_wakeup_enable(usb_hcd->self.controller); controller 30 drivers/staging/wusbcore/pal.c wusbhc->pal.device = wusbhc->usb_hcd.self.controller; controller 286 drivers/staging/wusbcore/wusbhc.c return &wusbhc->usb_hcd.self.controller->kobj; controller 302 drivers/staging/wusbcore/wusbhc.c struct device *dev = wusbhc->usb_hcd.self.controller; controller 107 drivers/tty/rocket.c static unsigned long controller; controller 248 drivers/tty/rocket.c module_param_hw(controller, ulong, ioport, 0); controller 249 drivers/tty/rocket.c MODULE_PARM_DESC(controller, "I/O port for (ISA) rocketport controller"); controller 2256 drivers/tty/rocket.c num_aiops = sInitController(ctlp, i, controller + (i * 0x400), aiopio, MAX_AIOPS_PER_BOARD, 0, FREQ_DIS, 0); controller 2355 drivers/tty/rocket.c if (controller == 0) controller 2356 drivers/tty/rocket.c controller = board1 + 0x40; controller 2358 drivers/tty/rocket.c controller = 0; /* Used as a flag, meaning no ISA boards */ controller 2362 drivers/tty/rocket.c if (controller && (!request_region(controller, 4, "Comtrol RocketPort"))) { controller 2365 drivers/tty/rocket.c "Driver exiting\n", controller); controller 2446 drivers/tty/rocket.c if (controller) controller 2447 drivers/tty/rocket.c release_region(controller, 4); controller 2481 drivers/tty/rocket.c if (controller) controller 2482 drivers/tty/rocket.c release_region(controller, 4); controller 373 drivers/usb/c67x00/c67x00-hcd.c device_wakeup_enable(hcd->self.controller); controller 117 drivers/usb/c67x00/c67x00-hcd.h #define c67x00_hcd_dev(x) (c67x00_hcd_to_hcd(x)->self.controller) controller 36 drivers/usb/chipidea/host.c struct device *dev = hcd->self.controller; controller 73 drivers/usb/chipidea/host.c struct device *dev = hcd->self.controller; controller 240 drivers/usb/chipidea/host.c struct device *dev = hcd->self.controller; controller 302 drivers/usb/chipidea/host.c struct device *dev = hcd->self.controller; controller 158 drivers/usb/common/common.c struct device_node *controller = NULL; controller 165 drivers/usb/common/common.c controller = of_find_node_with_property(controller, "phys"); controller 166 drivers/usb/common/common.c if (!of_device_is_available(controller)) controller 171 drivers/usb/common/common.c args.np = of_parse_phandle(controller, "phys", controller 175 drivers/usb/common/common.c err = of_parse_phandle_with_args(controller, controller 188 drivers/usb/common/common.c } while (controller); controller 191 drivers/usb/common/common.c err = of_property_read_string(controller, "dr_mode", &dr_mode); controller 192 drivers/usb/common/common.c of_node_put(controller); controller 134 drivers/usb/common/usb-otg-fsm.c dev_err(fsm->otg->host->controller, controller 280 drivers/usb/core/hcd-pci.c device_wakeup_enable(hcd->self.controller); controller 640 drivers/usb/core/hcd.c dev_dbg (hcd->self.controller, "root hub device address %d\n", controller 656 drivers/usb/core/hcd.c dev_dbg (hcd->self.controller, "no endpoint features yet\n"); controller 698 drivers/usb/core/hcd.c dev_dbg (hcd->self.controller, controller 813 drivers/usb/core/hcd.c dev_dbg (hcd->self.controller, "not queuing rh status urb\n"); controller 929 drivers/usb/core/hcd.c dev_info (bus->controller, "new USB bus registered, assigned bus " controller 948 drivers/usb/core/hcd.c dev_info (bus->controller, "USB bus %d deregistered\n", bus->busnum); controller 975 drivers/usb/core/hcd.c struct device *parent_dev = hcd->self.controller; controller 1776 drivers/usb/core/hcd.c dev_dbg (hcd->self.controller, controller 2364 drivers/usb/core/hcd.c dev_err (hcd->self.controller, "HC died; cleaning up\n"); controller 2454 drivers/usb/core/hcd.c hcd->self.controller = dev; controller 2588 drivers/usb/core/hcd.c dev_err(hcd->self.controller, controller 2594 drivers/usb/core/hcd.c dev_info(hcd->self.controller, "irq %d, %s 0x%08llx\n", irqnum, controller 2601 drivers/usb/core/hcd.c dev_info(hcd->self.controller, "%s 0x%08llx\n", controller 2662 drivers/usb/core/hcd.c dev_info(hcd->self.controller, "%s\n", hcd->product_desc); controller 2759 drivers/usb/core/hcd.c dev_err(hcd->self.controller, "can't setup: %d\n", controller 2771 drivers/usb/core/hcd.c if (device_can_wakeup(hcd->self.controller) controller 2773 drivers/usb/core/hcd.c dev_dbg(hcd->self.controller, "supports USB remote wakeup\n"); controller 2791 drivers/usb/core/hcd.c dev_err(hcd->self.controller, "startup error %d\n", retval); controller 2845 drivers/usb/core/hcd.c dev_info(hcd->self.controller, "remove, state %x\n", hcd->state); controller 2852 drivers/usb/core/hcd.c dev_dbg(hcd->self.controller, "roothub graceful disconnect\n"); controller 4621 drivers/usb/core/hub.c if (udev->bus->controller->driver) controller 4622 drivers/usb/core/hub.c driver_name = udev->bus->controller->driver->name; controller 292 drivers/usb/core/message.c dev_err(io->dev->bus->controller, controller 639 drivers/usb/core/usb.c dev->dev.parent = bus->controller; controller 5234 drivers/usb/dwc2/hcd.c device_wakeup_enable(hcd->self.controller); controller 297 drivers/usb/gadget/udc/dummy_hcd.c return dummy_hcd_to_hcd(dum)->self.controller; controller 2495 drivers/usb/gadget/udc/dummy_hcd.c dum = *((void **)dev_get_platdata(hcd->self.controller)); controller 155 drivers/usb/host/ehci-atmel.c device_wakeup_enable(hcd->self.controller); controller 777 drivers/usb/host/ehci-dbg.c hcd->self.controller->bus->name, controller 778 drivers/usb/host/ehci-dbg.c dev_name(hcd->self.controller), controller 789 drivers/usb/host/ehci-dbg.c hcd->self.controller->bus->name, controller 790 drivers/usb/host/ehci-dbg.c dev_name(hcd->self.controller), controller 798 drivers/usb/host/ehci-dbg.c if (dev_is_pci(hcd->self.controller)) { controller 803 drivers/usb/host/ehci-dbg.c pdev = to_pci_dev(ehci_to_hcd(ehci)->self.controller); controller 237 drivers/usb/host/ehci-exynos.c device_wakeup_enable(hcd->self.controller); controller 149 drivers/usb/host/ehci-fsl.c device_wakeup_enable(hcd->self.controller); controller 204 drivers/usb/host/ehci-fsl.c struct device *dev = hcd->self.controller; controller 208 drivers/usb/host/ehci-fsl.c dev_warn(hcd->self.controller, "Could not get controller version\n"); controller 285 drivers/usb/host/ehci-fsl.c dev_warn(hcd->self.controller, "USB PHY clock invalid\n"); controller 307 drivers/usb/host/ehci-fsl.c pdata = dev_get_platdata(hcd->self.controller); controller 382 drivers/usb/host/ehci-fsl.c dev = hcd->self.controller; controller 383 drivers/usb/host/ehci-fsl.c pdata = dev_get_platdata(hcd->self.controller); controller 131 drivers/usb/host/ehci-grlib.c device_wakeup_enable(hcd->self.controller); controller 601 drivers/usb/host/ehci-hcd.c if (!dma_set_mask(hcd->self.controller, DMA_BIT_MASK(64))) controller 68 drivers/usb/host/ehci-mv.c struct device *dev = hcd->self.controller; controller 202 drivers/usb/host/ehci-mv.c device_wakeup_enable(hcd->self.controller); controller 138 drivers/usb/host/ehci-mxc.c device_wakeup_enable(hcd->self.controller); controller 151 drivers/usb/host/ehci-npcm7xx.c device_wakeup_enable(hcd->self.controller); controller 201 drivers/usb/host/ehci-omap.c device_wakeup_enable(hcd->self.controller); controller 165 drivers/usb/host/ehci-orion.c struct device *dev = hcd->self.controller; controller 308 drivers/usb/host/ehci-orion.c device_wakeup_enable(hcd->self.controller); controller 90 drivers/usb/host/ehci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 338 drivers/usb/host/ehci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 53 drivers/usb/host/ehci-platform.c struct platform_device *pdev = to_platform_device(hcd->self.controller); controller 246 drivers/usb/host/ehci-platform.c device_wakeup_enable(hcd->self.controller); controller 247 drivers/usb/host/ehci-platform.c device_enable_async_suspend(hcd->self.controller); controller 327 drivers/usb/host/ehci-platform.c companion_dev = usb_of_get_companion_dev(hcd->self.controller); controller 329 drivers/usb/host/ehci-platform.c device_pm_wait_for_dev(hcd->self.controller, companion_dev); controller 207 drivers/usb/host/ehci-pmcmsp.c device_wakeup_enable(hcd->self.controller); controller 174 drivers/usb/host/ehci-ppc-of.c device_wakeup_enable(hcd->self.controller); controller 182 drivers/usb/host/ehci-ps3.c device_wakeup_enable(hcd->self.controller); controller 138 drivers/usb/host/ehci-sh.c device_wakeup_enable(hcd->self.controller); controller 118 drivers/usb/host/ehci-spear.c device_wakeup_enable(hcd->self.controller); controller 52 drivers/usb/host/ehci-st.c struct platform_device *pdev = to_platform_device(hcd->self.controller); controller 240 drivers/usb/host/ehci-st.c device_wakeup_enable(hcd->self.controller); controller 151 drivers/usb/host/ehci-sysfs.c struct device *controller = ehci_to_hcd(ehci)->self.controller; controller 156 drivers/usb/host/ehci-sysfs.c i = device_create_file(controller, &dev_attr_companion); controller 160 drivers/usb/host/ehci-sysfs.c i = device_create_file(controller, &dev_attr_uframe_periodic_max); controller 167 drivers/usb/host/ehci-sysfs.c struct device *controller = ehci_to_hcd(ehci)->self.controller; controller 171 drivers/usb/host/ehci-sysfs.c device_remove_file(controller, &dev_attr_companion); controller 173 drivers/usb/host/ehci-sysfs.c device_remove_file(controller, &dev_attr_uframe_periodic_max); controller 503 drivers/usb/host/ehci-tegra.c device_wakeup_enable(hcd->self.controller); controller 38 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); controller 40 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, controller 43 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, controller 46 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, controller 48 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, controller 51 drivers/usb/host/ehci-xilinx-of.c dev_warn(hcd->self.controller, controller 183 drivers/usb/host/ehci-xilinx-of.c device_wakeup_enable(hcd->self.controller); controller 860 drivers/usb/host/ehci.h dev_dbg(ehci_to_hcd(ehci)->self.controller, fmt, ## args) controller 862 drivers/usb/host/ehci.h dev_err(ehci_to_hcd(ehci)->self.controller, fmt, ## args) controller 864 drivers/usb/host/ehci.h dev_info(ehci_to_hcd(ehci)->self.controller, fmt, ## args) controller 866 drivers/usb/host/ehci.h dev_warn(ehci_to_hcd(ehci)->self.controller, fmt, ## args) controller 83 drivers/usb/host/fhci-dbg.c struct device *dev = fhci_to_hcd(fhci)->self.controller; controller 590 drivers/usb/host/fhci-hcd.c hcd->self.controller = dev; controller 751 drivers/usb/host/fhci-hcd.c device_wakeup_enable(hcd->self.controller); controller 452 drivers/usb/host/fhci.h dev_dbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args) controller 454 drivers/usb/host/fhci.h dev_vdbg(fhci_to_hcd(fhci)->self.controller, fmt, ##args) controller 456 drivers/usb/host/fhci.h dev_err(fhci_to_hcd(fhci)->self.controller, fmt, ##args) controller 458 drivers/usb/host/fhci.h dev_info(fhci_to_hcd(fhci)->self.controller, fmt, ##args) controller 460 drivers/usb/host/fhci.h dev_warn(fhci_to_hcd(fhci)->self.controller, fmt, ##args) controller 82 drivers/usb/host/fotg210-hcd.c dev_dbg(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) controller 84 drivers/usb/host/fotg210-hcd.c dev_err(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) controller 86 drivers/usb/host/fotg210-hcd.c dev_info(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) controller 88 drivers/usb/host/fotg210-hcd.c dev_warn(fotg210_to_hcd(fotg210)->self.controller, fmt, ## args) controller 661 drivers/usb/host/fotg210-hcd.c hcd->self.controller->bus->name, controller 662 drivers/usb/host/fotg210-hcd.c dev_name(hcd->self.controller), controller 674 drivers/usb/host/fotg210-hcd.c hcd->self.controller->bus->name, controller 675 drivers/usb/host/fotg210-hcd.c dev_name(hcd->self.controller), controller 1909 drivers/usb/host/fotg210-hcd.c dma_free_coherent(fotg210_to_hcd(fotg210)->self.controller, controller 1926 drivers/usb/host/fotg210-hcd.c fotg210_to_hcd(fotg210)->self.controller, controller 1935 drivers/usb/host/fotg210-hcd.c fotg210_to_hcd(fotg210)->self.controller, controller 1948 drivers/usb/host/fotg210-hcd.c fotg210_to_hcd(fotg210)->self.controller, controller 1957 drivers/usb/host/fotg210-hcd.c dma_alloc_coherent(fotg210_to_hcd(fotg210)->self.controller, controller 4773 drivers/usb/host/fotg210-hcd.c struct device *controller = fotg210_to_hcd(fotg210)->self.controller; controller 4775 drivers/usb/host/fotg210-hcd.c return device_create_file(controller, &dev_attr_uframe_periodic_max); controller 4780 drivers/usb/host/fotg210-hcd.c struct device *controller = fotg210_to_hcd(fotg210)->self.controller; controller 4782 drivers/usb/host/fotg210-hcd.c device_remove_file(controller, &dev_attr_uframe_periodic_max); controller 5643 drivers/usb/host/fotg210-hcd.c device_wakeup_enable(hcd->self.controller); controller 1899 drivers/usb/host/imx21-hcd.c device_wakeup_enable(hcd->self.controller); controller 1359 drivers/usb/host/isp116x-hcd.c if (!device_can_wakeup(hcd->self.controller)) controller 1360 drivers/usb/host/isp116x-hcd.c device_init_wakeup(hcd->self.controller, 1); controller 1635 drivers/usb/host/isp116x-hcd.c device_wakeup_enable(hcd->self.controller); controller 348 drivers/usb/host/isp116x.h isp116x_to_hcd(h)->self.controller,d) controller 2228 drivers/usb/host/isp1362-hcd.c dev_info(hcd->self.controller, "ISP1362 Memory usage:\n"); controller 2229 drivers/usb/host/isp1362-hcd.c dev_info(hcd->self.controller, " ISTL: 2 * %4d: %4d @ $%04x:$%04x\n", controller 2231 drivers/usb/host/isp1362-hcd.c dev_info(hcd->self.controller, " INTL: %4d * (%3zu+8): %4d @ $%04x\n", controller 2234 drivers/usb/host/isp1362-hcd.c dev_info(hcd->self.controller, " ATL : %4d * (%3zu+8): %4d @ $%04x\n", controller 2237 drivers/usb/host/isp1362-hcd.c dev_info(hcd->self.controller, " USED/FREE: %4d %4d\n", total, controller 2241 drivers/usb/host/isp1362-hcd.c dev_err(hcd->self.controller, "%s: Memory requested: %d, available %d\n", controller 2326 drivers/usb/host/isp1362-hcd.c isp1362_hcd->board->reset(hcd->self.controller, 1); controller 2329 drivers/usb/host/isp1362-hcd.c isp1362_hcd->board->clock(hcd->self.controller, 1); controller 2330 drivers/usb/host/isp1362-hcd.c isp1362_hcd->board->reset(hcd->self.controller, 0); controller 2376 drivers/usb/host/isp1362-hcd.c isp1362_hcd->board->reset(hcd->self.controller, 1); controller 2381 drivers/usb/host/isp1362-hcd.c isp1362_hcd->board->clock(hcd->self.controller, 0); controller 2683 drivers/usb/host/isp1362-hcd.c dev_err(hcd->self.controller, "No platform delay function given\n"); controller 2701 drivers/usb/host/isp1362-hcd.c device_wakeup_enable(hcd->self.controller); controller 569 drivers/usb/host/isp1362.h #define isp1362_delay(h, d) (h)->board->delay(isp1362_hcd_to_hcd(h)->self.controller, d) controller 356 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 381 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 405 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 431 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 560 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 666 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 802 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 882 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 974 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1169 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1319 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1398 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1525 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1641 drivers/usb/host/max3421-hcd.c dev_dbg(hcd->self.controller, controller 1697 drivers/usb/host/max3421-hcd.c struct spi_device *spi = to_spi_device(hcd->self.controller); controller 1715 drivers/usb/host/max3421-hcd.c dev_dbg(hcd->self.controller, "power-off\n"); controller 1764 drivers/usb/host/max3421-hcd.c dev_dbg(hcd->self.controller, "power-on\n"); controller 1780 drivers/usb/host/max3421-hcd.c dev_dbg(hcd->self.controller, controller 1959 drivers/usb/host/max3421-hcd.c if (hcd->self.controller == &spi->dev) controller 220 drivers/usb/host/ohci-at91.c board = hcd->self.controller->platform_data; controller 233 drivers/usb/host/ohci-at91.c device_wakeup_enable(hcd->self.controller); controller 288 drivers/usb/host/ohci-at91.c struct at91_usbh_data *pdata = hcd->self.controller->platform_data; controller 331 drivers/usb/host/ohci-at91.c struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller); controller 337 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, controller 347 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); controller 356 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "SetPortFeat: SUSPEND\n"); controller 369 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, controller 380 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, controller 389 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, controller 399 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "ClearPortFeature: SUSPEND\n"); controller 421 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", controller 438 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", controller 446 drivers/usb/host/ohci-at91.c dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); controller 90 drivers/usb/host/ohci-da8xx.c struct device *dev = hcd->self.controller; controller 170 drivers/usb/host/ohci-da8xx.c struct device *dev = hcd->self.controller; controller 196 drivers/usb/host/ohci-da8xx.c struct device *dev = da8xx_ohci->hcd->self.controller; controller 212 drivers/usb/host/ohci-da8xx.c struct device *dev = hcd->self.controller; controller 229 drivers/usb/host/ohci-da8xx.c struct device *dev = hcd->self.controller; controller 286 drivers/usb/host/ohci-da8xx.c dev_dbg(hcd->self.controller, "over-current indicator change " controller 303 drivers/usb/host/ohci-da8xx.c struct device *dev = hcd->self.controller; controller 457 drivers/usb/host/ohci-da8xx.c device_wakeup_enable(hcd->self.controller); controller 101 drivers/usb/host/ohci-dbg.c ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size) controller 103 drivers/usb/host/ohci-dbg.c struct ohci_regs __iomem *regs = controller->regs; controller 106 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->revision) & 0xff; controller 107 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 111 drivers/usb/host/ohci-dbg.c rh_state_string(controller)); controller 113 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->control); controller 114 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 128 drivers/usb/host/ohci-dbg.c temp = ohci_readl (controller, ®s->cmdstatus); controller 129 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 138 drivers/usb/host/ohci-dbg.c ohci_dump_intr_mask (controller, "intrstatus", controller 139 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->intrstatus), controller 141 drivers/usb/host/ohci-dbg.c ohci_dump_intr_mask (controller, "intrenable", controller 142 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->intrenable), controller 146 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "ed_periodcurrent", controller 147 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->ed_periodcurrent), controller 150 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "ed_controlhead", controller 151 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->ed_controlhead), controller 153 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "ed_controlcurrent", controller 154 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->ed_controlcurrent), controller 157 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "ed_bulkhead", controller 158 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->ed_bulkhead), controller 160 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "ed_bulkcurrent", controller 161 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->ed_bulkcurrent), controller 164 drivers/usb/host/ohci-dbg.c maybe_print_eds (controller, "donehead", controller 165 drivers/usb/host/ohci-dbg.c ohci_readl (controller, ®s->donehead), next, size); controller 192 drivers/usb/host/ohci-dbg.c struct ohci_hcd *controller, controller 199 drivers/usb/host/ohci-dbg.c temp = roothub_a (controller); controller 204 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 212 drivers/usb/host/ohci-dbg.c (temp & RH_A_NDP), controller->num_ports controller 214 drivers/usb/host/ohci-dbg.c temp = roothub_b (controller); controller 215 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 221 drivers/usb/host/ohci-dbg.c temp = roothub_status (controller); controller 222 drivers/usb/host/ohci-dbg.c ohci_dbg_sw (controller, next, size, controller 234 drivers/usb/host/ohci-dbg.c for (i = 0; i < controller->num_ports; i++) { controller 235 drivers/usb/host/ohci-dbg.c temp = roothub_portstatus (controller, i); controller 236 drivers/usb/host/ohci-dbg.c dbg_port_sw (controller, i, temp, next, size); controller 240 drivers/usb/host/ohci-dbg.c static void ohci_dump(struct ohci_hcd *controller) controller 242 drivers/usb/host/ohci-dbg.c ohci_dbg (controller, "OHCI controller state\n"); controller 245 drivers/usb/host/ohci-dbg.c ohci_dump_status (controller, NULL, NULL); controller 246 drivers/usb/host/ohci-dbg.c if (controller->hcca) controller 247 drivers/usb/host/ohci-dbg.c ohci_dbg (controller, controller 248 drivers/usb/host/ohci-dbg.c "hcca frame #%04x\n", ohci_frame_no(controller)); controller 249 drivers/usb/host/ohci-dbg.c ohci_dump_roothub (controller, 1, NULL, NULL); controller 605 drivers/usb/host/ohci-dbg.c hcd->self.controller->bus->name, controller 606 drivers/usb/host/ohci-dbg.c dev_name(hcd->self.controller), controller 201 drivers/usb/host/ohci-exynos.c device_wakeup_enable(hcd->self.controller); controller 523 drivers/usb/host/ohci-hcd.c ohci->hcca = dma_alloc_coherent(hcd->self.controller, controller 572 drivers/usb/host/ohci-hcd.c device_set_wakeup_capable(hcd->self.controller, 1); controller 1015 drivers/usb/host/ohci-hcd.c dma_free_coherent(hcd->self.controller, controller 47 drivers/usb/host/ohci-mem.c ohci_to_hcd(ohci)->self.controller, controller 54 drivers/usb/host/ohci-mem.c ohci_to_hcd(ohci)->self.controller, controller 225 drivers/usb/host/ohci-nxp.c device_wakeup_enable(hcd->self.controller); controller 198 drivers/usb/host/ohci-omap.c struct omap_usb_config *config = dev_get_platdata(hcd->self.controller); controller 202 drivers/usb/host/ohci-omap.c dev_dbg(hcd->self.controller, "starting USB Controller\n"); controller 224 drivers/usb/host/ohci-omap.c dev_dbg(hcd->self.controller, "init %s phy, status %d\n", controller 367 drivers/usb/host/ohci-omap.c device_wakeup_enable(hcd->self.controller); controller 397 drivers/usb/host/ohci-omap.c dev_dbg(hcd->self.controller, "stopping USB Controller\n"); controller 74 drivers/usb/host/ohci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 245 drivers/usb/host/ohci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 248 drivers/usb/host/ohci-pci.c if (hcd->self.controller) { controller 217 drivers/usb/host/ohci-platform.c device_wakeup_enable(hcd->self.controller); controller 35 drivers/usb/host/ohci-ppc-of.c dev_err(hcd->self.controller, "can't start %s\n", controller 146 drivers/usb/host/ohci-ppc-of.c device_wakeup_enable(hcd->self.controller); controller 36 drivers/usb/host/ohci-ps3.c dev_err(hcd->self.controller, "can't start %s\n", controller 166 drivers/usb/host/ohci-ps3.c device_wakeup_enable(hcd->self.controller); controller 496 drivers/usb/host/ohci-pxa27x.c device_wakeup_enable(hcd->self.controller); controller 45 drivers/usb/host/ohci-q.c struct device *dev = ohci_to_hcd(ohci)->self.controller; controller 596 drivers/usb/host/ohci-q.c struct device *dev = ohci_to_hcd(ohci)->self.controller; controller 57 drivers/usb/host/ohci-s3c2410.c return dev_get_platdata(hcd->self.controller); controller 124 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, controller 175 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, controller 193 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n"); controller 202 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, controller 213 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, controller 222 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, controller 247 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n", controller 265 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n", controller 273 drivers/usb/host/ohci-s3c2410.c dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex); controller 397 drivers/usb/host/ohci-s3c2410.c device_wakeup_enable(hcd->self.controller); controller 220 drivers/usb/host/ohci-sa1111.c device_wakeup_enable(hcd->self.controller); controller 29 drivers/usb/host/ohci-sm501.c struct device *dev = hcd->self.controller; controller 167 drivers/usb/host/ohci-sm501.c device_wakeup_enable(hcd->self.controller); controller 89 drivers/usb/host/ohci-spear.c device_wakeup_enable(hcd->self.controller); controller 216 drivers/usb/host/ohci-st.c device_wakeup_enable(hcd->self.controller); controller 143 drivers/usb/host/ohci-tmio.c dev_err(hcd->self.controller, "can't start %s\n", controller 249 drivers/usb/host/ohci-tmio.c device_wakeup_enable(hcd->self.controller); controller 491 drivers/usb/host/ohci.h dev_dbg (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) controller 493 drivers/usb/host/ohci.h dev_err (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) controller 495 drivers/usb/host/ohci.h dev_info (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) controller 497 drivers/usb/host/ohci.h dev_warn (ohci_to_hcd(ohci)->self.controller , fmt , ## args ) controller 482 drivers/usb/host/oxu210hp-hcd.c dev_dbg(oxu_to_hcd(oxu)->self.controller , fmt , ## args) controller 484 drivers/usb/host/oxu210hp-hcd.c dev_err(oxu_to_hcd(oxu)->self.controller , fmt , ## args) controller 486 drivers/usb/host/oxu210hp-hcd.c dev_info(oxu_to_hcd(oxu)->self.controller , fmt , ## args) controller 3399 drivers/usb/host/oxu210hp-hcd.c dev_err(hcd->self.controller, controller 4155 drivers/usb/host/oxu210hp-hcd.c device_wakeup_enable(hcd->self.controller); controller 2498 drivers/usb/host/r8a66597-hcd.c device_wakeup_enable(hcd->self.controller); controller 100 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "power %s\n", controller 102 drivers/usb/host/sl811-hcd.c sl811->board->port_power(hcd->self.controller, is_on); controller 107 drivers/usb/host/sl811-hcd.c sl811->board->reset(hcd->self.controller); controller 283 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq on\n"); controller 291 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, "sof irq off\n"); controller 339 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 393 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 450 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 597 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 609 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 729 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "wakeup\n"); controller 858 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, controller 924 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "schedule qh%d/%p branch %d\n", controller 984 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, controller 999 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, controller 1018 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 1040 drivers/usb/host/sl811-hcd.c dev_warn(hcd->self.controller, "ep %p not empty?\n", ep); controller 1143 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, "end reset\n"); controller 1152 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, "end resume\n"); controller 1156 drivers/usb/host/sl811-hcd.c dev_dbg(sl811_to_hcd(sl811)->self.controller, controller 1255 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "start resume...\n"); controller 1293 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "GetPortStatus %08x\n", controller 1306 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller,"suspend...\n"); controller 1351 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "%s\n", __func__); controller 1359 drivers/usb/host/sl811-hcd.c dev_dbg(hcd->self.controller, "%s\n", __func__); controller 1533 drivers/usb/host/sl811-hcd.c if (!device_can_wakeup(hcd->self.controller)) controller 1534 drivers/usb/host/sl811-hcd.c device_init_wakeup(hcd->self.controller, controller 1716 drivers/usb/host/sl811-hcd.c device_wakeup_enable(hcd->self.controller); controller 1796 drivers/usb/host/u132-hcd.c } else if (hcd->self.controller) { controller 1799 drivers/usb/host/u132-hcd.c to_platform_device(hcd->self.controller); controller 3105 drivers/usb/host/u132-hcd.c device_wakeup_enable(hcd->self.controller); controller 139 drivers/usb/host/uhci-grlib.c device_wakeup_enable(hcd->self.controller); controller 474 drivers/usb/host/uhci-hcd.h #define uhci_dev(u) (uhci_to_hcd(u)->self.controller) controller 139 drivers/usb/host/uhci-platform.c device_wakeup_enable(hcd->self.controller); controller 529 drivers/usb/host/xhci-dbgcap.c pm_runtime_get_sync(xhci_to_hcd(xhci)->self.controller); controller 536 drivers/usb/host/xhci-dbgcap.c pm_runtime_put(xhci_to_hcd(xhci)->self.controller); controller 563 drivers/usb/host/xhci-dbgcap.c pm_runtime_put_sync(xhci_to_hcd(xhci)->self.controller); controller 933 drivers/usb/host/xhci-dbgcap.c struct device *dev = xhci_to_hcd(xhci)->self.controller; controller 959 drivers/usb/host/xhci-dbgcap.c struct device *dev = xhci_to_hcd(xhci)->self.controller; controller 540 drivers/usb/host/xhci-debugfs.c struct device *dev = xhci_to_hcd(xhci)->self.controller; controller 31 drivers/usb/host/xhci-ext-caps.c struct device *dev = hcd->self.controller; controller 46 drivers/usb/host/xhci-histb.c return dev_get_drvdata(hcd->self.controller); controller 257 drivers/usb/host/xhci-histb.c dev_set_drvdata(hcd->self.controller, histb); controller 265 drivers/usb/host/xhci-histb.c device_wakeup_enable(hcd->self.controller); controller 650 drivers/usb/host/xhci-hub.c pm_runtime_forbid(xhci_to_hcd(xhci)->self.controller); controller 673 drivers/usb/host/xhci-hub.c pm_runtime_allow(xhci_to_hcd(xhci)->self.controller); controller 1674 drivers/usb/host/xhci-hub.c if (usb_amd_pt_check_port(hcd->self.controller, controller 159 drivers/usb/host/xhci-mtk.h return dev_get_drvdata(hcd->self.controller); controller 47 drivers/usb/host/xhci-mvebu.c struct device *dev = hcd->self.controller; controller 291 drivers/usb/host/xhci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 466 drivers/usb/host/xhci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 492 drivers/usb/host/xhci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 529 drivers/usb/host/xhci-pci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 267 drivers/usb/host/xhci-plat.c device_wakeup_enable(hcd->self.controller); controller 119 drivers/usb/host/xhci-rcar.c if (xhci_rcar_is_gen2(hcd->self.controller)) controller 126 drivers/usb/host/xhci-rcar.c struct device *dev = hcd->self.controller; controller 681 drivers/usb/host/xhci-ring.c struct device *dev = xhci_to_hcd(xhci)->self.controller; controller 3229 drivers/usb/host/xhci-ring.c struct device *dev = xhci_to_hcd(xhci)->self.controller; controller 1220 drivers/usb/host/xhci-tegra.c device_wakeup_enable(tegra->hcd->self.controller); controller 93 drivers/usb/host/xhci-trace.h udev = to_usb_device(xhci_to_hcd(xhci)->self.controller); controller 205 drivers/usb/host/xhci.c usb_asmedia_modifyflowcontrol(to_pci_dev(xhci_to_hcd(xhci)->self.controller)); controller 299 drivers/usb/host/xhci.c struct pci_dev *pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); controller 326 drivers/usb/host/xhci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 368 drivers/usb/host/xhci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 395 drivers/usb/host/xhci.c struct pci_dev *pdev = to_pci_dev(hcd->self.controller); controller 413 drivers/usb/host/xhci.c pdev = to_pci_dev(xhci_to_hcd(xhci)->self.controller); controller 1243 drivers/usb/host/xhci.c usb_asmedia_modifyflowcontrol(to_pci_dev(hcd->self.controller)); controller 3870 drivers/usb/host/xhci.c pm_runtime_put_noidle(hcd->self.controller); controller 4029 drivers/usb/host/xhci.c pm_runtime_get_noresume(hcd->self.controller); controller 1936 drivers/usb/host/xhci.h dev_dbg(xhci_to_hcd(xhci)->self.controller , fmt , ## args) controller 1938 drivers/usb/host/xhci.h dev_err(xhci_to_hcd(xhci)->self.controller , fmt , ## args) controller 1940 drivers/usb/host/xhci.h dev_warn(xhci_to_hcd(xhci)->self.controller , fmt , ## args) controller 1942 drivers/usb/host/xhci.h dev_warn_ratelimited(xhci_to_hcd(xhci)->self.controller , fmt , ## args) controller 1944 drivers/usb/host/xhci.h dev_info(xhci_to_hcd(xhci)->self.controller , fmt , ## args) controller 373 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "%s: Invalid pointer: %08x\n", controller 474 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "Scratch test failed.\n"); controller 998 drivers/usb/isp1760/isp1760-hcd.c dev_dbg(hcd->self.controller, "%s: underrun " controller 1004 drivers/usb/isp1760/isp1760-hcd.c dev_dbg(hcd->self.controller, "%s: transaction " controller 1011 drivers/usb/isp1760/isp1760-hcd.c dev_dbg(hcd->self.controller, "%s: babble " controller 1052 drivers/usb/isp1760/isp1760-hcd.c dev_dbg(hcd->self.controller, "PID error; reloading ptd\n"); controller 1187 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, controller 1344 drivers/usb/isp1760/isp1760-hcd.c dev_info(hcd->self.controller, "USB ISP %04x HW rev. %d started\n", controller 1406 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, controller 1518 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "%s: isochronous USB packets " controller 1523 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "%s: unknown pipe type\n", controller 1797 drivers/usb/isp1760/isp1760-hcd.c dev_info(hcd->self.controller, controller 1806 drivers/usb/isp1760/isp1760-hcd.c dev_info(hcd->self.controller, "port %d high speed\n", controller 1919 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "Port resume should be skipped.\n"); controller 1943 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, controller 1967 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "port %d reset error %d\n", controller 1983 drivers/usb/isp1760/isp1760-hcd.c dev_err(hcd->self.controller, "PORT_OWNER is set\n"); controller 2218 drivers/usb/isp1760/isp1760-hcd.c device_wakeup_enable(hcd->self.controller); controller 1359 drivers/usb/mon/mon_bin.c dev = device_create(mon_bin_class, ubus ? ubus->controller : NULL, controller 132 drivers/usb/musb/am35x.c dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, controller 178 drivers/usb/musb/am35x.c dev_dbg(musb->controller, "%s active, deleting timer\n", controller 186 drivers/usb/musb/am35x.c dev_dbg(musb->controller, "Longer idle timer already pending, ignoring...\n"); controller 191 drivers/usb/musb/am35x.c dev_dbg(musb->controller, "%s inactive, starting idle timer for %u ms\n", controller 201 drivers/usb/musb/am35x.c struct device *dev = musb->controller; controller 277 drivers/usb/musb/am35x.c dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", controller 315 drivers/usb/musb/am35x.c struct device *dev = musb->controller; controller 330 drivers/usb/musb/am35x.c struct device *dev = musb->controller; controller 373 drivers/usb/musb/am35x.c struct device *dev = musb->controller; controller 119 drivers/usb/musb/cppi_dma.c c->controller = cppi; controller 138 drivers/usb/musb/cppi_dma.c struct cppi *cppi = c->controller; controller 143 drivers/usb/musb/cppi_dma.c c->controller = NULL; controller 155 drivers/usb/musb/cppi_dma.c static void cppi_controller_start(struct cppi *controller) controller 161 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->tx); i++) { controller 162 drivers/usb/musb/cppi_dma.c controller->tx[i].transmit = true; controller 163 drivers/usb/musb/cppi_dma.c controller->tx[i].index = i; controller 165 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->rx); i++) { controller 166 drivers/usb/musb/cppi_dma.c controller->rx[i].transmit = false; controller 167 drivers/usb/musb/cppi_dma.c controller->rx[i].index = i; controller 171 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->tx); i++) controller 172 drivers/usb/musb/cppi_dma.c cppi_pool_init(controller, controller->tx + i); controller 173 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->rx); i++) controller 174 drivers/usb/musb/cppi_dma.c cppi_pool_init(controller, controller->rx + i); controller 176 drivers/usb/musb/cppi_dma.c tibase = controller->tibase; controller 177 drivers/usb/musb/cppi_dma.c INIT_LIST_HEAD(&controller->tx_complete); controller 180 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->tx); i++) { controller 181 drivers/usb/musb/cppi_dma.c struct cppi_channel *tx_ch = controller->tx + i; controller 190 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->rx); i++) { controller 191 drivers/usb/musb/cppi_dma.c struct cppi_channel *rx_ch = controller->rx + i; controller 222 drivers/usb/musb/cppi_dma.c static void cppi_controller_stop(struct cppi *controller) controller 228 drivers/usb/musb/cppi_dma.c musb = controller->controller.musb; controller 230 drivers/usb/musb/cppi_dma.c tibase = controller->tibase; controller 238 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->tx); i++) { controller 240 drivers/usb/musb/cppi_dma.c controller->tx[i].last_processed = NULL; controller 241 drivers/usb/musb/cppi_dma.c cppi_pool_free(controller->tx + i); controller 243 drivers/usb/musb/cppi_dma.c for (i = 0; i < ARRAY_SIZE(controller->rx); i++) controller 244 drivers/usb/musb/cppi_dma.c cppi_pool_free(controller->rx + i); controller 284 drivers/usb/musb/cppi_dma.c struct cppi *controller; controller 290 drivers/usb/musb/cppi_dma.c controller = container_of(c, struct cppi, controller); controller 291 drivers/usb/musb/cppi_dma.c tibase = controller->tibase; controller 301 drivers/usb/musb/cppi_dma.c if (index >= ARRAY_SIZE(controller->tx)) { controller 305 drivers/usb/musb/cppi_dma.c cppi_ch = controller->tx + index; controller 307 drivers/usb/musb/cppi_dma.c if (index >= ARRAY_SIZE(controller->rx)) { controller 311 drivers/usb/musb/cppi_dma.c cppi_ch = controller->rx + index; controller 338 drivers/usb/musb/cppi_dma.c tibase = c->controller->tibase; controller 340 drivers/usb/musb/cppi_dma.c musb_dbg(c->controller->controller.musb, controller 354 drivers/usb/musb/cppi_dma.c void __iomem *base = c->controller->mregs; controller 359 drivers/usb/musb/cppi_dma.c musb_dbg(c->controller->controller.musb, controller 364 drivers/usb/musb/cppi_dma.c musb_readl(c->controller->tibase, controller 384 drivers/usb/musb/cppi_dma.c void __iomem *base = c->controller->mregs; controller 389 drivers/usb/musb/cppi_dma.c musb_dbg(c->controller->controller.musb, controller 952 drivers/usb/musb/cppi_dma.c struct cppi *controller; controller 956 drivers/usb/musb/cppi_dma.c controller = cppi_ch->controller; controller 957 drivers/usb/musb/cppi_dma.c musb = controller->controller.musb; controller 1012 drivers/usb/musb/cppi_dma.c struct musb *musb = cppi->controller.musb; controller 1124 drivers/usb/musb/cppi_dma.c if (is_host_active(cppi->controller.musb) controller 1151 drivers/usb/musb/cppi_dma.c cppi = container_of(musb->dma_controller, struct cppi, controller); controller 1302 drivers/usb/musb/cppi_dma.c struct cppi *controller; controller 1303 drivers/usb/musb/cppi_dma.c struct device *dev = musb->controller; controller 1307 drivers/usb/musb/cppi_dma.c controller = kzalloc(sizeof *controller, GFP_KERNEL); controller 1308 drivers/usb/musb/cppi_dma.c if (!controller) controller 1311 drivers/usb/musb/cppi_dma.c controller->mregs = mregs; controller 1312 drivers/usb/musb/cppi_dma.c controller->tibase = mregs - DAVINCI_BASE_OFFSET; controller 1314 drivers/usb/musb/cppi_dma.c controller->controller.musb = musb; controller 1315 drivers/usb/musb/cppi_dma.c controller->controller.channel_alloc = cppi_channel_allocate; controller 1316 drivers/usb/musb/cppi_dma.c controller->controller.channel_release = cppi_channel_release; controller 1317 drivers/usb/musb/cppi_dma.c controller->controller.channel_program = cppi_channel_program; controller 1318 drivers/usb/musb/cppi_dma.c controller->controller.channel_abort = cppi_channel_abort; controller 1325 drivers/usb/musb/cppi_dma.c controller->pool = dma_pool_create("cppi", controller 1326 drivers/usb/musb/cppi_dma.c controller->controller.musb->controller, controller 1329 drivers/usb/musb/cppi_dma.c if (!controller->pool) { controller 1330 drivers/usb/musb/cppi_dma.c kfree(controller); controller 1337 drivers/usb/musb/cppi_dma.c musb_dma_controller_destroy(&controller->controller); controller 1340 drivers/usb/musb/cppi_dma.c controller->irq = irq; controller 1343 drivers/usb/musb/cppi_dma.c cppi_controller_start(controller); controller 1344 drivers/usb/musb/cppi_dma.c return &controller->controller; controller 1355 drivers/usb/musb/cppi_dma.c cppi = container_of(c, struct cppi, controller); controller 1360 drivers/usb/musb/cppi_dma.c free_irq(cppi->irq, cppi->controller.musb); controller 1375 drivers/usb/musb/cppi_dma.c struct cppi *controller; controller 1384 drivers/usb/musb/cppi_dma.c controller = cppi_ch->controller; controller 1404 drivers/usb/musb/cppi_dma.c mbase = controller->mregs; controller 1405 drivers/usb/musb/cppi_dma.c tibase = controller->tibase; controller 1472 drivers/usb/musb/cppi_dma.c if (is_host_active(cppi_ch->controller->controller.musb)) { controller 1481 drivers/usb/musb/cppi_dma.c if (is_host_active(cppi_ch->controller->controller.musb)) { controller 1503 drivers/usb/musb/cppi_dma.c cppi_rx_scan(controller, cppi_ch->index); controller 77 drivers/usb/musb/cppi_dma.h struct cppi *controller; controller 110 drivers/usb/musb/cppi_dma.h struct dma_controller controller; controller 129 drivers/usb/musb/cppi_dma.h struct cppi41_dma_controller *controller; controller 134 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, controller 203 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "%s active, deleting timer\n", controller 211 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "Longer idle timer already pending, ignoring...\n"); controller 216 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "%s inactive, starting idle timer for %u ms\n", controller 243 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "USB IRQ %08x\n", status); controller 300 drivers/usb/musb/da8xx.c dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", controller 327 drivers/usb/musb/da8xx.c struct da8xx_glue *glue = dev_get_drvdata(musb->controller->parent); controller 356 drivers/usb/musb/da8xx.c struct da8xx_glue *glue = dev_get_drvdata(musb->controller->parent); controller 416 drivers/usb/musb/da8xx.c struct da8xx_glue *glue = dev_get_drvdata(musb->controller->parent); controller 456 drivers/usb/musb/da8xx.c struct dma_controller *controller; controller 458 drivers/usb/musb/da8xx.c controller = cppi41_dma_controller_create(musb, base); controller 459 drivers/usb/musb/da8xx.c if (IS_ERR_OR_NULL(controller)) controller 460 drivers/usb/musb/da8xx.c return controller; controller 462 drivers/usb/musb/da8xx.c controller->dma_callback = da8xx_dma_controller_callback; controller 464 drivers/usb/musb/da8xx.c return controller; controller 197 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "poll devctl %02x (%s)\n", devctl, controller 267 drivers/usb/musb/davinci.c cppi = container_of(musb->dma_controller, struct cppi, controller); controller 274 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "IRQ %08x\n", tmp); controller 328 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", controller 453 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "VBUS %d\n", controller 462 drivers/usb/musb/davinci.c dev_dbg(musb->controller, "VBUS off timeout (devctl %02x)\n", devctl); controller 77 drivers/usb/musb/jz4740.c struct device *dev = musb->controller->parent; controller 291 drivers/usb/musb/musb_core.c dev_dbg(musb->controller, "%cX ep%d fifo %p count %d buf %p\n", controller 333 drivers/usb/musb/musb_core.c dev_dbg(musb->controller, "%cX ep%d fifo %p count %d buf %p\n", controller 665 drivers/usb/musb/musb_core.c dev_printk(ignore ? KERN_DEBUG : KERN_ERR, musb->controller, controller 863 drivers/usb/musb/musb_core.c dev_err(musb->controller, "Babble\n"); controller 981 drivers/usb/musb/musb_core.c dev_dbg(musb->controller, "START_OF_FRAME\n"); controller 1895 drivers/usb/musb/musb_core.c pm_runtime_mark_last_busy(musb->controller); controller 1896 drivers/usb/musb/musb_core.c pm_runtime_put_autosuspend(musb->controller); controller 1911 drivers/usb/musb/musb_core.c error = pm_runtime_get_sync(musb->controller); controller 1913 drivers/usb/musb/musb_core.c dev_err(musb->controller, "Could not enable: %i\n", controller 1918 drivers/usb/musb/musb_core.c pm_runtime_mark_last_busy(musb->controller); controller 1919 drivers/usb/musb/musb_core.c pm_runtime_put_autosuspend(musb->controller); controller 1931 drivers/usb/musb/musb_core.c error = pm_runtime_get_sync(musb->controller); controller 1933 drivers/usb/musb/musb_core.c dev_err(musb->controller, "Could not enable: %i\n", error); controller 1942 drivers/usb/musb/musb_core.c sysfs_notify(&musb->controller->kobj, NULL, "mode"); controller 1945 drivers/usb/musb/musb_core.c pm_runtime_mark_last_busy(musb->controller); controller 1946 drivers/usb/musb/musb_core.c pm_runtime_put_autosuspend(musb->controller); controller 2025 drivers/usb/musb/musb_core.c musb->controller = dev; controller 2077 drivers/usb/musb/musb_core.c dev_err(musb->controller, controller 2083 drivers/usb/musb/musb_core.c devm_kfree(musb->controller, w); controller 2110 drivers/usb/musb/musb_core.c if (pm_runtime_active(musb->controller)) controller 2113 drivers/usb/musb/musb_core.c w = devm_kzalloc(musb->controller, sizeof(*w), GFP_ATOMIC); controller 2124 drivers/usb/musb/musb_core.c dev_err(musb->controller, "could not add resume work %p\n", controller 2126 drivers/usb/musb/musb_core.c devm_kfree(musb->controller, w); controller 2283 drivers/usb/musb/musb_core.c musb->xceiv->io_dev = musb->controller; controller 2298 drivers/usb/musb/musb_core.c pm_runtime_use_autosuspend(musb->controller); controller 2299 drivers/usb/musb/musb_core.c pm_runtime_set_autosuspend_delay(musb->controller, 500); controller 2300 drivers/usb/musb/musb_core.c pm_runtime_enable(musb->controller); controller 2301 drivers/usb/musb/musb_core.c pm_runtime_get_sync(musb->controller); controller 2398 drivers/usb/musb/musb_core.c pm_runtime_mark_last_busy(musb->controller); controller 2399 drivers/usb/musb/musb_core.c pm_runtime_put_autosuspend(musb->controller); controller 2414 drivers/usb/musb/musb_core.c pm_runtime_dont_use_autosuspend(musb->controller); controller 2415 drivers/usb/musb/musb_core.c pm_runtime_put_sync(musb->controller); controller 2416 drivers/usb/musb/musb_core.c pm_runtime_disable(musb->controller); controller 2425 drivers/usb/musb/musb_core.c dev_err(musb->controller, controller 2475 drivers/usb/musb/musb_core.c pm_runtime_get_sync(musb->controller); controller 2486 drivers/usb/musb/musb_core.c pm_runtime_dont_use_autosuspend(musb->controller); controller 2487 drivers/usb/musb/musb_core.c pm_runtime_put_sync(musb->controller); controller 2488 drivers/usb/musb/musb_core.c pm_runtime_disable(musb->controller); controller 2734 drivers/usb/musb/musb_core.c dev_err(musb->controller, "resume work failed with %i\n", controller 2777 drivers/usb/musb/musb_core.c dev_err(musb->controller, "resume work failed with %i\n", controller 314 drivers/usb/musb/musb_core.h struct device *controller; controller 37 drivers/usb/musb/musb_cppi41.c struct dma_controller controller; controller 61 drivers/usb/musb/musb_cppi41.c if (!is_host_active(cppi41_channel->controller->controller.musb)) controller 187 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller; controller 193 drivers/usb/musb/musb_cppi41.c controller = container_of(timer, struct cppi41_dma_controller, controller 195 drivers/usb/musb/musb_cppi41.c musb = controller->controller.musb; controller 198 drivers/usb/musb/musb_cppi41.c list_for_each_entry_safe(cppi41_channel, n, &controller->early_tx_list, controller 210 drivers/usb/musb/musb_cppi41.c if (!list_empty(&controller->early_tx_list) && controller 211 drivers/usb/musb/musb_cppi41.c !hrtimer_is_queued(&controller->early_tx)) { controller 213 drivers/usb/musb/musb_cppi41.c hrtimer_forward_now(&controller->early_tx, 20 * NSEC_PER_USEC); controller 226 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller; controller 234 drivers/usb/musb/musb_cppi41.c controller = cppi41_channel->controller; controller 235 drivers/usb/musb/musb_cppi41.c if (controller->controller.dma_callback) controller 236 drivers/usb/musb/musb_cppi41.c controller->controller.dma_callback(&controller->controller); controller 315 drivers/usb/musb/musb_cppi41.c &controller->early_tx_list); controller 316 drivers/usb/musb/musb_cppi41.c if (!hrtimer_is_queued(&controller->early_tx)) { controller 319 drivers/usb/musb/musb_cppi41.c hrtimer_start_range_ns(&controller->early_tx, controller 342 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 343 drivers/usb/musb/musb_cppi41.c struct musb *musb = controller->controller.musb; controller 349 drivers/usb/musb/musb_cppi41.c old_mode = controller->tx_mode; controller 351 drivers/usb/musb/musb_cppi41.c old_mode = controller->rx_mode; controller 358 drivers/usb/musb/musb_cppi41.c controller->tx_mode = new_mode; controller 361 drivers/usb/musb/musb_cppi41.c controller->rx_mode = new_mode; controller 369 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 370 drivers/usb/musb/musb_cppi41.c struct musb *musb = controller->controller.musb; controller 376 drivers/usb/musb/musb_cppi41.c old_mode = controller->tx_mode; controller 387 drivers/usb/musb/musb_cppi41.c controller->tx_mode = new_mode; controller 395 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 400 drivers/usb/musb/musb_cppi41.c old_mode = controller->auto_req; controller 406 drivers/usb/musb/musb_cppi41.c controller->auto_req = new_mode; controller 407 drivers/usb/musb/musb_cppi41.c musb_writel(controller->controller.musb->ctrl_base, controller 408 drivers/usb/musb/musb_cppi41.c controller->autoreq_reg, new_mode); controller 416 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 420 drivers/usb/musb/musb_cppi41.c struct musb *musb = cppi41_channel->controller->controller.musb; controller 442 drivers/usb/musb/musb_cppi41.c controller->set_dma_mode(cppi41_channel, controller 451 drivers/usb/musb/musb_cppi41.c controller->set_dma_mode(cppi41_channel, controller 458 drivers/usb/musb/musb_cppi41.c controller->set_dma_mode(cppi41_channel, controller 485 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = container_of(c, controller 486 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller, controller); controller 490 drivers/usb/musb/musb_cppi41.c if (ch_num >= controller->num_channels) controller 494 drivers/usb/musb/musb_cppi41.c cppi41_channel = &controller->tx_channel[ch_num]; controller 496 drivers/usb/musb/musb_cppi41.c cppi41_channel = &controller->rx_channel[ch_num]; controller 534 drivers/usb/musb/musb_cppi41.c if (is_host_active(cppi41_channel->controller->controller.musb)) { controller 558 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 559 drivers/usb/musb/musb_cppi41.c struct musb *musb = controller->controller.musb; controller 576 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = cppi41_channel->controller; controller 577 drivers/usb/musb/musb_cppi41.c struct musb *musb = controller->controller.musb; controller 626 drivers/usb/musb/musb_cppi41.c musb_writel(musb->ctrl_base, controller->tdown_reg, controller 632 drivers/usb/musb/musb_cppi41.c musb_writel(musb->ctrl_base, controller->tdown_reg, tdbit); controller 660 drivers/usb/musb/musb_cppi41.c static void cppi41_dma_controller_stop(struct cppi41_dma_controller *controller) controller 662 drivers/usb/musb/musb_cppi41.c cppi41_release_all_dma_chans(controller); controller 665 drivers/usb/musb/musb_cppi41.c static int cppi41_dma_controller_start(struct cppi41_dma_controller *controller) controller 667 drivers/usb/musb/musb_cppi41.c struct musb *musb = controller->controller.musb; controller 668 drivers/usb/musb/musb_cppi41.c struct device *dev = musb->controller; controller 702 drivers/usb/musb/musb_cppi41.c if (port > controller->num_channels || !port) controller 705 drivers/usb/musb/musb_cppi41.c cppi41_channel = &controller->tx_channel[port - 1]; controller 707 drivers/usb/musb/musb_cppi41.c cppi41_channel = &controller->rx_channel[port - 1]; controller 709 drivers/usb/musb/musb_cppi41.c cppi41_channel->controller = controller; controller 732 drivers/usb/musb/musb_cppi41.c cppi41_release_all_dma_chans(controller); controller 738 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller = container_of(c, controller 739 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller, controller); controller 741 drivers/usb/musb/musb_cppi41.c hrtimer_cancel(&controller->early_tx); controller 742 drivers/usb/musb/musb_cppi41.c cppi41_dma_controller_stop(controller); controller 743 drivers/usb/musb/musb_cppi41.c kfree(controller->rx_channel); controller 744 drivers/usb/musb/musb_cppi41.c kfree(controller->tx_channel); controller 745 drivers/usb/musb/musb_cppi41.c kfree(controller); controller 752 drivers/usb/musb/musb_cppi41.c struct cppi41_dma_controller *controller; controller 756 drivers/usb/musb/musb_cppi41.c if (!musb->controller->parent->of_node) { controller 757 drivers/usb/musb/musb_cppi41.c dev_err(musb->controller, "Need DT for the DMA engine.\n"); controller 761 drivers/usb/musb/musb_cppi41.c controller = kzalloc(sizeof(*controller), GFP_KERNEL); controller 762 drivers/usb/musb/musb_cppi41.c if (!controller) controller 765 drivers/usb/musb/musb_cppi41.c hrtimer_init(&controller->early_tx, CLOCK_MONOTONIC, HRTIMER_MODE_REL); controller 766 drivers/usb/musb/musb_cppi41.c controller->early_tx.function = cppi41_recheck_tx_req; controller 767 drivers/usb/musb/musb_cppi41.c INIT_LIST_HEAD(&controller->early_tx_list); controller 769 drivers/usb/musb/musb_cppi41.c controller->controller.channel_alloc = cppi41_dma_channel_allocate; controller 770 drivers/usb/musb/musb_cppi41.c controller->controller.channel_release = cppi41_dma_channel_release; controller 771 drivers/usb/musb/musb_cppi41.c controller->controller.channel_program = cppi41_dma_channel_program; controller 772 drivers/usb/musb/musb_cppi41.c controller->controller.channel_abort = cppi41_dma_channel_abort; controller 773 drivers/usb/musb/musb_cppi41.c controller->controller.is_compatible = cppi41_is_compatible; controller 774 drivers/usb/musb/musb_cppi41.c controller->controller.musb = musb; controller 777 drivers/usb/musb/musb_cppi41.c controller->tdown_reg = DA8XX_USB_TEARDOWN; controller 778 drivers/usb/musb/musb_cppi41.c controller->autoreq_reg = DA8XX_USB_AUTOREQ; controller 779 drivers/usb/musb/musb_cppi41.c controller->set_dma_mode = da8xx_set_dma_mode; controller 780 drivers/usb/musb/musb_cppi41.c controller->num_channels = DA8XX_DMA_NUM_CHANNELS; controller 782 drivers/usb/musb/musb_cppi41.c controller->tdown_reg = USB_TDOWN; controller 783 drivers/usb/musb/musb_cppi41.c controller->autoreq_reg = USB_CTRL_AUTOREQ; controller 784 drivers/usb/musb/musb_cppi41.c controller->set_dma_mode = cppi41_set_dma_mode; controller 785 drivers/usb/musb/musb_cppi41.c controller->num_channels = MUSB_DMA_NUM_CHANNELS; controller 788 drivers/usb/musb/musb_cppi41.c channel_size = controller->num_channels * controller 790 drivers/usb/musb/musb_cppi41.c controller->rx_channel = kzalloc(channel_size, GFP_KERNEL); controller 791 drivers/usb/musb/musb_cppi41.c if (!controller->rx_channel) controller 793 drivers/usb/musb/musb_cppi41.c controller->tx_channel = kzalloc(channel_size, GFP_KERNEL); controller 794 drivers/usb/musb/musb_cppi41.c if (!controller->tx_channel) controller 797 drivers/usb/musb/musb_cppi41.c ret = cppi41_dma_controller_start(controller); controller 800 drivers/usb/musb/musb_cppi41.c return &controller->controller; controller 803 drivers/usb/musb/musb_cppi41.c kfree(controller->tx_channel); controller 805 drivers/usb/musb/musb_cppi41.c kfree(controller->rx_channel); controller 807 drivers/usb/musb/musb_cppi41.c kfree(controller); controller 90 drivers/usb/musb/musb_debugfs.c pm_runtime_get_sync(musb->controller); controller 109 drivers/usb/musb/musb_debugfs.c pm_runtime_mark_last_busy(musb->controller); controller 110 drivers/usb/musb/musb_debugfs.c pm_runtime_put_autosuspend(musb->controller); controller 120 drivers/usb/musb/musb_debugfs.c pm_runtime_get_sync(musb->controller); controller 122 drivers/usb/musb/musb_debugfs.c pm_runtime_mark_last_busy(musb->controller); controller 123 drivers/usb/musb/musb_debugfs.c pm_runtime_put_autosuspend(musb->controller); controller 176 drivers/usb/musb/musb_debugfs.c pm_runtime_get_sync(musb->controller); controller 179 drivers/usb/musb/musb_debugfs.c dev_err(musb->controller, "Error: test mode is already set. " controller 219 drivers/usb/musb/musb_debugfs.c pm_runtime_mark_last_busy(musb->controller); controller 220 drivers/usb/musb/musb_debugfs.c pm_runtime_put_autosuspend(musb->controller); controller 241 drivers/usb/musb/musb_debugfs.c pm_runtime_get_sync(musb->controller); controller 246 drivers/usb/musb/musb_debugfs.c pm_runtime_mark_last_busy(musb->controller); controller 247 drivers/usb/musb/musb_debugfs.c pm_runtime_put_autosuspend(musb->controller); controller 276 drivers/usb/musb/musb_debugfs.c pm_runtime_get_sync(musb->controller); controller 307 drivers/usb/musb/musb_debugfs.c pm_runtime_mark_last_busy(musb->controller); controller 308 drivers/usb/musb/musb_debugfs.c pm_runtime_put_autosuspend(musb->controller); controller 328 drivers/usb/musb/musb_debugfs.c root = debugfs_create_dir(dev_name(musb->controller), NULL); controller 170 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 196 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 211 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 225 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, controller 282 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 306 drivers/usb/musb/musb_dsps.c struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); controller 318 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 344 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "usbintr (%x) epintr(%x)\n", controller 381 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "VBUS %s (%s)%s, devctl %02x\n", controller 413 drivers/usb/musb/musb_dsps.c sprintf(buf, "%s.dsps", dev_name(musb->controller)); controller 427 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 499 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 512 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 563 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "babble: MUSB_BABBLE_CTL value %x\n", controller 569 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "STUCK_J is %s\n", controller 584 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "Set TXIDLE, wait J to clear\n"); controller 597 drivers/usb/musb/musb_dsps.c dev_dbg(musb->controller, "J not cleared, misc (%x)\n", controller 610 drivers/usb/musb/musb_dsps.c struct device *dev = musb->controller; controller 644 drivers/usb/musb/musb_dsps.c struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); controller 656 drivers/usb/musb/musb_dsps.c struct dma_controller *controller; controller 657 drivers/usb/musb/musb_dsps.c struct dsps_glue *glue = dev_get_drvdata(musb->controller->parent); controller 660 drivers/usb/musb/musb_dsps.c controller = cppi41_dma_controller_create(musb, base); controller 661 drivers/usb/musb/musb_dsps.c if (IS_ERR_OR_NULL(controller)) controller 662 drivers/usb/musb/musb_dsps.c return controller; controller 665 drivers/usb/musb/musb_dsps.c controller->dma_callback = dsps_dma_controller_callback; controller 667 drivers/usb/musb/musb_dsps.c return controller; controller 59 drivers/usb/musb/musb_gadget.c musb->controller, controller 65 drivers/usb/musb/musb_gadget.c ret = dma_mapping_error(musb->controller, dma_addr); controller 72 drivers/usb/musb/musb_gadget.c dma_sync_single_for_device(musb->controller, controller 92 drivers/usb/musb/musb_gadget.c dev_vdbg(musb->controller, controller 97 drivers/usb/musb/musb_gadget.c dma_unmap_single(musb->controller, controller 105 drivers/usb/musb/musb_gadget.c dma_sync_single_for_cpu(musb->controller, controller 441 drivers/usb/musb/musb_gadget.c dev_vdbg(musb->controller, "underrun on ep%d, req %p\n", controller 1211 drivers/usb/musb/musb_gadget.c status = pm_runtime_get(musb->controller); controller 1213 drivers/usb/musb/musb_gadget.c dev_err(musb->controller, controller 1216 drivers/usb/musb/musb_gadget.c pm_runtime_put_noidle(musb->controller); controller 1252 drivers/usb/musb/musb_gadget.c dev_err(musb->controller, "%s resume work: %i\n", controller 1258 drivers/usb/musb/musb_gadget.c pm_runtime_mark_last_busy(musb->controller); controller 1259 drivers/usb/musb/musb_gadget.c pm_runtime_put_autosuspend(musb->controller); controller 1285 drivers/usb/musb/musb_gadget.c dev_err(musb->controller, "request %p not queued to %s\n", controller 1638 drivers/usb/musb/musb_gadget.c pm_runtime_get_sync(musb->controller); controller 1642 drivers/usb/musb/musb_gadget.c pm_runtime_mark_last_busy(musb->controller); controller 1643 drivers/usb/musb/musb_gadget.c pm_runtime_put_autosuspend(musb->controller); controller 1798 drivers/usb/musb/musb_gadget.c status = usb_add_gadget_udc(musb->controller, &musb->g); controller 1842 drivers/usb/musb/musb_gadget.c pm_runtime_get_sync(musb->controller); controller 1863 drivers/usb/musb/musb_gadget.c pm_runtime_mark_last_busy(musb->controller); controller 1864 drivers/usb/musb/musb_gadget.c pm_runtime_put_autosuspend(musb->controller); controller 1883 drivers/usb/musb/musb_gadget.c pm_runtime_get_sync(musb->controller); controller 1914 drivers/usb/musb/musb_gadget.c pm_runtime_mark_last_busy(musb->controller); controller 1915 drivers/usb/musb/musb_gadget.c pm_runtime_put_autosuspend(musb->controller); controller 113 drivers/usb/musb/musb_host.c if (dev_WARN_ONCE(musb->controller, retries-- < 1, controller 841 drivers/usb/musb/musb_host.c dev_err(musb->controller, controller 1468 drivers/usb/musb/musb_host.c dev_err(musb->controller, "error: sg list empty\n"); controller 1948 drivers/usb/musb/musb_host.c dev_err(musb->controller, "error: rx_dma failed\n"); controller 1969 drivers/usb/musb/musb_host.c dev_err(musb->controller, "error: sg list empty\n"); controller 2109 drivers/usb/musb/musb_host.c dev_err(musb->controller, controller 2205 drivers/usb/musb/musb_host.c dev_err(musb->controller, controller 2715 drivers/usb/musb/musb_host.c struct device *dev = musb->controller; controller 2762 drivers/usb/musb/musb_host.c device_wakeup_enable(hcd->self.controller); controller 30 drivers/usb/musb/musb_trace.h __string(name, dev_name(musb->controller)) controller 34 drivers/usb/musb/musb_trace.h __assign_str(name, dev_name(musb->controller)); controller 131 drivers/usb/musb/musb_trace.h __string(name, dev_name(musb->controller)) controller 137 drivers/usb/musb/musb_trace.h __assign_str(name, dev_name(musb->controller)); controller 152 drivers/usb/musb/musb_trace.h __string(name, dev_name(musb->controller)) controller 161 drivers/usb/musb/musb_trace.h __assign_str(name, dev_name(musb->controller)); controller 292 drivers/usb/musb/musb_trace.h __string(name, dev_name(ch->hw_ep->musb->controller)) controller 302 drivers/usb/musb/musb_trace.h __assign_str(name, dev_name(ch->hw_ep->musb->controller)); controller 60 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller; controller 70 drivers/usb/musb/musbhsdma.c struct dma_controller controller; controller 81 drivers/usb/musb/musbhsdma.c static void dma_controller_stop(struct musb_dma_controller *controller) controller 83 drivers/usb/musb/musbhsdma.c struct musb *musb = controller->private_data; controller 87 drivers/usb/musb/musbhsdma.c if (controller->used_channels != 0) { controller 88 drivers/usb/musb/musbhsdma.c dev_err(musb->controller, controller 92 drivers/usb/musb/musbhsdma.c if (controller->used_channels & (1 << bit)) { controller 93 drivers/usb/musb/musbhsdma.c channel = &controller->channel[bit].channel; controller 96 drivers/usb/musb/musbhsdma.c if (!controller->used_channels) controller 106 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller = container_of(c, controller 107 drivers/usb/musb/musbhsdma.c struct musb_dma_controller, controller); controller 113 drivers/usb/musb/musbhsdma.c if (!(controller->used_channels & (1 << bit))) { controller 114 drivers/usb/musb/musbhsdma.c controller->used_channels |= (1 << bit); controller 115 drivers/usb/musb/musbhsdma.c musb_channel = &(controller->channel[bit]); controller 116 drivers/usb/musb/musbhsdma.c musb_channel->controller = controller; controller 142 drivers/usb/musb/musbhsdma.c musb_channel->controller->used_channels &= controller 153 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller = musb_channel->controller; controller 154 drivers/usb/musb/musbhsdma.c struct musb *musb = controller->private_data; controller 155 drivers/usb/musb/musbhsdma.c void __iomem *mbase = controller->base; controller 191 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller = musb_channel->controller; controller 192 drivers/usb/musb/musbhsdma.c struct musb *musb = controller->private_data; controller 228 drivers/usb/musb/musbhsdma.c void __iomem *mbase = musb_channel->controller->base; controller 229 drivers/usb/musb/musbhsdma.c struct musb *musb = musb_channel->controller->private_data; controller 273 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller = private_data; controller 274 drivers/usb/musb/musbhsdma.c struct musb *musb = controller->private_data; controller 278 drivers/usb/musb/musbhsdma.c void __iomem *mbase = controller->base; controller 299 drivers/usb/musb/musbhsdma.c &(controller->channel[bchannel]); controller 318 drivers/usb/musb/musbhsdma.c &(controller->channel[bchannel]); controller 389 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller = container_of(c, controller 390 drivers/usb/musb/musbhsdma.c struct musb_dma_controller, controller); controller 392 drivers/usb/musb/musbhsdma.c dma_controller_stop(controller); controller 394 drivers/usb/musb/musbhsdma.c if (controller->irq) controller 395 drivers/usb/musb/musbhsdma.c free_irq(controller->irq, c); controller 397 drivers/usb/musb/musbhsdma.c kfree(controller); controller 404 drivers/usb/musb/musbhsdma.c struct musb_dma_controller *controller; controller 405 drivers/usb/musb/musbhsdma.c struct device *dev = musb->controller; controller 414 drivers/usb/musb/musbhsdma.c controller = kzalloc(sizeof(*controller), GFP_KERNEL); controller 415 drivers/usb/musb/musbhsdma.c if (!controller) controller 418 drivers/usb/musb/musbhsdma.c controller->channel_count = MUSB_HSDMA_CHANNELS; controller 419 drivers/usb/musb/musbhsdma.c controller->private_data = musb; controller 420 drivers/usb/musb/musbhsdma.c controller->base = base; controller 422 drivers/usb/musb/musbhsdma.c controller->controller.channel_alloc = dma_channel_allocate; controller 423 drivers/usb/musb/musbhsdma.c controller->controller.channel_release = dma_channel_release; controller 424 drivers/usb/musb/musbhsdma.c controller->controller.channel_program = dma_channel_program; controller 425 drivers/usb/musb/musbhsdma.c controller->controller.channel_abort = dma_channel_abort; controller 428 drivers/usb/musb/musbhsdma.c dev_name(musb->controller), controller)) { controller 430 drivers/usb/musb/musbhsdma.c musb_dma_controller_destroy(&controller->controller); controller 435 drivers/usb/musb/musbhsdma.c controller->irq = irq; controller 437 drivers/usb/musb/musbhsdma.c return &controller->controller; controller 71 drivers/usb/musb/omap2430.c dev_err(musb->controller, controller 98 drivers/usb/musb/omap2430.c dev_dbg(musb->controller, "VBUS %s, devctl %02x " controller 147 drivers/usb/musb/omap2430.c dev_get_platdata(musb->controller); controller 150 drivers/usb/musb/omap2430.c pm_runtime_get_sync(musb->controller); controller 153 drivers/usb/musb/omap2430.c dev_dbg(musb->controller, "ID GND\n"); controller 165 drivers/usb/musb/omap2430.c dev_dbg(musb->controller, "VBUS Connect\n"); controller 174 drivers/usb/musb/omap2430.c dev_dbg(musb->controller, "VBUS Disconnect\n"); controller 187 drivers/usb/musb/omap2430.c dev_dbg(musb->controller, "ID float\n"); controller 189 drivers/usb/musb/omap2430.c pm_runtime_mark_last_busy(musb->controller); controller 190 drivers/usb/musb/omap2430.c pm_runtime_put_autosuspend(musb->controller); controller 228 drivers/usb/musb/omap2430.c struct device *dev = musb->controller; controller 295 drivers/usb/musb/omap2430.c struct device *dev = musb->controller; controller 333 drivers/usb/musb/omap2430.c struct device *dev = musb->controller; controller 343 drivers/usb/musb/omap2430.c struct device *dev = musb->controller; controller 141 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 155 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 162 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 217 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 225 drivers/usb/musb/sunxi.c ret = sunxi_sram_claim(musb->controller->parent); controller 255 drivers/usb/musb/sunxi.c pm_runtime_get(musb->controller); controller 266 drivers/usb/musb/sunxi.c sunxi_sram_release(musb->controller->parent); controller 272 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 274 drivers/usb/musb/sunxi.c pm_runtime_put(musb->controller); controller 287 drivers/usb/musb/sunxi.c sunxi_sram_release(musb->controller->parent); controller 296 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 309 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 326 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 340 drivers/usb/musb/sunxi.c dev_err(musb->controller->parent, controller 349 drivers/usb/musb/sunxi.c dev_err(musb->controller->parent, controller 370 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = dev_get_drvdata(musb->controller->parent); controller 436 drivers/usb/musb/sunxi.c glue = dev_get_drvdata(sunxi_musb->controller->parent); controller 453 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 465 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 488 drivers/usb/musb/sunxi.c dev_warn(sunxi_musb->controller->parent, controller 507 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 518 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 545 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 554 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 580 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 589 drivers/usb/musb/sunxi.c dev_err(sunxi_musb->controller->parent, controller 109 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Enabled tusb wbus quirk ctrl %08x ena %08x\n", controller 118 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Disabled tusb wbus quirk ctrl %08x ena %08x\n", controller 228 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "%cX ep%d fifo %p count %d buf %p\n", controller 276 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "%cX ep%d fifo %p count %d buf %p\n", controller 353 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "draw max %d mA VBUS\n", mA); controller 419 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "idle, wake on %02x\n", wakeup_enables); controller 464 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Nothing connected %s, turning off VBUS\n", controller 519 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "%s active, deleting timer\n", controller 530 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Longer idle timer already pending, ignoring\n"); controller 536 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "%s inactive, for idle timer for %lu ms\n", controller 612 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "VBUS %s, devctl %02x otg %3x conf %08x prcm %08x\n", controller 656 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Trying to set mode %i\n", musb_mode); controller 687 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Default-%c\n", default_a ? 'A' : 'B'); controller 711 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Forcing disconnect (no interrupt)\n"); controller 719 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "vbus change, %s, otg %03x\n", controller 725 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "vbus change, %s, otg %03x\n", controller 730 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "Got SRP, turning on VBUS\n"); controller 774 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "%s timer, %03x\n", controller 786 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "devctl %02x\n", devctl); controller 831 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "TUSB IRQ %08x\n", int_src); controller 852 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "TUSB NOR not ready\n"); controller 864 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "wake %sactive %02x\n", controller 886 drivers/usb/musb/tusb6010.c dev_dbg(musb->controller, "DMA IRQ %08x\n", dma_src); controller 1101 drivers/usb/musb/tusb6010.c pdev = to_platform_device(musb->controller); controller 51 drivers/usb/musb/tusb6010_omap.c struct dma_controller controller; controller 66 drivers/usb/musb/tusb6010_omap.c dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", controller 103 drivers/usb/musb/tusb6010_omap.c struct device *dev = musb->controller; controller 111 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "ep%i %s dma callback\n", controller 123 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Corrupt %s XFR_SIZE: 0x%08lx\n", controller 131 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); controller 137 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Using PIO for remaining %lu bytes\n", pio); controller 169 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "terminating short tx packet\n"); controller 187 drivers/usb/musb/tusb6010_omap.c struct device *dev = musb->controller; controller 226 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Busy %s dma, not using: %08x\n", controller 241 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "could not get dma for ep%i\n", chdat->epnum); controller 285 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, controller 299 drivers/usb/musb/tusb6010_omap.c dev_err(musb->controller, "DMA slave config failed: %d\n", ret); controller 307 drivers/usb/musb/tusb6010_omap.c dev_err(musb->controller, "DMA prep_slave_single failed\n"); controller 315 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, controller 433 drivers/usb/musb/tusb6010_omap.c tusb_dma = container_of(c, struct tusb_omap_dma, controller); controller 434 drivers/usb/musb/tusb6010_omap.c musb = tusb_dma->controller.musb; controller 438 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Not allowing DMA for ep0 %s\n", tx ? "tx" : "rx"); controller 455 drivers/usb/musb/tusb6010_omap.c chdat->musb = tusb_dma->controller.musb; controller 482 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "ep%i %s dma: %s dmareq%i\n", controller 493 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "ep%i: Could not get a DMA channel\n", chdat->epnum); controller 504 drivers/usb/musb/tusb6010_omap.c dev_dbg(musb->controller, "Release for ep%i\n", chdat->epnum); controller 519 drivers/usb/musb/tusb6010_omap.c tusb_dma = container_of(c, struct tusb_omap_dma, controller); controller 538 drivers/usb/musb/tusb6010_omap.c struct musb *musb = tusb_dma->controller.musb; controller 554 drivers/usb/musb/tusb6010_omap.c dma_data->chan = dma_request_chan(musb->controller, controller 557 drivers/usb/musb/tusb6010_omap.c dev_err(musb->controller, controller 603 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.musb = musb; controller 606 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_alloc = tusb_omap_dma_allocate; controller 607 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_release = tusb_omap_dma_release; controller 608 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_program = tusb_omap_dma_program; controller 609 drivers/usb/musb/tusb6010_omap.c tusb_dma->controller.channel_abort = tusb_omap_dma_abort; controller 635 drivers/usb/musb/tusb6010_omap.c return &tusb_dma->controller; controller 638 drivers/usb/musb/tusb6010_omap.c musb_dma_controller_destroy(&tusb_dma->controller); controller 57 drivers/usb/musb/ux500.c dev_err(musb->controller, controller 89 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "VBUS %s, devctl %02x\n", controller 99 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "musb_otg_notifications %ld %s\n", controller 104 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "ID GND\n"); controller 108 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "VBUS Connect\n"); controller 111 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "VBUS Disconnect\n"); controller 118 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "ID float\n"); controller 157 drivers/usb/musb/ux500.c dev_dbg(musb->controller, "notification register failed\n"); controller 32 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller *controller; controller 43 drivers/usb/musb/ux500_dma.c struct dma_controller controller; controller 59 drivers/usb/musb/ux500_dma.c dev_dbg(musb->controller, "DMA rx transfer done on hw_ep=%d\n", controller 82 drivers/usb/musb/ux500_dma.c struct musb *musb = ux500_channel->controller->private_data; controller 84 drivers/usb/musb/ux500_dma.c ux500_channel->controller->phy_base); controller 86 drivers/usb/musb/ux500_dma.c dev_dbg(musb->controller, controller 131 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller *controller = container_of(c, controller 132 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller, controller); controller 134 drivers/usb/musb/ux500_dma.c struct musb *musb = controller->private_data; controller 147 drivers/usb/musb/ux500_dma.c ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : controller 148 drivers/usb/musb/ux500_dma.c &(controller->rx_channel[ch_num]) ; controller 157 drivers/usb/musb/ux500_dma.c dev_dbg(musb->controller, "hw_ep=%d, is_tx=0x%x, channel=%d\n", controller 166 drivers/usb/musb/ux500_dma.c struct musb *musb = ux500_channel->controller->private_data; controller 168 drivers/usb/musb/ux500_dma.c dev_dbg(musb->controller, "channel=%d\n", ux500_channel->ch_num); controller 210 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller *controller = ux500_channel->controller; controller 211 drivers/usb/musb/ux500_dma.c struct musb *musb = controller->private_data; controller 215 drivers/usb/musb/ux500_dma.c dev_dbg(musb->controller, "channel=%d, is_tx=%d\n", controller 239 drivers/usb/musb/ux500_dma.c static void ux500_dma_controller_stop(struct ux500_dma_controller *controller) controller 246 drivers/usb/musb/ux500_dma.c channel = &controller->rx_channel[ch_num].channel; controller 256 drivers/usb/musb/ux500_dma.c channel = &controller->tx_channel[ch_num].channel; controller 266 drivers/usb/musb/ux500_dma.c static int ux500_dma_controller_start(struct ux500_dma_controller *controller) controller 269 drivers/usb/musb/ux500_dma.c struct musb *musb = controller->private_data; controller 270 drivers/usb/musb/ux500_dma.c struct device *dev = musb->controller; controller 284 drivers/usb/musb/ux500_dma.c dev_err(musb->controller, "No platform data\n"); controller 294 drivers/usb/musb/ux500_dma.c channel_array = controller->rx_channel; controller 303 drivers/usb/musb/ux500_dma.c ux500_channel->controller = controller; controller 330 drivers/usb/musb/ux500_dma.c ux500_dma_controller_stop(controller); controller 338 drivers/usb/musb/ux500_dma.c channel_array = controller->tx_channel; controller 349 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller *controller = container_of(c, controller 350 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller, controller); controller 352 drivers/usb/musb/ux500_dma.c ux500_dma_controller_stop(controller); controller 353 drivers/usb/musb/ux500_dma.c kfree(controller); controller 360 drivers/usb/musb/ux500_dma.c struct ux500_dma_controller *controller; controller 361 drivers/usb/musb/ux500_dma.c struct platform_device *pdev = to_platform_device(musb->controller); controller 365 drivers/usb/musb/ux500_dma.c controller = kzalloc(sizeof(*controller), GFP_KERNEL); controller 366 drivers/usb/musb/ux500_dma.c if (!controller) controller 369 drivers/usb/musb/ux500_dma.c controller->private_data = musb; controller 374 drivers/usb/musb/ux500_dma.c dev_err(musb->controller, "no memory resource defined\n"); controller 378 drivers/usb/musb/ux500_dma.c controller->phy_base = (dma_addr_t) iomem->start; controller 380 drivers/usb/musb/ux500_dma.c controller->controller.channel_alloc = ux500_dma_channel_allocate; controller 381 drivers/usb/musb/ux500_dma.c controller->controller.channel_release = ux500_dma_channel_release; controller 382 drivers/usb/musb/ux500_dma.c controller->controller.channel_program = ux500_dma_channel_program; controller 383 drivers/usb/musb/ux500_dma.c controller->controller.channel_abort = ux500_dma_channel_abort; controller 384 drivers/usb/musb/ux500_dma.c controller->controller.is_compatible = ux500_dma_is_compatible; controller 386 drivers/usb/musb/ux500_dma.c ret = ux500_dma_controller_start(controller); controller 389 drivers/usb/musb/ux500_dma.c return &controller->controller; controller 392 drivers/usb/musb/ux500_dma.c kfree(controller); controller 467 drivers/usb/phy/phy-fsl-usb.c dev = otg->host->controller; controller 274 drivers/usb/phy/phy-isp1301-omap.c dev = isp->phy.otg->host->controller; controller 289 drivers/usb/phy/phy-isp1301-omap.c dev = isp->phy.otg->host->controller; controller 208 drivers/usb/phy/phy-mv-usb.c device_wakeup_enable(hcd->self.controller); controller 116 drivers/usb/renesas_usbhs/mod_host.c #define usbhsh_hcd_to_dev(h) ((h)->self.controller) controller 1460 drivers/usb/renesas_usbhs/mod_host.c device_wakeup_enable(hcd->self.controller); controller 156 drivers/usb/usbip/vhci.h return (hcd)->self.controller; controller 1130 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller)); controller 1247 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller)); controller 1261 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller)); controller 1423 drivers/usb/usbip/vhci_hcd.c vhci = *((void **)dev_get_platdata(hcd->self.controller)); controller 13 drivers/xen/dbgp.c const struct device *ctrlr = hcd_to_bus(hcd)->controller; controller 1122 include/linux/mtd/rawnand.h struct nand_controller *controller; controller 142 include/linux/spi/spi.h struct spi_controller *controller; controller 996 include/linux/spi/spi.h struct spi_controller *ctlr = spi->controller; controller 1006 include/linux/spi/spi.h struct spi_controller *ctlr = spi->controller; controller 425 include/linux/usb.h struct device *controller; /* host/master side hardware */ controller 13 include/trace/events/spi.h TP_PROTO(struct spi_controller *controller), controller 15 include/trace/events/spi.h TP_ARGS(controller), controller 22 include/trace/events/spi.h __entry->bus_num = controller->bus_num; controller 31 include/trace/events/spi.h TP_PROTO(struct spi_controller *controller), controller 33 include/trace/events/spi.h TP_ARGS(controller) controller 39 include/trace/events/spi.h TP_PROTO(struct spi_controller *controller), controller 41 include/trace/events/spi.h TP_ARGS(controller) controller 58 include/trace/events/spi.h __entry->bus_num = msg->spi->controller->bus_num; controller 99 include/trace/events/spi.h __entry->bus_num = msg->spi->controller->bus_num; controller 118 include/trace/events/spi.h (xfer->tx_buf && xfer->tx_buf != msg->spi->controller->dummy_tx) controller 120 include/trace/events/spi.h (xfer->rx_buf && xfer->rx_buf != msg->spi->controller->dummy_rx) controller 142 include/trace/events/spi.h __entry->bus_num = msg->spi->controller->bus_num; controller 1198 include/uapi/linux/soundcard.h #define SEQ_CONTROL(dev, chn, controller, value) \ controller 1199 include/uapi/linux/soundcard.h _CHN_COMMON(dev, MIDI_CTL_CHANGE, chn, controller, 0, value) controller 1205 include/uapi/linux/soundcard.h #define SEQ_V2_X_CONTROL(dev, voice, controller, value) {_SEQ_NEEDBUF(8);\ controller 1210 include/uapi/linux/soundcard.h _seqbuf[_seqbufptr+4] = (controller);\ controller 189 net/bluetooth/cmtp/capi.c __u32 controller; controller 231 net/bluetooth/cmtp/capi.c controller = CAPIMSG_U16(skb->data, CAPI_MSG_BASELEN + 11); controller 235 net/bluetooth/cmtp/capi.c session->ncontroller = controller; controller 1861 sound/usb/pcm.c struct device *dev = subs->dev->bus->controller;