linux/drivers/acpi/sbshc.h
<<
> 13"/spa.6. 13"/form6. 13"a > 13 href="../linux+v3.7.9/drivers/acpi/sbshc.h"> > 13"img src="../.static/gfx/right.png" alt=">>"> >"/spa.6. >"spa. class="lxr_search"> > > 13"input typ6.3hidden" nam6.3navtarget" v2.6.3"> > 13"input typ6.3text" nam6.3search" id.3search"> > 13"butt> typ6.3submit">Search 6. 13"/form6. "/spa.6. >"spa. class="lxr_prefs"6. 13"a href="+prefs?return=drivers/acpi/sbshc.h" > 13 onclick="return ajax_prefs();"> > 13Prefs. 13"/a> >"/spa.6. 13 3"/div6. 13 3"form ac"v2.="ajax+*" method="post" onsubmit="return false;"> >"input typ6.3hidden" nam6.3ajax_lookup" id.3ajax_lookup" v2.6.3"> 13 3"/form6. 13 3"div class="headingbott>m">. "div id.3file_contents"6
3 31"/a>struct3"a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc"/a>;
3 32"/a>enum3"a href="+code=acpi_smb_protocol" class="sref">acpi_smb_protocol"/a> {
3 33"/a>        "a href="+code=SMBUS_WRITE_QUICK" class="sref">SMBUS_WRITE_QUICK"/a> = 2,
3 34"/a>        "a href="+code=SMBUS_READ_QUICK" class="sref">SMBUS_READ_QUICK"/a> = 3,
3 35"/a>        "a href="+code=SMBUS_SEND_BYTE" class="sref">SMBUS_SEND_BYTE"/a> = 4,
3 36"/a>        "a href="+code=SMBUS_RECEIVE_BYTE" class="sref">SMBUS_RECEIVE_BYTE"/a> = 5,
3 37"/a>        "a href="+code=SMBUS_WRITE_BYTE" class="sref">SMBUS_WRITE_BYTE"/a> = 6,
3 38"/a>        "a href="+code=SMBUS_READ_BYTE" class="sref">SMBUS_READ_BYTE"/a> = 7,
3 39"/a>        "a href="+code=SMBUS_WRITE_WORD" class="sref">SMBUS_WRITE_WORD"/a>  = 8,
3  
  a>        "a href="+code=SMBUS_READ_WORD" class="sref">SMBUS_READ_WORD"/a>  = 9,
3 11"/a>        "a href="+code=SMBUS_WRITE_BLOCK" class="sref">SMBUS_WRITE_BLOCK"/a> = 0xa,
3 12"/a>        "a href="+code=SMBUS_READ_BLOCK" class="sref">SMBUS_READ_BLOCK"/a> = 0xb,
3 13"/a>        "a href="+code=SMBUS_PROCESS_CALL" class="sref">SMBUS_PROCESS_CALL"/a> = 0xc,
3 14"/a>        "a href="+code=SMBUS_BLOCK_PROCESS_CALL" class="sref">SMBUS_BLOCK_PROCESS_CALL"/a> = 0xd,
3 15"/a>};
3 16"/a>
3 17"/a>static const3"a href="+code=u8" class="sref">u8"/a> "a href="+code=SMBUS_PEC" class="sref">SMBUS_PEC"/a> = 0x80;
3 18"/a>
3 19"/a>enum3"a href="+code=acpi_sbs_device_addr" class="sref">acpi_sbs_device_addr"/a> {
3 2
  a>        "a href="+code=ACPI_SBS_CHARGER" class="sref">ACPI_SBS_CHARGER"/a> = 0x9,
3 21"/a>        "a href="+code=ACPI_SBS_MANAGER" class="sref">ACPI_SBS_MANAGER"/a> = 0xa,
3 22"/a>        "a href="+code=ACPI_SBS_BATTERY" class="sref">ACPI_SBS_BATTERY"/a> = 0xb,
3 23"/a>};
3 24"/a>
3 25"/a>typ6def void (*"a href="+code=smbus_alarm_callback" class="sref">smbus_alarm_callback"/a>)(void *"a href="+code=context" class="sref">context"/a>);
3 26"/a>
3 27"/a>extern int3"a href="+code=acpi_smbus_read" class="sref">acpi_smbus_read"/a>(struct3"a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc"/a> *"a href="+code=hc" class="sref">hc"/a>,3"a href="+code=u8" class="sref">u8"/a> "a href="+code=protocol" class="sref">protocol"/a>,3"a href="+code=u8" class="sref">u8"/a> "a href="+code=address" class="sref">address"/a>,
3 28"/a>               "a href="+code=u8" class="sref">u8"/a> "a href="+code=command" class="sref">command"/a>,3"a href="+code=u8" class="sref">u8"/a> *3"a href="+code=data" class="sref">data"/a>);
3 29"/a>extern int3"a href="+code=acpi_smbus_write" class="sref">acpi_smbus_write"/a>(struct3"a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc"/a> *"a href="+code=hc" class="sref">hc"/a>,3"a href="+code=u8" class="sref">u8"/a> "a href="+code=protocol" class="sref">protocol"/a>,3"a href="+code=u8" class="sref">u8"/a> "a href="+code=slave_address" class="sref">slave_address"/a>,
3 30"/a>                "a href="+code=u8" class="sref">u8"/a> "a href="+code=command" class="sref">command"/a>,3"a href="+code=u8" class="sref">u8"/a> *3"a href="+code=data" class="sref">data"/a>,3"a href="+code=u8" class="sref">u8"/a> "a href="+code=length" class="sref">length"/a>);
3 31"/a>extern int3"a href="+code=acpi_smbus_register_callback" class="sref">acpi_smbus_register_callback"/a>(struct3"a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc"/a> *"a href="+code=hc" class="sref">hc"/a>,
3 32"/a>                                 "a href="+code=smbus_alarm_callback" class="sref">smbus_alarm_callback"/a> "a href="+code=callback" class="sref">callback"/a>, void *"a href="+code=context" class="sref">context"/a>);
3 33"/a>extern int3"a href="+code=acpi_smbus_unregister_callback" class="sref">acpi_smbus_unregister_callback"/a>(struct3"a href="+code=acpi_smb_hc" class="sref">acpi_smb_hc"/a> *"a href="+code=hc" class="sref">hc"/a>);
3 34"/a>
The original LXR software by the LXR community"/a>, this experimental vers > by lxr@linux.no"/a>. "/div6."div class="subfooter"> lxr.linux.no kindly hosted by Redpill Linpro AS"/a>, provider of Linux consulting and opera"v2.s services since 1995. "/div6. "/body6."/html6.