Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/aic7xxx/
Daic79xx.h1222 uint8_t iocell_opts[AHD_NUM_PER_DEV_ANNEXCOLS]; member
1265 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_SLEWRATE_MASK; \
1266 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1272 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; \
1273 (ahd)->iocell_opts[AHD_PRECOMP_SLEW_INDEX] |= \
1279 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] &= ~AHD_AMPLITUDE_MASK; \
1280 (ahd)->iocell_opts[AHD_AMPLITUDE_INDEX] |= \
Daic79xx_osm.c1380 const struct ahd_linux_iocell_opts *iocell_opts; in ahd_platform_init() local
1382 iocell_opts = &aic79xx_iocell_info[ahd->unit]; in ahd_platform_init()
1383 if (iocell_opts->precomp != AIC79XX_DEFAULT_PRECOMP) in ahd_platform_init()
1384 AHD_SET_PRECOMP(ahd, iocell_opts->precomp); in ahd_platform_init()
1385 if (iocell_opts->slewrate != AIC79XX_DEFAULT_SLEWRATE) in ahd_platform_init()
1386 AHD_SET_SLEWRATE(ahd, iocell_opts->slewrate); in ahd_platform_init()
1387 if (iocell_opts->amplitude != AIC79XX_DEFAULT_AMPLITUDE) in ahd_platform_init()
1388 AHD_SET_AMPLITUDE(ahd, iocell_opts->amplitude); in ahd_platform_init()
2752 const struct ahd_linux_iocell_opts *iocell_opts; in ahd_linux_set_pcomp_en() local
2754 iocell_opts = &aic79xx_iocell_info[ahd->unit]; in ahd_linux_set_pcomp_en()
[all …]
Daic79xx_core.c4109 uint8_t iocell_opts[sizeof(ahd->iocell_opts)]; in ahd_update_neg_table() local
4118 memcpy(iocell_opts, ahd->iocell_opts, sizeof(ahd->iocell_opts)); in ahd_update_neg_table()
4150 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= in ahd_update_neg_table()
4156 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= ~AHD_PRECOMP_MASK; in ahd_update_neg_table()
4175 iocell_opts[AHD_PRECOMP_SLEW_INDEX] &= in ahd_update_neg_table()
4181 ahd_outb(ahd, ANNEXDAT, iocell_opts[AHD_PRECOMP_SLEW_INDEX]); in ahd_update_neg_table()
4183 ahd_outb(ahd, ANNEXDAT, iocell_opts[AHD_AMPLITUDE_INDEX]); in ahd_update_neg_table()