Home
last modified time | relevance | path

Searched refs:target_mask (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/
DNCR5380.c2028 unsigned char target_mask; in NCR5380_reselect() local
2041 target_mask = NCR5380_read(CURRENT_SCSI_DATA_REG) & ~(hostdata->id_mask); in NCR5380_reselect()
2042 if (!target_mask || target_mask & (target_mask - 1)) { in NCR5380_reselect()
2044 "reselect: bad target_mask 0x%02x\n", target_mask); in NCR5380_reselect()
2125 if (target_mask == (1 << scmd_id(cmd)) && in NCR5380_reselect()
2137 int target = ffs(target_mask) - 1; in NCR5380_reselect()
2140 target_mask, lun); in NCR5380_reselect()
/drivers/scsi/aic7xxx/
Daic7xxx_pci.c1431 uint16_t target_mask; in ahc_parse_pci_eeprom() local
1433 target_mask = 0x01 << i; in ahc_parse_pci_eeprom()
1435 discenable |= target_mask; in ahc_parse_pci_eeprom()
1438 ultraenb |= target_mask; in ahc_parse_pci_eeprom()
1440 ultraenb |= target_mask; in ahc_parse_pci_eeprom()
1443 && (ultraenb & target_mask) != 0) { in ahc_parse_pci_eeprom()
1446 ultraenb &= ~target_mask; in ahc_parse_pci_eeprom()
1463 | ((ultraenb & target_mask) ? 0x8 : 0x0); in ahc_parse_pci_eeprom()
Daic79xx_core.c3839 tstate->auto_negotiate |= devinfo->target_mask; in ahd_update_neg_request()
3841 tstate->auto_negotiate &= ~devinfo->target_mask; in ahd_update_neg_request()
4212 if ((tstate->auto_negotiate & devinfo.target_mask) == 0 in ahd_update_pending_scbs()
4338 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahd_compile_devinfo()
4463 devinfo->target_mask); in ahd_setup_initiator_msgout()
7561 uint16_t target_mask; in ahd_default_config() local
7571 target_mask = 0x01 << targ; in ahd_default_config()
7572 ahd->user_discenable |= target_mask; in ahd_default_config()
7573 tstate->discenable |= target_mask; in ahd_default_config()
7574 ahd->user_tagenable |= target_mask; in ahd_default_config()
[all …]
Daic7xxx_core.c1126 if (tstate->auto_negotiate & devinfo.target_mask) { in ahc_handle_seqint()
2452 tstate->auto_negotiate |= devinfo->target_mask; in ahc_update_neg_request()
2454 tstate->auto_negotiate &= ~devinfo->target_mask; in ahc_update_neg_request()
2532 tstate->ultraenb &= ~devinfo->target_mask; in ahc_set_syncrate()
2536 devinfo->target_mask; in ahc_set_syncrate()
2546 if (tstate->ultraenb & devinfo->target_mask) in ahc_set_syncrate()
2692 if ((tstate->ultraenb & devinfo.target_mask) != 0) in ahc_update_pending_scbs()
2696 if ((tstate->auto_negotiate & devinfo.target_mask) == 0 in ahc_update_pending_scbs()
2806 devinfo->target_mask = (0x01 << devinfo->target_offset); in ahc_compile_devinfo()
2916 devinfo->target_mask); in ahc_setup_initiator_msgout()
[all …]
Daic7xxx.h1094 uint16_t target_mask; member
Daic79xx.h1288 uint16_t target_mask; member
Daic7xxx_osm.c1346 if ((ahc->user_discenable & devinfo->target_mask) != 0) { in ahc_linux_user_tagdepth()
Daic79xx_osm.c1479 if ((ahd->user_discenable & devinfo->target_mask) != 0) { in ahd_linux_user_tagdepth()
/drivers/net/wireless/marvell/libertas/
Dif_spi.c287 u16 target_mask, u16 target) in spu_wait_for_u16() argument
296 if (target_mask) { in spu_wait_for_u16()
297 if ((val & target_mask) == target) in spu_wait_for_u16()
306 __func__, val, target_mask, target); in spu_wait_for_u16()
/drivers/hwmon/
Dw83791d.c832 u8 target_mask; in store_temp_target() local
839 target_mask = w83791d_read(client, in store_temp_target()
842 data->temp_target[nr] | target_mask); in store_temp_target()
873 u8 target_mask; in store_temp_tolerance() local
901 target_mask = w83791d_read(client, in store_temp_tolerance()
904 (data->temp_tolerance[nr] << val_shift) | target_mask); in store_temp_tolerance()
Dw83792d.c768 u8 target_tmp = 0, target_mask = 0; in store_thermal_cruise() local
779 target_mask = w83792d_read_value(client, in store_thermal_cruise()
783 (data->thermal_cruise[nr]) | target_mask); in store_thermal_cruise()