/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sun_esp.c | 176 u8 bursts, val; in esp_get_bursts() local 179 bursts = of_getintprop_default(dp, "burst-sizes", 0xff); in esp_get_bursts() 182 bursts &= val; in esp_get_bursts() 186 bursts &= val; in esp_get_bursts() 188 if (bursts == 0xff || in esp_get_bursts() 189 (bursts & DMA_BURST16) == 0 || in esp_get_bursts() 190 (bursts & DMA_BURST32) == 0) in esp_get_bursts() 191 bursts = (DMA_BURST32 - 1); in esp_get_bursts() 193 esp->bursts = bursts; in esp_get_bursts() [all...] |
H A D | qlogicpti.c | 154 u8 bursts = qpti->bursts; in set_sbus_cfg1() local 157 * 64-byte bursts and that setting the B64 bit actually in set_sbus_cfg1() 161 if (sbus_can_burst64() && (bursts & DMA_BURST64)) { in set_sbus_cfg1() 165 if (bursts & DMA_BURST32) { in set_sbus_cfg1() 167 } else if (bursts & DMA_BURST16) { in set_sbus_cfg1() 169 } else if (bursts & DMA_BURST8) { in set_sbus_cfg1() 172 val = 0; /* No sbus bursts for you... */ in set_sbus_cfg1() 787 u8 bursts, bmask; in qpti_get_bursts() local 789 bursts in qpti_get_bursts() [all...] |
H A D | esp_scsi.h | 474 u8 bursts; member 564 * DMA burst bit mask in esp->bursts, if necessary
|
H A D | qlogicpti.h | 369 unsigned char bursts; member 392 #define SBUS_CFG1_B64 0x0003 /* Enable 64byte bursts */ 393 #define SBUS_CFG1_B32 0x0002 /* Enable 32byte bursts */ 394 #define SBUS_CFG1_B16 0x0001 /* Enable 16byte bursts */ 395 #define SBUS_CFG1_B8 0x0008 /* Enable 8byte bursts */
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sun_esp.c | 177 u8 bursts, val; in esp_get_bursts() local 180 bursts = of_getintprop_default(dp, "burst-sizes", 0xff); in esp_get_bursts() 183 bursts &= val; in esp_get_bursts() 187 bursts &= val; in esp_get_bursts() 189 if (bursts == 0xff || in esp_get_bursts() 190 (bursts & DMA_BURST16) == 0 || in esp_get_bursts() 191 (bursts & DMA_BURST32) == 0) in esp_get_bursts() 192 bursts = (DMA_BURST32 - 1); in esp_get_bursts() 194 esp->bursts = bursts; in esp_get_bursts() [all...] |
H A D | qlogicpti.c | 154 u8 bursts = qpti->bursts; in set_sbus_cfg1() local 157 * 64-byte bursts and that setting the B64 bit actually in set_sbus_cfg1() 161 if (sbus_can_burst64() && (bursts & DMA_BURST64)) { in set_sbus_cfg1() 165 if (bursts & DMA_BURST32) { in set_sbus_cfg1() 167 } else if (bursts & DMA_BURST16) { in set_sbus_cfg1() 169 } else if (bursts & DMA_BURST8) { in set_sbus_cfg1() 172 val = 0; /* No sbus bursts for you... */ in set_sbus_cfg1() 787 u8 bursts, bmask; in qpti_get_bursts() local 789 bursts in qpti_get_bursts() [all...] |
H A D | qlogicpti.h | 369 unsigned char bursts; member 392 #define SBUS_CFG1_B64 0x0003 /* Enable 64byte bursts */ 393 #define SBUS_CFG1_B32 0x0002 /* Enable 32byte bursts */ 394 #define SBUS_CFG1_B16 0x0001 /* Enable 16byte bursts */ 395 #define SBUS_CFG1_B8 0x0008 /* Enable 8byte bursts */
|
H A D | esp_scsi.h | 475 u8 bursts; member 565 * DMA burst bit mask in esp->bursts, if necessary
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | stm32-timers.c | 46 * @bursts: number of bursts to read (e.g. like two for pwm period capture) 51 unsigned int num_reg, unsigned int bursts, in stm32_timers_dma_burst_read() 58 size_t len = num_reg * bursts * sizeof(u32); in stm32_timers_dma_burst_read() 71 if (!num_reg || !bursts || reg > STM32_TIMERS_MAX_REGISTERS || in stm32_timers_dma_burst_read() 113 dbl = FIELD_PREP(TIM_DCR_DBL, bursts - 1); in stm32_timers_dma_burst_read() 49 stm32_timers_dma_burst_read(struct device *dev, u32 *buf, enum stm32_timers_dmas id, u32 reg, unsigned int num_reg, unsigned int bursts, unsigned long tmo_ms) stm32_timers_dma_burst_read() argument
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | stm32-timers.c | 47 * @bursts: number of bursts to read (e.g. like two for pwm period capture) 52 unsigned int num_reg, unsigned int bursts, in stm32_timers_dma_burst_read() 59 size_t len = num_reg * bursts * sizeof(u32); in stm32_timers_dma_burst_read() 72 if (!num_reg || !bursts || reg > STM32_TIMERS_MAX_REGISTERS || in stm32_timers_dma_burst_read() 114 dbl = FIELD_PREP(TIM_DCR_DBL, bursts - 1); in stm32_timers_dma_burst_read() 50 stm32_timers_dma_burst_read(struct device *dev, u32 *buf, enum stm32_timers_dmas id, u32 reg, unsigned int num_reg, unsigned int bursts, unsigned long tmo_ms) stm32_timers_dma_burst_read() argument
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | stm32-timers.h | 126 unsigned int num_reg, unsigned int bursts, 133 unsigned int bursts, in stm32_timers_dma_burst_read() 129 stm32_timers_dma_burst_read(struct device *dev, u32 *buf, enum stm32_timers_dmas id, u32 reg, unsigned int num_reg, unsigned int bursts, unsigned long tmo_ms) stm32_timers_dma_burst_read() argument
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | stm32-timers.h | 131 unsigned int num_reg, unsigned int bursts, 138 unsigned int bursts, in stm32_timers_dma_burst_read() 134 stm32_timers_dma_burst_read(struct device *dev, u32 *buf, enum stm32_timers_dmas id, u32 reg, unsigned int num_reg, unsigned int bursts, unsigned long tmo_ms) stm32_timers_dma_burst_read() argument
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | sbus.c | 60 void sbus_set_sbus64(struct device *dev, int bursts) in sbus_set_sbus64() argument 113 if (bursts & DMA_BURST8) in sbus_set_sbus64() 115 if (bursts & DMA_BURST16) in sbus_set_sbus64() 117 if (bursts & DMA_BURST32) in sbus_set_sbus64() 119 if (bursts & DMA_BURST64) in sbus_set_sbus64()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | sbus.c | 61 void sbus_set_sbus64(struct device *dev, int bursts) in sbus_set_sbus64() argument 114 if (bursts & DMA_BURST8) in sbus_set_sbus64() 116 if (bursts & DMA_BURST16) in sbus_set_sbus64() 118 if (bursts & DMA_BURST32) in sbus_set_sbus64() 120 if (bursts & DMA_BURST64) in sbus_set_sbus64()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
H A D | ipuv3-plane.c | 527 unsigned int npb, bursts; in ipu_calculate_bursts() local 536 /* Maximum number of consecutive bursts without overshooting stride */ in ipu_calculate_bursts() 537 for (bursts = 8; bursts > 1; bursts /= 2) { in ipu_calculate_bursts() 538 if (round_up(width_bytes, npb * cpp * bursts) <= stride) in ipu_calculate_bursts() 541 *num_bursts = bursts; in ipu_calculate_bursts()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-plane.c | 557 unsigned int npb, bursts; in ipu_calculate_bursts() local 566 /* Maximum number of consecutive bursts without overshooting stride */ in ipu_calculate_bursts() 567 for (bursts = 8; bursts > 1; bursts /= 2) { in ipu_calculate_bursts() 568 if (round_up(width_bytes, npb * cpp * bursts) <= stride) in ipu_calculate_bursts() 571 *num_bursts = bursts; in ipu_calculate_bursts()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | pl330.c | 1253 * dregs_len = (total bytes - BURST_TO_BYTE(bursts, ccr)) / in _dregs() 1289 /* Returns bytes consumed and updates bursts */ 1291 unsigned long *bursts, const struct _xfer_spec *pxs) in _loop() 1297 if (*bursts == 1) in _loop() 1301 if (*bursts >= 256*256) { in _loop() 1304 cyc = *bursts / lcnt1 / lcnt0; in _loop() 1305 } else if (*bursts > 256) { in _loop() 1307 lcnt0 = *bursts / lcnt1; in _loop() 1310 lcnt1 = *bursts; in _loop() 1330 * Max bursts tha in _loop() 1290 _loop(struct pl330_dmac *pl330, unsigned dry_run, u8 buf[], unsigned long *bursts, const struct _xfer_spec *pxs) _loop() argument 1377 unsigned long c, bursts = BYTE_TO_BURST(x->bytes, ccr); _setup_loops() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | pl330.c | 1253 * dregs_len = (total bytes - BURST_TO_BYTE(bursts, ccr)) / in _dregs() 1289 /* Returns bytes consumed and updates bursts */ 1291 unsigned long *bursts, const struct _xfer_spec *pxs) in _loop() 1297 if (*bursts == 1) in _loop() 1301 if (*bursts >= 256*256) { in _loop() 1304 cyc = *bursts / lcnt1 / lcnt0; in _loop() 1305 } else if (*bursts > 256) { in _loop() 1307 lcnt0 = *bursts / lcnt1; in _loop() 1310 lcnt1 = *bursts; in _loop() 1330 * Max bursts tha in _loop() 1290 _loop(struct pl330_dmac *pl330, unsigned dry_run, u8 buf[], unsigned long *bursts, const struct _xfer_spec *pxs) _loop() argument 1377 unsigned long c, bursts = BYTE_TO_BURST(x->bytes, ccr); _setup_loops() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-common.c | 321 u32 bursts, regval; in ipu_idmac_lock_enable() local 327 bursts = 0x00; /* locking disabled */ in ipu_idmac_lock_enable() 330 bursts = 0x01; in ipu_idmac_lock_enable() 333 bursts = 0x02; in ipu_idmac_lock_enable() 336 bursts = 0x03; in ipu_idmac_lock_enable() 347 if (bursts && ipu->ipu_type != IPUV3H) in ipu_idmac_lock_enable() 361 regval |= (bursts << idmac_lock_en_info[i].shift); in ipu_idmac_lock_enable()
|
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/ |
H A D | ipu-common.c | 321 u32 bursts, regval; in ipu_idmac_lock_enable() local 327 bursts = 0x00; /* locking disabled */ in ipu_idmac_lock_enable() 330 bursts = 0x01; in ipu_idmac_lock_enable() 333 bursts = 0x02; in ipu_idmac_lock_enable() 336 bursts = 0x03; in ipu_idmac_lock_enable() 347 if (bursts && ipu->ipu_type != IPUV3H) in ipu_idmac_lock_enable() 361 regval |= (bursts << idmac_lock_en_info[i].shift); in ipu_idmac_lock_enable()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | sunhme.c | 1264 const char *bursts = "64"; in happy_meal_init() local 1394 /* It is always PCI and can handle 64byte bursts. */ in happy_meal_init() 1420 bursts = "64"; in happy_meal_init() 1423 bursts = "32"; in happy_meal_init() 1426 bursts = "16"; in happy_meal_init() 1429 bursts = "XXX"; in happy_meal_init() 1434 HMD("old[%08x] bursts<%s>\n", in happy_meal_init() 1435 hme_read32(hp, gregs + GREG_CFG), bursts); in happy_meal_init()
|
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | fore200e.c | 671 unsigned int bursts; in fore200e_sba_map() local 689 bursts = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0x00); in fore200e_sba_map() 692 sbus_set_sbus64(&op->dev, bursts); in fore200e_sba_map()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | fore200e.c | 669 unsigned int bursts; in fore200e_sba_map() local 687 bursts = of_getintprop_default(op->dev.of_node->parent, "burst-sizes", 0x00); in fore200e_sba_map() 690 sbus_set_sbus64(&op->dev, bursts); in fore200e_sba_map()
|