Searched refs:UNIT (Results 1 - 56 of 56) sorted by relevance

/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-memcpy.S133 #define UNIT(unit) FIRST(unit) define
192 EXC( LOAD t0, UNIT(0)(src), l_exc)
193 EXC( LOAD t1, UNIT(1)(src), l_exc_copy)
194 EXC( LOAD t2, UNIT(2)(src), l_exc_copy)
195 EXC( LOAD t3, UNIT(3)(src), l_exc_copy)
197 EXC( STORE t0, UNIT(0)(dst), s_exc_p16u)
198 EXC( STORE t1, UNIT(1)(dst), s_exc_p15u)
199 EXC( STORE t2, UNIT(2)(dst), s_exc_p14u)
200 EXC( STORE t3, UNIT(3)(dst), s_exc_p13u)
201 EXC( LOAD t0, UNIT(4)(src), l_exc_copy)
202 EXC( LOAD t1, UNIT(5)(src), l_exc_copy)
203 EXC( LOAD t2, UNIT(6)(src), l_exc_copy)
204 EXC( LOAD t3, UNIT(7)(src), l_exc_copy)
205 EXC( STORE t0, UNIT(4)(dst), s_exc_p12u)
206 EXC( STORE t1, UNIT(5)(dst), s_exc_p11u)
207 EXC( STORE t2, UNIT(6)(dst), s_exc_p10u)
209 EXC( STORE t3, UNIT(7)(dst), s_exc_p9u)
211 EXC( LOAD t0, UNIT(-8)(src), l_exc_copy)
212 EXC( LOAD t1, UNIT(-7)(src), l_exc_copy)
213 EXC( LOAD t2, UNIT(-6)(src), l_exc_copy)
214 EXC( LOAD t3, UNIT(-5)(src), l_exc_copy)
215 EXC( STORE t0, UNIT(-8)(dst), s_exc_p8u)
216 EXC( STORE t1, UNIT(-7)(dst), s_exc_p7u)
217 EXC( STORE t2, UNIT(-6)(dst), s_exc_p6u)
218 EXC( STORE t3, UNIT(-5)(dst), s_exc_p5u)
219 EXC( LOAD t0, UNIT(-4)(src), l_exc_copy)
220 EXC( LOAD t1, UNIT(-3)(src), l_exc_copy)
221 EXC( LOAD t2, UNIT(-2)(src), l_exc_copy)
222 EXC( LOAD t3, UNIT(-1)(src), l_exc_copy)
223 EXC( STORE t0, UNIT(-4)(dst), s_exc_p4u)
224 EXC( STORE t1, UNIT(-3)(dst), s_exc_p3u)
225 EXC( STORE t2, UNIT(-2)(dst), s_exc_p2u)
226 EXC( STORE t3, UNIT(-1)(dst), s_exc_p1u)
240 EXC( LOAD t0, UNIT(0)(src), l_exc)
241 EXC( LOAD t1, UNIT(1)(src), l_exc_copy)
242 EXC( LOAD t2, UNIT(2)(src), l_exc_copy)
243 EXC( LOAD t3, UNIT(3)(src), l_exc_copy)
245 EXC( STORE t0, UNIT(0)(dst), s_exc_p8u)
246 EXC( STORE t1, UNIT(1)(dst), s_exc_p7u)
247 EXC( STORE t2, UNIT(2)(dst), s_exc_p6u)
248 EXC( STORE t3, UNIT(3)(dst), s_exc_p5u)
249 EXC( LOAD t0, UNIT(4)(src), l_exc_copy)
250 EXC( LOAD t1, UNIT(5)(src), l_exc_copy)
251 EXC( LOAD t2, UNIT(6)(src), l_exc_copy)
252 EXC( LOAD t3, UNIT(7)(src), l_exc_copy)
253 EXC( STORE t0, UNIT(4)(dst), s_exc_p4u)
254 EXC( STORE t1, UNIT(5)(dst), s_exc_p3u)
255 EXC( STORE t2, UNIT(6)(dst), s_exc_p2u)
256 EXC( STORE t3, UNIT(7)(dst), s_exc_p1u)
267 EXC( LOAD t0, UNIT(0)(src), l_exc)
268 EXC( LOAD t1, UNIT(1)(src), l_exc_copy)
269 EXC( LOAD t2, UNIT(2)(src), l_exc_copy)
270 EXC( LOAD t3, UNIT(3)(src), l_exc_copy)
272 EXC( STORE t0, UNIT(0)(dst), s_exc_p4u)
273 EXC( STORE t1, UNIT(1)(dst), s_exc_p3u)
274 EXC( STORE t2, UNIT(2)(dst), s_exc_p2u)
275 EXC( STORE t3, UNIT(3)(dst), s_exc_p1u)
339 EXC( STORE t0, UNIT(0)(dst), s_exc_p4u)
340 EXC( STORE t1, UNIT(1)(dst), s_exc_p3u)
341 EXC( STORE t2, UNIT(2)(dst), s_exc_p2u)
342 EXC( STORE t3, UNIT(3)(dst), s_exc_p1u)
/linux-4.1.27/arch/mn10300/
H A DMakefile27 UNIT := unset macro
44 UNIT := asb2303 macro
47 UNIT := asb2305 macro
50 UNIT := asb2364 macro
61 ifneq ($(UNIT),unset)
62 core-y += arch/mn10300/unit-$(UNIT)/
99 KBUILD_CPPFLAGS += -I$(srctree)/arch/mn10300/unit-$(UNIT)/include
/linux-4.1.27/arch/mips/lib/
H A Dmemcpy.S243 #define UNIT(unit) FIRST(unit) define
317 LOAD(t0, UNIT(0)(src), .Ll_exc\@)
318 LOAD(t1, UNIT(1)(src), .Ll_exc_copy\@)
319 LOAD(t2, UNIT(2)(src), .Ll_exc_copy\@)
320 LOAD(t3, UNIT(3)(src), .Ll_exc_copy\@)
322 LOAD(t4, UNIT(4)(src), .Ll_exc_copy\@)
323 LOAD(t7, UNIT(5)(src), .Ll_exc_copy\@)
324 STORE(t0, UNIT(0)(dst), .Ls_exc_p8u\@)
325 STORE(t1, UNIT(1)(dst), .Ls_exc_p7u\@)
326 LOAD(t0, UNIT(6)(src), .Ll_exc_copy\@)
327 LOAD(t1, UNIT(7)(src), .Ll_exc_copy\@)
330 STORE(t2, UNIT(-6)(dst), .Ls_exc_p6u\@)
331 STORE(t3, UNIT(-5)(dst), .Ls_exc_p5u\@)
332 STORE(t4, UNIT(-4)(dst), .Ls_exc_p4u\@)
333 STORE(t7, UNIT(-3)(dst), .Ls_exc_p3u\@)
334 STORE(t0, UNIT(-2)(dst), .Ls_exc_p2u\@)
335 STORE(t1, UNIT(-1)(dst), .Ls_exc_p1u\@)
352 LOAD( t0, UNIT(0)(src), .Ll_exc\@)
353 LOAD( t1, UNIT(1)(src), .Ll_exc_copy\@)
354 LOAD( t2, UNIT(2)(src), .Ll_exc_copy\@)
355 LOAD( t3, UNIT(3)(src), .Ll_exc_copy\@)
359 STORE(t0, UNIT(0)(dst), .Ls_exc_p4u\@)
360 STORE(t1, UNIT(1)(dst), .Ls_exc_p3u\@)
361 STORE(t2, UNIT(2)(dst), .Ls_exc_p2u\@)
362 STORE(t3, UNIT(3)(dst), .Ls_exc_p1u\@)
459 STORE(t0, UNIT(0)(dst), .Ls_exc_p4u\@)
460 STORE(t1, UNIT(1)(dst), .Ls_exc_p3u\@)
461 STORE(t2, UNIT(2)(dst), .Ls_exc_p2u\@)
462 STORE(t3, UNIT(3)(dst), .Ls_exc_p1u\@)
H A Dcsum_partial.S56 #define UNIT(unit) ((unit)*NBYTES) define
75 LOAD _t0, (offset + UNIT(0))(src); \
76 LOAD _t1, (offset + UNIT(1))(src); \
77 LOAD _t2, (offset + UNIT(2))(src); \
78 LOAD _t3, (offset + UNIT(3))(src); \
496 LOAD(t0, UNIT(0)(src), .Ll_exc\@)
497 LOAD(t1, UNIT(1)(src), .Ll_exc_copy\@)
498 LOAD(t2, UNIT(2)(src), .Ll_exc_copy\@)
499 LOAD(t3, UNIT(3)(src), .Ll_exc_copy\@)
500 LOAD(t4, UNIT(4)(src), .Ll_exc_copy\@)
501 LOAD(t5, UNIT(5)(src), .Ll_exc_copy\@)
502 LOAD(t6, UNIT(6)(src), .Ll_exc_copy\@)
503 LOAD(t7, UNIT(7)(src), .Ll_exc_copy\@)
506 STORE(t0, UNIT(0)(dst), .Ls_exc\@)
508 STORE(t1, UNIT(1)(dst), .Ls_exc\@)
510 STORE(t2, UNIT(2)(dst), .Ls_exc\@)
512 STORE(t3, UNIT(3)(dst), .Ls_exc\@)
514 STORE(t4, UNIT(4)(dst), .Ls_exc\@)
516 STORE(t5, UNIT(5)(dst), .Ls_exc\@)
518 STORE(t6, UNIT(6)(dst), .Ls_exc\@)
520 STORE(t7, UNIT(7)(dst), .Ls_exc\@)
540 LOAD(t0, UNIT(0)(src), .Ll_exc\@)
541 LOAD(t1, UNIT(1)(src), .Ll_exc_copy\@)
542 LOAD(t2, UNIT(2)(src), .Ll_exc_copy\@)
543 LOAD(t3, UNIT(3)(src), .Ll_exc_copy\@)
546 STORE(t0, UNIT(0)(dst), .Ls_exc\@)
548 STORE(t1, UNIT(1)(dst), .Ls_exc\@)
550 STORE(t2, UNIT(2)(dst), .Ls_exc\@)
552 STORE(t3, UNIT(3)(dst), .Ls_exc\@)
651 STORE(t0, UNIT(0)(dst), .Ls_exc\@)
653 STORE(t1, UNIT(1)(dst), .Ls_exc\@)
655 STORE(t2, UNIT(2)(dst), .Ls_exc\@)
657 STORE(t3, UNIT(3)(dst), .Ls_exc\@)
/linux-4.1.27/drivers/scsi/device_handler/
H A Dscsi_dh_hp_sw.c59 * tur_done - Handle TEST UNIT READY return status
106 * hp_sw_tur - Send TEST UNIT READY
109 * Use the TEST UNIT READY command to determine
161 * start_done - Handle START STOP UNIT return status
239 * hp_sw_start_stop - Send START STOP UNIT command
242 * Sending START STOP UNIT activates the SP.
287 * 0x04/0x02; a START STOP UNIT command will then
/linux-4.1.27/sound/firewire/oxfw/
H A Doxfw-command.c22 buf[1] = 0xff; /* UNIT */ avc_stream_set_format()
26 buf[5] = 0x00; /* UNIT */ avc_stream_set_format()
64 buf[1] = 0xff; /* UNIT */ avc_stream_get_format()
128 buf[1] = 0xff; /* UNIT */ avc_general_inquiry_sig_fmt()
/linux-4.1.27/drivers/target/
H A Dtarget_core_ua.c113 * Do not report the same UNIT ATTENTION twice.. core_scsi3_ua_allocate()
171 pr_debug("[%s]: Allocated UNIT ATTENTION, mapped LUN: %u, ASC:" core_scsi3_ua_allocate()
238 * Otherwise for the default 00b, release the UNIT ATTENTION core_scsi3_ua_for_check_condition()
255 pr_debug("[%s]: %s UNIT ATTENTION condition with" core_scsi3_ua_for_check_condition()
313 pr_debug("[%s]: Released UNIT ATTENTION condition, mapped" core_scsi3_ua_clear_for_request_sense()
H A Dtarget_core_tmr.c325 * (e.g., by a LOGICAL UNIT RESET task management function), then "yes" core_tmr_drain_state_list()
445 * LOGICAL UNIT RESET core_tmr_lun_reset()
H A Dtarget_core_transport.c1258 * Check for an existing UNIT ATTENTION condition target_setup_cmd_from_cdb()
1695 * establish a UNIT ATTENTION with PREVIOUS RESERVATION transport_generic_request_failure()
2816 /* LOGICAL UNIT NOT SUPPORTED */ transport_send_check_condition_and_sense()
2941 /* UNIT ATTENTION */ transport_send_check_condition_and_sense()
3011 /* LOGICAL UNIT COMMUNICATION FAILURE */ transport_send_check_condition_and_sense()
H A Dtarget_core_spc.c1178 * CURRENT ERROR, UNIT ATTENTION spc_emulate_request_sense()
1184 * The Additional Sense Code (ASC) from the UNIT ATTENTION spc_emulate_request_sense()
H A Dtarget_core_pr.c2596 * If no UNIT ATTENTION conditions will be established for core_scsi3_emulate_pro_release()
2607 * Do not establish a UNIT ATTENTION condition core_scsi3_emulate_pro_release()
/linux-4.1.27/arch/sparc/include/asm/
H A Dio-unit.h1 /* io-unit.h: Definitions for the sun4d IO-UNIT.
/linux-4.1.27/arch/arm/include/asm/
H A Dfloppy.h104 LAST_OUT(UNIT(floppy)); fd_scandrives()
/linux-4.1.27/drivers/scsi/isci/
H A Dsas.h79 * contents of the SSP COMMAND INFORMATION UNIT.
98 * contents of the SSP TASK INFORMATION UNIT.
/linux-4.1.27/drivers/block/paride/
H A Dbpck6.c163 printk(KERN_DEBUG "PROBE UNIT %x on port:%x\n",pi->unit,pi->port); bpck6_probe_unit()
166 /*SET PPC UNIT NUMBER*/ bpck6_probe_unit()
/linux-4.1.27/sound/firewire/
H A Dfcp.c52 buf[1] = 0xff; /* UNIT */ avc_general_set_sig_fmt()
151 /* UNIT or Subunit, Functionblock */ avc_general_get_plug_info()
/linux-4.1.27/drivers/block/
H A Dfloppy.c298 #define UNIT(x) ((x) & 0x03) /* drive on fdc */ macro
739 if (!(FDCS->dor & (0x10 << UNIT(drive))) || disk_change()
740 (FDCS->dor & 3) != UNIT(drive) || fdc != FDC(drive)) { disk_change()
825 fd_outb(FDCS->dor & ~(0x10 << UNIT(current_drive)), FD_DOR); twaddle()
903 unsigned char mask = ~(0x10 << UNIT(nr)); motor_off_callback()
914 if (!(FDCS->dor & (0x10 << UNIT(drive)))) floppy_off()
951 if (!(set_dor(fdc, ~3, UNIT(drive) | (0x10 << UNIT(drive))) & scandrives()
952 (0x10 << UNIT(drive)))) scandrives()
955 set_dor(fdc, ~(0x10 << UNIT(drive)), 0); scandrives()
1285 output_byte(UNIT(current_drive)); fdc_specify()
1539 output_byte(UNIT(current_drive)); check_wp()
1587 set_dor(fdc, ~(0x10 << UNIT(current_drive)), 0); seek_floppy()
1606 output_byte(UNIT(current_drive)); seek_floppy()
1718 } while ((ST0 & 0x83) != UNIT(current_drive) && floppy_interrupt()
1737 if (output_byte(UNIT(current_drive)) < 0) recalibrate_floppy()
1861 data = UNIT(current_drive); start_motor()
1863 if (!(FDCS->dor & (0x10 << UNIT(current_drive)))) { start_motor()
1869 data |= (0x10 << UNIT(current_drive)); start_motor()
1871 } else if (FDCS->dor & (0x10 << UNIT(current_drive))) start_motor()
1872 mask &= ~(0x10 << UNIT(current_drive)); start_motor()
2107 DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, format_req.head); setup_format_params()
2585 DR_SELECT = UNIT(current_drive) + PH_HEAD(_floppy, HEAD); make_raw_rw_request()
3441 ret = fd_eject(UNIT(drive)); fd_locked_ioctl()
H A Dnvme-scsi.c1653 /* Store block descriptor info if a FORMAT UNIT comes later */ nvme_trans_modesel_save_bd()
1818 * a FORMAT UNIT, and the block size and number would be used nvme_trans_fmt_set_blk_size_count()
2696 /* Issue NVME FLUSH command prior to START STOP UNIT */ nvme_trans_start_stop()
H A DDAC960.c4349 "UNIT ATTENTION", "DATA PROTECT", DAC960_V2_ReadWriteError()
/linux-4.1.27/arch/sparc/mm/
H A Dio-unit.c2 * io-unit.c: IO-UNIT specific routines for memory management.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dsumod.h319 # define UNIT(x) ((x) << 24) macro
/linux-4.1.27/drivers/s390/scsi/
H A Dzfcp_def.h56 /*************** ADAPTER/PORT/UNIT AND FSF_REQ STATUS FLAGS ******************/
/linux-4.1.27/drivers/watchdog/
H A Dit8712f_wdt.c162 config |= WDT_UNIT_SEC; /* else UNIT is MINUTES */ it8712f_wdt_update_margin()
/linux-4.1.27/arch/m68k/kernel/
H A Dsetup_mm.c553 pr_emerg("*** YOU DO NOT HAVE A FLOATING POINT UNIT, " check_bugs()
/linux-4.1.27/arch/metag/include/asm/
H A Dmetag_regs.h77 ; DATA AND ADDRESS UNIT REGISTERS
308 ; CONTROL UNIT REGISTERS
351 * CONTROL UNIT REGISTER BITS
/linux-4.1.27/drivers/scsi/
H A Dhpsa.h278 * how many times to retry TEST UNIT READY on a device
H A Dscsi_scan.c712 * XXX Devices (disk or all?) should be sent a TEST UNIT READY, scsi_probe_lun()
1431 * We can get a UNIT ATTENTION, for example a power on/reset, so scsi_report_lun_scan()
1432 * retry a few times (like sd.c does for TEST UNIT READY). scsi_report_lun_scan()
H A Dsd.c1407 * UNIT ATTENTION, or with same cartridge - GOOD STATUS. sd_check_events()
1559 * error test command (currently TEST UNIT READY). The result of sending
1577 * However, the TEST UNIT READY command sent during error sd_eh_action()
1585 * If the device keeps failing read/write commands but TEST UNIT sd_eh_action()
H A Dscsi_error.c372 * to indicate that a UNIT ATTENTION is expected.
373 * @sdev: Device reporting the UNIT ATTENTION
H A Dscsi_debug.c434 {0, 0x0, 0, F_M_ACCESS | F_RL_WLUN_OK, NULL, NULL,/* TEST UNIT READY */
454 {0, 0x1b, 0, 0, resp_start_stop, NULL, /* START STOP UNIT */
860 * SPC-3 behavior is to report a UNIT ATTENTION with check_readiness()
H A Dncr53c8xx.c4146 ** Complete the 1st TEST UNIT READY command ncr_queue_command()
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/
H A Diop13xx.h440 /*============================MESSAGING UNIT=============================*/
/linux-4.1.27/include/linux/mmc/
H A Dcard.h88 unsigned int data_tag_unit_size; /* DATA TAG UNIT size */
/linux-4.1.27/drivers/media/i2c/
H A Dks0127.c510 /* HYPK =01 CTRAP = 0 HYBWR=0 PED=1 RGBH=1 UNIT=1 */ ks0127_s_routing()
/linux-4.1.27/drivers/usb/storage/
H A Dscsiglue.c239 * automatically, requiring a START-STOP UNIT command. */ slave_configure()
H A Dtransport.c584 /* Don't reset the retry counter for TEST UNIT READY commands, last_sector_hacks()
/linux-4.1.27/include/target/
H A Dtarget_core_base.h90 /* Emulation for UNIT ATTENTION Interlock Control */
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_maudio.c185 buf[1] = 0xff; /* UNIT */ avc_maudio_set_special_clk()
/linux-4.1.27/drivers/ata/
H A Dlibata-eh.c2377 { ATA_CMD_SEC_ERASE_UNIT, "SECURITY ERASE UNIT" }, ata_get_cmd_descript()
3275 * atapi_eh_clear_ua - Clear ATAPI UNIT ATTENTION after reset
3279 * UNIT ATTENTION which causes the next operation to fail. This
3311 "UNIT ATTENTION (err_mask=0x%x)\n", err_mask); atapi_eh_clear_ua()
3316 ata_dev_warn(dev, "UNIT ATTENTION persists after %d tries\n", atapi_eh_clear_ua()
H A Dlibata-scsi.c1327 * ata_scsi_start_stop_xlat - Translate SCSI START STOP UNIT command
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_mass_storage.c1742 * be 6, and xbox360 issuing INQUIRY, TEST UNIT READY and check_command()
1996 "START-STOP UNIT"); do_scsi_command()
2014 "TEST UNIT READY"); do_scsi_command()
/linux-4.1.27/sound/usb/
H A Dmixer.c1596 "invalid MIXER UNIT descriptor %d\n", parse_audio_mixer_unit()
2010 "invalid SELECTOR UNIT descriptor %d\n", unitid); parse_audio_selector_unit()
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dpc.h141 #define N_UDATA 10 /* OSI D-UNIT-DATA REQ/IND */
/linux-4.1.27/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c972 if(p->scb->cus & CU_ACTIVE) /* COMMAND-UNIT active? */ sun3_82586_timeout()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dhif_usb.c1173 cmd[15] = 0x1b; /* SCSI command: START STOP UNIT */ send_eject_command()
/linux-4.1.27/drivers/scsi/ufs/
H A Dufshcd.c2755 * ufshcd_get_lu_wp - returns the "b_lu_write_protect" from UNIT DESCRIPTOR
2776 * it. For other W-LUs, UNIT DESCRIPTOR is not available. ufshcd_get_lu_wp()
4084 * field of SSU (START STOP UNIT) command. But this "power condition" field
4678 * ufshcd_set_dev_pwr_mode - sends START STOP UNIT command to set device
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Diochannel.h19 * 1. IOPart is only the only partition allowed to change from UNIT
/linux-4.1.27/drivers/input/tablet/
H A Dgtco.c436 strcpy(globtype, "UNIT"); parse_hid_report_descriptor()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_fw1.h713 * with UNIT ATTENTION conditions.
H A Dsym_fw2.h690 * with UNIT ATTENTION conditions.
H A Dsym_hipd.c3115 * to report us a UNIT ATTENTION condition due to sym_sir_bad_scsi_status()
3187 * a device signals a UNIT ATTENTION condition, some
3195 * - lun=-1 means any logical UNIT otherwise a given one.
3268 * - If a logical UNIT is to be cleared , we send the
H A Dsym_glue.c215 * If the device reports a UNIT ATTENTION condition sym_set_cam_result_error()
/linux-4.1.27/drivers/net/wireless/zd1211rw/
H A Dzd_usb.c1307 cmd[15] = 0x1b; /* SCSI command: START STOP UNIT */ eject_installer()
/linux-4.1.27/drivers/firewire/
H A Dsbp2.c96 * Set the power condition field in the START STOP UNIT commands sent by
/linux-4.1.27/drivers/target/sbp/
H A Dsbp_target.c1534 pr_notice("LOGICAL UNIT RESET not implemented\n"); sbp_mgt_agent_process()
/linux-4.1.27/drivers/message/fusion/
H A Dmptsas.c141 "---- IO UNIT PAGE 0 ------------\n", ioc->name)); mptsas_print_phy_data()

Completed in 5626 milliseconds