/* * madgemc.h: Header for the madgemc tms380tr module * * Authors: * - Adam Fritzler */ #ifndef __LINUX_MADGEMC_H #define __LINUX_MADGEMC_H #ifdef __KERNEL__ #define MADGEMC16_CARDNAME "Madge Smart 16/4 MC16 Ringnode" #define MADGEMC32_CARDNAME "Madge Smart 16/4 MC32 Ringnode" /* * Bit definitions for the POS config registers */ #define MC16_POS0_ADDR1 0x20 #define MC16_POS2_ADDR2 0x04 #define MC16_POS3_ADDR3 0x20 #define MC_CONTROL_REG0 ((long)-8) /* 0x00 */ #define MC_CONTROL_REG1 ((long)-7) /* 0x01 */ #define MC_ADAPTER_POS_REG0 ((long)-6) /* 0x02 */ #define MC_ADAPTER_POS_REG1 ((long)-5) /* 0x03 */ #define MC_ADAPTER_POS_REG2 ((long)-4) /* 0x04 */ #define MC_ADAPTER_REG5_UNUSED ((long)-3) /* 0x05 */ #define MC_ADAPTER_REG6_UNUSED ((long)-2) /* 0x06 */ #define MC_CONTROL_REG7 ((long)-1) /* 0x07 */ #define MC_CONTROL_REG0_UNKNOWN1 0x01 #define MC_CONTROL_REG0_UNKNOWN2 0x02 #define MC_CONTROL_REG0_SIFSEL 0x04 #define MC_CONTROL_REG0_PAGE 0x08 #define MC_CONTROL_REG0_TESTINTERRUPT 0x10 #define MC_CONTROL_REG0_UNKNOWN20 0x20 #define MC_CONTROL_REG0_SINTR 0x40 #define MC_CONTROL_REG0_UNKNOWN80 0x80 #define MC_CONTROL_REG1_SINTEN 0x01 #define MC_CONTROL_REG1_BITOFDEATH 0x02 #define MC_CONTROL_REG1_NSRESET 0x04 #define MC_CONTROL_REG1_UNKNOWN8 0x08 #define MC_CONTROL_REG1_UNKNOWN10 0x10 #define MC_CONTROL_REG1_UNKNOWN20 0x20 #define MC_CONTROL_REG1_SRSX 0x40 #define MC_CONTROL_REG1_SPEED_SEL 0x80 #define MC_CONTROL_REG7_CABLESTP 0x00 #define MC_CONTROL_REG7_CABLEUTP 0x01 /* * ROM Page Zero */ #define MC_ROM_MANUFACTURERID 0x00 #define MC_ROM_ADAPTERID 0x01 #define MC_ROM_REVISION 0x02 #define MC_ROM_CONFIG0 0x03 #define MC_ROM_CONFIG1 0x04 #define MC_ROM_CONFIG2 0x05 /* * ROM Page One */ #define MC_ROM_UNUSED_BYTE 0x00 #define MC_ROM_BIA_START 0x01 #endif /* __KERNEL__ */ #endif /* __LINUX_MADGEMC_H */ space-crypto</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>User-space crypto API development for Linux</td><td class='sub right'>Miloslav Trmac</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit/mitr/public_git/kernel-crypto.git/?h=herbert'>summary</a><a href='/cgit/mitr/public_git/kernel-crypto.git/refs/?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>refs</a><a href='/cgit/mitr/public_git/kernel-crypto.git/log/arch/arm/lib/testclearbit.S?h=herbert'>log</a><a class='active' href='/cgit/mitr/public_git/kernel-crypto.git/tree/arch/arm/lib/testclearbit.S?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>tree</a><a href='/cgit/mitr/public_git/kernel-crypto.git/commit/arch/arm/lib/testclearbit.S?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>commit</a><a href='/cgit/mitr/public_git/kernel-crypto.git/diff/arch/arm/lib/testclearbit.S?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>diff</a><a href='/cgit/mitr/public_git/kernel-crypto.git/stats/arch/arm/lib/testclearbit.S?h=herbert'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/mitr/public_git/kernel-crypto.git/log/arch/arm/lib/testclearbit.S'> <input type='hidden' name='h' value='herbert'/><input type='hidden' name='id' value='a8b71a2810386a5ac8f43d2095fe3355f0d8db37'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit/mitr/public_git/kernel-crypto.git/tree/?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>root</a>/<a href='/cgit/mitr/public_git/kernel-crypto.git/tree/arch?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>arch</a>/<a href='/cgit/mitr/public_git/kernel-crypto.git/tree/arch/arm?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>arm</a>/<a href='/cgit/mitr/public_git/kernel-crypto.git/tree/arch/arm/lib?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>lib</a>/<a href='/cgit/mitr/public_git/kernel-crypto.git/tree/arch/arm/lib/testclearbit.S?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>testclearbit.S</a></div><div class='content'>blob: 2dcc4b16b68ea734da457145ab0718998759d441 (<a href='/cgit/mitr/public_git/kernel-crypto.git/plain/arch/arm/lib/testclearbit.S?h=herbert&id=a8b71a2810386a5ac8f43d2095fe3355f0d8db37'>plain</a>) <table summary='blob content' class='blob'> <tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a> <a id='n2' href='#n2'>2</a> <a id='n3' href='#n3'>3</a> <a id='n4' href='#n4'>4</a> <a id='n5' href='#n5'>5</a> <a id='n6' href='#n6'>6</a> <a id='n7' href='#n7'>7</a> <a id='n8' href='#n8'>8</a> <a id='n9' href='#n9'>9</a> <a id='n10' href='#n10'>10</a> <a id='n11' href='#n11'>11</a> <a id='n12' href='#n12'>12</a> <a id='n13' href='#n13'>13</a> <a id='n14' href='#n14'>14</a> <a id='n15' href='#n15'>15</a> <a id='n16' href='#n16'>16</a> <a id='n17' href='#n17'>17</a> <a id='n18' href='#n18'>18</a> </pre></td> <td class='lines'><pre><code><span class="hl com">/*</span> <span class="hl com"> * linux/arch/arm/lib/testclearbit.S</span> <span class="hl com"> *</span> <span class="hl com"> * Copyright (C) 1995-1996 Russell King</span> <span class="hl com"> *</span> <span class="hl com"> * This program is free software; you can redistribute it and/or modify</span> <span class="hl com"> * it under the terms of the GNU General Public License version 2 as</span> <span class="hl com"> * published by the Free Software Foundation.</span> <span class="hl com"> */</span> <span class="hl slc">#include <linux/linkage.h></span> <span class="hl slc">#include <asm/assembler.h></span> <span class="hl slc">#include "bitops.h"</span> <span class="hl ppc">.text</span> ENTRY<span class="hl opt">(</span>_test_and_clear_bit_be<span class="hl opt">)</span> eor <span class="hl kwb">r0</span><span class="hl opt">,</span> <span class="hl kwb">r0</span><span class="hl opt">,</span> <span class="hl slc">#0x18 @ big endian byte ordering</span> ENTRY<span class="hl opt">(</span>_test_and_clear_bit_le<span class="hl opt">)</span> testop bicne<span class="hl opt">,</span> strneb </code></pre></td></tr></table> </div> <!-- class=content --> <div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit </a> (<a href='https://git-scm.com/'>git 2.34.1</a>) at 2025-06-09 12:55:34 +0000</div> </div> <!-- id=cgit --> </body> </html>