Searched refs:ssel (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/spi/
H A Dspi-adi-v3.c90 u32 ssel; member in struct:adi_spi_master
101 u32 ssel; member in struct:adi_spi_device
157 reg = ioread32(&drv_data->regs->ssel); adi_spi_cs_active()
158 reg &= ~chip->ssel; adi_spi_cs_active()
159 iowrite32(reg, &drv_data->regs->ssel); adi_spi_cs_active()
170 reg = ioread32(&drv_data->regs->ssel); adi_spi_cs_deactive()
171 reg |= chip->ssel; adi_spi_cs_deactive()
172 iowrite32(reg, &drv_data->regs->ssel); adi_spi_cs_deactive()
188 reg = ioread32(&drv_data->regs->ssel); adi_spi_cs_enable()
189 reg |= chip->ssel >> 8; adi_spi_cs_enable()
190 iowrite32(reg, &drv_data->regs->ssel); adi_spi_cs_enable()
199 reg = ioread32(&drv_data->regs->ssel); adi_spi_cs_disable()
200 reg &= ~(chip->ssel >> 8); adi_spi_cs_disable()
201 iowrite32(reg, &drv_data->regs->ssel); adi_spi_cs_disable()
638 static const u16 ssel[][MAX_SPI_SSEL] = { variable
680 chip->ssel = (1 << chip->cs) << 8; adi_spi_setup()
681 ret = peripheral_request(ssel[spi->master->bus_num] adi_spi_setup()
736 peripheral_free(ssel[spi->master->bus_num] adi_spi_cleanup()
887 iowrite32(0x0000FE00, &drv_data->regs->ssel); adi_spi_probe()
934 drv_data->ssel = ioread32(&drv_data->regs->ssel); adi_spi_suspend()
937 iowrite32(0x0000FE00, &drv_data->regs->ssel); adi_spi_suspend()
956 iowrite32(drv_data->ssel, &drv_data->regs->ssel); adi_spi_resume()
H A Dspi-bfin5xx.c958 static const u16 ssel[][MAX_SPI_SSEL] = { variable
1111 ret = peripheral_request(ssel[spi->master->bus_num] bfin_spi_setup()
1128 peripheral_free(ssel[spi->master->bus_num] bfin_spi_setup()
1157 peripheral_free(ssel[spi->master->bus_num] bfin_spi_cleanup()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgk104.c34 u32 ssel; member in struct:gk104_clk_info
152 u32 ssel = nvkm_rd32(device, 0x137100); read_clk() local
153 if (ssel & (1 << idx)) { read_clk()
323 info->ssel = 0; calc_clk()
330 info->ssel = (1 << idx); calc_clk()
361 if (!info->ssel) { gk104_clk_prog_0()
409 if (info->ssel) gk104_clk_prog_3()
420 if (info->ssel) { gk104_clk_prog_4_0()
421 nvkm_mask(device, 0x137100, (1 << idx), info->ssel); gk104_clk_prog_4_0()
424 if (tmp == info->ssel) gk104_clk_prog_4_0()
435 if (info->ssel) { gk104_clk_prog_4_1()
H A Dgf100.c34 u32 ssel; member in struct:gf100_clk_info
129 u32 ssel = nvkm_rd32(device, 0x137100); read_clk() local
132 if (ssel & (1 << idx)) { read_clk()
302 info->ssel = info->coef = 0; calc_clk()
309 info->ssel = (1 << idx); calc_clk()
340 if (idx < 7 && !info->ssel) { gf100_clk_prog_0()
383 if (info->ssel) { gf100_clk_prog_3()
384 nvkm_mask(device, 0x137100, (1 << idx), info->ssel); gf100_clk_prog_3()
387 if (tmp == info->ssel) gf100_clk_prog_3()
/linux-4.4.14/arch/blackfin/kernel/
H A Dsetup.c1176 u_long csel, ssel; get_cclk()
1181 ssel = bfin_read_PLL_DIV(); get_cclk()
1182 if (ssel == cached_cclk_pll_div) get_cclk()
1185 cached_cclk_pll_div = ssel; get_cclk()
1187 csel = ((ssel >> 4) & 0x03); get_cclk()
1188 ssel &= 0xf; get_cclk()
1189 if (ssel && ssel < (1 << csel)) /* SCLK > CCLK */ get_cclk()
1190 cached_cclk = get_vco() / ssel; get_cclk()
1228 u_long ssel; get_sclk()
1239 ssel = bfin_read_PLL_DIV() & 0xf; get_sclk()
1240 if (0 == ssel) { get_sclk()
1242 ssel = 1; get_sclk()
1245 cached_sclk = get_vco() / ssel; get_sclk()
/linux-4.4.14/include/linux/spi/
H A Dadi_spi3.h217 u32 ssel; member in struct:adi_spi_regs

Completed in 217 milliseconds