Searched refs:chipco (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/drivers/ssb/ |
D | driver_gpio.c | 45 return !!ssb_chipco_gpio_in(&bus->chipco, 1 << gpio); in ssb_gpio_chipco_get_value() 53 ssb_chipco_gpio_out(&bus->chipco, 1 << gpio, value ? 1 << gpio : 0); in ssb_gpio_chipco_set_value() 61 ssb_chipco_gpio_outen(&bus->chipco, 1 << gpio, 0); in ssb_gpio_chipco_direction_input() 70 ssb_chipco_gpio_outen(&bus->chipco, 1 << gpio, 1 << gpio); in ssb_gpio_chipco_direction_output() 71 ssb_chipco_gpio_out(&bus->chipco, 1 << gpio, value ? 1 << gpio : 0); in ssb_gpio_chipco_direction_output() 79 ssb_chipco_gpio_control(&bus->chipco, 1 << gpio, 0); in ssb_gpio_chipco_request() 81 ssb_chipco_gpio_pulldown(&bus->chipco, 1 << gpio, 0); in ssb_gpio_chipco_request() 83 ssb_chipco_gpio_pullup(&bus->chipco, 1 << gpio, 1 << gpio); in ssb_gpio_chipco_request() 93 ssb_chipco_gpio_pullup(&bus->chipco, 1 << gpio, 0); in ssb_gpio_chipco_free() 102 ssb_chipco_gpio_intmask(&bus->chipco, BIT(gpio), 0); in ssb_gpio_irq_chipco_mask() [all …]
|
D | embedded.c | 25 if (ssb_chipco_available(&bus->chipco)) { in ssb_watchdog_timer_set() 26 ssb_chipco_watchdog_timer_set(&bus->chipco, ticks); in ssb_watchdog_timer_set() 42 if (ssb_chipco_available(&bus->chipco)) { in ssb_watchdog_register() 43 wdt.driver_data = &bus->chipco; in ssb_watchdog_register() 46 wdt.max_timer_ms = bus->chipco.max_timer_ms; in ssb_watchdog_register() 75 if (ssb_chipco_available(&bus->chipco)) in ssb_gpio_in() 76 res = ssb_chipco_gpio_in(&bus->chipco, mask); in ssb_gpio_in() 93 if (ssb_chipco_available(&bus->chipco)) in ssb_gpio_out() 94 res = ssb_chipco_gpio_out(&bus->chipco, mask, value); in ssb_gpio_out() 111 if (ssb_chipco_available(&bus->chipco)) in ssb_gpio_outen() [all …]
|
D | driver_mipscore.c | 208 else if (ssb_chipco_available(&bus->chipco)) in ssb_mips_serial_init() 209 mcore->nr_serial_ports = ssb_chipco_serial_init(&bus->chipco, mcore->serial_ports); in ssb_mips_serial_init() 221 if (!ssb_chipco_available(&bus->chipco)) { in ssb_mips_flash_detect() 230 switch (bus->chipco.capabilities & SSB_CHIPCO_CAP_FLASHT) { in ssb_mips_flash_detect() 234 ssb_sflash_init(&bus->chipco); in ssb_mips_flash_detect() 241 if ((ssb_read32(bus->chipco.dev, SSB_CHIPCO_FLASH_CFG) in ssb_mips_flash_detect() 270 if (bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU) in ssb_cpu_clock() 271 return ssb_pmu_get_cpu_clock(&bus->chipco); in ssb_cpu_clock() 275 } else if (ssb_chipco_available(&bus->chipco)) { in ssb_cpu_clock() 276 ssb_chipco_get_clockcpu(&bus->chipco, &pll_type, &n, &m); in ssb_cpu_clock() [all …]
|
D | sprom.c | 199 bus->chipco.dev && /* can be unavailable! */ in ssb_is_sprom_available() 200 bus->chipco.dev->id.revision >= 31) in ssb_is_sprom_available() 201 return bus->chipco.capabilities & SSB_CHIPCO_CAP_SPROM; in ssb_is_sprom_available()
|
D | main.c | 181 ssb_chipco_resume(&bus->chipco); in ssb_bus_resume() 190 ssb_chipco_suspend(&bus->chipco); in ssb_bus_suspend() 660 ssb_chipcommon_init(&bus->chipco); in ssb_bus_register() 945 if (bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU) in ssb_clockspeed() 946 return ssb_pmu_get_controlclock(&bus->chipco); in ssb_clockspeed() 951 else if (bus->chipco.dev) in ssb_clockspeed() 952 ssb_chipco_get_clockcontrol(&bus->chipco, &plltype, in ssb_clockspeed() 1165 cc = &bus->chipco; in ssb_bus_may_powerdown() 1197 ssb_chipco_set_clockmode(&bus->chipco, mode); in ssb_bus_powerup() 1226 dev = bus->chipco.dev ? bus->chipco.dev : bus->pcicore.dev; in ssb_commit_settings() [all …]
|
D | scan.c | 309 bus->chipco.capabilities = tmp; in ssb_bus_scan() 383 if (bus->chipco.dev) { in ssb_bus_scan() 387 bus->chipco.dev = dev; in ssb_bus_scan()
|
D | pci.c | 867 if (bus->chipco.dev) { /* can be unavailable! */ in ssb_pci_sprom_get() 873 if (bus->chipco.dev->id.revision >= 31) in ssb_pci_sprom_get() 876 (bus->chipco.status & 0x03) == 2) in ssb_pci_sprom_get()
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 231 ssb_pmu_set_ldo_voltage(&bus->chipco, LDO_PAREF, 0x28); in lpphy_baseband_rev0_1_init() 232 ssb_pmu_set_ldo_paref(&bus->chipco, true); in lpphy_baseband_rev0_1_init() 239 ssb_pmu_set_ldo_paref(&bus->chipco, false); in lpphy_baseband_rev0_1_init() 544 crystalfreq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_2062_init() 546 B43_WARN_ON(!(bus->chipco.capabilities & SSB_CHIPCO_CAP_PMU)); in lpphy_2062_init() 1275 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_rev2plus_rc_calib() 2392 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2062_tune() 2483 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2063_tune()
|
D | main.c | 1221 ssb_cc = &dev->dev->sdev->bus->chipco; in b43_wireless_core_phy_pll_reset() 2857 return (bus->chipco.dev ? bus->chipco.dev : bus->pcicore.dev); in b43_ssb_gpio_dev() 2859 return bus->chipco.dev; in b43_ssb_gpio_dev() 3331 dev->dev->sdev->bus->chipco.fast_pwrup_delay); in b43_chip_init()
|
D | phy_n.c | 5955 ssb_chipco_gpio_control(&dev->dev->sdev->bus->chipco, in b43_nphy_superswitch_init() 6001 chipco_set32(&dev->dev->sdev->bus->chipco, in b43_phy_initn() 6215 ssb_pmu_spuravoid_pllupdate(&dev->dev->sdev->bus->chipco, in b43_nphy_pmu_spur_avoid()
|
/linux-6.1.9/include/linux/ssb/ |
D | ssb.h | 470 struct ssb_chipcommon chipco; member
|
/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 1913 gpiodev = bus->chipco.dev ? : pcidev; in b43legacy_gpio_init() 1932 gpiodev = bus->chipco.dev ? : pcidev; in b43legacy_gpio_cleanup() 2242 dev->dev->bus->chipco.fast_pwrup_delay); in b43legacy_chip_init()
|