Lines Matching refs:options
900 char *prop_template = "target%x-dcd-options";
901 int options;
981 un->un_dp->options = 0;
1012 * Check for the property target<n>-dcd-options to find the option
1018 options = ddi_prop_get_int(DDI_DEV_T_ANY, devi, DDI_PROP_NOTPROM,
1020 if (options < 0) {
1024 if ((options & DCD_DMA_MODE) == DCD_DMA_MODE) {
1025 un->un_dp->options |= DMA_SUPPORTTED;
1026 un->un_dp->dma_mode = (options >> 3) & 0x03;
1030 un->un_dp->options &= ~DMA_SUPPORTTED;
1031 un->un_dp->pio_mode = options & 0x7;
1032 if (options & DCD_BLOCK_MODE)
1033 un->un_dp->options |= BLOCK_MODE;
1038 "options %x,", un->un_dp->options);
2326 if ((un->un_dp->options & DMA_SUPPORTTED) ==
2330 if (un->un_dp->options & BLOCK_MODE)
2337 if ((un->un_dp->options & DMA_SUPPORTTED) ==
2341 if (un->un_dp->options & BLOCK_MODE)
2363 * set options
2998 if ((un->un_dp->options & DMA_SUPPORTTED) == DMA_SUPPORTTED) {
3001 if (un->un_dp->options & BLOCK_MODE)
3234 if ((un->un_dp->options & DMA_SUPPORTTED) ==
3243 if ((un->un_dp->options & DMA_SUPPORTTED) ==
3924 if ((un->un_dp->options & DMA_SUPPORTTED) == DMA_SUPPORTTED) {
3927 if (un->un_dp->options & BLOCK_MODE)
3977 if ((un->un_dp->options & DMA_SUPPORTTED) == DMA_SUPPORTTED) {
3980 if (un->un_dp->options & BLOCK_MODE)
4511 if ((un->un_dp->options & DMA_SUPPORTTED) == DMA_SUPPORTTED) {
4519 if (un->un_dp->options & BLOCK_MODE)
4524 if (un->un_dp->options & BLOCK_MODE)