Home
last modified time | relevance | path

Searched refs:spr (Results 1 – 9 of 9) sorted by relevance

/drivers/spi/
Dspi-orion.c115 unsigned int clk, spr, sppr, sppr2, err; in orion_spi_baudrate_set() local
126 spr = tclk_hz / sppr2; in orion_spi_baudrate_set()
127 spr = DIV_ROUND_UP(spr, speed); in orion_spi_baudrate_set()
128 if ((spr == 0) || (spr > 15)) in orion_spi_baudrate_set()
131 clk = tclk_hz / (spr * sppr2); in orion_spi_baudrate_set()
135 best_spr = spr; in orion_spi_baudrate_set()
Dspi-mpc52xx.c147 int spr, sppr; in mpc52xx_spi_fsmstate_idle() local
177 spr = 0; in mpc52xx_spi_fsmstate_idle()
182 spr++; in mpc52xx_spi_fsmstate_idle()
185 if (spr > 7) { in mpc52xx_spi_fsmstate_idle()
187 spr = 7; in mpc52xx_spi_fsmstate_idle()
190 out_8(ms->regs + SPI_BRR, sppr << 4 | spr); /* Set speed */ in mpc52xx_spi_fsmstate_idle()
/drivers/staging/dgnc/
Ddgnc_cls.h46 u8 spr; /* WR SPR - Scratch Pad Reg */ member
Ddgnc_neo.h46 u8 spr; /* WR SPR - Scratch Pad Reg */ member
Ddgnc_cls.c165 writeb(0, &ch->ch_cls_uart->spr); in cls_set_ixon_flow_control()
301 writeb(0, &ch->ch_cls_uart->spr); in cls_set_ixoff_flow_control()
/drivers/gpu/drm/i915/
Dintel_pm.c1923 struct intel_plane_wm_parameters spr; member
1929 uint16_t spr; member
1979 if (!params->active || !params->spr.enabled) in ilk_compute_spr_wm()
1983 params->spr.bytes_per_pixel, in ilk_compute_spr_wm()
1987 params->spr.horiz_pixels, in ilk_compute_spr_wm()
1988 params->spr.bytes_per_pixel, in ilk_compute_spr_wm()
2127 max->spr = ilk_plane_wm_max(dev, level, config, ddb_partitioning, true); in ilk_compute_wm_maximums()
2137 max->spr = ilk_plane_wm_reg_max(dev, level, true); in ilk_compute_wm_reg_maximums()
2153 result->spr_val <= max->spr && in ilk_validate_wm_level()
2167 if (result->spr_val > max->spr) in ilk_validate_wm_level()
[all …]
/drivers/tty/serial/jsm/
Djsm.h275 u8 spr; /* WR SPR - Scratch Pad Reg */ member
/drivers/net/ethernet/broadcom/
Dtg3.c6731 struct tg3_rx_prodring_set *spr = &tp->napi[0].prodring; in tg3_recycle_rx() local
6739 src_desc = &spr->rx_std[src_idx]; in tg3_recycle_rx()
6740 src_map = &spr->rx_std_buffers[src_idx]; in tg3_recycle_rx()
6747 src_desc = &spr->rx_jmb[src_idx].std; in tg3_recycle_rx()
6748 src_map = &spr->rx_jmb_buffers[src_idx]; in tg3_recycle_rx()
7025 struct tg3_rx_prodring_set *spr) in tg3_rx_prodring_xfer() argument
7031 src_prod_idx = spr->rx_std_prod_idx; in tg3_rx_prodring_xfer()
7038 if (spr->rx_std_cons_idx == src_prod_idx) in tg3_rx_prodring_xfer()
7041 if (spr->rx_std_cons_idx < src_prod_idx) in tg3_rx_prodring_xfer()
7042 cpycnt = src_prod_idx - spr->rx_std_cons_idx; in tg3_rx_prodring_xfer()
[all …]
/drivers/video/fbdev/
Damifb.c2119 (cop++)->l = CMOVE(0, spr[i].pos); in ami_init_copper()