Home
last modified time | relevance | path

Searched refs:iocell_opts (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/scsi/aic7xxx/
Daic79xx.h1216 uint8_t iocell_opts[AHD_NUM_PER_DEV_ANNEXCOLS]; member
1259 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_SLEWRATE_MASK; \
1260 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1266 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; \
1267 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1273 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] &= ~AHD_AMPLITUDE_MASK; \
1274 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] |= \
Daic79xx_osm.c1379 const struct ahd_linux_iocell_opts *iocell_opts; in ahd_platform_init() local
1381 iocell_opts = &aic79xx_iocell_info[ahd->unit]; in ahd_platform_init()
1382 if (iocell_opts->precomp != AIC79XX_DEFAULT_PRECOMP) in ahd_platform_init()
1383 AHD_SET_PRECOMP(ahd, iocell_opts->precomp); in ahd_platform_init()
1384 if (iocell_opts->slewrate != AIC79XX_DEFAULT_SLEWRATE) in ahd_platform_init()
1385 AHD_SET_SLEWRATE(ahd, iocell_opts->slewrate); in ahd_platform_init()
1386 if (iocell_opts->amplitude != AIC79XX_DEFAULT_AMPLITUDE) in ahd_platform_init()
1387 AHD_SET_AMPLITUDE(ahd, iocell_opts->amplitude); in ahd_platform_init()
2751 const struct ahd_linux_iocell_opts *iocell_opts; in ahd_linux_set_pcomp_en() local
2753 iocell_opts = &aic79xx_iocell_info[ahd->unit]; in ahd_linux_set_pcomp_en()
[all …]
Daic79xx_core.c4103 uint8_t iocell_opts[sizeof(ahd->iocell_opts)]; in ahd_update_neg_table() local
4112 memcpy(iocell_opts, ahd->iocell_opts, sizeof(ahd->iocell_opts)); in ahd_update_neg_table()
4144 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= in ahd_update_neg_table()
4150 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; in ahd_update_neg_table()
4169 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= in ahd_update_neg_table()
4175 ahd_outb(ahd, ANNEXDAT, iocell_opts[AHD_PRECOMP_SLEW_INDEX]); in ahd_update_neg_table()
4177 ahd_outb(ahd, ANNEXDAT, iocell_opts[AHD_AMPLITUDE_INDEX]); in ahd_update_neg_table()