/linux-4.1.27/arch/hexagon/kernel/ |
H A D | vm_init_segtable.S | 60 .word X,X,X,X 61 .word X,X,X,X 62 .word X,X,X,X 63 .word X,X,X,X 64 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 65 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 66 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 67 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 68 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 69 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 70 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 71 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 73 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 74 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 75 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 76 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 77 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 78 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 79 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 80 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 82 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 83 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 84 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 85 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 86 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 87 /*0xa8*/.word X,X,X,X 90 /*0xa9*/.word BKPG_IO(0xa9000000),BKPG_IO(0xa9000000),BKPG_IO(0xa9000000),BKPG_IO(0xa9000000) 92 /*0xa9*/.word X,X,X,X 94 /*0xaa*/.word X,X,X,X 95 /*0xab*/.word X,X,X,X 96 /*0xac*/.word X,X,X,X 97 /*0xad*/.word X,X,X,X 98 /*0xae*/.word X,X,X,X 99 /*0xaf*/.word X,X,X,X 100 /*0xb0*/.word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 101 .word X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X 104 .word BKP(0x00000000), BKP(0x00400000), BKP(0x00800000), BKP(0x00c00000) 105 .word BKP(0x01000000), BKP(0x01400000), BKP(0x01800000), BKP(0x01c00000) 106 .word BKP(0x02000000), BKP(0x02400000), BKP(0x02800000), BKP(0x02c00000) 107 .word BKP(0x03000000), BKP(0x03400000), BKP(0x03800000), BKP(0x03c00000) 108 .word BKP(0x04000000), BKP(0x04400000), BKP(0x04800000), BKP(0x04c00000) 109 .word BKP(0x05000000), BKP(0x05400000), BKP(0x05800000), BKP(0x05c00000) 110 .word BKP(0x06000000), BKP(0x06400000), BKP(0x06800000), BKP(0x06c00000) 111 .word BKP(0x07000000), BKP(0x07400000), BKP(0x07800000), BKP(0x07c00000) 113 .word BKP(0x08000000), BKP(0x08400000), BKP(0x08800000), BKP(0x08c00000) 114 .word BKP(0x09000000), BKP(0x09400000), BKP(0x09800000), BKP(0x09c00000) 115 .word BKP(0x0a000000), BKP(0x0a400000), BKP(0x0a800000), BKP(0x0ac00000) 116 .word BKP(0x0b000000), BKP(0x0b400000), BKP(0x0b800000), BKP(0x0bc00000) 117 .word BKP(0x0c000000), BKP(0x0c400000), BKP(0x0c800000), BKP(0x0cc00000) 118 .word BKP(0x0d000000), BKP(0x0d400000), BKP(0x0d800000), BKP(0x0dc00000) 119 .word BKP(0x0e000000), BKP(0x0e400000), BKP(0x0e800000), BKP(0x0ec00000) 120 .word BKP(0x0f000000), BKP(0x0f400000), BKP(0x0f800000), BKP(0x0fc00000) 122 .word BKP(0x10000000), BKP(0x10400000), BKP(0x10800000), BKP(0x10c00000) 123 .word BKP(0x11000000), BKP(0x11400000), BKP(0x11800000), BKP(0x11c00000) 124 .word BKP(0x12000000), BKP(0x12400000), BKP(0x12800000), BKP(0x12c00000) 125 .word BKP(0x13000000), BKP(0x13400000), BKP(0x13800000), BKP(0x13c00000) 126 .word BKP(0x14000000), BKP(0x14400000), BKP(0x14800000), BKP(0x14c00000) 127 .word BKP(0x15000000), BKP(0x15400000), BKP(0x15800000), BKP(0x15c00000) 128 .word BKP(0x16000000), BKP(0x16400000), BKP(0x16800000), BKP(0x16c00000) 129 .word BKP(0x17000000), BKP(0x17400000), BKP(0x17800000), BKP(0x17c00000) 131 .word BKP(0x18000000), BKP(0x18400000), BKP(0x18800000), BKP(0x18c00000) 132 .word BKP(0x19000000), BKP(0x19400000), BKP(0x19800000), BKP(0x19c00000) 133 .word BKP(0x1a000000), BKP(0x1a400000), BKP(0x1a800000), BKP(0x1ac00000) 134 .word BKP(0x1b000000), BKP(0x1b400000), BKP(0x1b800000), BKP(0x1bc00000) 135 .word BKP(0x1c000000), BKP(0x1c400000), BKP(0x1c800000), BKP(0x1cc00000) 136 .word BKP(0x1d000000), BKP(0x1d400000), BKP(0x1d800000), BKP(0x1dc00000) 137 .word BKP(0x1e000000), BKP(0x1e400000), BKP(0x1e800000), BKP(0x1ec00000) 138 .word BKP(0x1f000000), BKP(0x1f400000), BKP(0x1f800000), BKP(0x1fc00000) 140 .word BKP(0x20000000), BKP(0x20400000), BKP(0x20800000), BKP(0x20c00000) 141 .word BKP(0x21000000), BKP(0x21400000), BKP(0x21800000), BKP(0x21c00000) 142 .word BKP(0x22000000), BKP(0x22400000), BKP(0x22800000), BKP(0x22c00000) 143 .word BKP(0x23000000), BKP(0x23400000), BKP(0x23800000), BKP(0x23c00000) 144 .word BKP(0x24000000), BKP(0x24400000), BKP(0x24800000), BKP(0x24c00000) 145 .word BKP(0x25000000), BKP(0x25400000), BKP(0x25800000), BKP(0x25c00000) 146 .word BKP(0x26000000), BKP(0x26400000), BKP(0x26800000), BKP(0x26c00000) 147 .word BKP(0x27000000), BKP(0x27400000), BKP(0x27800000), BKP(0x27c00000) 149 .word BKP(0x28000000), BKP(0x28400000), BKP(0x28800000), BKP(0x28c00000) 150 .word BKP(0x29000000), BKP(0x29400000), BKP(0x29800000), BKP(0x29c00000) 151 .word BKP(0x2a000000), BKP(0x2a400000), BKP(0x2a800000), BKP(0x2ac00000) 152 .word BKP(0x2b000000), BKP(0x2b400000), BKP(0x2b800000), BKP(0x2bc00000) 153 .word BKP(0x2c000000), BKP(0x2c400000), BKP(0x2c800000), BKP(0x2cc00000) 154 .word BKP(0x2d000000), BKP(0x2d400000), BKP(0x2d800000), BKP(0x2dc00000) 155 .word BKP(0x2e000000), BKP(0x2e400000), BKP(0x2e800000), BKP(0x2ec00000) 156 .word BKP(0x2f000000), BKP(0x2f400000), BKP(0x2f800000), BKP(0x2fc00000) 158 .word BKP(0x30000000), BKP(0x30400000), BKP(0x30800000), BKP(0x30c00000) 159 .word BKP(0x31000000), BKP(0x31400000), BKP(0x31800000), BKP(0x31c00000) 160 .word BKP(0x32000000), BKP(0x32400000), BKP(0x32800000), BKP(0x32c00000) 161 .word BKP(0x33000000), BKP(0x33400000), BKP(0x33800000), BKP(0x33c00000) 162 .word BKP(0x34000000), BKP(0x34400000), BKP(0x34800000), BKP(0x34c00000) 163 .word BKP(0x35000000), BKP(0x35400000), BKP(0x35800000), BKP(0x35c00000) 164 .word BKP(0x36000000), BKP(0x36400000), BKP(0x36800000), BKP(0x36c00000) 165 .word BKP(0x37000000), BKP(0x37400000), BKP(0x37800000), BKP(0x37c00000) 167 .word BKP(0x38000000), BKP(0x38400000), BKP(0x38800000), BKP(0x38c00000) 168 .word BKP(0x39000000), BKP(0x39400000), BKP(0x39800000), BKP(0x39c00000) 169 .word BKP(0x3a000000), BKP(0x3a400000), BKP(0x3a800000), BKP(0x3ac00000) 170 .word BKP(0x3b000000), BKP(0x3b400000), BKP(0x3b800000), BKP(0x3bc00000) 171 .word BKP(0x3c000000), BKP(0x3c400000), BKP(0x3c800000), BKP(0x3cc00000) 172 .word BKP(0x3d000000), BKP(0x3d400000), BKP(0x3d800000), BKP(0x3dc00000) 174 .word X,X,X,X /* 0x3e000000 - device IO early remap */ 175 .word X,X,X,X /* 0x3f000000 - hypervisor space*/ 186 .word FOURK_IO(MSM_GPIO1_PHYS),FOURK_IO(MSM_GPIO2_PHYS),FOURK_IO(MSM_SIRC_PHYS),X 187 .word FOURK_IO(TLMM_GPIO1_PHYS),X,X,X 188 .word X,X,X,X 189 .word X,X,X,X 190 .word X,X,X,X 191 .word X,X,X,X 192 .word X,X,X,X 193 .word X,X,X,X 194 .word X,X,X,X 195 .word X,X,X,X 196 .word X,X,X,X 197 .word X,X,X,X 198 .word X,X,X,X 199 .word X,X,X,X 200 .word X,X,X,X 201 .word X,X,X,X 202 .word X,X,X,X 203 .word X,X,X,X 204 .word X,X,X,X 205 .word X,X,X,X 206 .word X,X,X,X 207 .word X,X,X,X 208 .word X,X,X,X 209 .word X,X,X,X 210 .word X,X,X,X 211 .word X,X,X,X 212 .word X,X,X,X 213 .word X,X,X,X 214 .word X,X,X,X 215 .word X,X,X,X 216 .word X,X,X,X 217 .word X,X,X,X 218 .word X,X,X,X 219 .word X,X,X,X 220 .word X,X,X,X 221 .word X,X,X,X 222 .word X,X,X,X 223 .word X,X,X,X 224 .word X,X,X,X 225 .word X,X,X,X 226 .word X,X,X,X 227 .word X,X,X,X 228 .word X,X,X,X 229 .word X,X,X,X 230 .word X,X,X,X 231 .word X,X,X,X 232 .word X,X,X,X 233 .word X,X,X,X 234 .word X,X,X,X 235 .word X,X,X,X 236 .word X,X,X,X 237 .word X,X,X,X 238 .word X,X,X,X 239 .word X,X,X,X 240 .word X,X,X,X 241 .word X,X,X,X 242 .word X,X,X,X 243 .word X,X,X,X 244 .word X,X,X,X 245 .word X,X,X,X 246 .word X,X,X,X 247 .word X,X,X,X 248 .word X,X,X,X 249 .word X,X,X,X 250 .word X,X,X,X 251 .word X,X,X,X 252 .word X,X,X,X 253 .word X,X,X,X 254 .word X,X,X,X 255 .word X,X,X,X 256 .word X,X,X,X 257 .word X,X,X,X 258 .word X,X,X,X 259 .word X,X,X,X 260 .word X,X,X,X 261 .word X,X,X,X 262 .word X,X,X,X 263 .word X,X,X,X 264 .word X,X,X,X 265 .word X,X,X,X 266 .word X,X,X,X 267 .word X,X,X,X 268 .word X,X,X,X 269 .word X,X,X,X 270 .word X,X,X,X 271 .word X,X,X,X 272 .word X,X,X,X 273 .word X,X,X,X 274 .word X,X,X,X 275 .word X,X,X,X 276 .word X,X,X,X 277 .word X,X,X,X 278 .word X,X,X,X 279 .word X,X,X,X 280 .word X,X,X,X 281 .word X,X,X,X 282 .word X,X,X,X 283 .word X,X,X,X 284 .word X,X,X,X 285 .word X,X,X,X 286 .word X,X,X,X 287 .word X,X,X,X 288 .word X,X,X,X 289 .word X,X,X,X 290 .word X,X,X,X 291 .word X,X,X,X 292 .word X,X,X,X 293 .word X,X,X,X 294 .word X,X,X,X 295 .word X,X,X,X 296 .word X,X,X,X 297 .word X,X,X,X 298 .word X,X,X,X 299 .word X,X,X,X 300 .word X,X,X,X 301 .word X,X,X,X 302 .word X,X,X,X 303 .word X,X,X,X 304 .word X,X,X,X 305 .word X,X,X,X 306 .word X,X,X,X 307 .word X,X,X,X 308 .word X,X,X,X 309 .word X,X,X,X 310 .word X,X,X,X 311 .word X,X,X,X 312 .word X,X,X,X 313 .word X,X,X,X 314 .word X,X,X,X 315 .word X,X,X,X 316 .word X,X,X,X 317 .word X,X,X,X 318 .word X,X,X,X 319 .word X,X,X,X 320 .word X,X,X,X 321 .word X,X,X,X 322 .word X,X,X,X 323 .word X,X,X,X 324 .word X,X,X,X 325 .word X,X,X,X 326 .word X,X,X,X 327 .word X,X,X,X 328 .word X,X,X,X 329 .word X,X,X,X 330 .word X,X,X,X 331 .word X,X,X,X 332 .word X,X,X,X 333 .word X,X,X,X 334 .word X,X,X,X 335 .word X,X,X,X 336 .word X,X,X,X 337 .word X,X,X,X 338 .word X,X,X,X 339 .word X,X,X,X 340 .word X,X,X,X 341 .word X,X,X,X 342 .word X,X,X,X 343 .word X,X,X,X 344 .word X,X,X,X 345 .word X,X,X,X 346 .word X,X,X,X 347 .word X,X,X,X 348 .word X,X,X,X 349 .word X,X,X,X 350 .word X,X,X,X 351 .word X,X,X,X 352 .word X,X,X,X 353 .word X,X,X,X 354 .word X,X,X,X 355 .word X,X,X,X 356 .word X,X,X,X 357 .word X,X,X,X 358 .word X,X,X,X 359 .word X,X,X,X 360 .word X,X,X,X 361 .word X,X,X,X 362 .word X,X,X,X 363 .word X,X,X,X 364 .word X,X,X,X 365 .word X,X,X,X 366 .word X,X,X,X 367 .word X,X,X,X 368 .word X,X,X,X 369 .word X,X,X,X 370 .word X,X,X,X 371 .word X,X,X,X 372 .word X,X,X,X 373 .word X,X,X,X 374 .word X,X,X,X 375 .word X,X,X,X 376 .word X,X,X,X 377 .word X,X,X,X 378 .word X,X,X,X 379 .word X,X,X,X 380 .word X,X,X,X 381 .word X,X,X,X 382 .word X,X,X,X 383 .word X,X,X,X 384 .word X,X,X,X 385 .word X,X,X,X 386 .word X,X,X,X 387 .word X,X,X,X 388 .word X,X,X,X 389 .word X,X,X,X 390 .word X,X,X,X 391 .word X,X,X,X 392 .word X,X,X,X 393 .word X,X,X,X 394 .word X,X,X,X 395 .word X,X,X,X 396 .word X,X,X,X 397 .word X,X,X,X 398 .word X,X,X,X 399 .word X,X,X,X 400 .word X,X,X,X 401 .word X,X,X,X 402 .word X,X,X,X 403 .word X,X,X,X 404 .word X,X,X,X 405 .word X,X,X,X 406 .word X,X,X,X 407 .word X,X,X,X 408 .word X,X,X,X 409 .word X,X,X,X 410 .word X,X,X,X 411 .word X,X,X,X 412 .word X,X,X,X 413 .word X,X,X,X 414 .word X,X,X,X 415 .word X,X,X,X 416 .word X,X,X,X 417 .word X,X,X,X 418 .word X,X,X,X 419 .word X,X,X,X 420 .word X,X,X,X 421 .word X,X,X,X 422 .word X,X,X,X 423 .word X,X,X,X 424 .word X,X,X,X 425 .word X,X,X,X 426 .word X,X,X,X 427 .word X,X,X,X 428 .word X,X,X,X 429 .word X,X,X,X 430 .word X,X,X,X 431 .word X,X,X,X 432 .word X,X,X,X 433 .word X,X,X,X 434 .word X,X,X,X 435 .word X,X,X,X 436 .word X,X,X,X 437 .word X,X,X,X 438 .word X,X,X,X 439 .word X,X,X,X 440 .word X,X,X,X 441 .word X,X,X,X
|
/linux-4.1.27/tools/include/asm-generic/bitops/ |
H A D | __ffs.h | 7 * __ffs - find first bit in word. 8 * @word: The word to search 12 static __always_inline unsigned long __ffs(unsigned long word) __ffs() argument 17 if ((word & 0xffffffff) == 0) { __ffs() 19 word >>= 32; __ffs() 22 if ((word & 0xffff) == 0) { __ffs() 24 word >>= 16; __ffs() 26 if ((word & 0xff) == 0) { __ffs() 28 word >>= 8; __ffs() 30 if ((word & 0xf) == 0) { __ffs() 32 word >>= 4; __ffs() 34 if ((word & 0x3) == 0) { __ffs() 36 word >>= 2; __ffs() 38 if ((word & 0x1) == 0) __ffs()
|
/linux-4.1.27/include/asm-generic/bitops/ |
H A D | __ffs.h | 7 * __ffs - find first bit in word. 8 * @word: The word to search 12 static __always_inline unsigned long __ffs(unsigned long word) __ffs() argument 17 if ((word & 0xffffffff) == 0) { __ffs() 19 word >>= 32; __ffs() 22 if ((word & 0xffff) == 0) { __ffs() 24 word >>= 16; __ffs() 26 if ((word & 0xff) == 0) { __ffs() 28 word >>= 8; __ffs() 30 if ((word & 0xf) == 0) { __ffs() 32 word >>= 4; __ffs() 34 if ((word & 0x3) == 0) { __ffs() 36 word >>= 2; __ffs() 38 if ((word & 0x1) == 0) __ffs()
|
H A D | __fls.h | 7 * __fls - find last (most-significant) set bit in a long word 8 * @word: the word to search 12 static __always_inline unsigned long __fls(unsigned long word) __fls() argument 17 if (!(word & (~0ul << 32))) { __fls() 19 word <<= 32; __fls() 22 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { __fls() 24 word <<= 16; __fls() 26 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { __fls() 28 word <<= 8; __fls() 30 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { __fls() 32 word <<= 4; __fls() 34 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { __fls() 36 word <<= 2; __fls() 38 if (!(word & (~0ul << (BITS_PER_LONG-1)))) __fls()
|
H A D | builtin-__ffs.h | 5 * __ffs - find first bit in word. 6 * @word: The word to search 10 static __always_inline unsigned long __ffs(unsigned long word) __ffs() argument 12 return __builtin_ctzl(word); __ffs()
|
H A D | builtin-__fls.h | 5 * __fls - find last (most-significant) set bit in a long word 6 * @word: the word to search 10 static __always_inline unsigned long __fls(unsigned long word) __fls() argument 12 return (sizeof(word) * 8) - 1 - __builtin_clzl(word); __fls()
|
H A D | ffz.h | 5 * ffz - find first zero in word. 6 * @word: The word to search
|
H A D | builtin-fls.h | 6 * @x: the word to search
|
H A D | fls64.h | 7 * fls64 - find last set bit in a 64-bit word 8 * @x: the word to search
|
H A D | builtin-ffs.h | 6 * @x: the word to search
|
H A D | ffs.h | 6 * @x: the word to search
|
H A D | fls.h | 6 * @x: the word to search
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | disasm.h | 34 #define IS_BIT(word, n) ((word) & (1<<n)) 35 #define BITS(word, s, e) (((word) >> (s)) & (~((-2) << ((e) - (s))))) 37 #define MAJOR_OPCODE(word) (BITS((word), 27, 31)) 38 #define MINOR_OPCODE(word) (BITS((word), 16, 21)) 39 #define FIELD_A(word) (BITS((word), 0, 5)) 40 #define FIELD_B(word) ((BITS((word), 12, 14)<<3) | \ 41 (BITS((word), 24, 26))) 42 #define FIELD_C(word) (BITS((word), 6, 11)) 43 #define FIELD_u6(word) FIELDC(word) 44 #define FIELD_s12(word) sign_extend(((BITS((word), 0, 5) << 6) | \ 45 BITS((word), 6, 11)), 12) 49 #define FIELD_s9(word) sign_extend(((BITS(word, 15, 15) << 8) | \ 50 BITS(word, 16, 23)), 9) 51 #define FIELD_s21(word) sign_extend(((BITS(word, 6, 15) << 11) | \ 52 (BITS(word, 17, 26) << 1)), 12) 53 #define FIELD_s25(word) sign_extend(((BITS(word, 0, 3) << 21) | \ 54 (BITS(word, 6, 15) << 11) | \ 55 (BITS(word, 17, 26) << 1)), 12) 58 #define FIELD_S_A(word) ((BITS((word), 2, 2)<<3) | BITS((word), 0, 2)) 59 #define FIELD_S_B(word) ((BITS((word), 10, 10)<<3) | \ 60 BITS((word), 8, 10)) 61 #define FIELD_S_C(word) ((BITS((word), 7, 7)<<3) | BITS((word), 5, 7)) 62 #define FIELD_S_H(word) ((BITS((word), 0, 2)<<3) | BITS((word), 5, 8)) 63 #define FIELD_S_u5(word) (BITS((word), 0, 4)) 64 #define FIELD_S_u6(word) (BITS((word), 0, 4) << 1) 65 #define FIELD_S_u7(word) (BITS((word), 0, 4) << 2) 66 #define FIELD_S_u10(word) (BITS((word), 0, 7) << 2) 67 #define FIELD_S_s7(word) sign_extend(BITS((word), 0, 5) << 1, 9) 68 #define FIELD_S_s8(word) sign_extend(BITS((word), 0, 7) << 1, 9) 69 #define FIELD_S_s9(word) sign_extend(BITS((word), 0, 8), 9) 70 #define FIELD_S_s10(word) sign_extend(BITS((word), 0, 8) << 1, 10) 71 #define FIELD_S_s11(word) sign_extend(BITS((word), 0, 8) << 2, 11) 72 #define FIELD_S_s13(word) sign_extend(BITS((word), 0, 10) << 2, 13) 103 uint16_t word = *((uint16_t *)addr); is_short_instr() local 104 int opcode = (word >> 11) & 0x1F; is_short_instr()
|
H A D | uaccess.h | 10 * converted to do as much word clear as possible. 60 /*********** Single byte/hword/word copies ******************/ 91 " .word 1b,3b\n" \ 109 " .word 1b,3b\n" \ 110 " .word 4b,3b\n" \ 139 " .word 1b,3b\n" \ 157 " .word 1b,3b\n" \ 158 " .word 4b,3b\n" \ 194 " .word 1b, 3b \n" __arc_copy_from_user() 239 " .word 1b, 4b \n" __arc_copy_from_user() 240 " .word 11b,4b \n" __arc_copy_from_user() 241 " .word 12b,4b \n" __arc_copy_from_user() 242 " .word 13b,4b \n" __arc_copy_from_user() 265 " .word 14b,4b \n" __arc_copy_from_user() 266 " .word 15b,4b \n" __arc_copy_from_user() 287 " .word 16b,4b \n" __arc_copy_from_user() 307 " .word 17b,4b \n" __arc_copy_from_user() 325 " .word 18b,4b \n" __arc_copy_from_user() 373 " .word 1b, 4b \n" __arc_copy_from_user() 374 " .word 11b,4b \n" __arc_copy_from_user() 375 " .word 12b,4b \n" __arc_copy_from_user() 376 " .word 13b,4b \n" __arc_copy_from_user() 377 " .word 14b,4b \n" __arc_copy_from_user() 378 " .word 15b,4b \n" __arc_copy_from_user() 379 " .word 16b,4b \n" __arc_copy_from_user() 380 " .word 17b,4b \n" __arc_copy_from_user() 381 " .word 18b,4b \n" __arc_copy_from_user() 424 " .word 1b, 4b \n" __arc_copy_to_user() 464 " .word 1b, 4b \n" __arc_copy_to_user() 465 " .word 11b,4b \n" __arc_copy_to_user() 466 " .word 12b,4b \n" __arc_copy_to_user() 467 " .word 13b,4b \n" __arc_copy_to_user() 490 " .word 14b,4b \n" __arc_copy_to_user() 491 " .word 15b,4b \n" __arc_copy_to_user() 512 " .word 16b,4b \n" __arc_copy_to_user() 532 " .word 17b,4b \n" __arc_copy_to_user() 550 " .word 18b,4b \n" __arc_copy_to_user() 598 " .word 1b, 4b \n" __arc_copy_to_user() 599 " .word 11b,4b \n" __arc_copy_to_user() 600 " .word 12b,4b \n" __arc_copy_to_user() 601 " .word 13b,4b \n" __arc_copy_to_user() 602 " .word 14b,4b \n" __arc_copy_to_user() 603 " .word 15b,4b \n" __arc_copy_to_user() 604 " .word 16b,4b \n" __arc_copy_to_user() 605 " .word 17b,4b \n" __arc_copy_to_user() 606 " .word 18b,4b \n" __arc_copy_to_user() 646 " .word 75b, 3b \n" __arc_clear_user() 647 " .word 76b, 3b \n" __arc_clear_user() 648 " .word 77b, 3b \n" __arc_clear_user() 649 " .word 78b, 3b \n" __arc_clear_user() 650 " .word 79b, 3b \n" __arc_clear_user() 683 " .word 1b, 4b \n" __arc_strncpy_from_user() 713 " .word 1b, 4b \n" __arc_strnlen_user()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | systbls_64.S | 21 /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write 22 /*5*/ .word compat_sys_open, sys_close, compat_sys_wait4, sys_creat, sys_link 23 /*10*/ .word sys_unlink, sunos_execv, sys_chdir, sys_chown16, sys_mknod 24 /*15*/ .word sys_chmod, sys_lchown16, sys_brk, sys_nis_syscall, compat_sys_lseek 25 /*20*/ .word sys_getpid, sys_capget, sys_capset, sys_setuid16, sys_getuid16 26 /*25*/ .word compat_sys_vmsplice, compat_sys_ptrace, sys_alarm, compat_sys_sigaltstack, sys_pause 27 /*30*/ .word compat_sys_utime, sys_lchown, sys_fchown, sys_access, sys_nice 28 .word sys_chown, sys_sync, sys_kill, compat_sys_newstat, compat_sys_sendfile 29 /*40*/ .word compat_sys_newlstat, sys_dup, sys_sparc_pipe, compat_sys_times, sys_getuid 30 .word sys_umount, sys_setgid16, sys_getgid16, sys_signal, sys_geteuid16 31 /*50*/ .word sys_getegid16, sys_acct, sys_nis_syscall, sys_getgid, compat_sys_ioctl 32 .word sys_reboot, sys32_mmap2, sys_symlink, sys_readlink, sys32_execve 33 /*60*/ .word sys_umask, sys_chroot, compat_sys_newfstat, compat_sys_fstat64, sys_getpagesize 34 .word sys_msync, sys_vfork, sys32_pread64, sys32_pwrite64, sys_geteuid 35 /*70*/ .word sys_getegid, sys_mmap, sys_setreuid, sys_munmap, sys_mprotect 36 .word sys_madvise, sys_vhangup, sys32_truncate64, sys_mincore, sys_getgroups16 37 /*80*/ .word sys_setgroups16, sys_getpgrp, sys_setgroups, compat_sys_setitimer, sys32_ftruncate64 38 .word sys_swapon, compat_sys_getitimer, sys_setuid, sys_sethostname, sys_setgid 39 /*90*/ .word sys_dup2, sys_setfsuid, compat_sys_fcntl, sys32_select, sys_setfsgid 40 .word sys_fsync, sys_setpriority, sys_nis_syscall, sys_nis_syscall, sys_nis_syscall 41 /*100*/ .word sys_getpriority, sys32_rt_sigreturn, compat_sys_rt_sigaction, compat_sys_rt_sigprocmask, compat_sys_rt_sigpending 42 .word compat_sys_rt_sigtimedwait, compat_sys_rt_sigqueueinfo, compat_sys_rt_sigsuspend, sys_setresuid, sys_getresuid 43 /*110*/ .word sys_setresgid, sys_getresgid, sys_setregid, sys_nis_syscall, sys_nis_syscall 44 .word sys_getgroups, compat_sys_gettimeofday, compat_sys_getrusage, sys_nis_syscall, sys_getcwd 45 /*120*/ .word compat_sys_readv, compat_sys_writev, compat_sys_settimeofday, sys_fchown16, sys_fchmod 46 .word sys_nis_syscall, sys_setreuid16, sys_setregid16, sys_rename, compat_sys_truncate 47 /*130*/ .word compat_sys_ftruncate, sys_flock, compat_sys_lstat64, sys_nis_syscall, sys_nis_syscall 48 .word sys_nis_syscall, sys_mkdir, sys_rmdir, compat_sys_utimes, compat_sys_stat64 49 /*140*/ .word sys_sendfile64, sys_nis_syscall, sys32_futex, sys_gettid, compat_sys_getrlimit 50 .word compat_sys_setrlimit, sys_pivot_root, sys_prctl, sys_pciconfig_read, sys_pciconfig_write 51 /*150*/ .word sys_nis_syscall, sys_inotify_init, sys_inotify_add_watch, sys_poll, sys_getdents64 52 .word compat_sys_fcntl64, sys_inotify_rm_watch, compat_sys_statfs, compat_sys_fstatfs, sys_oldumount 53 /*160*/ .word compat_sys_sched_setaffinity, compat_sys_sched_getaffinity, sys_getdomainname, sys_setdomainname, sys_nis_syscall 54 .word sys_quotactl, sys_set_tid_address, compat_sys_mount, compat_sys_ustat, sys_setxattr 55 /*170*/ .word sys_lsetxattr, sys_fsetxattr, sys_getxattr, sys_lgetxattr, compat_sys_getdents 56 .word sys_setsid, sys_fchdir, sys_fgetxattr, sys_listxattr, sys_llistxattr 57 /*180*/ .word sys_flistxattr, sys_removexattr, sys_lremovexattr, compat_sys_sigpending, sys_ni_syscall 58 .word sys_setpgid, sys_fremovexattr, sys_tkill, sparc_exit_group, sys_newuname 59 /*190*/ .word sys_init_module, sys_sparc64_personality, sys_remap_file_pages, sys_epoll_create, sys_epoll_ctl 60 .word sys_epoll_wait, sys_ioprio_set, sys_getppid, compat_sys_sparc_sigaction, sys_sgetmask 61 /*200*/ .word sys_ssetmask, sys_sigsuspend, compat_sys_newlstat, sys_uselib, compat_sys_old_readdir 62 .word sys32_readahead, sys32_socketcall, sys_syslog, compat_sys_lookup_dcookie, sys32_fadvise64 63 /*210*/ .word sys32_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, compat_sys_sysinfo 64 .word compat_sys_ipc, sys32_sigreturn, sys_clone, sys_ioprio_get, compat_sys_adjtimex 65 /*220*/ .word compat_sys_sigprocmask, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid 66 .word sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid16, sys_setfsgid16 67 /*230*/ .word sys32_select, compat_sys_time, sys_splice, compat_sys_stime, compat_sys_statfs64 68 .word compat_sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall 69 /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler 70 .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, compat_sys_sched_rr_get_interval, compat_sys_nanosleep 71 /*250*/ .word sys_mremap, compat_sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall 72 .word sys32_sync_file_range, compat_sys_clock_settime, compat_sys_clock_gettime, compat_sys_clock_getres, sys32_clock_nanosleep 73 /*260*/ .word compat_sys_sched_getaffinity, compat_sys_sched_setaffinity, sys32_timer_settime, compat_sys_timer_gettime, sys_timer_getoverrun 74 .word sys_timer_delete, compat_sys_timer_create, sys_ni_syscall, compat_sys_io_setup, sys_io_destroy 75 /*270*/ .word sys32_io_submit, sys_io_cancel, compat_sys_io_getevents, sys32_mq_open, sys_mq_unlink 76 .word compat_sys_mq_timedsend, compat_sys_mq_timedreceive, compat_sys_mq_notify, compat_sys_mq_getsetattr, compat_sys_waitid 77 /*280*/ .word sys_tee, sys_add_key, sys_request_key, compat_sys_keyctl, compat_sys_openat 78 .word sys_mkdirat, sys_mknodat, sys_fchownat, compat_sys_futimesat, compat_sys_fstatat64 79 /*290*/ .word sys_unlinkat, sys_renameat, sys_linkat, sys_symlinkat, sys_readlinkat 80 .word sys_fchmodat, sys_faccessat, compat_sys_pselect6, compat_sys_ppoll, sys_unshare 81 /*300*/ .word compat_sys_set_robust_list, compat_sys_get_robust_list, compat_sys_migrate_pages, compat_sys_mbind, compat_sys_get_mempolicy 82 .word compat_sys_set_mempolicy, compat_sys_kexec_load, compat_sys_move_pages, sys_getcpu, compat_sys_epoll_pwait 83 /*310*/ .word compat_sys_utimensat, compat_sys_signalfd, sys_timerfd_create, sys_eventfd, compat_sys_fallocate 84 .word compat_sys_timerfd_settime, compat_sys_timerfd_gettime, compat_sys_signalfd4, sys_eventfd2, sys_epoll_create1 85 /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, compat_sys_preadv 86 .word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, sys_fanotify_init 87 /*330*/ .word compat_sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime 88 .word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev 89 /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr 90 .word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf 91 /*350*/ .word sys32_execveat 101 /*0*/ .word sys_restart_syscall, sparc_exit, sys_fork, sys_read, sys_write 102 /*5*/ .word sys_open, sys_close, sys_wait4, sys_creat, sys_link 103 /*10*/ .word sys_unlink, sys_nis_syscall, sys_chdir, sys_chown, sys_mknod 104 /*15*/ .word sys_chmod, sys_lchown, sys_brk, sys_nis_syscall, sys_lseek 105 /*20*/ .word sys_getpid, sys_capget, sys_capset, sys_setuid, sys_getuid 106 /*25*/ .word sys_vmsplice, sys_ptrace, sys_alarm, sys_sigaltstack, sys_nis_syscall 107 /*30*/ .word sys_utime, sys_nis_syscall, sys_nis_syscall, sys_access, sys_nice 108 .word sys_nis_syscall, sys_sync, sys_kill, sys_newstat, sys_sendfile64 109 /*40*/ .word sys_newlstat, sys_dup, sys_sparc_pipe, sys_times, sys_nis_syscall 110 .word sys_umount, sys_setgid, sys_getgid, sys_signal, sys_geteuid 111 /*50*/ .word sys_getegid, sys_acct, sys_memory_ordering, sys_nis_syscall, sys_ioctl 112 .word sys_reboot, sys_nis_syscall, sys_symlink, sys_readlink, sys64_execve 113 /*60*/ .word sys_umask, sys_chroot, sys_newfstat, sys_fstat64, sys_getpagesize 114 .word sys_msync, sys_vfork, sys_pread64, sys_pwrite64, sys_nis_syscall 115 /*70*/ .word sys_nis_syscall, sys_mmap, sys_nis_syscall, sys_64_munmap, sys_mprotect 116 .word sys_madvise, sys_vhangup, sys_nis_syscall, sys_mincore, sys_getgroups 117 /*80*/ .word sys_setgroups, sys_getpgrp, sys_nis_syscall, sys_setitimer, sys_nis_syscall 118 .word sys_swapon, sys_getitimer, sys_nis_syscall, sys_sethostname, sys_nis_syscall 119 /*90*/ .word sys_dup2, sys_nis_syscall, sys_fcntl, sys_select, sys_nis_syscall 120 .word sys_fsync, sys_setpriority, sys_socket, sys_connect, sys_accept 121 /*100*/ .word sys_getpriority, sys_rt_sigreturn, sys_rt_sigaction, sys_rt_sigprocmask, sys_rt_sigpending 122 .word sys_rt_sigtimedwait, sys_rt_sigqueueinfo, sys_rt_sigsuspend, sys_setresuid, sys_getresuid 123 /*110*/ .word sys_setresgid, sys_getresgid, sys_nis_syscall, sys_recvmsg, sys_sendmsg 124 .word sys_nis_syscall, sys_gettimeofday, sys_getrusage, sys_getsockopt, sys_getcwd 125 /*120*/ .word sys_readv, sys_writev, sys_settimeofday, sys_fchown, sys_fchmod 126 .word sys_recvfrom, sys_setreuid, sys_setregid, sys_rename, sys_truncate 127 /*130*/ .word sys_ftruncate, sys_flock, sys_lstat64, sys_sendto, sys_shutdown 128 .word sys_socketpair, sys_mkdir, sys_rmdir, sys_utimes, sys_stat64 129 /*140*/ .word sys_sendfile64, sys_getpeername, sys_futex, sys_gettid, sys_getrlimit 130 .word sys_setrlimit, sys_pivot_root, sys_prctl, sys_pciconfig_read, sys_pciconfig_write 131 /*150*/ .word sys_getsockname, sys_inotify_init, sys_inotify_add_watch, sys_poll, sys_getdents64 132 .word sys_nis_syscall, sys_inotify_rm_watch, sys_statfs, sys_fstatfs, sys_oldumount 133 /*160*/ .word sys_sched_setaffinity, sys_sched_getaffinity, sys_getdomainname, sys_setdomainname, sys_utrap_install 134 .word sys_quotactl, sys_set_tid_address, sys_mount, sys_ustat, sys_setxattr 135 /*170*/ .word sys_lsetxattr, sys_fsetxattr, sys_getxattr, sys_lgetxattr, sys_getdents 136 .word sys_setsid, sys_fchdir, sys_fgetxattr, sys_listxattr, sys_llistxattr 137 /*180*/ .word sys_flistxattr, sys_removexattr, sys_lremovexattr, sys_nis_syscall, sys_ni_syscall 138 .word sys_setpgid, sys_fremovexattr, sys_tkill, sparc_exit_group, sys_newuname 139 /*190*/ .word sys_init_module, sys_sparc64_personality, sys_remap_file_pages, sys_epoll_create, sys_epoll_ctl 140 .word sys_epoll_wait, sys_ioprio_set, sys_getppid, sys_nis_syscall, sys_sgetmask 141 /*200*/ .word sys_ssetmask, sys_nis_syscall, sys_newlstat, sys_uselib, sys_nis_syscall 142 .word sys_readahead, sys_socketcall, sys_syslog, sys_lookup_dcookie, sys_fadvise64 143 /*210*/ .word sys_fadvise64_64, sys_tgkill, sys_waitpid, sys_swapoff, sys_sysinfo 144 .word sys_sparc_ipc, sys_nis_syscall, sys_clone, sys_ioprio_get, sys_adjtimex 145 /*220*/ .word sys_nis_syscall, sys_ni_syscall, sys_delete_module, sys_ni_syscall, sys_getpgid 146 .word sys_bdflush, sys_sysfs, sys_nis_syscall, sys_setfsuid, sys_setfsgid 147 /*230*/ .word sys_select, sys_nis_syscall, sys_splice, sys_stime, sys_statfs64 148 .word sys_fstatfs64, sys_llseek, sys_mlock, sys_munlock, sys_mlockall 149 /*240*/ .word sys_munlockall, sys_sched_setparam, sys_sched_getparam, sys_sched_setscheduler, sys_sched_getscheduler 150 .word sys_sched_yield, sys_sched_get_priority_max, sys_sched_get_priority_min, sys_sched_rr_get_interval, sys_nanosleep 151 /*250*/ .word sys_64_mremap, sys_sysctl, sys_getsid, sys_fdatasync, sys_nis_syscall 152 .word sys_sync_file_range, sys_clock_settime, sys_clock_gettime, sys_clock_getres, sys_clock_nanosleep 153 /*260*/ .word sys_sched_getaffinity, sys_sched_setaffinity, sys_timer_settime, sys_timer_gettime, sys_timer_getoverrun 154 .word sys_timer_delete, sys_timer_create, sys_ni_syscall, sys_io_setup, sys_io_destroy 155 /*270*/ .word sys_io_submit, sys_io_cancel, sys_io_getevents, sys_mq_open, sys_mq_unlink 156 .word sys_mq_timedsend, sys_mq_timedreceive, sys_mq_notify, sys_mq_getsetattr, sys_waitid 157 /*280*/ .word sys_tee, sys_add_key, sys_request_key, sys_keyctl, sys_openat 158 .word sys_mkdirat, sys_mknodat, sys_fchownat, sys_futimesat, sys_fstatat64 159 /*290*/ .word sys_unlinkat, sys_renameat, sys_linkat, sys_symlinkat, sys_readlinkat 160 .word sys_fchmodat, sys_faccessat, sys_pselect6, sys_ppoll, sys_unshare 161 /*300*/ .word sys_set_robust_list, sys_get_robust_list, sys_migrate_pages, sys_mbind, sys_get_mempolicy 162 .word sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait 163 /*310*/ .word sys_utimensat, sys_signalfd, sys_timerfd_create, sys_eventfd, sys_fallocate 164 .word sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1 165 /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv 166 .word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init 167 /*330*/ .word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime 168 .word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev 169 /*340*/ .word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr 170 .word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf 171 /*350*/ .word sys64_execveat
|
H A D | una_asm_32.S | 61 .word 4b, retl_efault 62 .word 5b, retl_efault 63 .word 6b, retl_efault 64 .word 7b, retl_efault 65 .word 8b, retl_efault 66 .word 9b, retl_efault 67 .word 10b, retl_efault 68 .word 11b, retl_efault 69 .word 12b, retl_efault 70 .word 13b, retl_efault 71 .word 14b, retl_efault 72 .word 15b, retl_efault 73 .word 16b, retl_efault 74 .word 17b, retl_efault 140 .word 4b, retl_efault 141 .word 5b, retl_efault 142 .word 6b, retl_efault 143 .word 7b, retl_efault 144 .word 8b, retl_efault 145 .word 9b, retl_efault 146 .word 10b, retl_efault 147 .word 11b, retl_efault 148 .word 12b, retl_efault 149 .word 13b, retl_efault 150 .word 14b, retl_efault 151 .word 15b, retl_efault 152 .word 16b, retl_efault
|
H A D | una_asm_64.S | 51 .word 4b, __retl_efault 52 .word 5b, __retl_efault 53 .word 6b, __retl_efault 54 .word 7b, __retl_efault 55 .word 8b, __retl_efault 56 .word 9b, __retl_efault 57 .word 10b, __retl_efault 58 .word 11b, __retl_efault 59 .word 12b, __retl_efault 60 .word 13b, __retl_efault 61 .word 14b, __retl_efault 62 .word 15b, __retl_efault 63 .word 16b, __retl_efault 64 .word 17b, __retl_efault 133 .word 4b, __retl_efault 134 .word 5b, __retl_efault 135 .word 6b, __retl_efault 136 .word 7b, __retl_efault 137 .word 8b, __retl_efault 138 .word 9b, __retl_efault 139 .word 10b, __retl_efault 140 .word 11b, __retl_efault 141 .word 12b, __retl_efault 142 .word 13b, __retl_efault 143 .word 14b, __retl_efault 144 .word 15b, __retl_efault 145 .word 16b, __retl_efault
|
H A D | sys32.S | 245 .word 1b, __retl_efault, 2b, __retl_efault 246 .word 3b, __retl_efault, 4b, __retl_efault 247 .word 5b, __retl_efault, 6b, __retl_efault 248 .word 7b, __retl_efault, 8b, __retl_efault 249 .word 9b, __retl_efault, 10b, __retl_efault 250 .word 11b, __retl_efault, 12b, __retl_efault 251 .word 13b, __retl_efault, 14b, __retl_efault 252 .word 15b, __retl_efault, 16b, __retl_efault 253 .word 17b, __retl_efault, 18b, __retl_efault 254 .word 19b, __retl_efault, 20b, __retl_efault 255 .word 21b, __retl_efault, 22b, __retl_efault 256 .word 23b, __retl_efault, 24b, __retl_efault 257 .word 25b, __retl_efault, 26b, __retl_efault 258 .word 27b, __retl_efault, 28b, __retl_efault 259 .word 29b, __retl_efault, 30b, __retl_efault 260 .word 31b, __retl_efault, 32b, __retl_efault 261 .word 33b, __retl_efault, 34b, __retl_efault 262 .word 35b, __retl_efault, 36b, __retl_efault 263 .word 37b, __retl_efault, 38b, __retl_efault 264 .word 39b, __retl_efault, 40b, __retl_efault 265 .word 41b, __retl_efault, 42b, __retl_efault 266 .word 43b, __retl_efault, 44b, __retl_efault 267 .word 45b, __retl_efault, 46b, __retl_efault 268 .word 47b, __retl_efault, 48b, __retl_efault 269 .word 49b, __retl_efault, 50b, __retl_efault 270 .word 51b, __retl_efault, 52b, __retl_efault 271 .word 53b, __retl_efault, 54b, __retl_efault 272 .word 55b, __retl_efault, 56b, __retl_efault 273 .word 57b, __retl_efault, 58b, __retl_efault 274 .word 59b, __retl_efault, 60b, __retl_efault 275 .word 61b, __retl_efault, 62b, __retl_efault 276 .word 63b, __retl_efault, 64b, __retl_efault 277 .word 65b, __retl_efault, 66b, __retl_efault
|
/linux-4.1.27/arch/mips/lasat/image/ |
H A D | head.S | 9 .word LASAT_K_MAGIC0_VAL 10 .word LASAT_K_MAGIC1_VAL 13 .word 0x00000002 16 .word _image_start 17 .word _image_size 20 .word _kernel_start 21 .word _kernel_entry 27 .word TIMESTAMP
|
/linux-4.1.27/arch/sparc/crypto/ |
H A D | opcodes.h | 18 .word (F3F(2,0x36,0x147)|RS1(a)|RS2(b)|RD(c)); 21 .word 0x81b02800; 23 .word 0x81b02820; 25 .word 0x81b02840; 27 .word 0x81b02860; 30 .word (F3F(2, 0x19, 0)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 32 .word (F3F(2, 0x19, 1)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 34 .word (F3F(2, 0x19, 2)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 36 .word (F3F(2, 0x19, 3)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 38 .word (F3F(2, 0x19, 4)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 40 .word (F3F(2, 0x19, 5)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 42 .word (F3F(2, 0x19, 6)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 44 .word (F3F(2, 0x19, 7)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 46 .word (F3F(2, 0x19, 8)|RS1(a)|RS2(b)|IMM5_9(c)|RD(d)); 48 .word (F3F(2, 0x36, 0x130)|RS1(a)|RS2(b)|RD(c)); 50 .word (F3F(2, 0x36, 0x131)|RS1(a)|RS2(b)|RD(c)); 53 .word (F3F(2, 0x36, 0x134)|RS1(a)|RD(b)); 55 .word (F3F(2, 0x36, 0x135)|RS1(a)|RD(b)); 57 .word (F3F(2, 0x36, 0x136)|RS1(a)|IMM5_0(b)|RD(c)); 59 .word (F3F(2, 0x19, 0x009)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 62 .word (F3F(2, 0x19, 0x00c)|RS1(a)|RS2(b)|RS3(c)|RD(d)); 64 .word (F3F(2, 0x36, 0x13c)|RS1(a)|RS2(b)|RD(c)); 66 .word (F3F(2, 0x36, 0x13d)|RS1(a)|RS2(b)|RD(c)); 69 .word 0x99b02200 71 .word 0x9bb02202 73 .word 0xbbb02301 75 .word 0xbfb02301 77 .word 0x89b02303; 79 .word 0x8db02307; 81 .word 0x81b02303; 83 .word 0x85b02307; 85 .word 0x81b02308; 87 .word 0x81b0230d; 89 .word 0x85b0230d; 91 .word 0x89b0230d; 93 .word 0x8db0230d; 95 .word 0xbbb02303; 97 .word 0xbfb02307;
|
/linux-4.1.27/arch/sh/lib64/ |
H A D | sdivsi3.S | 65 .word -16638 66 .word -17135 67 .word -17737 68 .word -18433 69 .word -19103 70 .word -19751 71 .word -20583 72 .word -21383 73 .word -22343 74 .word -23353 75 .word -24407 76 .word -25582 77 .word -26863 78 .word -28382 79 .word -29965 80 .word -31800 120 .word 31801 121 .word 29966 122 .word 28383 123 .word 26864 124 .word 25583 125 .word 24408 126 .word 23354 127 .word 22344 128 .word 21384 129 .word 20584 130 .word 19752 131 .word 19104 132 .word 18434 133 .word 17738 134 .word 17136 135 .word 16639
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
H A D | dsp_defs.h | 86 #define DSP_RELOC_TYPE_0 0x00 /* relocation of address in DM word / high part of PM word */ 87 #define DSP_RELOC_TYPE_1 0x40 /* relocation of address in low part of PM data word */ 97 word format_version_bcd; 98 word header_size; 99 word combifile_description_size; 100 word directory_entries; 101 word directory_size; 102 word download_count; 103 word usage_mask_size; 107 word card_type_number; 108 word file_set_number; 113 word format_version_bcd; 114 word download_id; 115 word download_flags; 116 word required_processing_power; 117 word interface_channel_count; 118 word header_size; 119 word download_description_size; 120 word memory_block_table_size; 121 word memory_block_count; 122 word segment_table_size; 123 word segment_count; 124 word symbol_table_size; 125 word symbol_count; 126 word total_data_size_dm; 127 word data_block_count_dm; 128 word total_data_size_pm; 129 word data_block_count_pm; 133 word alias_memory_block; 134 word memory_type; 135 word address; 136 word size; /* DSP words */ 140 word memory_block; 141 word attributes; 142 word base; 143 word size; 144 word alignment; /* ==0 -> no other legal start address than base */ 148 word symbol_id; 149 word segment; 150 word offset; 151 word size; /* DSP words */ 155 word attributes; 156 word segment; 157 word offset; 158 word size; /* DSP words */ 162 word download_id; 163 word download_flags; 164 word required_processing_power; 165 word interface_channel_count; 166 word excess_header_size; 167 word memory_block_count; 168 word segment_count; 169 word symbol_count; 170 word data_block_count_dm; 171 word data_block_count_pm; 177 word *p_data_blocks_dm; 178 word *p_data_blocks_pm; 182 word download_id; 183 word download_flags; 184 word required_processing_power; 185 word interface_channel_count; 186 word excess_header_size; 187 word memory_block_count; 188 word segment_count; 189 word symbol_count; 190 word data_block_count_dm; 191 word data_block_count_pm; 208 <word> reconfigure delay (in 8kHz samples) 209 <word> reconfigure code 247 <word> time of sync (sampled from counter at 8kHz) 252 <word> time of DCD off (sampled from counter at 8kHz) 257 <word> time of DCD on (sampled from counter at 8kHz) 259 <word> connected options 265 <word> time of CTS off (sampled from counter at 8kHz) 270 <word> time of CTS on (sampled from counter at 8kHz) 272 <word> connected options 296 word card_type_number, 297 word *p_dsp_download_count,
|
H A D | capidtmf.h | 52 word digit_write_pos; 53 word digit_read_pos; 54 word indication_state; 55 word indication_state_ack; 57 word min_gap_duration; 58 word min_digit_duration; 59 word cycle_counter; 60 word current_digit_on_time; 61 word current_digit_off_time; 70 word capidtmf_recv_indication(t_capidtmf_state *p_state, byte *buffer); 71 void capidtmf_recv_block(t_capidtmf_state *p_state, byte *buffer, word length); 73 void capidtmf_recv_enable(t_capidtmf_state *p_state, word min_digit_duration, word min_gap_duration);
|
H A D | pr_pc.h | 27 word NextReq; /* pointer to next Req Buffer */ 28 word NextRc; /* pointer to next Rc Buffer */ 29 word NextInd; /* pointer to next Ind Buffer */ 42 word Signature; /* ISDN-P initialized indication */ 46 word next; 51 word Reference; 56 word next; 61 word Reference; 65 word next; 70 word MLength; 71 word Reference;
|
H A D | capi20.h | 52 word MessageBufferSize; 53 word maxLogicalConnection; 54 word maxBDataBlocks; 55 word maxBDataLen; 58 word CapiMajor; 59 word CapiMinor; 60 word ManuMajor; 61 word ManuMinor; 64 word Number; 65 word Channels; 124 word Info; 128 word CIP_Value; 141 word Info; 145 word CIP_Value; 157 word Accept; 179 word Info; 183 word Info; 198 word Info; 207 word Info; 211 word Number; 224 word Info; 228 word Selector; 234 word function; 236 word SupplementaryServiceInfo; 241 word Info; 242 word Selector; 247 word Selector; 252 word Selector; 261 word Info; 269 word Accept; 286 word Info; 290 word Info; 300 word Data_Length; 301 word Number; 302 word Flags; 307 word Data_Length; 308 word Number; 309 word Flags; 314 word Number; 315 word Info; 320 word Data_Length; 321 word Number; 322 word Flags; 327 word Data_Length; 328 word Number; 329 word Flags; 334 word Number; 342 word Info; 358 word Reject; 368 word length; 369 word appl_id; 370 word command; 371 word number; 374 word ncci;
|
H A D | pc_maint.h | 92 word er_b1; 93 word er_b2; 98 word XError; 99 word RError; 111 word w[BUFFER_SZ >> 1]; 112 word l[BUFFER_SZ >> 2]; /* word is wrong, do not use! Use 'd' instead. */ 122 word w[MIPS_BUFFER_SZ >> 1]; 123 word l[BUFFER_SZ >> 2]; /* word is wrong, do not use! Use 'd' instead. */ 133 word port; 145 word port; 157 word port;
|
H A D | io.h | 170 word QsigFeatures; 179 word AlertToIn20mSecTicks; 180 word ModemEyeSetup; 193 word e_max; 194 word e_count; 196 word assign; /* list of pending ASSIGNs */ 197 word head; /* head of request queue */ 198 word tail; /* tail of request queue */ 234 word assign_ref; /* assign reference */ 244 word ebit; 245 word elocl; 246 word eloch; 248 word signature; 266 word io_inw(ADAPTER *a, void *adr); 267 void io_in_buffer(ADAPTER *a, void *adr, void *P, word length); 270 void io_outw(ADAPTER *a, void *adr, word data); 271 void io_out_buffer(ADAPTER *a, void *adr, void *P, word length); 281 word mem_inw(ADAPTER *a, void *adr); 282 void mem_in_buffer(ADAPTER *a, void *adr, void *P, word length); 285 void mem_outw(ADAPTER *a, void *adr, word data); 286 void mem_out_buffer(ADAPTER *a, void *adr, void *P, word length); 301 word *buf; 302 word cnt; 303 word out;
|
H A D | di.h | 52 word (*ram_inw)(ADAPTER *a, void *adr); 53 void (*ram_in_buffer)(ADAPTER *a, void *adr, void *P, word length); 56 void (*ram_outw)(ADAPTER *a, void *adr, word data); 57 void (*ram_out_buffer)(ADAPTER *a, void *adr, void *P, word length); 62 word tx_pos[256]; 63 word rx_pos[256]; 90 void assign_queue(ADAPTER *a, byte e_no, word ref); 91 byte get_assign(ADAPTER *a, word ref);
|
H A D | divacapi.h | 125 word options; 126 word format; 143 word length; 153 word Handle; 154 word Number; 155 word Flags; 156 word Length; 161 word Handle; 162 word Number; 170 word Id; 171 word NullCREnable; 172 word CDEnable; 182 word s_count; 194 word queue_size; 195 word queue_free; 196 word queue_read; 197 word queue_write; 198 word queue_signal; 201 word Number; 203 word MaxBuffer; 206 word MaxDataLength; 207 word NCCIDataFlowCtrlTimer; 209 word *DataNCCI; 210 word *DataFlags; 217 word RNum; 218 word RFlags; 237 word command; 238 word m_command; 239 word internal_command; 240 word number; 241 word req_in_start; 242 word req_in; 243 word req_out; 244 word msg_in_write_pos; 245 word msg_in_read_pos; 246 word msg_in_wrap_pos; 263 word hangup_flow_ctrl_timer; 265 word ncci_ring_list; 277 word nsf_control_bits; 285 word B1_facilities; 287 word adjust_b_facilities; 288 word adjust_b_command; 289 word adjust_b_ncci; 290 word adjust_b_mode; 291 word adjust_b_state; 295 word dtmf_rec_pulse_ms; 296 word dtmf_rec_pause_ms; 298 word dtmf_send_pulse_ms; 299 word dtmf_send_pause_ms; 300 word dtmf_cmd; 301 word dtmf_msg_number_queue[8]; 312 word li_cmd; 313 word li_write_command; 314 word li_write_channel; 315 word li_plci_b_write_pos; 316 word li_plci_b_read_pos; 317 word li_plci_b_req_pos; 321 word ec_cmd; 322 word ec_idi_options; 323 word ec_tail_length; 393 word li_base; 928 extern word li_total_channels; 1125 | Direction | word | Enable compression/decompression for | 1131 | Number of code | word | Parameter P1 of V.42bis in accordance | 1134 | Maximum String | word | Parameter P2 of V.42bis in accordance | 1283 #define ADV_VOICE_NEW_COEF_BASE (ADV_VOICE_OLD_COEF_COUNT * sizeof(word))
|
H A D | message.c | 76 static void clear_group_ind_mask_bit(PLCI *plci, word b); 77 static byte test_group_ind_mask_bit(PLCI *plci, word b); 79 word CapiRelease(word); 80 word CapiRegister(word); 81 word api_put(APPL *, CAPI_MSG *); 82 static word api_parse(byte *, word, byte *, API_PARSE *); 86 word api_remove_start(void); 107 static byte connect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 108 static byte connect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 109 static byte connect_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 110 static byte disconnect_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 111 static byte disconnect_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 112 static byte listen_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 113 static byte info_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 114 static byte info_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 115 static byte alert_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 116 static byte facility_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 117 static byte facility_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 118 static byte connect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 119 static byte connect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 120 static byte connect_b3_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 121 static byte disconnect_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 122 static byte disconnect_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 123 static byte data_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 124 static byte data_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 125 static byte reset_b3_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 126 static byte reset_b3_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 127 static byte connect_b3_t90_a_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 128 static byte select_b_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 129 static byte manufacturer_req(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 130 static byte manufacturer_res(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 132 static word get_plci(DIVA_CAPI_ADAPTER *); 136 static void add_ie(PLCI *plci, byte code, byte *p, word p_length); 137 static void add_d(PLCI *, word, byte *); 139 static word add_b1(PLCI *, API_PARSE *, word, word); 140 static word add_b23(PLCI *, API_PARSE *); 141 static word add_modem_b23(PLCI *plci, API_PARSE *bp_parms); 146 static word plci_remove_check(PLCI *); 150 static void IndParse(PLCI *, word *, byte **, byte); 152 static word find_cip(DIVA_CAPI_ADAPTER *, byte *, byte *); 153 static word CPN_filter_ok(byte *cpn, DIVA_CAPI_ADAPTER *, word); 167 static word AdvCodecSupport(DIVA_CAPI_ADAPTER *, PLCI *, APPL *, byte); 171 static void adv_voice_write_coefs(PLCI *plci, word write_command); 174 static word get_b1_facilities(PLCI *plci, byte b1_resource); 175 static byte add_b1_facilities(PLCI *plci, byte b1_resource, word b1_facilities); 176 static void adjust_b1_facilities(PLCI *plci, byte new_b1_resource, word new_b1_facilities); 177 static word adjust_b_process(dword Id, PLCI *plci, byte Rc); 178 static void adjust_b1_resource(dword Id, PLCI *plci, API_SAVE *bp_msg, word b1_facilities, word internal_command); 193 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg); 195 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length); 204 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg); 206 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length); 207 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length); 212 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg); 213 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length); 232 void sendf(APPL *, word, dword, word, byte *, ...); 260 word command; 262 byte (*function)(dword, word, DIVA_CAPI_ADAPTER *, PLCI *, APPL *, API_PARSE *); 386 word api_put(APPL *appl, CAPI_MSG *msg) api_put() 388 word i, j, k, l, n; api_put() 389 word ret; api_put() 395 word ncci; api_put() 559 if (!api_parse(msg->info.b, (word)(msg->header.length - 12), ftable[i].format, msg_parms)) { api_put() 593 static word api_parse(byte *msg, word length, byte *format, API_PARSE *parms) api_parse() 595 word i; api_parse() 596 word p; api_parse() 634 word i, j, n = 0; api_save_msg() 666 word i; api_load_msg() 681 word api_remove_start(void) api_remove_start() 683 word i; api_remove_start() 684 word j; api_remove_start() 717 word i; init_internal_command_queue() 730 word i; start_internal_command() 752 word i; next_internal_command() 778 static word get_ncci(PLCI *plci, byte ch, word force_ncci) get_ncci() 781 word ncci, i, j, k; get_ncci() 852 static void ncci_free_receive_buffers(PLCI *plci, word ncci) ncci_free_receive_buffers() 856 word i, ncci_code; ncci_free_receive_buffers() 860 Id = (((dword) ncci) << 16) | (((word)(plci->Id)) << 8) | a->Id; ncci_free_receive_buffers() 874 ncci_code = ncci | (((word) a->Id) << 8); ncci_free_receive_buffers() 901 ncci_code = ncci | (((word) a->Id) << 8); ncci_free_receive_buffers() 917 static void cleanup_ncci_data(PLCI *plci, word ncci) cleanup_ncci_data() 944 static void ncci_remove(PLCI *plci, word ncci, byte preserve_ncci) ncci_remove() 948 word i; ncci_remove() 951 Id = (((dword) ncci) << 16) | (((word)(plci->Id)) << 8) | a->Id; ncci_remove() 1019 word i; plci_free_msg_in_queue() 1095 word i; set_group_ind_mask() 1101 static void clear_group_ind_mask_bit(PLCI *plci, word b) clear_group_ind_mask_bit() 1106 static byte test_group_ind_mask_bit(PLCI *plci, word b) test_group_ind_mask_bit() 1117 word i; clear_c_ind_mask() 1125 word i; c_ind_mask_empty() 1133 static void set_c_ind_mask_bit(PLCI *plci, word b) set_c_ind_mask_bit() 1138 static void clear_c_ind_mask_bit(PLCI *plci, word b) clear_c_ind_mask_bit() 1143 static byte test_c_ind_mask_bit(PLCI *plci, word b) test_c_ind_mask_bit() 1152 word i, j, k; dump_c_ind_mask() 1195 static byte connect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_req() 1198 word ch; connect_req() 1199 word i; connect_req() 1200 word Info; connect_req() 1205 word channel = 0; connect_req() 1211 word dir = 0; connect_req() 1223 Id = ((word)1 << 8) | a->Id; connect_req() 1253 if (!api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) connect_req() 1411 static byte connect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_res() 1414 word i, Info; connect_res() 1415 word Reject; connect_res() 1420 word ch = 0; connect_res() 1434 if (!api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) connect_res() 1462 clear_c_ind_mask_bit(plci, (word)(appl->Id - 1)); connect_res() 1568 static byte connect_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_a_res() 1575 static byte disconnect_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_req() 1578 word Info; disconnect_req() 1579 word i; disconnect_req() 1589 clear_c_ind_mask_bit(plci, (word)(appl->Id - 1)); disconnect_req() 1631 static byte disconnect_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_res() 1639 clear_c_ind_mask_bit(plci, (word)(appl->Id - 1)); disconnect_res() 1659 static byte listen_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, listen_req() 1662 word Info; listen_req() 1709 static byte info_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, info_req() 1712 word i; info_req() 1716 word Info = 0; info_req() 1725 if (api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) info_req() 1819 static byte info_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, info_res() 1826 static byte alert_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, alert_req() 1829 word Info; alert_req() 1857 static byte facility_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, facility_req() 1860 word Info = 0; facility_req() 1861 word i = 0; facility_req() 1863 word selector; facility_req() 1864 word SSreq; facility_req() 1936 if (api_parse(&parms->info[1], (word)parms->length, "wbd", ss_parms)) facility_req() 1972 api_parse(&parms->info[1], (word)parms->length, "ws", ss_parms); facility_req() 2019 if (api_parse(&parms->info[1], (word)parms->length, "wbs", ss_parms)) facility_req() 2060 if (api_parse(&parms->info[1], (word)parms->length, "wbs", ss_parms)) facility_req() 2090 if (api_parse(&parms->info[1], (word)parms->length, "wbd", ss_parms)) facility_req() 2142 if (api_parse(&parms->info[1], (word)parms->length, "wbd", ss_parms)) facility_req() 2151 if (api_parse(&parms->info[1], (word)parms->length, "wbdb", ss_parms)) facility_req() 2284 if (api_parse(&parms->info[1], (word)parms->length, "wbwss", ss_parms)) facility_req() 2310 if (api_parse(&parms->info[1], (word)parms->length, "wbdwwsss", ss_parms)) facility_req() 2357 if (api_parse(&parms->info[1], (word)parms->length, "wbd", ss_parms)) facility_req() 2365 if (api_parse(&parms->info[1], (word)parms->length, "wbdw", ss_parms)) facility_req() 2372 if (api_parse(&parms->info[1], (word)parms->length, "wbdws", ss_parms)) facility_req() 2379 if (api_parse(&parms->info[1], (word)parms->length, "wbdwws", ss_parms)) facility_req() 2468 if (api_parse(&parms->info[1], (word)parms->length, "wbwdwwwssss", ss_parms)) facility_req() 2520 if (api_parse(&parms->info[1], (word)parms->length, "wbwwss", ss_parms)) facility_req() 2608 static byte facility_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, facility_res() 2615 static byte connect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_req() 2618 word Info = 0; connect_b3_req() 2621 word w; connect_b3_req() 2622 word fax_control_bits, fax_feature_bits, fax_info_change; connect_b3_req() 2627 word i; connect_b3_req() 2680 add_d(plci, (word)(ncpi->length - 3), &ncpi->info[4]); connect_b3_req() 2698 if ((w & 0x0001) != ((word)(((T30_INFO *)(plci->fax_connect_info_buffer))->resolution & 0x0001))) connect_b3_req() 2850 static byte connect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_res() 2853 word ncci; connect_b3_res() 2857 word w; connect_b3_res() 2861 word i; connect_b3_res() 2867 ncci = (word)(Id >> 16); connect_b3_res() 2950 add_d(plci, (word)(ncpi->length - 3), &ncpi->info[4]); connect_b3_res() 2966 static byte connect_b3_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_a_res() 2969 word ncci; connect_b3_a_res() 2971 ncci = (word)(Id >> 16); connect_b3_a_res() 2987 static byte disconnect_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_b3_req() 2990 word Info; disconnect_b3_req() 2991 word ncci; disconnect_b3_req() 2997 ncci = (word)(Id >> 16); disconnect_b3_req() 3028 add_d(plci, (word)(ncpi->length - 3), (byte *)&(ncpi->info[4])); disconnect_b3_req() 3044 static byte disconnect_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, disconnect_b3_res() 3047 word ncci; disconnect_b3_res() 3048 word i; disconnect_b3_res() 3050 ncci = (word)(Id >> 16); disconnect_b3_res() 3075 "ws", (word)3, "\x03\x04\x00\x00"); disconnect_b3_res() 3101 static byte data_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, data_b3_req() 3106 word Info; data_b3_req() 3107 word ncci; data_b3_req() 3108 word i; data_b3_req() 3113 ncci = (word)(Id >> 16); data_b3_req() 3179 static byte data_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, data_b3_res() 3182 word n; data_b3_res() 3183 word ncci; data_b3_res() 3184 word NCCIcode; data_b3_res() 3188 ncci = (word)(Id >> 16); data_b3_res() 3192 NCCIcode = ncci | (((word) a->Id) << 8); data_b3_res() 3213 static byte reset_b3_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, reset_b3_req() 3216 word Info; reset_b3_req() 3217 word ncci; reset_b3_req() 3222 ncci = (word)(Id >> 16); reset_b3_req() 3255 static byte reset_b3_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, reset_b3_res() 3258 word ncci; reset_b3_res() 3262 ncci = (word)(Id >> 16); reset_b3_res() 3280 static byte connect_b3_t90_a_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, connect_b3_t90_a_res() 3283 word ncci; connect_b3_t90_a_res() 3289 ncci = (word)(Id >> 16); connect_b3_t90_a_res() 3304 add_d(plci, (word)(ncpi->length - 3), &ncpi->info[4]); connect_b3_t90_a_res() 3315 static byte select_b_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, select_b_req() 3318 word Info = 0; select_b_req() 3319 word i; select_b_req() 3341 else if (msg->length && api_parse(&msg->info[1], (word)msg->length, "wwwsss", bp_parms)) select_b_req() 3356 clear_c_ind_mask_bit(plci, (word)(appl->Id - 1)); select_b_req() 3435 static byte manufacturer_req(dword Id, word Number, DIVA_CAPI_ADAPTER *a, manufacturer_req() 3438 word command; manufacturer_req() 3439 word i; manufacturer_req() 3440 word ncci; manufacturer_req() 3443 word codec; manufacturer_req() 3453 word Info = 0; manufacturer_req() 3467 if (api_parse(&m->info[1], (word)m->length, "wbbs", m_parms)) { manufacturer_req() 3481 Id = (((word)plci->Id << 8) | plci->adapter->Id | 0x80); manufacturer_req() 3572 if (api_parse(&m->info[1], (word)m->length, "bs", m_parms)) { manufacturer_req() 3735 if (api_parse(&m->info[1], (word)m->length, "d", m_parms)) { manufacturer_req() 3764 static byte manufacturer_res(dword Id, word Number, DIVA_CAPI_ADAPTER *a, manufacturer_res() 3767 word indication; manufacturer_res() 3772 word i; manufacturer_res() 3846 word i, j; callback() 4102 word Number; control_rc() 4103 word Info = 0; control_rc() 4104 word i; control_rc() 4105 word ncci; control_rc() 4134 Id = (((dword)(ncci ? ncci : ch)) << 16) | ((word)plci->Id << 8) | a->Id; control_rc() 4358 plci->number, "wws", Info, (word)3, SSparms); control_rc() 4367 rId = ((word)rplci->Id << 8) | rplci->adapter->Id; control_rc() 4379 "wws", Info, (word)3, SSparms); control_rc() 4388 rId = ((word)rplci->Id << 8) | rplci->adapter->Id; control_rc() 4400 "wws", Info, (word)3, SSparms); control_rc() 4527 "wws", Info, (word)3, SSparms); control_rc() 4536 "wws", Info, (word)3, SSparms); control_rc() 4558 rId = ((word)rplci->Id << 8) | rplci->adapter->Id; control_rc() 4584 "wws", Info, (word)3, SSparms); control_rc() 4618 plci->number, "wws", Info, (word)3, SSparms); control_rc() 4644 Id = ((word)plci->Id << 8) | plci->adapter->Id; control_rc() 4682 plci->number, "wws", Info, (word)3, SSparms); control_rc() 4770 word ncci; data_rc() 4786 Id = (((dword)ncci) << 16) | ((word)plci->Id << 8) | a->Id; data_rc() 4805 word ncci; data_ack() 4814 Id = (((dword)ncci) << 16) | ((word)plci->Id << 8) | a->Id; data_ack() 4831 word i; sig_ind() 4832 word cip; sig_ind() 4863 word parms_id[] = sig_ind() 4871 word multi_fac_id[] = {1, FTY}; sig_ind() 4872 word multi_pi_id[] = {1, PI}; sig_ind() 4873 word multi_CiPN_id[] = {1, OAD}; sig_ind() 4874 word multi_ssext_id[] = {1, ESC_SSEXT}; sig_ind() 4876 word multi_vswitch_id[] = {1, ESC_VSWITCH}; sig_ind() 4879 word ncci; sig_ind() 4887 word w; sig_ind() 4890 Id = ((word)plci->Id << 8) | a->Id; sig_ind() 5138 rId = ((word)tplci->Id << 8) | tplci->adapter->Id; sig_ind() 5154 PUT_WORD(&SS_Ind[4], 0x3600 | (word)pty_cai[2]); sig_ind() 5168 PUT_WORD(&SS_Ind[4], 0x3600 | (word)pty_cai[2]); sig_ind() 5197 PUT_WORD(&Interr_Err_Ind[4], 0x3600 | (word)pty_cai[2]); sig_ind() 5264 PUT_WORD(&SS_Ind[4], 0x3600 | (word)pty_cai[2]); sig_ind() 5323 PUT_WORD(&CONF_Ind[4], 0x3600 | (word)pty_cai[2]); sig_ind() 5348 rId = ((word)tplci->Id << 8) | tplci->adapter->Id; sig_ind() 5790 x_Id = ((word)tplci->Id << 8) | tplci->adapter->Id | 0x80; sig_ind() 5956 Id = ((word)tplci->Id << 8) | a->Id; sig_ind() 5962 "ws", (word)0, "\x01+"); sig_ind() 5981 Id = ((word)a->AdvSignalPLCI->Id << 8) | a->Id; sig_ind() 5987 "ws", (word)0, "\x01-"); sig_ind() 5999 clear_c_ind_mask_bit(plci, (word)(plci->appl->Id - 1)); sig_ind() 6001 sendf(plci->appl, _FACILITY_I, Id, 0, "ws", (word)3, resume_cau); sig_ind() 6017 sendf(plci->appl, _FACILITY_I, Id, 0, "ws", (word)3, "\x05\x04\x00\x02\x00\x00"); sig_ind() 6086 sendf(plci->appl, _FACILITY_I, Id, 0, "ws", (word)3, resume_cau); sig_ind() 6120 word i; SendSetupInfo() 6122 word Info_Number; SendSetupInfo() 6124 word Info_Mask = 0; SendSetupInfo() 6194 word i; SendInfo() 6195 word j; SendInfo() 6196 word k; SendInfo() 6198 word Info_Number; SendInfo() 6200 word Info_Mask = 0; SendInfo() 6300 Info_Number = (word)NI; SendInfo() 6305 Info_Number = (word)CST; SendInfo() 6371 word i; SendMultiIE() 6372 word j; SendMultiIE() 6374 word Info_Number; SendMultiIE() 6377 word Info_Mask = 0; SendMultiIE() 6400 Info_Number = (word)ie_type; SendMultiIE() 6401 Info_Mask = (word)info_mask; SendMultiIE() 6444 word i; SendSSExtInd() 6450 4 word SSExtCommand SendSSExtInd() 6491 word ncci; nl_ind() 6494 word NCCIcode; nl_ind() 6496 word count; nl_ind() 6497 word Num; nl_ind() 6498 word i, ncpi_state; nl_ind() 6500 word msg; nl_ind() 6501 word info = 0; nl_ind() 6502 word fax_feature_bits; nl_ind() 6505 static word fax_info[] = { nl_ind() 6558 static word rtp_info[] = { nl_ind() 6572 Id = (((dword)(ncci ? ncci : ch)) << 16) | (((word) plci->Id) << 8) | a->Id; nl_ind() 6627 word conn_opt, ncpi_opt = 0x00; nl_ind() 6643 PUT_WORD(&(plci->ncpi_buffer[1]), (word)(GET_DWORD(data) & 0x0000FFFF)); nl_ind() 6715 capidtmf_recv_process_block(&(plci->capidtmf_state), plci->RData[0].P + 1, (word)(plci->RData[0].PLength - 1)); nl_ind() 6720 dtmf_indication(Id, plci, dtmf_code_buffer, (word)(i + 1)); nl_ind() 7123 "ws", (word)3, "\x03\x04\x00\x00"); nl_ind() 7181 NCCIcode = ncci | (((word)a->Id) << 8); nl_ind() 7199 (word)((a->manufacturer_features & MANUFACTURER_FEATURE_OOB_CHANNEL) ? 40 : 2000)) nl_ind() 7270 static word get_plci(DIVA_CAPI_ADAPTER *a) get_plci() 7272 word i, j; get_plci() 7350 word p_length; add_p() 7362 if (p) add_ie(plci, code, p->info, (word)p->length); add_s() 7376 add_ie(plci, p->info[i - 1], (byte *)&(p->info[i]), (word)p->info[i]); add_ss() 7403 static void add_ie(PLCI *plci, byte code, byte *p, word p_length) add_ie() 7405 word i; add_ie() 7429 static void add_d(PLCI *plci, word length, byte *p) add_d() 7431 word i; add_d() 7449 word i; add_ai() 7456 if (api_parse(&ai->info[1], (word)ai->length, "ssss", ai_parms)) add_ai() 7468 static word add_b1(PLCI *plci, API_PARSE *bp, word b_channel_info, add_b1() 7469 word b1_facilities) add_b1() 7477 word i; add_b1() 7480 word j, n, w; add_b1() 7507 plci->B1_resource = add_b1_facilities(plci, 9, (word)(b1_facilities | B1_FACILITY_VOICE)); add_b1() 7508 adjust_b1_facilities(plci, plci->B1_resource, (word)(b1_facilities | B1_FACILITY_VOICE)); add_b1() 7528 dbug(1, dprintf("b_prot_len=%d", (word)bp->length)); add_b1() 7530 if (api_parse(&bp->info[1], (word)bp->length, "wwwsssb", bp_parms)) add_b1() 7533 if (api_parse(&bp->info[1], (word)bp->length, "wwwsss", bp_parms)) add_b1() 7539 else if (api_parse(&bp->info[1], (word)bp->length, "wwwssss", bp_parms)) add_b1() 7547 if (api_parse(&bp_parms[6].info[1], (word)bp_parms[6].length, "w", global_config)) add_b1() 7567 plci->B1_resource = add_b1_facilities(plci, 31, (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7568 adjust_b1_facilities(plci, plci->B1_resource, (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7585 plci->B1_resource = add_b1_facilities(plci, 35/* PIAFS HARDWARE FACILITY */, (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7586 adjust_b1_facilities(plci, plci->B1_resource, (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7607 (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7608 adjust_b1_facilities(plci, plci->B1_resource, (word)(b1_facilities & ~B1_FACILITY_VOICE)); add_b1() 7621 if (api_parse(&bp_parms[3].info[1], (word)bp_parms[3].length, "wwwwww", mdm_cfg)) add_b1() 7748 if (!api_parse(&bp_parms[3].info[1], (word)bp_parms[3].length, "wwwwwws", mdm_cfg)) add_b1() 7811 if (!api_parse(&bp_parms[3].info[1], (word)bp_parms[3].length, "wwwwwwss", mdm_cfg)) add_b1() 7813 if (!api_parse(&mdm_cfg[7].info[1], (word)mdm_cfg[7].length, "sss", mdm_cfg_v18)) add_b1() 7818 for (j = 1; j < ((word)(cai[i] + 1)); j++) add_b1() 7933 static word add_b23(PLCI *plci, API_PARSE *bp) add_b23() 7935 word i, fax_control_bits; add_b23() 8023 dbug(1, dprintf("b_prot_len=%d", (word)bp->length)); add_b23() 8024 if ((word)bp->length > 256) return _WRONG_MESSAGE_FORMAT; add_b23() 8026 if (api_parse(&bp->info[1], (word)bp->length, "wwwsssb", bp_parms)) add_b23() 8029 if (api_parse(&bp->info[1], (word)bp->length, "wwwsss", bp_parms)) add_b23() 8035 else if (api_parse(&bp->info[1], (word)bp->length, "wwwssss", bp_parms)) add_b23() 8110 if (api_parse(&bp_parms[6].info[1], (word)bp_parms[6].length, "w", global_config)) add_b23() 8167 if (b2_config->length && api_parse(&b2_config->info[1], (word)b2_config->length, "bwww", b2_config_parms)) { add_b23() 8224 if ((llc[1] == V120_V42BIS) && api_parse(&b2_config->info[1], (word)b2_config->length, "bbbbwww", b2_config_parms)) { add_b23() 8263 if (api_parse(&b2_config->info[1], (word)b2_config->length, "bbbbwww", b2_config_parms)) add_b23() 8269 if (api_parse(&b2_config->info[1], (word)b2_config->length, "bbbbs", b2_config_parms)) add_b23() 8337 PUT_WORD(&dlc[7], (word)b2_config_parms[4].length); add_b23() 8352 if (api_parse(&b3_config->info[1], (word)b3_config->length, "wwss", b3_config_parms)) add_b23() 8498 if (api_parse(&b3_config->info[1], (word)b3_config->length, "wwsss", b3_config_parms)) add_b23() 8566 /* word : enable/disable compression, bitoptions */ 8570 static word add_modem_b23(PLCI *plci, API_PARSE *bp_parms) add_modem_b23() 8576 word i; add_modem_b23() 8577 word b2_config = 0; add_modem_b23() 8601 (word)bp_parms[4].length, "w", add_modem_b23() 8754 word l; send_req() 8755 /* word i; */ send_req() 8812 word ncci; send_data() 8888 word i, j; listen_check() 8902 for (i = a->listen_active; i < ((word)(a->max_listen + activnotifiedcalls)); i++) { listen_check() 8929 static void IndParse(PLCI *plci, word *parms_id, byte **parms, byte multiIEsize) IndParse() 8931 word ploc; /* points to current location within packet */ IndParse() 8936 word i; IndParse() 8937 word code; IndParse() 8938 word mIEindex = 0; IndParse() 9016 word i; ie_compare() 9019 for (i = 0; i < (word)(ie1[0] + 1); i++) if (ie1[i] != ie2[i]) return false; ie_compare() 9023 static word find_cip(DIVA_CAPI_ADAPTER *a, byte *bc, byte *hlc) find_cip() 9025 word i; find_cip() 9026 word j; find_cip() 9122 static word AdvCodecSupport(DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, AdvCodecSupport() 9125 word j; AdvCodecSupport() 9315 word j; AutomaticLaw() 9337 word CapiRelease(word Id) CapiRelease() 9339 word i, j, appls_found; CapiRelease() 9378 if (test_c_ind_mask_bit(plci, (word)(Id - 1))) CapiRelease() 9380 clear_c_ind_mask_bit(plci, (word)(Id - 1)); CapiRelease() 9389 if (test_c_ind_mask_bit(plci, (word)(Id - 1))) CapiRelease() 9391 clear_c_ind_mask_bit(plci, (word)(Id - 1)); CapiRelease() 9454 static word plci_remove_check(PLCI *plci) plci_remove_check() 9592 word min_digit_duration, min_gap_duration; dtmf_enable_receiver() 9628 static void dtmf_send_digits(PLCI *plci, byte *digit_buffer, word digit_count) dtmf_send_digits() 9630 word w, i; dtmf_send_digits() 9701 static word dtmf_save_config(dword Id, PLCI *plci, byte Rc) dtmf_save_config() 9711 static word dtmf_restore_config(dword Id, PLCI *plci, byte Rc) dtmf_restore_config() 9713 word Info; dtmf_restore_config() 9750 word internal_command, Info; dtmf_command() 9777 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities | dtmf_command() 9851 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities & dtmf_command() 9877 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities | dtmf_command() 9919 static byte dtmf_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) dtmf_request() 9921 word Info; dtmf_request() 9922 word i, j; dtmf_request() 10118 word i; dtmf_confirmation() 10137 static void dtmf_indication(dword Id, PLCI *plci, byte *msg, word length) dtmf_indication() 10139 word i, j, n; dtmf_indication() 10189 word i; dtmf_parameter_write() 10226 static word dtmf_parameter_save_config(dword Id, PLCI *plci, byte Rc) dtmf_parameter_save_config() 10236 static word dtmf_parameter_restore_config(dword Id, PLCI *plci, byte Rc) dtmf_parameter_restore_config() 10238 word Info; dtmf_parameter_restore_config() 10280 word li_total_channels; 10511 word n, i, j; mixer_calculate_coefs() 10872 word w, ch; xconnect_query_addresses() 10906 static void xconnect_write_coefs(PLCI *plci, word internal_command) xconnect_write_coefs() 10921 word w, n, i, j, r, s, to_ch; xconnect_write_coefs_process() 11087 && (ADV_VOICE_NEW_COEF_BASE + sizeof(word) <= a->adv_voice_coef_length)) xconnect_write_coefs_process() 11131 if (ADV_VOICE_NEW_COEF_BASE + sizeof(word) + w < a->adv_voice_coef_length) xconnect_write_coefs_process() 11132 *p = a->adv_voice_coef_buffer[ADV_VOICE_NEW_COEF_BASE + sizeof(word) + w]; xconnect_write_coefs_process() 11193 && (ADV_VOICE_NEW_COEF_BASE + sizeof(word) <= a->adv_voice_coef_length)) xconnect_write_coefs_process() 11232 if (ADV_VOICE_NEW_COEF_BASE + sizeof(word) + w < a->adv_voice_coef_length) xconnect_write_coefs_process() 11233 *p = a->adv_voice_coef_buffer[ADV_VOICE_NEW_COEF_BASE + sizeof(word) + w]; xconnect_write_coefs_process() 11259 word i, w; mixer_notify_update() 11332 word i, j; mixer_clear_config() 11406 static word mixer_save_config(dword Id, PLCI *plci, byte Rc) mixer_save_config() 11409 word i, j; mixer_save_config() 11431 static word mixer_restore_config(dword Id, PLCI *plci, byte Rc) mixer_restore_config() 11434 word Info; mixer_restore_config() 11517 word i, internal_command; mixer_command() 11536 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities | mixer_command() 11554 && (add_b1_facilities(plci, plci->B1_resource, (word)(plci->B1_facilities & mixer_command() 11569 && (add_b1_facilities(plci, plci->B1_resource, (word)(plci->B1_facilities & mixer_command() 11594 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities & mixer_command() 11640 word i, ch_a, ch_a_v, ch_a_s, ch_b, ch_b_v, ch_b_s; li_update_connect() 11783 word ch_a, ch_a_v, ch_a_s, ch_b, ch_b_v, ch_b_s; li2_update_connect() 11888 static word li_check_main_plci(dword Id, PLCI *plci) li_check_main_plci() 11910 dword plci_b_id, word plci_b_write_pos, byte *p_result) li_check_plci_b() 11961 (word)(plci_b->B1_facilities | B1_FACILITY_MIXER))) & B1_FACILITY_MIXER)) li_check_plci_b() 11973 dword plci_b_id, word plci_b_write_pos, byte *p_result) li2_check_plci_b() 12024 (word)(plci_b->B1_facilities | B1_FACILITY_MIXER))) & B1_FACILITY_MIXER)) li2_check_plci_b() 12035 static byte mixer_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) mixer_request() 12037 word Info; mixer_request() 12038 word i; mixer_request() 12045 word participant_parms_pos; mixer_request() 12048 word result_pos; mixer_request() 12049 word plci_b_write_pos; mixer_request() 12212 (word)(li_parms[1].length - participant_parms_pos), "s", li_participant_struct)) mixer_request() 12246 participant_parms_pos = (word)((&li_participant_struct[0].info[1 + li_participant_struct[0].length]) - mixer_request() 12334 (word)(li_parms[1].length - participant_parms_pos), "s", li_participant_struct)) mixer_request() 12365 participant_parms_pos = (word)((&li_participant_struct[0].info[1 + li_participant_struct[0].length]) - mixer_request() 12498 static void mixer_indication_xconnect_from(dword Id, PLCI *plci, byte *msg, word length) mixer_indication_xconnect_from() 12500 word i, j, ch; mixer_indication_xconnect_from() 12541 static void mixer_indication_xconnect_to(dword Id, PLCI *plci, byte *msg, word length) mixer_indication_xconnect_to() 12552 word plci_b_write_pos; mixer_notify_source_removed() 12575 word i, j; mixer_remove() 12626 word w; ec_write_parameters() 12667 static word ec_save_config(dword Id, PLCI *plci, byte Rc) ec_save_config() 12677 static word ec_restore_config(dword Id, PLCI *plci, byte Rc) ec_restore_config() 12679 word Info; ec_restore_config() 12716 word internal_command, Info; ec_command() 12747 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities | ec_command() 12805 adjust_b1_resource(Id, plci, NULL, (word)(plci->B1_facilities & ec_command() 12827 static byte ec_request(dword Id, word Number, DIVA_CAPI_ADAPTER *a, PLCI *plci, APPL *appl, API_PARSE *msg) ec_request() 12829 word Info; ec_request() 12830 word opt; ec_request() 13017 static void ec_indication(dword Id, PLCI *plci, byte *msg, word length) ec_indication() 13073 static void adv_voice_write_coefs(PLCI *plci, word write_command) adv_voice_write_coefs() 13076 word i; adv_voice_write_coefs() 13079 word w, n, j, k; adv_voice_write_coefs() 13092 while (i + sizeof(word) <= a->adv_voice_coef_length) adv_voice_write_coefs() 13098 while (i < ADV_VOICE_OLD_COEF_COUNT * sizeof(word)) adv_voice_write_coefs() 13179 if (ADV_VOICE_NEW_COEF_BASE + sizeof(word) <= a->adv_voice_coef_length) adv_voice_write_coefs() 13204 *(p++) = (ADV_VOICE_NEW_COEF_BASE + sizeof(word) + n < a->adv_voice_coef_length) ? adv_voice_write_coefs() 13205 a->adv_voice_coef_buffer[ADV_VOICE_NEW_COEF_BASE + sizeof(word) + n] : 0x00; adv_voice_write_coefs() 13232 word i, j; adv_voice_clear_config() 13299 static word adv_voice_save_config(dword Id, PLCI *plci, byte Rc) adv_voice_save_config() 13309 static word adv_voice_restore_config(dword Id, PLCI *plci, byte Rc) adv_voice_restore_config() 13312 word Info; adv_voice_restore_config() 13399 static word get_b1_facilities(PLCI *plci, byte b1_resource) get_b1_facilities() 13401 word b1_facilities; get_b1_facilities() 13431 static byte add_b1_facilities(PLCI *plci, byte b1_resource, word b1_facilities) add_b1_facilities() 13536 static void adjust_b1_facilities(PLCI *plci, byte new_b1_resource, word new_b1_facilities) adjust_b1_facilities() 13538 word removed_facilities; adjust_b1_facilities() 13581 static word adjust_b_process(dword Id, PLCI *plci, byte Rc) adjust_b_process() 13583 word Info; adjust_b_process() 13738 (word)((plci->adjust_b_mode & ADJUST_B_MODE_NO_RESOURCE) ? 2 : 0), adjust_b_process() 13933 static void adjust_b1_resource(dword Id, PLCI *plci, API_SAVE *bp_msg, word b1_facilities, word internal_command) adjust_b1_resource() 13943 plci->adjust_b_ncci = (word)(Id >> 16); adjust_b1_resource() 13957 word internal_command; adjust_b_restore() 13983 plci->adjust_b_ncci = (word)(Id >> 16); adjust_b_restore() 14003 word Info; reset_b3_command() 14004 word internal_command; reset_b3_command() 14019 plci->adjust_b_ncci = (word)(Id >> 16); reset_b3_command() 14043 word Info; select_b_command() 14044 word internal_command; select_b_command() 14063 plci->adjust_b_ncci = (word)(Id >> 16); select_b_command() 14102 word internal_command; fax_connect_ack_command() 14149 word internal_command; fax_edata_ack_command() 14187 word Info; fax_connect_info_command() 14188 word internal_command; fax_connect_info_command() 14238 word Info; fax_adjust_b23_command() 14239 word internal_command; fax_adjust_b23_command() 14254 plci->adjust_b_ncci = (word)(Id >> 16); fax_adjust_b23_command() 14286 word internal_command; fax_disconnect_command() 14329 word Info; rtp_connect_b3_req_command() 14330 word internal_command; rtp_connect_b3_req_command() 14382 word internal_command; rtp_connect_b3_res_command() 14434 word Info; hold_save_command() 14435 word internal_command; hold_save_command() 14452 plci->adjust_b_ncci = (word)(Id >> 16); hold_save_command() 14475 word Info; retrieve_restore_command() 14476 word internal_command; retrieve_restore_command() 14491 plci->adjust_b_ncci = (word)(Id >> 16); retrieve_restore_command() 14573 word i; channel_flow_control_remove() 14690 word NCCIcode; channel_can_xon() 14692 word Num; channel_can_xon() 14693 word i; channel_can_xon() 14701 NCCIcode = a->ch_ncci[ch] | (((word) a->Id) << 8); channel_can_xon() 14721 static word CPN_filter_ok(byte *cpn, DIVA_CAPI_ADAPTER *a, word offset) CPN_filter_ok() 14738 word i, j, k, busy, group_found; group_optimization() 14741 word appl_number_group_type[MAX_APPL]; group_optimization() 14852 word CapiRegister(word id) CapiRegister() 14854 word i, j, appls_found; CapiRegister() 14905 word i; VSwitchReqInd() 14911 4 word VSwitchcommand VSwitchReqInd() 14912 6 word returnerror VSwitchReqInd()
|
H A D | di_defs.h | 45 word length; /* length of data/parameter field */ 49 word command; /* command = 0x0100 */ 53 word command; /* command = 0x0300 */ 54 word dummy; /* not used */ 63 word command; /* command = 0x0600 */ 68 word PLength; 84 word RLength; /* length of current R-data */ 89 word user[2]; 97 word XOffset; /* offset in x-buffer */ 98 word ROffset; /* offset in r-buffer */ 103 word features;
|
H A D | di.c | 46 static byte isdn_rc(ADAPTER *, byte, byte, byte, word, dword, dword); 47 static byte isdn_ind(ADAPTER *, byte, byte, byte, PBUFFER *, byte, word); 59 static void xdi_xlog(byte *msg, word code, int length); 83 word length; pr_out() 84 word i; pr_out() 85 word clength; pr_out() 136 clength = min((word)(270 - length), (word)(X[i].PLength-this->XOffset)); pr_out() 360 word Ref, isdn_rc() 366 word i; isdn_rc() 564 word MLength) isdn_ind() 567 word clength; isdn_ind() 568 word offset; isdn_ind() 614 this->RLength = MLength = (word)*(dword *)cma; isdn_ind() 619 this->RLength = MLength = (word)diva_istream_read(a, isdn_ind() 625 IoAdapter->RBuffer.length = min(MLength, (word)270); isdn_ind() 679 clength = min(MLength, (word)(R[this->RCurrent].PLength-this->ROffset)); isdn_ind() 728 static void xdi_xlog(byte *msg, word code, int length) { xdi_xlog() 760 word LogInfo[4]; xdi_xlog_rc_event() 761 PUT_WORD(&LogInfo[0], ((word)Adapter | (word)(xdi_xlog_sec++ << 8))); xdi_xlog_rc_event() 762 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); xdi_xlog_rc_event() 763 PUT_WORD(&LogInfo[2], ((word)Rc | (word)(type << 8))); xdi_xlog_rc_event() 784 word LogInfo[3]; xdi_xlog_request() 785 PUT_WORD(&LogInfo[0], ((word)Adapter | (word)(xdi_xlog_sec++ << 8))); xdi_xlog_request() 786 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); xdi_xlog_request() 787 PUT_WORD(&LogInfo[2], ((word)Req | (word)(type << 8))); xdi_xlog_request() 828 word LogInfo[4]; xdi_xlog_ind() 829 PUT_WORD(&LogInfo[0], ((word)Adapter | (word)(xdi_xlog_sec++ << 8))); xdi_xlog_ind() 830 PUT_WORD(&LogInfo[1], ((word)Id | (word)(Ch << 8))); xdi_xlog_ind() 831 PUT_WORD(&LogInfo[2], ((word)Ind | (word)(type << 8))); xdi_xlog_ind() 832 PUT_WORD(&LogInfo[3], ((word)rnr | (word)(rnr_valid << 8))); xdi_xlog_ind()
|
H A D | io.c | 90 word *Xlog = xlogDesc->buf; dump_xlog_buffer() 91 word logCnt = xlogDesc->cnt; dump_xlog_buffer() 92 word logOut = xlogDesc->out / sizeof(*Xlog); dump_xlog_buffer() 595 word mem_inw(ADAPTER *a, void *addr) mem_inw() 597 word val; mem_inw() 612 void mem_in_buffer(ADAPTER *a, void *addr, void *buffer, word length) mem_in_buffer() 632 void mem_outw(ADAPTER *a, void *addr, word data) mem_outw() 648 void mem_out_buffer(ADAPTER *a, void *addr, void *buffer, word length) mem_out_buffer() 668 outppw(Port + 4, (word)(unsigned long)adr); io_in() 673 word io_inw(ADAPTER *a, void *adr) io_inw() 675 word val; io_inw() 677 outppw(Port + 4, (word)(unsigned long)adr); io_inw() 682 void io_in_buffer(ADAPTER *a, void *adr, void *buffer, word len) io_in_buffer() 687 outppw(Port + 4, (word)(unsigned long)adr); io_in_buffer() 697 outppw(Port + 4, (word)(unsigned long)adr); io_in_buffer() 704 outppw(Port + 4, (word)(unsigned long)RBuffer); io_look_ahead() 713 outppw(Port + 4, (word)(unsigned long)adr); io_out() 717 void io_outw(ADAPTER *a, void *adr, word data) io_outw() 720 outppw(Port + 4, (word)(unsigned long)adr); io_outw() 724 void io_out_buffer(ADAPTER *a, void *adr, void *buffer, word len) io_out_buffer() 729 outppw(Port + 4, (word)(unsigned long)adr); io_out_buffer() 739 outppw(Port + 4, (word)(unsigned long)adr); io_out_buffer() 747 outppw(Port + 4, (word)(unsigned long)adr); io_inc() 749 outppw(Port + 4, (word)(unsigned long)adr); io_inc() 766 void assign_queue(ADAPTER *a, byte e_no, word ref) assign_queue() 777 byte get_assign(ADAPTER *a, word ref) get_assign()
|
H A D | mdm_msg.h | 34 <word> time of DCD off (sampled from counter at 8kHz) 36 <word> time of DCD on (sampled from counter at 8kHz) 38 <word> connected options 40 <word> roundtrip delay (ms) 141 <word> information field length 146 <word> XID length (not used, default 0) 184 <word> packet length 191 <word> modem min TX speed 192 <word> modem max TX speed 193 <word> modem min RX speed 194 <word> modem max RX speed 199 <word> modem private debug config
|
/linux-4.1.27/arch/sh/drivers/pci/ |
H A D | pci-sh7751.c | 25 unsigned long word; __area_sdram_check() local 27 word = __raw_readl(SH7751_BCR1); __area_sdram_check() 29 if (((word >> area) & 1) == 0) { __area_sdram_check() 31 area, word); __area_sdram_check() 34 pci_write_reg(chan, word, SH4_PCIBCR1); __area_sdram_check() 36 word = __raw_readw(SH7751_BCR2); __area_sdram_check() 38 if (((word >> (area << 1)) & 0x3) != 0x3) { __area_sdram_check() 40 area, word); __area_sdram_check() 43 pci_write_reg(chan, word, SH4_PCIBCR2); __area_sdram_check() 82 u32 word, reg; sh7751_pci_init() local 104 word = SH4_PCIPINT_D3 | SH4_PCIPINT_D0; sh7751_pci_init() 105 pci_write_reg(chan, word, SH4_PCIPINT); sh7751_pci_init() 111 word = SH7751_PCICONF1_WCC | SH7751_PCICONF1_PER | sh7751_pci_init() 113 pci_write_reg(chan, word, SH7751_PCICONF1); sh7751_pci_init() 116 word = PCI_BASE_CLASS_BRIDGE << 24; sh7751_pci_init() 117 pci_write_reg(chan, word, SH7751_PCICONF2); sh7751_pci_init() 122 word = sh7751_pci_map.window0.size - 1; sh7751_pci_init() 123 pci_write_reg(chan, word, SH4_PCILSR0); sh7751_pci_init() 125 word = P2SEGADDR(sh7751_pci_map.window0.base); sh7751_pci_init() 126 pci_write_reg(chan, word, SH4_PCILAR0); sh7751_pci_init() 127 pci_write_reg(chan, word, SH7751_PCICONF5); sh7751_pci_init() 132 word = chan->resources[1].start & SH4_PCIMBR_MASK; sh7751_pci_init() 133 pr_debug("PCI: Setting upper bits of Memory window to 0x%x\n", word); sh7751_pci_init() 134 pci_write_reg(chan, word , SH4_PCIMBR); sh7751_pci_init() 138 word = chan->resources[0].start & SH4_PCIIOBR_MASK; sh7751_pci_init() 139 pr_debug("PCI: Setting upper bits of IO window to 0x%x\n", word); sh7751_pci_init() 140 pci_write_reg(chan, word, SH4_PCIIOBR); sh7751_pci_init() 146 case SH7751_CS0_BASE_ADDR: word = __area_sdram_check(chan, 0); break; sh7751_pci_init() 147 case SH7751_CS1_BASE_ADDR: word = __area_sdram_check(chan, 1); break; sh7751_pci_init() 148 case SH7751_CS2_BASE_ADDR: word = __area_sdram_check(chan, 2); break; sh7751_pci_init() 149 case SH7751_CS3_BASE_ADDR: word = __area_sdram_check(chan, 3); break; sh7751_pci_init() 150 case SH7751_CS4_BASE_ADDR: word = __area_sdram_check(chan, 4); break; sh7751_pci_init() 151 case SH7751_CS5_BASE_ADDR: word = __area_sdram_check(chan, 5); break; sh7751_pci_init() 152 case SH7751_CS6_BASE_ADDR: word = __area_sdram_check(chan, 6); break; sh7751_pci_init() 155 if (!word) sh7751_pci_init() 159 word = __raw_readl(SH7751_WCR1); sh7751_pci_init() 160 pci_write_reg(chan, word, SH4_PCIWCR1); sh7751_pci_init() 161 word = __raw_readl(SH7751_WCR2); sh7751_pci_init() 162 pci_write_reg(chan, word, SH4_PCIWCR2); sh7751_pci_init() 163 word = __raw_readl(SH7751_WCR3); sh7751_pci_init() 164 pci_write_reg(chan, word, SH4_PCIWCR3); sh7751_pci_init() 165 word = __raw_readl(SH7751_MCR); sh7751_pci_init() 166 pci_write_reg(chan, word, SH4_PCIMCR); sh7751_pci_init() 177 word = SH4_PCICR_PREFIX | SH4_PCICR_CFIN | SH4_PCICR_ARBM; sh7751_pci_init() 178 pci_write_reg(chan, word, SH4_PCICR); sh7751_pci_init()
|
/linux-4.1.27/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 110 unsigned long word; csum_partial_cfu_aligned() local 111 err |= __get_user(word, src); csum_partial_cfu_aligned() 114 checksum += word; csum_partial_cfu_aligned() 116 carry = checksum < word; csum_partial_cfu_aligned() 117 *dst = word; csum_partial_cfu_aligned() 123 unsigned long word, tmp; csum_partial_cfu_aligned() local 124 err |= __get_user(word, src); csum_partial_cfu_aligned() 126 mskql(word, len, word); csum_partial_cfu_aligned() 127 checksum += word; csum_partial_cfu_aligned() 129 carry = checksum < word; csum_partial_cfu_aligned() 130 *dst = word | tmp; csum_partial_cfu_aligned() 149 unsigned long word, carry; csum_partial_cfu_dest_aligned() local 159 extql(first, soff, word); csum_partial_cfu_dest_aligned() 164 word |= first; csum_partial_cfu_dest_aligned() 166 checksum += word; csum_partial_cfu_dest_aligned() 167 *dst = word; csum_partial_cfu_dest_aligned() 169 carry = checksum < word; csum_partial_cfu_dest_aligned() 178 extql(first, soff, word); csum_partial_cfu_dest_aligned() 180 word |= first; csum_partial_cfu_dest_aligned() 181 mskql(word, len, word); csum_partial_cfu_dest_aligned() 182 checksum += word; csum_partial_cfu_dest_aligned() 184 carry = checksum < word; csum_partial_cfu_dest_aligned() 185 *dst = word | tmp; csum_partial_cfu_dest_aligned() 204 unsigned long word; csum_partial_cfu_src_aligned() local 210 err |= __get_user(word, src); csum_partial_cfu_src_aligned() 212 insql(word, doff, second_dest); csum_partial_cfu_src_aligned() 216 checksum += word; csum_partial_cfu_src_aligned() 217 insqh(word, doff, partial_dest); csum_partial_cfu_src_aligned() 218 carry = checksum < word; csum_partial_cfu_src_aligned() 224 err |= __get_user(word, src); csum_partial_cfu_src_aligned() 225 mskql(word, len, word); csum_partial_cfu_src_aligned() 227 checksum += word; csum_partial_cfu_src_aligned() 228 insql(word, doff, second_dest); csum_partial_cfu_src_aligned() 230 carry = checksum < word; csum_partial_cfu_src_aligned() 236 insqh(word, doff, partial_dest); csum_partial_cfu_src_aligned() 270 unsigned long second, word; csum_partial_cfu_unaligned() local 274 extql(first, soff, word); csum_partial_cfu_unaligned() 279 word |= first; csum_partial_cfu_unaligned() 281 insql(word, doff, second_dest); csum_partial_cfu_unaligned() 282 checksum += word; csum_partial_cfu_unaligned() 284 carry = checksum < word; csum_partial_cfu_unaligned() 285 insqh(word, doff, partial_dest); csum_partial_cfu_unaligned() 291 unsigned long second, word; csum_partial_cfu_unaligned() local 295 extql(first, soff, word); csum_partial_cfu_unaligned() 297 word |= first; csum_partial_cfu_unaligned() 299 mskql(word, len-doff, word); csum_partial_cfu_unaligned() 300 checksum += word; csum_partial_cfu_unaligned() 301 insql(word, doff, second_dest); csum_partial_cfu_unaligned() 302 carry = checksum < word; csum_partial_cfu_unaligned() 306 insqh(word, doff, partial_dest); csum_partial_cfu_unaligned() 312 unsigned long second, word; csum_partial_cfu_unaligned() local 316 extql(first, soff, word); csum_partial_cfu_unaligned() 318 word |= first; csum_partial_cfu_unaligned() 320 mskql(word, len-doff, word); csum_partial_cfu_unaligned() 321 checksum += word; csum_partial_cfu_unaligned() 323 carry = checksum < word; csum_partial_cfu_unaligned() 324 insql(word, doff, word); csum_partial_cfu_unaligned() 325 stq_u(partial_dest | word | second_dest, dst); csum_partial_cfu_unaligned()
|
H A D | stxncpy.S | 21 * t0 = last word written 25 * a0 = unaligned address of the last *word* written 50 t0 == the first destination word for masking back in 51 t1 == the first source word. */ 53 /* Create the 1st output word and detect 0's in the 1st input word. */ 55 mskqh t2, a1, t2 # e0 : detection in the src word 58 mskql t0, a1, t0 # e0 : assemble the first output word 65 t0 == a source word not containing a null. */ 77 /* Take care of the final (partial) word store. At this point 81 t0 == the source word containing the null 88 /* For the sake of the cache, don't read a destination word 93 /* We're doing a partial word store and so need to combine 132 /* We are co-aligned; take care of a partial first word. */ 134 ldq_u t1, 0(a1) # e0 : load first src word 137 beq t0, stxncpy_aligned # avoid loading dest word if not needed 149 full source word. We can still find a zero at the end of it 153 t0 == the first dest word, unmasked 154 t1 == the shifted low bits of the first source word 155 t6 == bytemask that is -1 in dest word bytes */ 157 ldq_u t2, 8(a1) # e0 : load second src word 161 or t1, t4, t1 # e1 : first aligned src word complete 163 or t0, t1, t0 # e0 : first output word complete 172 stq_u t0, 0(a0) # e0 : store first output word 182 extql t2, a1, t1 # e0 : position hi-bits of lo word 184 ldq_u t2, 8(a1) # e0 : read next high-order source word 186 extqh t2, a1, t0 # e0 : position lo-bits of hi word (stall) 199 t0 == the shifted low-order bits from the current source word 200 t1 == the shifted high-order bits from the previous source word 201 t2 == the unshifted current source word 207 or t0, t1, t0 # e0 : current dst word now complete 208 subq a2, 1, a2 # .. e1 : decrement word count 209 stq_u t0, 0(a0) # e0 : save the current word 213 ldq_u t2, 8(a1) # e0 : load high word for next time 216 cmpbge zero, t2, t8 # e1 : test new word for eos (stall) 217 extqh t2, a1, t0 # e0 : extract low bits for current word 220 /* We've found a zero somewhere in the source word we just read. 222 word to write out, and if it resides in the upper half, we 223 have one full and one partial word left to write out. 226 t0 == the shifted low-order bits from the current source word 227 t1 == the shifted high-order bits from the previous source word 228 t2 == the unshifted current source word. */ 230 or t0, t1, t0 # e0 : first (partial) source word complete 246 /* Take care of a final (probably partial) result word. 248 t0 == assembled source word 254 and t12, 0x80, t6 # e0 : avoid dest word load if we can 269 t1 == the shifted high-order bits from the previous source word */ 276 ldq_u t2, 8(a1) # e0 : load final src word 278 extqh t2, a1, t0 # e0 : extract low bits for last word 284 $u_eocfin: # end-of-count, final word 292 ldq_u t1, 0(a1) # e0 : load first source word 297 /* Conditionally load the first destination word and a bytemask 318 andnot t2, t6, t2 # e0 : dest mask for a single word copy 325 /* At this point we've found a zero in the first partial word of 328 that we'll need at least one byte of that original dest word.) */ 337 zapnot t2, t8, t2 # e0 : prepare source word; mirror changes
|
H A D | ev6-stxncpy.S | 21 * t0 = last word written 25 * a0 = unaligned address of the last *word* written 61 t0 == the first destination word for masking back in 62 t1 == the first source word. */ 64 /* Create the 1st output word and detect 0's in the 1st input word. */ 66 mskqh t2, a1, t2 # U : detection in the src word (stall) 70 mskql t0, a1, t0 # U : assemble the first output word 81 t0 == a source word not containing a null. */ 104 /* Take care of the final (partial) word store. At this point 108 t0 == the source word containing the null 114 /* For the sake of the cache, don't read a destination word 119 /* We're doing a partial word store and so need to combine 165 /* We are co-aligned; take care of a partial first word. */ 166 ldq_u t1, 0(a1) # L : load first src word 169 beq t0, stxncpy_aligned # U : avoid loading dest word if not needed 188 full source word. We can still find a zero at the end of it 192 t0 == the first dest word, unmasked 193 t1 == the shifted low bits of the first source word 194 t6 == bytemask that is -1 in dest word bytes */ 196 ldq_u t2, 8(a1) # L : Latency=3 load second src word 201 or t1, t4, t1 # E : first aligned src word complete (stall) 203 or t0, t1, t0 # E : first output word complete (stall) 213 stq_u t0, 0(a0) # L : store first output word 223 extql t2, a1, t1 # U : position hi-bits of lo word 225 ldq_u t2, 8(a1) # L : read next high-order source word 228 extqh t2, a1, t0 # U : position lo-bits of hi word (stall) 241 t0 == the shifted low-order bits from the current source word 242 t1 == the shifted high-order bits from the previous source word 243 t2 == the unshifted current source word 249 or t0, t1, t0 # E : current dst word now complete 250 subq a2, 1, a2 # E : decrement word count 254 stq_u t0, -8(a0) # U : save the current word 256 ldq_u t2, 8(a1) # U : Latency=3 load high word for next time 260 cmpbge zero, t2, t8 # E : test new word for eos 264 /* We've found a zero somewhere in the source word we just read. 266 word to write out, and if it resides in the upper half, we 267 have one full and one partial word left to write out. 270 t0 == the shifted low-order bits from the current source word 271 t1 == the shifted high-order bits from the previous source word 272 t2 == the unshifted current source word. */ 274 or t0, t1, t0 # E : first (partial) source word complete 290 /* Take care of a final (probably partial) result word. 292 t0 == assembled source word 297 and t12, 0x80, t6 # E : avoid dest word load if we can (stall) 315 t1 == the shifted high-order bits from the previous source word */ 322 ldq_u t2, 8(a1) # L : load final src word 324 extqh t2, a1, t0 # U : extract low bits for last word (stall) 330 $u_eocfin: # end-of-count, final word 338 ldq_u t1, 0(a1) # L : load first source word 341 /* Conditionally load the first destination word and a bytemask 365 andnot t2, t6, t2 # E : dest mask for a single word copy 374 /* At this point we've found a zero in the first partial word of 377 that we'll need at least one byte of that original dest word.) */ 385 zapnot t2, t8, t2 # U : prepare source word; mirror changes (stall)
|
H A D | ev6-stxcpy.S | 18 * a0 = unaligned address of the last *word* written 53 t0 == the first destination word for masking back in 54 t1 == the first source word. */ 56 /* Create the 1st output word and detect 0's in the 1st input word. */ 58 mskqh t2, a1, t2 # U : detection in the src word (stall) 62 mskql t0, a1, t0 # U : assemble the first output word 68 t0 == the first destination word for masking back in 69 t1 == a source word not containing a null. */ 83 /* Take care of the final (partial) word store. 85 t1 == the source word containing the null 90 /* For the sake of the cache, don't read a destination word 95 /* We're doing a partial word store and so need to combine 127 /* We are co-aligned; take care of a partial first word. */ 128 ldq_u t1, 0(a1) # L : load first src word 129 and a0, 7, t0 # E : take care not to load a word ... 146 full source word. We can still find a zero at the end of it 150 t0 == the first dest word, for masking back in, if needed else 0 151 t1 == the low bits of the first source word 152 t6 == bytemask that is -1 in dest word bytes */ 177 stq_u t1, 0(a0) # L : store first output word 179 extql t2, a1, t0 # U : position ho-bits of lo word 180 ldq_u t2, 8(a1) # U : read next high-order source word 195 t0 == the shifted high-order bits from the previous source word 196 t2 == the unshifted current source word 202 extqh t2, a1, t1 # U : extract high bits for current word 207 or t0, t1, t1 # E : current dst word now complete 208 ldq_u t2, 0(a1) # L : Latency=3 load high word for next time 209 stq_u t1, -8(a0) # L : save the current word (stall) 212 cmpbge zero, t2, t8 # E : test new word for eos 217 /* We've found a zero somewhere in the source word we just read. 219 word to write out, and if it resides in the upper half, we 220 have one full and one partial word left to write out. 223 t0 == the shifted high-order bits from the previous source word 224 t2 == the unshifted current source word. */ 227 or t0, t1, t1 # E : first (partial) source word complete (stall) 237 /* Take care of a final (probably partial) result word. 239 t1 == assembled source word 244 and t12, 0x80, t6 # E : avoid dest word load if we can (stall) 266 ldq_u t1, 0(a1) # L : load first source word 269 /* Conditionally load the first destination word and a bytemask 295 /* At this point we've found a zero in the first partial word of 298 that we'll need at least one byte of that original dest word.) */ 308 zapnot t2, t8, t2 # U : prepare source word; mirror changes (stall)
|
H A D | stxcpy.S | 18 * a0 = unaligned address of the last *word* written 42 t0 == the first destination word for masking back in 43 t1 == the first source word. */ 45 /* Create the 1st output word and detect 0's in the 1st input word. */ 47 mskqh t2, a1, t2 # e0 : detection in the src word 50 mskql t0, a1, t0 # e0 : assemble the first output word 56 t0 == the first destination word for masking back in 57 t1 == a source word not containing a null. */ 67 /* Take care of the final (partial) word store. 69 t1 == the source word containing the null 75 /* For the sake of the cache, don't read a destination word 80 /* We're doing a partial word store and so need to combine 107 /* We are co-aligned; take care of a partial first word. */ 108 ldq_u t1, 0(a1) # e0 : load first src word 109 and a0, 7, t0 # .. e1 : take care not to load a word ... 123 full source word. We can still find a zero at the end of it 127 t0 == the first dest word, for masking back in, if needed else 0 128 t1 == the low bits of the first source word 129 t6 == bytemask that is -1 in dest word bytes */ 154 stq_u t1, 0(a0) # e0 : store first output word 156 extql t2, a1, t0 # e0 : position ho-bits of lo word 157 ldq_u t2, 8(a1) # .. e1 : read next high-order source word 171 t0 == the shifted high-order bits from the previous source word 172 t2 == the unshifted current source word 178 extqh t2, a1, t1 # e0 : extract high bits for current word 182 or t0, t1, t1 # e0 : current dst word now complete 183 ldq_u t2, 0(a1) # .. e1 : load high word for next time 184 stq_u t1, -8(a0) # e0 : save the current word 186 cmpbge zero, t2, t8 # e0 : test new word for eos 189 /* We've found a zero somewhere in the source word we just read. 191 word to write out, and if it resides in the upper half, we 192 have one full and one partial word left to write out. 195 t0 == the shifted high-order bits from the previous source word 196 t2 == the unshifted current source word. */ 199 or t0, t1, t1 # e1 : first (partial) source word complete 210 /* Take care of a final (probably partial) result word. 212 t1 == assembled source word 218 and t12, 0x80, t6 # e0 : avoid dest word load if we can 235 ldq_u t1, 0(a1) # e0 : load first source word 240 /* Conditionally load the first destination word and a bytemask 265 /* At this point we've found a zero in the first partial word of 268 that we'll need at least one byte of that original dest word.) */ 279 zapnot t2, t8, t2 # .. e1 : prepare source word; mirror changes
|
H A D | csum_ipv6_magic.S | 43 or $0,$21,$0 # .. e1 : 1st src word complete 50 or $1,$22,$1 # .. e1 : 2nd src word complete 58 or $2,$23,$2 # .. e1 : 1st dst word complete 63 or $3,$24,$3 # .. e1 : 2nd dst word complete
|
H A D | strncpy.S | 46 subq $27, 1, $2 # clear the final bits in the prev word 61 stq_u $31, 0($16) # zero one word 72 1: ldq_u $1, 0($16) # clear the leading bits in the final word
|
H A D | clear_user.S | 49 0: EX( stq_u $31, 0($6) ) # e0 : zero one word 90 EX( ldq_u $5, 0($6) ) # e0 : load dst word to mask back in 91 beq $1, $oneword # .. e1 : sub-word store?
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | unaligned.h | 8 * be word-aligned. 10 * However, swapped word loads must be word-aligned so we can't 11 * optimize word loads in general.
|
H A D | bitops.h | 27 * restricted to acting on a single-word quantity. 104 * restricted to acting on a single-word quantity. 234 static inline unsigned long __ffs(unsigned long word) __ffs() argument 240 : "=r"(result), "=&r"(word) __ffs() 241 : "1"(word)); __ffs() 246 static inline unsigned long ffz(unsigned long word) ffz() argument 248 return __ffs(~word); ffz() 252 static inline int fls(unsigned long word) fls() argument 256 asm("clz %0,%1" : "=r"(result) : "r"(word)); fls() 260 static inline int __fls(unsigned long word) __fls() argument 262 return fls(word) - 1; __fls() 291 static inline int ffs(unsigned long word) ffs() argument 293 if(word == 0) ffs() 295 return __ffs(word) + 1; ffs()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | bitops.h | 27 static inline unsigned long ffz(unsigned long word) ffz() argument 35 : "=r" (result), "=r" (word) ffz() 36 : "0" (~0L), "1" (word) ffz() 42 * __ffs - find first bit in word. 43 * @word: The word to search 47 static inline unsigned long __ffs(unsigned long word) __ffs() argument 55 : "=r" (result), "=r" (word) __ffs() 56 : "0" (~0L), "1" (word) __ffs() 61 static inline unsigned long ffz(unsigned long word) ffz() argument 77 : "=r" (result), "=r" (word), "=r" (__d2), "=r" (__d3) ffz() 78 : "0" (0L), "1" (word)); ffz()
|
H A D | romimage-macros.h | 8 /* The ED command is used to write a 32-bit word */ 21 /* The EW command is used to write a 16-bit word */ 34 /* The EB command is used to write an 8-bit word */ 62 /* The DD command is used to read a 32-bit word */
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 3 * simple SPI master driver. Two do polled word-at-a-time I/O: 6 * expanding the per-word routines from the inline templates below. 48 u32 word, u8 bits) bitbang_txrx_be_cpha0() 52 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; bitbang_txrx_be_cpha0() 54 for (word <<= (32 - bits); likely(bits); bits--) { bitbang_txrx_be_cpha0() 58 if ((word & (1 << 31)) != oldbit) { bitbang_txrx_be_cpha0() 59 setmosi(spi, word & (1 << 31)); bitbang_txrx_be_cpha0() 60 oldbit = word & (1 << 31); bitbang_txrx_be_cpha0() 69 word <<= 1; bitbang_txrx_be_cpha0() 71 word |= getmiso(spi); bitbang_txrx_be_cpha0() 74 return word; bitbang_txrx_be_cpha0() 80 u32 word, u8 bits) bitbang_txrx_be_cpha1() 84 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; bitbang_txrx_be_cpha1() 86 for (word <<= (32 - bits); likely(bits); bits--) { bitbang_txrx_be_cpha1() 91 if ((word & (1 << 31)) != oldbit) { bitbang_txrx_be_cpha1() 92 setmosi(spi, word & (1 << 31)); bitbang_txrx_be_cpha1() 93 oldbit = word & (1 << 31); bitbang_txrx_be_cpha1() 102 word <<= 1; bitbang_txrx_be_cpha1() 104 word |= getmiso(spi); bitbang_txrx_be_cpha1() 106 return word; bitbang_txrx_be_cpha1() 46 bitbang_txrx_be_cpha0(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) bitbang_txrx_be_cpha0() argument 78 bitbang_txrx_be_cpha1(struct spi_device *spi, unsigned nsecs, unsigned cpol, unsigned flags, u32 word, u8 bits) bitbang_txrx_be_cpha1() argument
|
H A D | spi-s3c24xx-fiq.S | 35 @ each entry starts with a word entry of how long it is 36 @ and an offset to the irq acknowledgment word 40 .word fiq_rx_end - fiq_rx_start 41 .word fiq_rx_irq_ack - fiq_rx_start 61 .word 0 66 .word fiq_txrx_end - fiq_txrx_start 67 .word fiq_txrx_irq_ack - fiq_txrx_start 87 .word 0 93 .word fiq_tx_end - fiq_tx_start 94 .word fiq_tx_irq_ack - fiq_tx_start 112 .word 0
|
H A D | spi-bitbang.c | 31 * FIRST PART (OPTIONAL): word-at-a-time spi_transfer support. 50 u32 word, u8 bits); 55 u32 word, u8 bits), 63 u32 word, u8 bits), bitbang_txrx_8() 73 u8 word = 0; bitbang_txrx_8() local 76 word = *tx++; bitbang_txrx_8() 77 word = txrx_word(spi, ns, word, bits); bitbang_txrx_8() 79 *rx++ = word; bitbang_txrx_8() 89 u32 word, u8 bits), bitbang_txrx_16() 99 u16 word = 0; bitbang_txrx_16() local 102 word = *tx++; bitbang_txrx_16() 103 word = txrx_word(spi, ns, word, bits); bitbang_txrx_16() 105 *rx++ = word; bitbang_txrx_16() 115 u32 word, u8 bits), bitbang_txrx_32() 125 u32 word = 0; bitbang_txrx_32() local 128 word = *tx++; bitbang_txrx_32() 129 word = txrx_word(spi, ns, word, bits); bitbang_txrx_32() 131 *rx++ = word; bitbang_txrx_32() 151 /* spi_transfer level calls that work per-word */ spi_bitbang_setup_transfer() 177 * spi_bitbang_setup - default setup for per-word I/O loops 194 /* per-word shift register access, in hardware or bitbanging */ spi_bitbang_setup() 225 * spi_bitbang_cleanup - default cleanup for per-word I/O loops 251 * Drivers can provide word-at-a-time i/o primitives, or provide 283 * word-at-a-time bitbang code, and presumably chipselect() spi_bitbang_transfer_one() 404 * For i/o loops, provide callbacks either per-word (for bitbanging, or for 408 * Drivers using per-word I/O loops should use (or call) spi_bitbang_setup, 59 bitbang_txrx_8( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_8() argument 85 bitbang_txrx_16( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_16() argument 111 bitbang_txrx_32( struct spi_device *spi, u32 (*txrx_word)(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits), unsigned ns, struct spi_transfer *t ) bitbang_txrx_32() argument
|
H A D | spi-sh-sci.c | 83 unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode0() 85 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); sh_sci_spi_txrx_mode0() 89 unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode1() 91 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); sh_sci_spi_txrx_mode1() 95 unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode2() 97 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); sh_sci_spi_txrx_mode2() 101 unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode3() 103 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); sh_sci_spi_txrx_mode3() 82 sh_sci_spi_txrx_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode0() argument 88 sh_sci_spi_txrx_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode1() argument 94 sh_sci_spi_txrx_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode2() argument 100 sh_sci_spi_txrx_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) sh_sci_spi_txrx_mode3() argument
|
H A D | spi-st-ssc4.c | 101 uint32_t word = 0; ssc_write_tx_fifo() local 111 word = *spi_st->tx_ptr++; ssc_write_tx_fifo() 113 word = *spi_st->tx_ptr++; ssc_write_tx_fifo() 114 word = *spi_st->tx_ptr++ | (word << 8); ssc_write_tx_fifo() 117 writel_relaxed(word, spi_st->base + SSC_TBUF); ssc_write_tx_fifo() 125 uint32_t word = 0; ssc_read_rx_fifo() local 133 word = readl_relaxed(spi_st->base + SSC_RBUF); ssc_read_rx_fifo() 137 *spi_st->rx_ptr++ = (uint8_t)word; ssc_read_rx_fifo() 139 *spi_st->rx_ptr++ = (word >> 8); ssc_read_rx_fifo() 140 *spi_st->rx_ptr++ = word & 0xff; ssc_read_rx_fifo() 159 * Anything greater than 8 bits-per-word requires 2 spi_st_transfer_one() 160 * bytes-per-word in the RX/TX buffers spi_st_transfer_one() 167 * If transfer is even-length, and 8 bits-per-word, then spi_st_transfer_one() 168 * implement as half-length 16 bits-per-word transfer spi_st_transfer_one() 173 /* Set SSC_CTL to 16 bits-per-word */ spi_st_transfer_one()
|
H A D | spi-gpio.c | 141 * count). That is particularly visible for larger word sizes, but helps 144 * REVISIT overheads calling these functions for each word also have 153 unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode0() 155 return bitbang_txrx_be_cpha0(spi, nsecs, 0, 0, word, bits); spi_gpio_txrx_word_mode0() 159 unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode1() 161 return bitbang_txrx_be_cpha1(spi, nsecs, 0, 0, word, bits); spi_gpio_txrx_word_mode1() 165 unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode2() 167 return bitbang_txrx_be_cpha0(spi, nsecs, 1, 0, word, bits); spi_gpio_txrx_word_mode2() 171 unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode3() 173 return bitbang_txrx_be_cpha1(spi, nsecs, 1, 0, word, bits); spi_gpio_txrx_word_mode3() 187 unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode0() 190 return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits); spi_gpio_spec_txrx_word_mode0() 194 unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode1() 197 return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits); spi_gpio_spec_txrx_word_mode1() 201 unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode2() 204 return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits); spi_gpio_spec_txrx_word_mode2() 208 unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode3() 211 return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits); spi_gpio_spec_txrx_word_mode3() 152 spi_gpio_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode0() argument 158 spi_gpio_txrx_word_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode1() argument 164 spi_gpio_txrx_word_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode2() argument 170 spi_gpio_txrx_word_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_txrx_word_mode3() argument 186 spi_gpio_spec_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode0() argument 193 spi_gpio_spec_txrx_word_mode1(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode1() argument 200 spi_gpio_spec_txrx_word_mode2(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode2() argument 207 spi_gpio_spec_txrx_word_mode3(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits) spi_gpio_spec_txrx_word_mode3() argument
|
/linux-4.1.27/include/linux/ |
H A D | bitops.h | 85 * @word: value to rotate 88 static inline __u64 rol64(__u64 word, unsigned int shift) rol64() argument 90 return (word << shift) | (word >> (64 - shift)); rol64() 95 * @word: value to rotate 98 static inline __u64 ror64(__u64 word, unsigned int shift) ror64() argument 100 return (word >> shift) | (word << (64 - shift)); ror64() 105 * @word: value to rotate 108 static inline __u32 rol32(__u32 word, unsigned int shift) rol32() argument 110 return (word << shift) | (word >> (32 - shift)); rol32() 115 * @word: value to rotate 118 static inline __u32 ror32(__u32 word, unsigned int shift) ror32() argument 120 return (word >> shift) | (word << (32 - shift)); ror32() 125 * @word: value to rotate 128 static inline __u16 rol16(__u16 word, unsigned int shift) rol16() argument 130 return (word << shift) | (word >> (16 - shift)); rol16() 135 * @word: value to rotate 138 static inline __u16 ror16(__u16 word, unsigned int shift) ror16() argument 140 return (word >> shift) | (word << (16 - shift)); ror16() 145 * @word: value to rotate 148 static inline __u8 rol8(__u8 word, unsigned int shift) rol8() argument 150 return (word << shift) | (word >> (8 - shift)); rol8() 155 * @word: value to rotate 158 static inline __u8 ror8(__u8 word, unsigned int shift) ror8() argument 160 return (word >> shift) | (word << (8 - shift)); ror8() 182 * __ffs64 - find first set bit in a 64 bit word 183 * @word: The 64 bit word 186 * The result is not defined if no bits are set, so check that @word 189 static inline unsigned long __ffs64(u64 word) __ffs64() argument 192 if (((u32)word) == 0UL) __ffs64() 193 return __ffs((u32)(word >> 32)) + 32; __ffs64() 197 return __ffs((unsigned long)word); __ffs64()
|
/linux-4.1.27/arch/cris/arch-v32/mach-a3/ |
H A D | dram_init.S | 93 .word 0 95 .word regk_ddr2_pre_all 97 .word 0 99 .word 0 101 .word regk_ddr2_dll_en 103 .word regk_ddr2_dll_rst 105 .word regk_ddr2_pre_all 107 .word 0 109 .word 0 111 .word CONFIG_ETRAX_DDR2_MRS & 0xffff 113 .word regk_ddr2_ocd_default | regk_ddr2_dll_en 115 .word regk_ddr2_ocd_exit | regk_ddr2_dll_en | (CONFIG_ETRAX_DDR2_MRS >> 16)
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
H A D | bitops.h | 9 * zeroes of a bits-in-byte and byte-in-word and word-in-dword-swapped 40 * ffz = Find First Zero in word. Undefined if no zero exists, 49 * __ffs - find first bit in word. 50 * @word: The word to search 54 static inline unsigned long __ffs(unsigned long word) __ffs() argument 56 return cris_swapnwbrlz(~word); __ffs() 61 * @x: the word to search
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | bitops.h | 8 * Within a word, bits are numbered LSB first. Lot's of places make 10 * This can cause confusion for large (> 1 word) bitmaps on a 12 * bit depends on the word size. 320 * @word - The word to search 326 static inline unsigned char __flogr(unsigned long word) __flogr() argument 328 if (__builtin_constant_p(word)) { __flogr() 331 if (!word) __flogr() 333 if (!(word & 0xffffffff00000000UL)) { __flogr() 334 word <<= 32; __flogr() 337 if (!(word & 0xffff000000000000UL)) { __flogr() 338 word <<= 16; __flogr() 341 if (!(word & 0xff00000000000000UL)) { __flogr() 342 word <<= 8; __flogr() 345 if (!(word & 0xf000000000000000UL)) { __flogr() 346 word <<= 4; __flogr() 349 if (!(word & 0xc000000000000000UL)) { __flogr() 350 word <<= 2; __flogr() 353 if (!(word & 0x8000000000000000UL)) { __flogr() 354 word <<= 1; __flogr() 359 register unsigned long bit asm("4") = word; __flogr() 370 * __ffs - find first bit in word. 371 * @word: The word to search 375 static inline unsigned long __ffs(unsigned long word) __ffs() argument 377 return __flogr(-word & word) ^ (BITS_PER_LONG - 1); __ffs() 382 * @word: the word to search 387 static inline int ffs(int word) ffs() argument 390 unsigned int val = (unsigned int)word; ffs() 396 * __fls - find last (most-significant) set bit in a long word 397 * @word: the word to search 401 static inline unsigned long __fls(unsigned long word) __fls() argument 403 return __flogr(word) ^ (BITS_PER_LONG - 1); __fls() 407 * fls64 - find last set bit in a 64-bit word 408 * @word: the word to search 417 static inline int fls64(unsigned long word) fls64() argument 421 return (1 + (__flogr(word) ^ (BITS_PER_LONG - 1))) & mask; fls64() 426 * @word: the word to search 431 static inline int fls(int word) fls() argument 433 return fls64((unsigned int)word); fls()
|
H A D | cio.h | 18 * struct ccw1 - channel command word 59 * struct erw - extended report word 85 * struct erw_eadm - EADM Subchannel extended report word 127 * @erw: extended report word 143 * @erw: extended report word 159 * @erw: extended report word 175 * @erw: extended report word 189 * @erw: extended report word 201 * @scsw: subchannel status word 202 * @esw: extended status word 203 * @ecw: extended control word 227 * struct ciw - command information word (CIW) layout
|
H A D | switch_to.h | 99 " .word 0xe70f,0x1000,0x003e\n" /* vstm 0,15,0(1) */ save_vx_regs() 100 " .word 0xe70f,0x1100,0x0c3e\n" /* vstm 16,31,256(1) */ save_vx_regs() 123 " .word 0xe70f,0x1000,0x0036\n" /* vlm 0,15,0(1) */ restore_vx_regs() 124 " .word 0xe70f,0x1100,0x0c36\n" /* vlm 16,31,256(1) */ restore_vx_regs()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | extable.c | 22 * word 1: insn address search_extable() 23 * word 2: fixup code address search_extable() 26 * word 1: first insn address search_extable() 27 * word 2: 0 search_extable() 28 * word 3: last insn address + 4 bytes search_extable() 29 * word 4: fixup code address search_extable() 32 * word 1: unused search_extable() 33 * word 2: -1 search_extable()
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | alternative-asm.h | 7 .word \orig_offset - . 8 .word \alt_offset - .
|
H A D | alternative.h | 21 " .word 661b - .\n" /* label */ \ 22 " .word 663f - .\n" /* new instruction */ \
|
H A D | word-at-a-time.h | 53 #include <asm-generic/word-at-a-time.h> 57 * Load an unaligned word from kernel space. 59 * In the (very unlikely) case of the word being a page-crosser 67 /* Load word from unaligned pointer addr */ load_unaligned_zeropad()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-max7301.c | 26 u16 word = ((reg & 0x7F) << 8) | (val & 0xFF); max7301_spi_write() local 28 return spi_write(spi, (const u8 *)&word, sizeof(word)); max7301_spi_write() 36 u16 word; max7301_spi_read() local 39 word = 0x8000 | (reg << 8); max7301_spi_read() 40 ret = spi_write(spi, (const u8 *)&word, sizeof(word)); max7301_spi_read() 47 ret = spi_read(spi, (u8 *)&word, sizeof(word)); max7301_spi_read() 50 return word & 0xff; max7301_spi_read()
|
/linux-4.1.27/arch/nios2/kernel/ |
H A D | entry.S | 71 .word unhandled_exception /* 0 - Reset */ 72 .word unhandled_exception /* 1 - Processor-only Reset */ 73 .word external_interrupt /* 2 - Interrupt */ 74 .word handle_trap /* 3 - Trap Instruction */ 76 .word instruction_trap /* 4 - Unimplemented instruction */ 77 .word handle_illegal /* 5 - Illegal instruction */ 78 .word handle_unaligned /* 6 - Misaligned data access */ 79 .word handle_unaligned /* 7 - Misaligned destination address */ 81 .word handle_diverror /* 8 - Division error */ 82 .word protection_exception_ba /* 9 - Supervisor-only instr. address */ 83 .word protection_exception_instr /* 10 - Supervisor only instruction */ 84 .word protection_exception_ba /* 11 - Supervisor only data address */ 86 .word unhandled_exception /* 12 - Double TLB miss (data) */ 87 .word protection_exception_pte /* 13 - TLB permission violation (x) */ 88 .word protection_exception_pte /* 14 - TLB permission violation (r) */ 89 .word protection_exception_pte /* 15 - TLB permission violation (w) */ 91 .word unhandled_exception /* 16 - MPU region violation */ 94 .word handle_system_call /* 0 */ 95 .word handle_trap_1 /* 1 */ 96 .word handle_trap_2 /* 2 */ 97 .word handle_trap_3 /* 3 */ 98 .word handle_trap_reserved /* 4 */ 99 .word handle_trap_reserved /* 5 */ 100 .word handle_trap_reserved /* 6 */ 101 .word handle_trap_reserved /* 7 */ 102 .word handle_trap_reserved /* 8 */ 103 .word handle_trap_reserved /* 9 */ 104 .word handle_trap_reserved /* 10 */ 105 .word handle_trap_reserved /* 11 */ 106 .word handle_trap_reserved /* 12 */ 107 .word handle_trap_reserved /* 13 */ 108 .word handle_trap_reserved /* 14 */ 109 .word handle_trap_reserved /* 15 */ 110 .word handle_trap_reserved /* 16 */ 111 .word handle_trap_reserved /* 17 */ 112 .word handle_trap_reserved /* 18 */ 113 .word handle_trap_reserved /* 19 */ 114 .word handle_trap_reserved /* 20 */ 115 .word handle_trap_reserved /* 21 */ 116 .word handle_trap_reserved /* 22 */ 117 .word handle_trap_reserved /* 23 */ 118 .word handle_trap_reserved /* 24 */ 119 .word handle_trap_reserved /* 25 */ 120 .word handle_trap_reserved /* 26 */ 121 .word handle_trap_reserved /* 27 */ 122 .word handle_trap_reserved /* 28 */ 123 .word handle_trap_reserved /* 29 */ 125 .word handle_kgdb_breakpoint /* 30 KGDB breakpoint */ 127 .word instruction_trap /* 30 */ 129 .word handle_breakpoint /* 31 */ 524 .word 0xdeadbeef 533 .word ((__kuser_helper_end - __kuser_helper_start) >> 6)
|
H A D | module.c | 56 uint32_t word; apply_relocate_add() local 85 word = *loc; apply_relocate_add() 86 *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | apply_relocate_add() 87 (word & 0x3f); apply_relocate_add() 103 word = *loc; apply_relocate_add() 104 *loc = ((((word >> 22) << 16) | apply_relocate_add() 105 ((v >> 16) & 0xffff)) << 6) | (word & 0x3f); apply_relocate_add() 108 word = *loc; apply_relocate_add() 109 *loc = ((((word >> 22) << 16) | (v & 0xffff)) << 6) | apply_relocate_add() 110 (word & 0x3f); apply_relocate_add() 116 word = *loc; apply_relocate_add() 118 *loc = ((((word >> 22) << 16) | word2) << 6) | apply_relocate_add() 119 (word & 0x3f); apply_relocate_add()
|
/linux-4.1.27/firmware/av7110/ |
H A D | Boot.S | 46 .word tbl // table needed by firmware ROM 47 tbl: .word (endtbl - tbl) 48 .word 0 49 .word conf 50 endtbl: .word 0 51 conf: .word 0xa5a55a5a 52 .word 0x001f1555 53 .word 0x00000009 100 flag: .word 0x2c0003f8 105 buffer: .word 0x2c000400 107 sram: .word 0x9e000800 108 wait_address: .word wait 109 flag_address: .word flag
|
/linux-4.1.27/arch/mips/lasat/ |
H A D | ds1603.c | 100 static void rtc_write_word(unsigned long word) rtc_write_word() argument 105 rtc_write_databit(word & 1L); rtc_write_word() 106 word >>= 1; rtc_write_word() 113 unsigned long word = 0; rtc_read_word() local 117 word |= rtc_read_databit() << shift; rtc_read_word() 120 return word; rtc_read_word() 140 unsigned long word; read_persistent_clock() local 146 word = rtc_read_word(); read_persistent_clock() 150 ts->tv_sec = word; read_persistent_clock()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.c | 90 xfs_rtword_t *b; /* current word in buffer */ xfs_rtfind_back() 91 int bit; /* bit number in the word */ xfs_rtfind_back() 94 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtfind_back() 96 xfs_rtblock_t firstbit; /* first useful bit in the word */ xfs_rtfind_back() 102 int word; /* word number in the buffer */ xfs_rtfind_back() local 114 * Get the first word's index & point to it. xfs_rtfind_back() 116 word = XFS_BITTOWORD(mp, start); xfs_rtfind_back() 117 b = &bufp[word]; xfs_rtfind_back() 126 * If the starting position is not word-aligned, deal with the xfs_rtfind_back() 127 * partial word. xfs_rtfind_back() 132 * and mask for all the relevant bits in this word. xfs_rtfind_back() 152 * Go on to previous block if that's where the previous word is xfs_rtfind_back() 153 * and we need the previous word. xfs_rtfind_back() 155 if (--word == -1 && i < len) { xfs_rtfind_back() 165 word = XFS_BLOCKWMASK(mp); xfs_rtfind_back() 166 b = &bufp[word]; xfs_rtfind_back() 169 * Go on to the previous word in the buffer. xfs_rtfind_back() 175 * Starting on a word boundary, no partial word. xfs_rtfind_back() 198 * Go on to previous block if that's where the previous word is xfs_rtfind_back() 199 * and we need the previous word. xfs_rtfind_back() 201 if (--word == -1 && i < len) { xfs_rtfind_back() 211 word = XFS_BLOCKWMASK(mp); xfs_rtfind_back() 212 b = &bufp[word]; xfs_rtfind_back() 215 * Go on to the previous word in the buffer. xfs_rtfind_back() 221 * If not ending on a word boundary, deal with the last xfs_rtfind_back() 222 * (partial) word. xfs_rtfind_back() 227 * and mask for all the relevant bits in this word. xfs_rtfind_back() 265 xfs_rtword_t *b; /* current word in buffer */ xfs_rtfind_forw() 266 int bit; /* bit number in the word */ xfs_rtfind_forw() 269 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtfind_forw() 272 xfs_rtblock_t lastbit; /* last useful bit in the word */ xfs_rtfind_forw() 277 int word; /* word number in the buffer */ xfs_rtfind_forw() local 289 * Get the first word's index & point to it. xfs_rtfind_forw() 291 word = XFS_BITTOWORD(mp, start); xfs_rtfind_forw() 292 b = &bufp[word]; xfs_rtfind_forw() 301 * If the starting position is not word-aligned, deal with the xfs_rtfind_forw() 302 * partial word. xfs_rtfind_forw() 307 * and mask for all the relevant bits in this word. xfs_rtfind_forw() 326 * Go on to next block if that's where the next word is xfs_rtfind_forw() 327 * and we need the next word. xfs_rtfind_forw() 329 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtfind_forw() 339 word = 0; xfs_rtfind_forw() 342 * Go on to the previous word in the buffer. xfs_rtfind_forw() 348 * Starting on a word boundary, no partial word. xfs_rtfind_forw() 371 * Go on to next block if that's where the next word is xfs_rtfind_forw() 372 * and we need the next word. xfs_rtfind_forw() 374 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtfind_forw() 384 word = 0; xfs_rtfind_forw() 387 * Go on to the next word in the buffer. xfs_rtfind_forw() 393 * If not ending on a word boundary, deal with the last xfs_rtfind_forw() 394 * (partial) word. xfs_rtfind_forw() 398 * Calculate mask for all the relevant bits in this word. xfs_rtfind_forw() 522 xfs_rtword_t *b; /* current word in buffer */ xfs_rtmodify_range() 523 int bit; /* bit number in the word */ xfs_rtmodify_range() 526 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtmodify_range() 528 xfs_rtword_t *first; /* first used word in the buffer */ xfs_rtmodify_range() 530 int lastbit; /* last useful bit in word */ xfs_rtmodify_range() 532 int word; /* word number in the buffer */ xfs_rtmodify_range() local 547 * Compute the starting word's address, and starting bit. xfs_rtmodify_range() 549 word = XFS_BITTOWORD(mp, start); xfs_rtmodify_range() 550 first = b = &bufp[word]; xfs_rtmodify_range() 557 * If not starting on a word boundary, deal with the first xfs_rtmodify_range() 558 * (partial) word. xfs_rtmodify_range() 575 * Go on to the next block if that's where the next word is xfs_rtmodify_range() 576 * and we need the next word. xfs_rtmodify_range() 578 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtmodify_range() 591 word = 0; xfs_rtmodify_range() 594 * Go on to the next word in the buffer xfs_rtmodify_range() 600 * Starting on a word boundary, no partial word. xfs_rtmodify_range() 610 * Set the word value correctly. xfs_rtmodify_range() 615 * Go on to the next block if that's where the next word is xfs_rtmodify_range() 616 * and we need the next word. xfs_rtmodify_range() 618 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtmodify_range() 631 word = 0; xfs_rtmodify_range() 634 * Go on to the next word in the buffer xfs_rtmodify_range() 640 * If not ending on a word boundary, deal with the last xfs_rtmodify_range() 641 * (partial) word. xfs_rtmodify_range() 757 xfs_rtword_t *b; /* current word in buffer */ xfs_rtcheck_range() 758 int bit; /* bit number in the word */ xfs_rtcheck_range() 761 xfs_rtword_t *bufp; /* starting word in buffer */ xfs_rtcheck_range() 764 xfs_rtblock_t lastbit; /* last useful bit in word */ xfs_rtcheck_range() 767 int word; /* word number in the buffer */ xfs_rtcheck_range() local 782 * Compute the starting word's address, and starting bit. xfs_rtcheck_range() 784 word = XFS_BITTOWORD(mp, start); xfs_rtcheck_range() 785 b = &bufp[word]; xfs_rtcheck_range() 792 * If not starting on a word boundary, deal with the first xfs_rtcheck_range() 793 * (partial) word. xfs_rtcheck_range() 819 * Go on to next block if that's where the next word is xfs_rtcheck_range() 820 * and we need the next word. xfs_rtcheck_range() 822 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtcheck_range() 832 word = 0; xfs_rtcheck_range() 835 * Go on to the next word in the buffer. xfs_rtcheck_range() 841 * Starting on a word boundary, no partial word. xfs_rtcheck_range() 865 * Go on to next block if that's where the next word is xfs_rtcheck_range() 866 * and we need the next word. xfs_rtcheck_range() 868 if (++word == XFS_BLOCKWSIZE(mp) && i < len) { xfs_rtcheck_range() 878 word = 0; xfs_rtcheck_range() 881 * Go on to the next word in the buffer. xfs_rtcheck_range() 887 * If not ending on a word boundary, deal with the last xfs_rtcheck_range() 888 * (partial) word. xfs_rtcheck_range()
|
/linux-4.1.27/arch/arm/crypto/ |
H A D | aes-armv4.S | 45 .word 0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d 46 .word 0xfff2f20d, 0xd66b6bbd, 0xde6f6fb1, 0x91c5c554 47 .word 0x60303050, 0x02010103, 0xce6767a9, 0x562b2b7d 48 .word 0xe7fefe19, 0xb5d7d762, 0x4dababe6, 0xec76769a 49 .word 0x8fcaca45, 0x1f82829d, 0x89c9c940, 0xfa7d7d87 50 .word 0xeffafa15, 0xb25959eb, 0x8e4747c9, 0xfbf0f00b 51 .word 0x41adadec, 0xb3d4d467, 0x5fa2a2fd, 0x45afafea 52 .word 0x239c9cbf, 0x53a4a4f7, 0xe4727296, 0x9bc0c05b 53 .word 0x75b7b7c2, 0xe1fdfd1c, 0x3d9393ae, 0x4c26266a 54 .word 0x6c36365a, 0x7e3f3f41, 0xf5f7f702, 0x83cccc4f 55 .word 0x6834345c, 0x51a5a5f4, 0xd1e5e534, 0xf9f1f108 56 .word 0xe2717193, 0xabd8d873, 0x62313153, 0x2a15153f 57 .word 0x0804040c, 0x95c7c752, 0x46232365, 0x9dc3c35e 58 .word 0x30181828, 0x379696a1, 0x0a05050f, 0x2f9a9ab5 59 .word 0x0e070709, 0x24121236, 0x1b80809b, 0xdfe2e23d 60 .word 0xcdebeb26, 0x4e272769, 0x7fb2b2cd, 0xea75759f 61 .word 0x1209091b, 0x1d83839e, 0x582c2c74, 0x341a1a2e 62 .word 0x361b1b2d, 0xdc6e6eb2, 0xb45a5aee, 0x5ba0a0fb 63 .word 0xa45252f6, 0x763b3b4d, 0xb7d6d661, 0x7db3b3ce 64 .word 0x5229297b, 0xdde3e33e, 0x5e2f2f71, 0x13848497 65 .word 0xa65353f5, 0xb9d1d168, 0x00000000, 0xc1eded2c 66 .word 0x40202060, 0xe3fcfc1f, 0x79b1b1c8, 0xb65b5bed 67 .word 0xd46a6abe, 0x8dcbcb46, 0x67bebed9, 0x7239394b 68 .word 0x944a4ade, 0x984c4cd4, 0xb05858e8, 0x85cfcf4a 69 .word 0xbbd0d06b, 0xc5efef2a, 0x4faaaae5, 0xedfbfb16 70 .word 0x864343c5, 0x9a4d4dd7, 0x66333355, 0x11858594 71 .word 0x8a4545cf, 0xe9f9f910, 0x04020206, 0xfe7f7f81 72 .word 0xa05050f0, 0x783c3c44, 0x259f9fba, 0x4ba8a8e3 73 .word 0xa25151f3, 0x5da3a3fe, 0x804040c0, 0x058f8f8a 74 .word 0x3f9292ad, 0x219d9dbc, 0x70383848, 0xf1f5f504 75 .word 0x63bcbcdf, 0x77b6b6c1, 0xafdada75, 0x42212163 76 .word 0x20101030, 0xe5ffff1a, 0xfdf3f30e, 0xbfd2d26d 77 .word 0x81cdcd4c, 0x180c0c14, 0x26131335, 0xc3ecec2f 78 .word 0xbe5f5fe1, 0x359797a2, 0x884444cc, 0x2e171739 79 .word 0x93c4c457, 0x55a7a7f2, 0xfc7e7e82, 0x7a3d3d47 80 .word 0xc86464ac, 0xba5d5de7, 0x3219192b, 0xe6737395 81 .word 0xc06060a0, 0x19818198, 0x9e4f4fd1, 0xa3dcdc7f 82 .word 0x44222266, 0x542a2a7e, 0x3b9090ab, 0x0b888883 83 .word 0x8c4646ca, 0xc7eeee29, 0x6bb8b8d3, 0x2814143c 84 .word 0xa7dede79, 0xbc5e5ee2, 0x160b0b1d, 0xaddbdb76 85 .word 0xdbe0e03b, 0x64323256, 0x743a3a4e, 0x140a0a1e 86 .word 0x924949db, 0x0c06060a, 0x4824246c, 0xb85c5ce4 87 .word 0x9fc2c25d, 0xbdd3d36e, 0x43acacef, 0xc46262a6 88 .word 0x399191a8, 0x319595a4, 0xd3e4e437, 0xf279798b 89 .word 0xd5e7e732, 0x8bc8c843, 0x6e373759, 0xda6d6db7 90 .word 0x018d8d8c, 0xb1d5d564, 0x9c4e4ed2, 0x49a9a9e0 91 .word 0xd86c6cb4, 0xac5656fa, 0xf3f4f407, 0xcfeaea25 92 .word 0xca6565af, 0xf47a7a8e, 0x47aeaee9, 0x10080818 93 .word 0x6fbabad5, 0xf0787888, 0x4a25256f, 0x5c2e2e72 94 .word 0x381c1c24, 0x57a6a6f1, 0x73b4b4c7, 0x97c6c651 95 .word 0xcbe8e823, 0xa1dddd7c, 0xe874749c, 0x3e1f1f21 96 .word 0x964b4bdd, 0x61bdbddc, 0x0d8b8b86, 0x0f8a8a85 97 .word 0xe0707090, 0x7c3e3e42, 0x71b5b5c4, 0xcc6666aa 98 .word 0x904848d8, 0x06030305, 0xf7f6f601, 0x1c0e0e12 99 .word 0xc26161a3, 0x6a35355f, 0xae5757f9, 0x69b9b9d0 100 .word 0x17868691, 0x99c1c158, 0x3a1d1d27, 0x279e9eb9 101 .word 0xd9e1e138, 0xebf8f813, 0x2b9898b3, 0x22111133 102 .word 0xd26969bb, 0xa9d9d970, 0x078e8e89, 0x339494a7 103 .word 0x2d9b9bb6, 0x3c1e1e22, 0x15878792, 0xc9e9e920 104 .word 0x87cece49, 0xaa5555ff, 0x50282878, 0xa5dfdf7a 105 .word 0x038c8c8f, 0x59a1a1f8, 0x09898980, 0x1a0d0d17 106 .word 0x65bfbfda, 0xd7e6e631, 0x844242c6, 0xd06868b8 107 .word 0x824141c3, 0x299999b0, 0x5a2d2d77, 0x1e0f0f11 108 .word 0x7bb0b0cb, 0xa85454fc, 0x6dbbbbd6, 0x2c16163a 143 .word 0x01000000, 0x02000000, 0x04000000, 0x08000000 144 .word 0x10000000, 0x20000000, 0x40000000, 0x80000000 145 .word 0x1B000000, 0x36000000, 0, 0, 0, 0, 0, 0 744 .word 0x51f4a750, 0x7e416553, 0x1a17a4c3, 0x3a275e96 745 .word 0x3bab6bcb, 0x1f9d45f1, 0xacfa58ab, 0x4be30393 746 .word 0x2030fa55, 0xad766df6, 0x88cc7691, 0xf5024c25 747 .word 0x4fe5d7fc, 0xc52acbd7, 0x26354480, 0xb562a38f 748 .word 0xdeb15a49, 0x25ba1b67, 0x45ea0e98, 0x5dfec0e1 749 .word 0xc32f7502, 0x814cf012, 0x8d4697a3, 0x6bd3f9c6 750 .word 0x038f5fe7, 0x15929c95, 0xbf6d7aeb, 0x955259da 751 .word 0xd4be832d, 0x587421d3, 0x49e06929, 0x8ec9c844 752 .word 0x75c2896a, 0xf48e7978, 0x99583e6b, 0x27b971dd 753 .word 0xbee14fb6, 0xf088ad17, 0xc920ac66, 0x7dce3ab4 754 .word 0x63df4a18, 0xe51a3182, 0x97513360, 0x62537f45 755 .word 0xb16477e0, 0xbb6bae84, 0xfe81a01c, 0xf9082b94 756 .word 0x70486858, 0x8f45fd19, 0x94de6c87, 0x527bf8b7 757 .word 0xab73d323, 0x724b02e2, 0xe31f8f57, 0x6655ab2a 758 .word 0xb2eb2807, 0x2fb5c203, 0x86c57b9a, 0xd33708a5 759 .word 0x302887f2, 0x23bfa5b2, 0x02036aba, 0xed16825c 760 .word 0x8acf1c2b, 0xa779b492, 0xf307f2f0, 0x4e69e2a1 761 .word 0x65daf4cd, 0x0605bed5, 0xd134621f, 0xc4a6fe8a 762 .word 0x342e539d, 0xa2f355a0, 0x058ae132, 0xa4f6eb75 763 .word 0x0b83ec39, 0x4060efaa, 0x5e719f06, 0xbd6e1051 764 .word 0x3e218af9, 0x96dd063d, 0xdd3e05ae, 0x4de6bd46 765 .word 0x91548db5, 0x71c45d05, 0x0406d46f, 0x605015ff 766 .word 0x1998fb24, 0xd6bde997, 0x894043cc, 0x67d99e77 767 .word 0xb0e842bd, 0x07898b88, 0xe7195b38, 0x79c8eedb 768 .word 0xa17c0a47, 0x7c420fe9, 0xf8841ec9, 0x00000000 769 .word 0x09808683, 0x322bed48, 0x1e1170ac, 0x6c5a724e 770 .word 0xfd0efffb, 0x0f853856, 0x3daed51e, 0x362d3927 771 .word 0x0a0fd964, 0x685ca621, 0x9b5b54d1, 0x24362e3a 772 .word 0x0c0a67b1, 0x9357e70f, 0xb4ee96d2, 0x1b9b919e 773 .word 0x80c0c54f, 0x61dc20a2, 0x5a774b69, 0x1c121a16 774 .word 0xe293ba0a, 0xc0a02ae5, 0x3c22e043, 0x121b171d 775 .word 0x0e090d0b, 0xf28bc7ad, 0x2db6a8b9, 0x141ea9c8 776 .word 0x57f11985, 0xaf75074c, 0xee99ddbb, 0xa37f60fd 777 .word 0xf701269f, 0x5c72f5bc, 0x44663bc5, 0x5bfb7e34 778 .word 0x8b432976, 0xcb23c6dc, 0xb6edfc68, 0xb8e4f163 779 .word 0xd731dcca, 0x42638510, 0x13972240, 0x84c61120 780 .word 0x854a247d, 0xd2bb3df8, 0xaef93211, 0xc729a16d 781 .word 0x1d9e2f4b, 0xdcb230f3, 0x0d8652ec, 0x77c1e3d0 782 .word 0x2bb3166c, 0xa970b999, 0x119448fa, 0x47e96422 783 .word 0xa8fc8cc4, 0xa0f03f1a, 0x567d2cd8, 0x223390ef 784 .word 0x87494ec7, 0xd938d1c1, 0x8ccaa2fe, 0x98d40b36 785 .word 0xa6f581cf, 0xa57ade28, 0xdab78e26, 0x3fadbfa4 786 .word 0x2c3a9de4, 0x5078920d, 0x6a5fcc9b, 0x547e4662 787 .word 0xf68d13c2, 0x90d8b8e8, 0x2e39f75e, 0x82c3aff5 788 .word 0x9f5d80be, 0x69d0937c, 0x6fd52da9, 0xcf2512b3 789 .word 0xc8ac993b, 0x10187da7, 0xe89c636e, 0xdb3bbb7b 790 .word 0xcd267809, 0x6e5918f4, 0xec9ab701, 0x834f9aa8 791 .word 0xe6956e65, 0xaaffe67e, 0x21bccf08, 0xef15e8e6 792 .word 0xbae79bd9, 0x4a6f36ce, 0xea9f09d4, 0x29b07cd6 793 .word 0x31a4b2af, 0x2a3f2331, 0xc6a59430, 0x35a266c0 794 .word 0x744ebc37, 0xfc82caa6, 0xe090d0b0, 0x33a7d815 795 .word 0xf104984a, 0x41ecdaf7, 0x7fcd500e, 0x1791f62f 796 .word 0x764dd68d, 0x43efb04d, 0xccaa4d54, 0xe49604df 797 .word 0x9ed1b5e3, 0x4c6a881b, 0xc12c1fb8, 0x4665517f 798 .word 0x9d5eea04, 0x018c355d, 0xfa877473, 0xfb0b412e 799 .word 0xb3671d5a, 0x92dbd252, 0xe9105633, 0x6dd64713 800 .word 0x9ad7618c, 0x37a10c7a, 0x59f8148e, 0xeb133c89 801 .word 0xcea927ee, 0xb761c935, 0xe11ce5ed, 0x7a47b13c 802 .word 0x9cd2df59, 0x55f2733f, 0x1814ce79, 0x73c737bf 803 .word 0x53f7cdea, 0x5ffdaa5b, 0xdf3d6f14, 0x7844db86 804 .word 0xcaaff381, 0xb968c43e, 0x3824342c, 0xc2a3405f 805 .word 0x161dc372, 0xbce2250c, 0x283c498b, 0xff0d9541 806 .word 0x39a80171, 0x080cb3de, 0xd8b4e49c, 0x6456c190 807 .word 0x7bcb8461, 0xd532b670, 0x486c5c74, 0xd0b85742
|
H A D | sha256-armv4.pl | 181 .word 0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5 182 .word 0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5 183 .word 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3 184 .word 0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174 185 .word 0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc 186 .word 0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da 187 .word 0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7 188 .word 0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967 189 .word 0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13 190 .word 0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85 191 .word 0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3 192 .word 0xd192e819,0xd6990624,0xf40e3585,0x106aa070 193 .word 0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5 194 .word 0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3 195 .word 0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208 196 .word 0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2 198 .word 0 @ terminator 201 .word OPENSSL_armcap_P-sha256_block_data_order 690 my $word = $opcode{$mnemonic}|(($1&7)<<13)|(($1&8)<<19) 697 $word&0xff,($word>>8)&0xff, 698 ($word>>16)&0xff,($word>>24)&0xff, 711 s/\bbx\s+lr\b/.word\t0xe12fff1e/go; # make it possible to compile with -march=armv4
|
/linux-4.1.27/drivers/hwmon/pmbus/ |
H A D | lm25066.c | 367 u16 word) lm25066_write_word_data() 384 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); lm25066_write_word_data() 385 ret = pmbus_write_word_data(client, 0, reg, word); lm25066_write_word_data() 389 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); lm25066_write_word_data() 392 word); lm25066_write_word_data() 396 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); lm25066_write_word_data() 399 word); lm25066_write_word_data() 404 word = DIV_ROUND_CLOSEST((int)word * 6140, 293); lm25066_write_word_data() 405 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); lm25066_write_word_data() 407 LM25056_VAUX_UV_WARN_LIMIT, word); lm25066_write_word_data() 412 word = DIV_ROUND_CLOSEST((int)word * 6140, 293); lm25066_write_word_data() 413 word = ((s16)word < 0) ? 0 : clamp_val(word, 0, data->rlimit); lm25066_write_word_data() 415 LM25056_VAUX_OV_WARN_LIMIT, word); lm25066_write_word_data() 366 lm25066_write_word_data(struct i2c_client *client, int page, int reg, u16 word) lm25066_write_word_data() argument
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | pm-trace.h | 12 "1:\t.word %c1\n\t" \
|
H A D | bitops.h | 69 * restricted to acting on a single-word quantity. 149 * modify other bits in the word. 181 * restricted to acting on a single-word quantity. 341 * __ffs - find first set bit in word 342 * @word: The word to search 346 static inline unsigned long __ffs(unsigned long word) __ffs() argument 349 : "=r" (word) __ffs() 350 : "rm" (word)); __ffs() 351 return word; __ffs() 355 * ffz - find first zero bit in word 356 * @word: The word to search 360 static inline unsigned long ffz(unsigned long word) ffz() argument 363 : "=r" (word) ffz() 364 : "r" (~word)); ffz() 365 return word; ffz() 369 * __fls: find last set bit in word 370 * @word: The word to search 374 static inline unsigned long __fls(unsigned long word) __fls() argument 377 : "=r" (word) __fls() 378 : "rm" (word)); __fls() 379 return word; __fls() 386 * ffs - find first set bit in word 387 * @x: the word to search 427 * fls - find last set bit in word 428 * @x: the word to search 468 * fls64 - find last set bit in a 64-bit word 469 * @x: the word to search
|
H A D | bug.h | 19 "\t.word %c1, 0\n" \
|
/linux-4.1.27/arch/x86/purgatory/ |
H A D | setup-x86_64.S | 43 .word gdt_end - gdt - 1 45 .word 0, 0, 0 48 .word 0xFFFF, 0x0000, 0x9A00, 0x00AF 51 .word 0xFFFF, 0x0000, 0x9200, 0x00CF
|
H A D | entry64.S | 90 .word gdt_end - gdt - 1 92 .word 0, 0, 0 95 .word 0xFFFF, 0x0000, 0x9A00, 0x00AF 98 .word 0xFFFF, 0x0000, 0x9200, 0x00CF
|
/linux-4.1.27/arch/sparc/lib/ |
H A D | U3copy_from_user.S | 10 .word 98b, __retl_one; \
|
H A D | csum_copy_from_user.S | 14 .word 98b, 99b; \
|
H A D | csum_copy_to_user.S | 14 .word 98b, 99b; \
|
H A D | GENcopy_from_user.S | 10 .word 98b, __retl_one; \
|
H A D | NG4copy_from_user.S | 10 .word 98b, __retl_one_asi;\
|
H A D | GENcopy_to_user.S | 10 .word 98b, __retl_one; \
|
H A D | NG2copy_from_user.S | 10 .word 98b, __retl_one_asi;\
|
H A D | NGcopy_from_user.S | 10 .word 98b, __ret_one_asi;\
|
H A D | NGcopy_to_user.S | 10 .word 98b, __ret_one_asi;\
|
H A D | U1copy_from_user.S | 10 .word 98b, __retl_one; \
|
H A D | U1copy_to_user.S | 10 .word 98b, __retl_one; \
|
H A D | U3copy_to_user.S | 10 .word 98b, __retl_one; \
|
H A D | NG2copy_to_user.S | 10 .word 98b, __retl_one_asi;\
|
H A D | NG4copy_to_user.S | 10 .word 98b, __retl_one_asi;\
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | bitops.h | 6 * number of leading zeroes of a bits-in-byte, byte-in-word and 7 * word-in-dword-swapped number. They differ in that the first function also 36 * Find First Zero in word. Undefined if no zero exist, so the caller should 46 * Find First Set bit in word. Undefined if no 1 exist, so the caller
|
/linux-4.1.27/drivers/staging/iio/frequency/ |
H A D | ad9832.h | 63 * @ctrl_fp: cached frequency/phase control word 64 * @ctrl_ss: cached sync/selsrc control word 65 * @ctrl_src: cached sleep/reset/clr word 68 * @freq_xfer: tuning word spi transfer 69 * @freq_msg: tuning word spi message 70 * @phase_xfer: tuning word spi transfer 71 * @phase_msg: tuning word spi message 73 * @phase_data: tuning word spi transmit buffer 74 * @freq_data: tuning word spi transmit buffer 108 * @freq0: power up freq0 tuning word in Hz 109 * @freq1: power up freq1 tuning word in Hz
|
H A D | ad9834.h | 44 * @control: cached control word 47 * @freq_xfer: tuning word spi transfer 48 * @freq_msg: tuning word spi message 50 * @freq_data: tuning word spi transmit buffer 79 * @freq0: power up freq0 tuning word in Hz 80 * @freq1: power up freq1 tuning word in Hz
|
/linux-4.1.27/arch/c6x/include/asm/ |
H A D | bitops.h | 25 * __ffs - find first bit in word. 26 * @word: The word to search 43 * ffz - find first zero in word. 44 * @word: The word to search 52 * @x: the word to search 69 * @x: the word to search
|
/linux-4.1.27/arch/arm/boot/compressed/ |
H A D | debug.S | 29 1: .word _GLOBAL_OFFSET_TABLE_ - . 30 .word semi_writec_buf(GOT)
|
H A D | head-sharpsl.S | 96 .word 0x69052d00 @ PXA255 Processor ID 98 .word 0x69054100 @ PXA270 Processor ID 100 .word 0x57411002 @ w100 Chip ID 102 .word 0x08010000 @ w100 Chip ID Reg Address 104 .word 0x08800040 106 .word MACH_TYPE_POODLE 108 .word MACH_TYPE_CORGI 110 .word MACH_TYPE_SHEPHERD 112 .word MACH_TYPE_HUSKY 114 .word MACH_TYPE_TOSA 116 .word MACH_TYPE_SPITZ 118 .word MACH_TYPE_AKITA 120 .word MACH_TYPE_BORZOI
|
H A D | head-shmobile.S | 56 .word dtb_info 58 .word 0xedfe0dd0 @ sig is 0xd00dfeed big endian 60 .word 0xd00dfeed 62 .word MEMORY_START 63 .word _edata 64 .word 0x4000 @ maximum DTB size
|
H A D | head.S | 136 .word _magic_sig @ Magic numbers to help the loader 137 .word _magic_start @ absolute load/run zImage address 138 .word _magic_end @ zImage end address 139 .word 0x04030201 @ endianness flag 572 LC0: .word LC0 @ r1 573 .word __bss_start @ r2 574 .word _end @ r3 575 .word _edata @ r6 576 .word input_data_end - 4 @ r10 (inflated size location) 577 .word _got_start @ r11 578 .word _got_end @ ip 579 .word .L_user_stack_end @ sp 580 .word _end - restart + 16384 + 1024*1024 880 .word 0x41000000 @ old ARM ID 881 .word 0xff00f000 889 .word 0x41007000 @ ARM7/710 890 .word 0xfff8fe00 898 .word 0x41807200 @ ARM720T (writethrough) 899 .word 0xffffff00 905 .word 0x41007400 @ ARM74x 906 .word 0xff00ff00 911 .word 0x41009400 @ ARM94x 912 .word 0xff00ff00 917 .word 0x41069260 @ ARM926EJ-S (v5TEJ) 918 .word 0xff0ffff0 923 .word 0x00007000 @ ARM7 IDs 924 .word 0x0000f000 934 .word 0x4401a100 @ sa110 / sa1100 935 .word 0xffffffe0 940 .word 0x6901b110 @ sa1110 941 .word 0xfffffff0 946 .word 0x56056900 947 .word 0xffffff00 @ PXA9xx 952 .word 0x56158000 @ PXA168 953 .word 0xfffff000 958 .word 0x56050000 @ Feroceon 959 .word 0xff0f0000 973 .word 0x66015261 @ FA526 974 .word 0xff01fff1 981 .word 0x00020000 @ ARMv4T 982 .word 0x000f0000 987 .word 0x00050000 @ ARMv5TE 988 .word 0x000f0000 993 .word 0x00060000 @ ARMv5TEJ 994 .word 0x000f0000 999 .word 0x0007b000 @ ARMv6 1000 .word 0x000ff000 1005 .word 0x000f0000 @ new CPU Id 1006 .word 0x000f0000 1011 .word 0 @ unrecognised type 1012 .word 0
|
/linux-4.1.27/drivers/xen/events/ |
H A D | events_fifo.c | 196 event_word_t *word = event_word_from_port(port); evtchn_fifo_clear_pending() local 197 sync_clear_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); evtchn_fifo_clear_pending() 202 event_word_t *word = event_word_from_port(port); evtchn_fifo_set_pending() local 203 sync_set_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); evtchn_fifo_set_pending() 208 event_word_t *word = event_word_from_port(port); evtchn_fifo_is_pending() local 209 return sync_test_bit(EVTCHN_FIFO_BIT(PENDING, word), BM(word)); evtchn_fifo_is_pending() 214 event_word_t *word = event_word_from_port(port); evtchn_fifo_test_and_set_mask() local 215 return sync_test_and_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); evtchn_fifo_test_and_set_mask() 220 event_word_t *word = event_word_from_port(port); evtchn_fifo_mask() local 221 sync_set_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); evtchn_fifo_mask() 226 event_word_t *word = event_word_from_port(port); evtchn_fifo_is_masked() local 227 return sync_test_bit(EVTCHN_FIFO_BIT(MASKED, word), BM(word)); evtchn_fifo_is_masked() 232 static void clear_masked(volatile event_word_t *word) clear_masked() argument 236 w = *word; clear_masked() 241 w = sync_cmpxchg(word, old, new); clear_masked() 247 event_word_t *word = event_word_from_port(port); evtchn_fifo_unmask() local 251 clear_masked(word); evtchn_fifo_unmask() 258 static uint32_t clear_linked(volatile event_word_t *word) clear_linked() argument 262 w = *word; clear_linked() 268 } while ((w = sync_cmpxchg(word, old, new)) != old); clear_linked() 289 event_word_t *word; consume_one_event() local 298 rmb(); /* Ensure word is up-to-date before reading head. */ consume_one_event() 303 word = event_word_from_port(port); consume_one_event() 304 head = clear_linked(word); consume_one_event() 311 * copy of the ready word. consume_one_event()
|
/linux-4.1.27/arch/microblaze/lib/ |
H A D | uaccess_old.S | 63 .word 1b,4b 103 .word 1b,4b 124 .word 1b, 33f; \ 125 .word 2b, 33f; \ 126 .word 3b, 33f; \ 127 .word 4b, 33f; \ 128 .word 5b, 33f; \ 129 .word 6b, 33f; \ 130 .word 7b, 33f; \ 131 .word 8b, 33f; \ 132 .word 9b, 33f; \ 133 .word 10b, 33f; \ 134 .word 11b, 33f; \ 135 .word 12b, 33f; \ 136 .word 13b, 33f; \ 137 .word 14b, 33f; \ 138 .word 15b, 33f; \ 139 .word 16b, 33f; \ 186 .word w1, 0f; 187 .word w2, 0f; 264 .word bu1, 0b; 265 .word bu2, 0b;
|
H A D | memset.c | 59 /* Make a repeating word out of it */ memset() 66 /* Align the destination to a word boundary */ memset() 82 /* Do as many full-word copies as we can */ memset()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | bitops.h | 33 * ffz - find first zero bit in word 34 * @word: The word to search 38 static inline unsigned long ffz(unsigned long word) ffz() argument 40 return __builtin_ctzl(~word); ffz() 49 * fls - find last set bit in word 50 * @x: the word to search
|
H A D | barrier.h | 77 * We need to barrier before modifying the word, since the _atomic_xxx() 78 * routines just tns the lock and then read/modify/write of the word. 79 * But after the word is updated, the routine issues an "mf" before returning,
|
/linux-4.1.27/arch/sh/boot/compressed/ |
H A D | head_32.S | 110 .word 0 112 .word 0x0202 ! header version number (>= 0x0105) 114 .word 0 ! default_switch 115 .word 0 ! SETUPSEG 116 .word 0x1000 117 .word 0 ! pointing to kernel version string 122 .word 0x8000 ! size to move, when setup is not
|
/linux-4.1.27/arch/x86/boot/ |
H A D | header.S | 102 .word 0 106 .word 0x14c # i386 108 .word 0x8664 # x86-64 110 .word 4 # nr_sections 114 .word section_table - optional_header # SizeOfOptionalHeader 116 .word 0x306 # Characteristics. 122 .word 0x206 # Characteristics 130 .word 0x10b # PE32 format 132 .word 0x20b # PE32+ format 159 .word 0 # MajorOperatingSystemVersion 160 .word 0 # MinorOperatingSystemVersion 161 .word 0 # MajorImageVersion 162 .word 0 # MinorImageVersion 163 .word 0 # MajorSubsystemVersion 164 .word 0 # MinorSubsystemVersion 174 .word 0xa # Subsystem (EFI application) 175 .word 0 # DllCharacteristics 212 .word 0 # NumberOfRelocations 213 .word 0 # NumberOfLineNumbers 230 .word 0 # NumberOfRelocations 231 .word 0 # NumberOfLineNumbers 248 .word 0 # NumberOfRelocations 249 .word 0 # NumberOfLineNumbers 267 .word 0 # NumberOfRelocations 268 .word 0 # NumberOfLineNumbers 283 root_flags: .word ROOT_RDONLY 285 ram_size: .word 0 /* Obsolete */ 286 vid_mode: .word SVGA_MODE 287 root_dev: .word 0 /* Filled in by build.c */ 288 boot_flag: .word 0xAA55 304 .word 0x020d # header version number (>= 0x0105) 307 realmode_swtch: .word 0, 0 # default_switch, SETUPSEG 308 start_sys_seg: .word SYSSEG # obsolete and meaningless, but just 310 .word kernel_version-512 # pointing to kernel version string 324 setup_move_size: .word 0x8000 # size to move, when setup is not 345 heap_end_ptr: .word _end+STACK_SIZE-512 423 .word XLF0 | XLF1 | XLF23 | XLF4
|
H A D | cmdline.c | 38 st_wordstart, /* Start of word/after whitespace */ __cmdline_find_option() 39 st_wordcmp, /* Comparing this word */ __cmdline_find_option() 109 st_wordstart, /* Start of word/after whitespace */ __cmdline_find_option_bool() 110 st_wordcmp, /* Comparing this word */ __cmdline_find_option_bool()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | desc.h | 25 * @rx_control_0: RX control word 0 26 * @rx_control_1: RX control word 1 33 /* RX control word 1 fields/flags */ 39 * @rx_status_0: RX status word 0 40 * @rx_status_1: RX status word 1 50 /* RX status word 0 fields/flags */ 61 /* RX status word 1 fields/flags */ 77 /* RX status word 0 fields/flags */ 88 /* RX status word 1 fields/flags */ 151 * struct ath5k_hw_2w_tx_ctl - 5210/5211 hardware 2-word TX control descriptor 152 * @tx_control_0: TX control word 0 153 * @tx_control_1: TX control word 1 160 /* TX control word 0 fields/flags */ 182 /* TX control word 1 fields/flags */ 207 * struct ath5k_hw_4w_tx_ctl - 5212 hardware 4-word TX control descriptor 208 * @tx_control_0: TX control word 0 209 * @tx_control_1: TX control word 1 210 * @tx_control_2: TX control word 2 211 * @tx_control_3: TX control word 3 220 /* TX control word 0 fields/flags */ 233 /* TX control word 1 fields/flags */ 248 /* TX control word 2 fields/flags */ 260 /* TX control word 3 fields/flags */ 273 * @tx_status_0: TX status word 0 274 * @tx_status_1: TX status word 1 281 /* TX status word 0 fields/flags */ 300 /* TX status word 1 fields/flags */
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | word-at-a-time.h | 7 * Little-endian word-at-a-time zero byte handling. 54 #include <asm-generic/word-at-a-time.h> 60 * Load an unaligned word from kernel space. 62 * In the (very unlikely) case of the word being a page-crosser 70 /* Load word from unaligned pointer addr */ load_unaligned_zeropad()
|
H A D | swab.h | 7 * and word accesses (data or instruction) appear as: 12 * and word accesses (data or instruction) appear as:
|
H A D | jump_label.h | 21 ".word 1b, %l[l_yes], %c0\n\t" arch_static_branch()
|
/linux-4.1.27/drivers/net/dsa/ |
H A D | mv88e6352.c | 364 int word; mv88e6352_get_eeprom() local 366 word = mv88e6352_read_eeprom_word(ds, offset >> 1); mv88e6352_get_eeprom() 367 if (word < 0) mv88e6352_get_eeprom() 368 return word; mv88e6352_get_eeprom() 370 *data++ = (word >> 8) & 0xff; mv88e6352_get_eeprom() 378 int word; mv88e6352_get_eeprom() local 380 word = mv88e6352_read_eeprom_word(ds, offset >> 1); mv88e6352_get_eeprom() 381 if (word < 0) mv88e6352_get_eeprom() 382 return word; mv88e6352_get_eeprom() 384 *data++ = word & 0xff; mv88e6352_get_eeprom() 385 *data++ = (word >> 8) & 0xff; mv88e6352_get_eeprom() 393 int word; mv88e6352_get_eeprom() local 395 word = mv88e6352_read_eeprom_word(ds, offset >> 1); mv88e6352_get_eeprom() 396 if (word < 0) mv88e6352_get_eeprom() 397 return word; mv88e6352_get_eeprom() 399 *data++ = word & 0xff; mv88e6352_get_eeprom() 469 int word; mv88e6352_set_eeprom() local 471 word = mv88e6352_read_eeprom_word(ds, offset >> 1); mv88e6352_set_eeprom() 472 if (word < 0) mv88e6352_set_eeprom() 473 return word; mv88e6352_set_eeprom() 475 word = (*data++ << 8) | (word & 0xff); mv88e6352_set_eeprom() 477 ret = mv88e6352_write_eeprom_word(ds, offset >> 1, word); mv88e6352_set_eeprom() 487 int word; mv88e6352_set_eeprom() local 489 word = *data++; mv88e6352_set_eeprom() 490 word |= *data++ << 8; mv88e6352_set_eeprom() 492 ret = mv88e6352_write_eeprom_word(ds, offset >> 1, word); mv88e6352_set_eeprom() 502 int word; mv88e6352_set_eeprom() local 504 word = mv88e6352_read_eeprom_word(ds, offset >> 1); mv88e6352_set_eeprom() 505 if (word < 0) mv88e6352_set_eeprom() 506 return word; mv88e6352_set_eeprom() 508 word = (word & 0xff00) | *data++; mv88e6352_set_eeprom() 510 ret = mv88e6352_write_eeprom_word(ds, offset >> 1, word); mv88e6352_set_eeprom()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | bitops.h | 66 * restricted to acting on a single-word quantity. 183 * restricted to acting on a single-word quantity. 468 * modify other bits in the word. 477 * Return the bit position (0..63) of the most significant 1 bit in a word 480 static inline unsigned long __fls(unsigned long word) __fls() argument 484 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && __fls() 492 : "r" (word)); __fls() 497 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && __fls() 505 : "r" (word)); __fls() 513 if (!(word & (~0ul << 32))) { __fls() 515 word <<= 32; __fls() 518 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { __fls() 520 word <<= 16; __fls() 522 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { __fls() 524 word <<= 8; __fls() 526 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { __fls() 528 word <<= 4; __fls() 530 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { __fls() 532 word <<= 2; __fls() 534 if (!(word & (~0ul << (BITS_PER_LONG-1)))) __fls() 540 * __ffs - find first bit in word. 541 * @word: The word to search 546 static inline unsigned long __ffs(unsigned long word) __ffs() argument 548 return __fls(word & -word); __ffs() 553 * @word: The word to search 605 * @word: The word to search 611 static inline int ffs(int word) ffs() argument 613 if (!word) ffs() 616 return fls(word & -word); ffs()
|
H A D | checksum.h | 133 const unsigned int *word = iph; ip_fast_csum() local 134 const unsigned int *stop = word + ihl; ip_fast_csum() 138 csum = word[0]; ip_fast_csum() 139 csum += word[1]; ip_fast_csum() 140 carry = (csum < word[1]); ip_fast_csum() 143 csum += word[2]; ip_fast_csum() 144 carry = (csum < word[2]); ip_fast_csum() 147 csum += word[3]; ip_fast_csum() 148 carry = (csum < word[3]); ip_fast_csum() 151 word += 4; ip_fast_csum() 153 csum += *word; ip_fast_csum() 154 carry = (csum < *word); ip_fast_csum() 156 word++; ip_fast_csum() 157 } while (word != stop); ip_fast_csum()
|
H A D | asmmacro.h | 190 .word 0x41600bc1 | (\reg << 16) 194 .word 0x41600be1 | (\reg << 16) 198 .word 0x41600001 | (\reg << 16) 202 .word 0x41600021 | (\reg << 16) 206 .word 0x41000000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) 210 .word 0x41800000 | (\rt << 16) | (\rd << 11) | (\u << 5) | (\sel) 307 .word CFC_MSA_INSN | (\cs << 11) 317 .word CTC_MSA_INSN | (\cd << 6) 326 .word LDD_MSA_INSN | (\wd << 6) 335 .word STD_MSA_INSN | (\wd << 6) 344 .word COPY_UW_MSA_INSN | (\n << 16) | (\ws << 11) 353 .word COPY_UD_MSA_INSN | (\n << 16) | (\ws << 11) 361 .word INSERT_W_MSA_INSN | (\n << 16) | (\wd << 6) 369 .word INSERT_D_MSA_INSN | (\n << 16) | (\wd << 6)
|
H A D | jump_label.h | 20 #define WORD_INSN ".word"
|
/linux-4.1.27/drivers/tty/ |
H A D | mips_ejtag_fdc.c | 189 * struct fdc_word - FDC word encoding some number of bytes of data. 190 * @word: Raw FDC word. 191 * @bytes: Number of bytes encoded by @word. 194 u32 word; member in struct:fdc_word 200 * sequence to be encoded in a single word, while allowing the majority of 4 202 * a single word too. 223 struct fdc_word word = { 0, 0 }; mips_ejtag_fdc_encode() local 231 word.word |= (u8)*ptr << (8*word.bytes); mips_ejtag_fdc_encode() 232 ++word.bytes; mips_ejtag_fdc_encode() 233 if (word.bytes == 4) mips_ejtag_fdc_encode() 239 switch (word.bytes) { mips_ejtag_fdc_encode() 242 if ((word.word >> 8) != 0x808080 && mips_ejtag_fdc_encode() 243 (word.word >> 16) != 0x8181 && mips_ejtag_fdc_encode() 244 (word.word >> 24) != 0x82) mips_ejtag_fdc_encode() 247 word.bytes = 3; mips_ejtag_fdc_encode() 248 word.word &= 0x00ffffff; mips_ejtag_fdc_encode() 251 word.word |= 0x82000000; mips_ejtag_fdc_encode() 255 word.word |= 0x81810000; mips_ejtag_fdc_encode() 259 word.word |= 0x80808000; mips_ejtag_fdc_encode() 262 return word; mips_ejtag_fdc_encode() 265 static unsigned int mips_ejtag_fdc_decode(u32 word, char *buf) mips_ejtag_fdc_decode() argument 267 buf[0] = (u8)word; mips_ejtag_fdc_decode() 268 word >>= 8; mips_ejtag_fdc_decode() 269 if (word == 0x808080) mips_ejtag_fdc_decode() 271 buf[1] = (u8)word; mips_ejtag_fdc_decode() 272 word >>= 8; mips_ejtag_fdc_decode() 273 if (word == 0x8181) mips_ejtag_fdc_decode() 275 buf[2] = (u8)word; mips_ejtag_fdc_decode() 276 word >>= 8; mips_ejtag_fdc_decode() 277 if (word == 0x82) mips_ejtag_fdc_decode() 279 buf[3] = (u8)word; mips_ejtag_fdc_decode() 309 struct fdc_word word; mips_ejtag_fdc_console_write() local 345 word = mips_ejtag_fdc_encode(&buf_ptr, &buf_len, 1); mips_ejtag_fdc_console_write() 346 count -= inc[word.bytes - 1]; mips_ejtag_fdc_console_write() 347 s += inc[word.bytes - 1]; mips_ejtag_fdc_console_write() 352 __raw_writel(word.word, regs + REG_FDTX(c->index)); mips_ejtag_fdc_console_write() 424 struct fdc_word word = { .bytes = 0 }; mips_ejtag_fdc_put_chan() local 436 word = mips_ejtag_fdc_encode(ptrs, sizes, 1 + !!sizes[1]); mips_ejtag_fdc_put_chan() 439 priv->driver_name, chan, word.word, mips_ejtag_fdc_put_chan() 440 min_t(int, word.bytes, sizes[0]), ptrs[0], mips_ejtag_fdc_put_chan() 441 max_t(int, 0, word.bytes - sizes[0]), ptrs[1]); mips_ejtag_fdc_put_chan() 446 word.bytes = 0; mips_ejtag_fdc_put_chan() 448 mips_ejtag_fdc_write(priv, REG_FDTX(chan), word.word); mips_ejtag_fdc_put_chan() 451 dport->xmit_cnt -= word.bytes; mips_ejtag_fdc_put_chan() 458 dport->xmit_tail += word.bytes; mips_ejtag_fdc_put_chan() 462 atomic_sub(word.bytes, &priv->xmit_total); mips_ejtag_fdc_put_chan() 467 if (sizes[0] && word.bytes) { mips_ejtag_fdc_put_chan() 475 return word.bytes; mips_ejtag_fdc_put_chan() 568 /* Find which channel the next FDC word is destined for */ mips_ejtag_fdc_handle() 575 /* Read out the FDC word, decode it, and pass to tty layer */ mips_ejtag_fdc_handle() 1219 /* No more data, try and read another FDC word from RX FIFO */ kgdbfdc_read_char() 1228 /* Read next word from KGDB channel */ kgdbfdc_read_char() 1236 /* Read next word */ kgdbfdc_read_char() 1249 /* push an FDC word from write buffer to TX FIFO */ kgdbfdc_push_one() 1253 struct fdc_word word; kgdbfdc_push_one() local 1257 /* Construct a word from any data in buffer */ kgdbfdc_push_one() 1258 word = mips_ejtag_fdc_encode(bufs, &kgdbfdc_wbuflen, 1); kgdbfdc_push_one() 1260 kgdbfdc_wbuflen -= word.bytes; kgdbfdc_push_one() 1262 kgdbfdc_wbuf[i] = kgdbfdc_wbuf[i + word.bytes]; kgdbfdc_push_one() 1271 __raw_writel(word.word, kgdbfdc_push_one()
|
/linux-4.1.27/drivers/pci/ |
H A D | syscall.c | 21 u16 word; SYSCALL_DEFINE5() local 39 cfg_ret = pci_user_read_config_word(dev, off, &word); SYSCALL_DEFINE5() 58 err = put_user(word, (unsigned short __user *)buf); SYSCALL_DEFINE5() 91 u16 word; SYSCALL_DEFINE5() local 113 err = get_user(word, (u16 __user *)buf); SYSCALL_DEFINE5() 116 err = pci_user_write_config_word(dev, off, word); SYSCALL_DEFINE5()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | sram34xx.S | 295 .word OMAP34XX_SDRC_REGADDR(SDRC_POWER) 297 .word OMAP34XX_CM_REGADDR(PLL_MOD, CM_CLKSEL1) 299 .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_IDLEST) 301 .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_ICLKEN1) 304 .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_0) 306 .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_1) 308 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_0) 310 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_1) 312 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_0) 314 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_1) 316 .word OMAP34XX_SDRC_REGADDR(SDRC_MR_0) 318 .word OMAP34XX_SDRC_REGADDR(SDRC_MR_1) 320 .word 0xDEADBEEF 322 .word 0xDEADBEEF 324 .word 0xDEADBEEF 326 .word 0xDEADBEEF 328 .word 0xDEADBEEF 330 .word 0xDEADBEEF 332 .word 0xDEADBEEF 334 .word 0xDEADBEEF 337 .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_STATUS) 339 .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL) 341 .word 0x07FFFFFF 345 .word . - omap3_sram_configure_core_dpll
|
H A D | sram242x.S | 131 .word OMAP2420_CM_REGADDR(PLL_MOD, CM_CLKSEL2) 133 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) 135 .word OMAP2420_PRCM_VOLTCTRL 137 .word 0xFFFF3FFC 139 .word OMAP2_L4_IO_ADDRESS(OMAP2420_32KSYNCT_BASE + 0x010) 141 .word . - omap242x_sram_ddr_init 226 .word OMAP2420_CM_REGADDR(PLL_MOD, CM_CLKSEL2) 228 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) 230 .word OMAP242X_SDRC_REGADDR(SDRC_RFR_CTRL_0) 232 .word OMAP2420_PRCM_VOLTCTRL 234 .word 0xFFFF3FFC 236 .word OMAP2_L4_IO_ADDRESS(OMAP2420_32KSYNCT_BASE + 0x010) 239 .word . - omap242x_sram_reprogram_sdrc 318 .word OMAP2420_PRCM_CLKCFG_CTRL 320 .word OMAP2420_CM_REGADDR(PLL_MOD, CM_CLKEN) 322 .word OMAP2420_CM_REGADDR(PLL_MOD, CM_IDLEST) 324 .word OMAP2420_CM_REGADDR(PLL_MOD, CM_CLKSEL1) 326 .word OMAP242X_SDRC_REGADDR(SDRC_RFR_CTRL_0) 328 .word OMAP242X_SDRC_REGADDR(SDRC_DLLA_CTRL) 331 .word . - omap242x_sram_set_prcm
|
H A D | sram243x.S | 131 .word OMAP2430_CM_REGADDR(PLL_MOD, CM_CLKSEL2) 133 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) 135 .word OMAP2430_PRCM_VOLTCTRL 137 .word 0xFFFF3FFC 139 .word OMAP2_L4_IO_ADDRESS(OMAP2430_32KSYNCT_BASE + 0x010) 141 .word . - omap243x_sram_ddr_init 226 .word OMAP2430_CM_REGADDR(PLL_MOD, CM_CLKSEL2) 228 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) 230 .word OMAP243X_SDRC_REGADDR(SDRC_RFR_CTRL_0) 232 .word OMAP2430_PRCM_VOLTCTRL 234 .word 0xFFFF3FFC 236 .word OMAP2_L4_IO_ADDRESS(OMAP2430_32KSYNCT_BASE + 0x010) 239 .word . - omap243x_sram_reprogram_sdrc 318 .word OMAP2430_PRCM_CLKCFG_CTRL 320 .word OMAP2430_CM_REGADDR(PLL_MOD, CM_CLKEN) 322 .word OMAP2430_CM_REGADDR(PLL_MOD, CM_IDLEST) 324 .word OMAP2430_CM_REGADDR(PLL_MOD, CM_CLKSEL1) 326 .word OMAP243X_SDRC_REGADDR(SDRC_RFR_CTRL_0) 328 .word OMAP243X_SDRC_REGADDR(SDRC_DLLA_CTRL) 331 .word . - omap243x_sram_set_prcm
|
H A D | sleep34xx.S | 125 .word SRAM_BASE_P 127 .word 0xffff 129 .word 0x4, 0x0, 0x0, 0x1, 0x1 132 .word . - save_secure_ram_context 216 .word omap3_do_wfi_sram 218 .word v7_flush_dcache_all 348 .word SDRC_POWER_V 350 .word CM_IDLEST1_CORE_V 352 .word CM_IDLEST_CKGEN_V 354 .word SDRC_DLLA_STATUS_V 356 .word SDRC_DLLA_CTRL_V 358 .word . - omap3_do_wfi 518 .word PM_PREPWSTST_CORE_P 520 .word PM_PWSTCTRL_MPU_P 522 .word SCRATCHPAD_BASE_P 524 .word SRAM_BASE_P + 0x8000 526 .word CONTROL_STAT 528 .word CONTROL_MEM_RTA_CTRL 534 .word 0 538 .word 0x1, 0x00 582 .word SDRC_SYSCONFIG_P 584 .word SDRC_MR_0_P 586 .word SDRC_EMR2_0_P 588 .word SDRC_MANUAL_0_P 590 .word SDRC_MR_1_P 592 .word SDRC_EMR2_1_P 594 .word SDRC_MANUAL_1_P 597 .word . - es3_sdrc_fix
|
/linux-4.1.27/arch/arm/lib/ |
H A D | bitops.h | 9 strneb r1, [ip] @ assert word-aligned 13 add r1, r1, r0, lsl #2 @ Get word offset 34 strneb r1, [ip] @ assert word-aligned 38 add r1, r1, r0, lsl #2 @ Get word offset 64 strneb r1, [ip] @ assert word-aligned 91 strneb r1, [ip] @ assert word-aligned
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | cpm2_pic.c | 81 int bit, word; cpm2_mask_irq() local 85 word = irq_to_siureg[irq_nr]; cpm2_mask_irq() 87 ppc_cached_irq_mask[word] &= ~(1 << bit); cpm2_mask_irq() 88 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); cpm2_mask_irq() 93 int bit, word; cpm2_unmask_irq() local 97 word = irq_to_siureg[irq_nr]; cpm2_unmask_irq() 99 ppc_cached_irq_mask[word] |= 1 << bit; cpm2_unmask_irq() 100 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); cpm2_unmask_irq() 105 int bit, word; cpm2_ack() local 109 word = irq_to_siureg[irq_nr]; cpm2_ack() 111 out_be32(&cpm2_intctl->ic_sipnrh + word, 1 << bit); cpm2_ack() 116 int bit, word; cpm2_end_irq() local 120 word = irq_to_siureg[irq_nr]; cpm2_end_irq() 122 ppc_cached_irq_mask[word] |= 1 << bit; cpm2_end_irq() 123 out_be32(&cpm2_intctl->ic_simrh + word, ppc_cached_irq_mask[word]); cpm2_end_irq()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-spinlock.h | 147 * These spinlocks use a single bit (bit 31) of a 32 bit word for locking. 148 * The rest of the bits in the word are left undisturbed. This enables more 156 * word used for the lock. 159 * @word: word to lock bit 31 of 161 static inline void cvmx_spinlock_bit_lock(uint32_t *word) cvmx_spinlock_bit_lock() argument 177 [val] "+m"(*word), [tmp] "=&r"(tmp), [sav] "=&r"(sav) cvmx_spinlock_bit_lock() 185 * word used for the lock. 188 * @word: word to lock bit 31 of 193 static inline unsigned int cvmx_spinlock_bit_trylock(uint32_t *word) cvmx_spinlock_bit_trylock() argument 210 [val] "+m"(*word), [tmp] "=&r"(tmp) cvmx_spinlock_bit_trylock() 219 * Unconditionally clears bit 31 of the lock word. Note that this is 221 * of the bits in the word are protected by the lock. 223 * @word: word to unlock bit 31 in 225 static inline void cvmx_spinlock_bit_unlock(uint32_t *word) cvmx_spinlock_bit_unlock() argument 228 *word &= ~(1UL << 31); cvmx_spinlock_bit_unlock()
|
/linux-4.1.27/arch/nios2/mm/ |
H A D | uaccess.c | 62 ".word 2b,3b\n" 63 ".word 9b,13b\n" 64 ".word 10b,13b\n" 65 ".word 7b,13b\n" 125 ".word 9b,3b\n" 126 ".word 10b,13b\n" 127 ".word 11b,13b\n" 128 ".word 12b,13b\n"
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | signal.h | 7 /* bits-per-word, where word apparently means 'long' not 'int' */
|
/linux-4.1.27/arch/arm/include/uapi/asm/ |
H A D | byteorder.h | 7 * and word accesses (data or instruction) appear as: 12 * and word accesses (data or instruction) appear as:
|
H A D | swab.h | 7 * and word accesses (data or instruction) appear as: 12 * and word accesses (data or instruction) appear as:
|
/linux-4.1.27/arch/arm/boot/bootp/ |
H A D | init.S | 79 data: .word initrd_start @ source initrd address 80 .word initrd_phys @ destination initrd address 81 .word initrd_size @ initrd size 83 .word 0x54410001 @ r5 = ATAG_CORE 84 .word 0x54420005 @ r6 = ATAG_INITRD2 85 .word initrd_phys @ r7 86 .word initrd_size @ r8 87 .word params_phys @ r9
|
/linux-4.1.27/sound/pci/ice1712/ |
H A D | envy24ht.h | 117 #define VT1724_REG_GPIO_DATA 0x14 /* word */ 118 #define VT1724_REG_GPIO_WRITE_MASK 0x16 /* word */ 159 #define VT1724_MT_AC97_DATA 0x06 /* word - AC'97 data */ 187 #define VT1724_MT_PLAYBACK_COUNT 0x1c /* word - playback count */ 189 #define VT1724_MT_CAPTURE_SIZE 0x24 /* word - capture size */ 190 #define VT1724_MT_CAPTURE_COUNT 0x26 /* word - capture count */ 192 #define VT1724_MT_ROUTE_PLAYBACK 0x2c /* word */ 195 #define VT1724_MT_RDMA1_SIZE 0x34 /* word - RDMA1 capture size */ 196 #define VT1724_MT_RDMA1_COUNT 0x36 /* word - RDMA1 capture count */ 198 #define VT1724_MT_SPDIF_CTRL 0x3c /* word */ 204 #define VT1724_MT_PDMA4_SIZE 0x44 /* word */ 205 #define VT1724_MT_PDMA4_COUNT 0x46 /* word */ 207 #define VT1724_MT_PDMA3_SIZE 0x54 /* word */ 208 #define VT1724_MT_PDMA3_COUNT 0x56 /* word */ 210 #define VT1724_MT_PDMA2_SIZE 0x64 /* word */ 211 #define VT1724_MT_PDMA2_COUNT 0x66 /* word */ 213 #define VT1724_MT_PDMA1_SIZE 0x74 /* word */ 214 #define VT1724_MT_PDMA1_COUNT 0x76 /* word */
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2500usb.c | 145 const unsigned int word, const u8 value) rt2500usb_bbp_write() 158 rt2x00_set_field16(®, PHY_CSR7_REG_ID, word); rt2500usb_bbp_write() 168 const unsigned int word, u8 *value) rt2500usb_bbp_read() 184 rt2x00_set_field16(®, PHY_CSR7_REG_ID, word); rt2500usb_bbp_read() 199 const unsigned int word, const u32 value) rt2500usb_rf_write() 221 rt2x00_rf_write(rt2x00dev, word, value); rt2500usb_rf_write() 1081 u32 word; rt2500usb_write_tx_desc() local 1086 rt2x00_desc_read(txd, 0, &word); rt2500usb_write_tx_desc() 1087 rt2x00_set_field32(&word, TXD_W0_RETRY_LIMIT, txdesc->retry_limit); rt2500usb_write_tx_desc() 1088 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, rt2500usb_write_tx_desc() 1090 rt2x00_set_field32(&word, TXD_W0_ACK, rt2500usb_write_tx_desc() 1092 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, rt2500usb_write_tx_desc() 1094 rt2x00_set_field32(&word, TXD_W0_OFDM, rt2500usb_write_tx_desc() 1096 rt2x00_set_field32(&word, TXD_W0_NEW_SEQ, rt2500usb_write_tx_desc() 1098 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); rt2500usb_write_tx_desc() 1099 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); rt2500usb_write_tx_desc() 1100 rt2x00_set_field32(&word, TXD_W0_CIPHER, !!txdesc->cipher); rt2500usb_write_tx_desc() 1101 rt2x00_set_field32(&word, TXD_W0_KEY_ID, txdesc->key_idx); rt2500usb_write_tx_desc() 1102 rt2x00_desc_write(txd, 0, word); rt2500usb_write_tx_desc() 1104 rt2x00_desc_read(txd, 1, &word); rt2500usb_write_tx_desc() 1105 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); rt2500usb_write_tx_desc() 1106 rt2x00_set_field32(&word, TXD_W1_AIFS, entry->queue->aifs); rt2500usb_write_tx_desc() 1107 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); rt2500usb_write_tx_desc() 1108 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); rt2500usb_write_tx_desc() 1109 rt2x00_desc_write(txd, 1, word); rt2500usb_write_tx_desc() 1111 rt2x00_desc_read(txd, 2, &word); rt2500usb_write_tx_desc() 1112 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); rt2500usb_write_tx_desc() 1113 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); rt2500usb_write_tx_desc() 1114 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_LOW, rt2500usb_write_tx_desc() 1116 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_HIGH, rt2500usb_write_tx_desc() 1118 rt2x00_desc_write(txd, 2, word); rt2500usb_write_tx_desc() 1339 u16 word; rt2500usb_validate_eeprom() local 1354 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); rt2500usb_validate_eeprom() 1355 if (word == 0xffff) { rt2500usb_validate_eeprom() 1356 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); rt2500usb_validate_eeprom() 1357 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, rt2500usb_validate_eeprom() 1359 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, rt2500usb_validate_eeprom() 1361 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE, rt2500usb_validate_eeprom() 1363 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); rt2500usb_validate_eeprom() 1364 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); rt2500usb_validate_eeprom() 1365 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522); rt2500usb_validate_eeprom() 1366 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); rt2500usb_validate_eeprom() 1367 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); rt2500usb_validate_eeprom() 1370 rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC, &word); rt2500usb_validate_eeprom() 1371 if (word == 0xffff) { rt2500usb_validate_eeprom() 1372 rt2x00_set_field16(&word, EEPROM_NIC_CARDBUS_ACCEL, 0); rt2500usb_validate_eeprom() 1373 rt2x00_set_field16(&word, EEPROM_NIC_DYN_BBP_TUNE, 0); rt2500usb_validate_eeprom() 1374 rt2x00_set_field16(&word, EEPROM_NIC_CCK_TX_POWER, 0); rt2500usb_validate_eeprom() 1375 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); rt2500usb_validate_eeprom() 1376 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); rt2500usb_validate_eeprom() 1379 rt2x00_eeprom_read(rt2x00dev, EEPROM_CALIBRATE_OFFSET, &word); rt2500usb_validate_eeprom() 1380 if (word == 0xffff) { rt2500usb_validate_eeprom() 1381 rt2x00_set_field16(&word, EEPROM_CALIBRATE_OFFSET_RSSI, rt2500usb_validate_eeprom() 1383 rt2x00_eeprom_write(rt2x00dev, EEPROM_CALIBRATE_OFFSET, word); rt2500usb_validate_eeprom() 1385 word); rt2500usb_validate_eeprom() 1388 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE, &word); rt2500usb_validate_eeprom() 1389 if (word == 0xffff) { rt2500usb_validate_eeprom() 1390 rt2x00_set_field16(&word, EEPROM_BBPTUNE_THRESHOLD, 45); rt2500usb_validate_eeprom() 1391 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE, word); rt2500usb_validate_eeprom() 1392 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune: 0x%04x\n", word); rt2500usb_validate_eeprom() 1402 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE_VGC, &word); rt2500usb_validate_eeprom() 1403 if (word == 0xffff) { rt2500usb_validate_eeprom() 1404 rt2x00_set_field16(&word, EEPROM_BBPTUNE_VGCUPPER, 0x40); rt2500usb_validate_eeprom() 1405 rt2x00_set_field16(&word, EEPROM_BBPTUNE_VGCLOWER, bbp); rt2500usb_validate_eeprom() 1406 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_VGC, word); rt2500usb_validate_eeprom() 1407 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune vgc: 0x%04x\n", word); rt2500usb_validate_eeprom() 1409 rt2x00_set_field16(&word, EEPROM_BBPTUNE_VGCLOWER, bbp); rt2500usb_validate_eeprom() 1410 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_VGC, word); rt2500usb_validate_eeprom() 1413 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE_R17, &word); rt2500usb_validate_eeprom() 1414 if (word == 0xffff) { rt2500usb_validate_eeprom() 1415 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R17_LOW, 0x48); rt2500usb_validate_eeprom() 1416 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R17_HIGH, 0x41); rt2500usb_validate_eeprom() 1417 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_R17, word); rt2500usb_validate_eeprom() 1418 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune r17: 0x%04x\n", word); rt2500usb_validate_eeprom() 1421 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE_R24, &word); rt2500usb_validate_eeprom() 1422 if (word == 0xffff) { rt2500usb_validate_eeprom() 1423 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R24_LOW, 0x40); rt2500usb_validate_eeprom() 1424 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R24_HIGH, 0x80); rt2500usb_validate_eeprom() 1425 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_R24, word); rt2500usb_validate_eeprom() 1426 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune r24: 0x%04x\n", word); rt2500usb_validate_eeprom() 1429 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE_R25, &word); rt2500usb_validate_eeprom() 1430 if (word == 0xffff) { rt2500usb_validate_eeprom() 1431 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R25_LOW, 0x40); rt2500usb_validate_eeprom() 1432 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R25_HIGH, 0x50); rt2500usb_validate_eeprom() 1433 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_R25, word); rt2500usb_validate_eeprom() 1434 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune r25: 0x%04x\n", word); rt2500usb_validate_eeprom() 1437 rt2x00_eeprom_read(rt2x00dev, EEPROM_BBPTUNE_R61, &word); rt2500usb_validate_eeprom() 1438 if (word == 0xffff) { rt2500usb_validate_eeprom() 1439 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R61_LOW, 0x60); rt2500usb_validate_eeprom() 1440 rt2x00_set_field16(&word, EEPROM_BBPTUNE_R61_HIGH, 0x6d); rt2500usb_validate_eeprom() 1441 rt2x00_eeprom_write(rt2x00dev, EEPROM_BBPTUNE_R61, word); rt2500usb_validate_eeprom() 1442 rt2x00_eeprom_dbg(rt2x00dev, "BBPtune r61: 0x%04x\n", word); rt2500usb_validate_eeprom() 1455 * Read EEPROM word for configuration. rt2500usb_init_eeprom() 144 rt2500usb_bbp_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u8 value) rt2500usb_bbp_write() argument 167 rt2500usb_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word, u8 *value) rt2500usb_bbp_read() argument 198 rt2500usb_rf_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u32 value) rt2500usb_rf_write() argument
|
H A D | rt2800mmio.c | 54 u32 word; rt2800mmio_write_tx_desc() local 68 word = 0; rt2800mmio_write_tx_desc() 69 rt2x00_set_field32(&word, TXD_W0_SD_PTR0, skbdesc->skb_dma); rt2800mmio_write_tx_desc() 70 rt2x00_desc_write(txd, 0, word); rt2800mmio_write_tx_desc() 72 word = 0; rt2800mmio_write_tx_desc() 73 rt2x00_set_field32(&word, TXD_W1_SD_LEN1, entry->skb->len); rt2800mmio_write_tx_desc() 74 rt2x00_set_field32(&word, TXD_W1_LAST_SEC1, rt2800mmio_write_tx_desc() 76 rt2x00_set_field32(&word, TXD_W1_BURST, rt2800mmio_write_tx_desc() 78 rt2x00_set_field32(&word, TXD_W1_SD_LEN0, txwi_size); rt2800mmio_write_tx_desc() 79 rt2x00_set_field32(&word, TXD_W1_LAST_SEC0, 0); rt2800mmio_write_tx_desc() 80 rt2x00_set_field32(&word, TXD_W1_DMA_DONE, 0); rt2800mmio_write_tx_desc() 81 rt2x00_desc_write(txd, 1, word); rt2800mmio_write_tx_desc() 83 word = 0; rt2800mmio_write_tx_desc() 84 rt2x00_set_field32(&word, TXD_W2_SD_PTR1, rt2800mmio_write_tx_desc() 86 rt2x00_desc_write(txd, 2, word); rt2800mmio_write_tx_desc() 88 word = 0; rt2800mmio_write_tx_desc() 89 rt2x00_set_field32(&word, TXD_W3_WIV, rt2800mmio_write_tx_desc() 91 rt2x00_set_field32(&word, TXD_W3_QSEL, 2); rt2800mmio_write_tx_desc() 92 rt2x00_desc_write(txd, 3, word); rt2800mmio_write_tx_desc() 110 u32 word; rt2800mmio_fill_rxdone() local 112 rt2x00_desc_read(rxd, 3, &word); rt2800mmio_fill_rxdone() 114 if (rt2x00_get_field32(word, RXD_W3_CRC_ERROR)) rt2800mmio_fill_rxdone() 122 rxdesc->cipher_status = rt2x00_get_field32(word, RXD_W3_CIPHER_ERROR); rt2800mmio_fill_rxdone() 124 if (rt2x00_get_field32(word, RXD_W3_DECRYPTED)) { rt2800mmio_fill_rxdone() 145 if (rt2x00_get_field32(word, RXD_W3_MY_BSS)) rt2800mmio_fill_rxdone() 148 if (rt2x00_get_field32(word, RXD_W3_L2PAD)) rt2800mmio_fill_rxdone() 172 u32 word; rt2800mmio_txdone_entry_check() local 178 rt2x00_desc_read(txwi, 1, &word); rt2800mmio_txdone_entry_check() 179 tx_wcid = rt2x00_get_field32(word, TXWI_W1_WIRELESS_CLI_ID); rt2800mmio_txdone_entry_check() 696 u32 word; rt2800mmio_get_entry_state() local 699 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_get_entry_state() 701 return (!rt2x00_get_field32(word, RXD_W1_DMA_DONE)); rt2800mmio_get_entry_state() 703 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_get_entry_state() 705 return (!rt2x00_get_field32(word, TXD_W1_DMA_DONE)); rt2800mmio_get_entry_state() 715 u32 word; rt2800mmio_clear_entry() local 718 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2800mmio_clear_entry() 719 rt2x00_set_field32(&word, RXD_W0_SDP0, skbdesc->skb_dma); rt2800mmio_clear_entry() 720 rt2x00_desc_write(entry_priv->desc, 0, word); rt2800mmio_clear_entry() 722 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_clear_entry() 723 rt2x00_set_field32(&word, RXD_W1_DMA_DONE, 0); rt2800mmio_clear_entry() 724 rt2x00_desc_write(entry_priv->desc, 1, word); rt2800mmio_clear_entry() 733 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2800mmio_clear_entry() 734 rt2x00_set_field32(&word, TXD_W1_DMA_DONE, 1); rt2800mmio_clear_entry() 735 rt2x00_desc_write(entry_priv->desc, 1, word); rt2800mmio_clear_entry()
|
H A D | rt73usb.c | 64 const unsigned int word, const u8 value) rt73usb_bbp_write() 77 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); rt73usb_bbp_write() 88 const unsigned int word, u8 *value) rt73usb_bbp_read() 104 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); rt73usb_bbp_read() 119 const unsigned int word, const u32 value) rt73usb_rf_write() 143 rt2x00_rf_write(rt2x00dev, word, value); rt73usb_rf_write() 662 u8 word; member in struct:antenna_sel 716 rt73usb_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); rt73usb_config_ant() 1457 u32 word; rt73usb_write_tx_desc() local 1462 rt2x00_desc_read(txd, 0, &word); rt73usb_write_tx_desc() 1463 rt2x00_set_field32(&word, TXD_W0_BURST, rt73usb_write_tx_desc() 1465 rt2x00_set_field32(&word, TXD_W0_VALID, 1); rt73usb_write_tx_desc() 1466 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, rt73usb_write_tx_desc() 1468 rt2x00_set_field32(&word, TXD_W0_ACK, rt73usb_write_tx_desc() 1470 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, rt73usb_write_tx_desc() 1472 rt2x00_set_field32(&word, TXD_W0_OFDM, rt73usb_write_tx_desc() 1474 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); rt73usb_write_tx_desc() 1475 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, rt73usb_write_tx_desc() 1477 rt2x00_set_field32(&word, TXD_W0_TKIP_MIC, rt73usb_write_tx_desc() 1479 rt2x00_set_field32(&word, TXD_W0_KEY_TABLE, rt73usb_write_tx_desc() 1481 rt2x00_set_field32(&word, TXD_W0_KEY_INDEX, txdesc->key_idx); rt73usb_write_tx_desc() 1482 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); rt73usb_write_tx_desc() 1483 rt2x00_set_field32(&word, TXD_W0_BURST2, rt73usb_write_tx_desc() 1485 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, txdesc->cipher); rt73usb_write_tx_desc() 1486 rt2x00_desc_write(txd, 0, word); rt73usb_write_tx_desc() 1488 rt2x00_desc_read(txd, 1, &word); rt73usb_write_tx_desc() 1489 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid); rt73usb_write_tx_desc() 1490 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs); rt73usb_write_tx_desc() 1491 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); rt73usb_write_tx_desc() 1492 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); rt73usb_write_tx_desc() 1493 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); rt73usb_write_tx_desc() 1494 rt2x00_set_field32(&word, TXD_W1_HW_SEQUENCE, rt73usb_write_tx_desc() 1496 rt2x00_desc_write(txd, 1, word); rt73usb_write_tx_desc() 1498 rt2x00_desc_read(txd, 2, &word); rt73usb_write_tx_desc() 1499 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); rt73usb_write_tx_desc() 1500 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); rt73usb_write_tx_desc() 1501 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_LOW, rt73usb_write_tx_desc() 1503 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_HIGH, rt73usb_write_tx_desc() 1505 rt2x00_desc_write(txd, 2, word); rt73usb_write_tx_desc() 1512 rt2x00_desc_read(txd, 5, &word); rt73usb_write_tx_desc() 1513 rt2x00_set_field32(&word, TXD_W5_TX_POWER, rt73usb_write_tx_desc() 1515 rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); rt73usb_write_tx_desc() 1516 rt2x00_desc_write(txd, 5, word); rt73usb_write_tx_desc() 1759 u16 word; rt73usb_validate_eeprom() local 1774 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); rt73usb_validate_eeprom() 1775 if (word == 0xffff) { rt73usb_validate_eeprom() 1776 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); rt73usb_validate_eeprom() 1777 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, rt73usb_validate_eeprom() 1779 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, rt73usb_validate_eeprom() 1781 rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); rt73usb_validate_eeprom() 1782 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); rt73usb_validate_eeprom() 1783 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); rt73usb_validate_eeprom() 1784 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF5226); rt73usb_validate_eeprom() 1785 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); rt73usb_validate_eeprom() 1786 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); rt73usb_validate_eeprom() 1789 rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC, &word); rt73usb_validate_eeprom() 1790 if (word == 0xffff) { rt73usb_validate_eeprom() 1791 rt2x00_set_field16(&word, EEPROM_NIC_EXTERNAL_LNA, 0); rt73usb_validate_eeprom() 1792 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); rt73usb_validate_eeprom() 1793 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); rt73usb_validate_eeprom() 1796 rt2x00_eeprom_read(rt2x00dev, EEPROM_LED, &word); rt73usb_validate_eeprom() 1797 if (word == 0xffff) { rt73usb_validate_eeprom() 1798 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_RDY_G, 0); rt73usb_validate_eeprom() 1799 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_RDY_A, 0); rt73usb_validate_eeprom() 1800 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_ACT, 0); rt73usb_validate_eeprom() 1801 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_0, 0); rt73usb_validate_eeprom() 1802 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_1, 0); rt73usb_validate_eeprom() 1803 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_2, 0); rt73usb_validate_eeprom() 1804 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_3, 0); rt73usb_validate_eeprom() 1805 rt2x00_set_field16(&word, EEPROM_LED_POLARITY_GPIO_4, 0); rt73usb_validate_eeprom() 1806 rt2x00_set_field16(&word, EEPROM_LED_LED_MODE, rt73usb_validate_eeprom() 1808 rt2x00_eeprom_write(rt2x00dev, EEPROM_LED, word); rt73usb_validate_eeprom() 1809 rt2x00_eeprom_dbg(rt2x00dev, "Led: 0x%04x\n", word); rt73usb_validate_eeprom() 1812 rt2x00_eeprom_read(rt2x00dev, EEPROM_FREQ, &word); rt73usb_validate_eeprom() 1813 if (word == 0xffff) { rt73usb_validate_eeprom() 1814 rt2x00_set_field16(&word, EEPROM_FREQ_OFFSET, 0); rt73usb_validate_eeprom() 1815 rt2x00_set_field16(&word, EEPROM_FREQ_SEQ, 0); rt73usb_validate_eeprom() 1816 rt2x00_eeprom_write(rt2x00dev, EEPROM_FREQ, word); rt73usb_validate_eeprom() 1817 rt2x00_eeprom_dbg(rt2x00dev, "Freq: 0x%04x\n", word); rt73usb_validate_eeprom() 1820 rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_BG, &word); rt73usb_validate_eeprom() 1821 if (word == 0xffff) { rt73usb_validate_eeprom() 1822 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); rt73usb_validate_eeprom() 1823 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); rt73usb_validate_eeprom() 1824 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); rt73usb_validate_eeprom() 1825 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET BG: 0x%04x\n", word); rt73usb_validate_eeprom() 1827 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); rt73usb_validate_eeprom() 1829 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); rt73usb_validate_eeprom() 1830 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); rt73usb_validate_eeprom() 1832 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); rt73usb_validate_eeprom() 1833 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); rt73usb_validate_eeprom() 1836 rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_A, &word); rt73usb_validate_eeprom() 1837 if (word == 0xffff) { rt73usb_validate_eeprom() 1838 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); rt73usb_validate_eeprom() 1839 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); rt73usb_validate_eeprom() 1840 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); rt73usb_validate_eeprom() 1841 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET A: 0x%04x\n", word); rt73usb_validate_eeprom() 1843 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); rt73usb_validate_eeprom() 1845 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); rt73usb_validate_eeprom() 1846 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); rt73usb_validate_eeprom() 1848 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); rt73usb_validate_eeprom() 1849 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); rt73usb_validate_eeprom() 1862 * Read EEPROM word for configuration. rt73usb_init_eeprom() 63 rt73usb_bbp_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u8 value) rt73usb_bbp_write() argument 87 rt73usb_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word, u8 *value) rt73usb_bbp_read() argument 118 rt73usb_rf_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u32 value) rt73usb_rf_write() argument
|
H A D | rt2400pci.c | 57 const unsigned int word, const u8 value) rt2400pci_bbp_write() 70 rt2x00_set_field32(®, BBPCSR_REGNUM, word); rt2400pci_bbp_write() 81 const unsigned int word, u8 *value) rt2400pci_bbp_read() 97 rt2x00_set_field32(®, BBPCSR_REGNUM, word); rt2400pci_bbp_read() 112 const unsigned int word, const u32 value) rt2400pci_rf_write() 130 rt2x00_rf_write(rt2x00dev, word, value); rt2400pci_rf_write() 725 u32 word; rt2400pci_get_entry_state() local 728 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_get_entry_state() 730 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); rt2400pci_get_entry_state() 732 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_get_entry_state() 734 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt2400pci_get_entry_state() 735 rt2x00_get_field32(word, TXD_W0_VALID)); rt2400pci_get_entry_state() 743 u32 word; rt2400pci_clear_entry() local 746 rt2x00_desc_read(entry_priv->desc, 2, &word); rt2400pci_clear_entry() 747 rt2x00_set_field32(&word, RXD_W2_BUFFER_LENGTH, entry->skb->len); rt2400pci_clear_entry() 748 rt2x00_desc_write(entry_priv->desc, 2, word); rt2400pci_clear_entry() 750 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2400pci_clear_entry() 751 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); rt2400pci_clear_entry() 752 rt2x00_desc_write(entry_priv->desc, 1, word); rt2400pci_clear_entry() 754 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_clear_entry() 755 rt2x00_set_field32(&word, RXD_W0_OWNER_NIC, 1); rt2400pci_clear_entry() 756 rt2x00_desc_write(entry_priv->desc, 0, word); rt2400pci_clear_entry() 758 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_clear_entry() 759 rt2x00_set_field32(&word, TXD_W0_VALID, 0); rt2400pci_clear_entry() 760 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 0); rt2400pci_clear_entry() 761 rt2x00_desc_write(entry_priv->desc, 0, word); rt2400pci_clear_entry() 1108 u32 word; rt2400pci_write_tx_desc() local 1113 rt2x00_desc_read(txd, 1, &word); rt2400pci_write_tx_desc() 1114 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); rt2400pci_write_tx_desc() 1115 rt2x00_desc_write(txd, 1, word); rt2400pci_write_tx_desc() 1117 rt2x00_desc_read(txd, 2, &word); rt2400pci_write_tx_desc() 1118 rt2x00_set_field32(&word, TXD_W2_BUFFER_LENGTH, txdesc->length); rt2400pci_write_tx_desc() 1119 rt2x00_set_field32(&word, TXD_W2_DATABYTE_COUNT, txdesc->length); rt2400pci_write_tx_desc() 1120 rt2x00_desc_write(txd, 2, word); rt2400pci_write_tx_desc() 1122 rt2x00_desc_read(txd, 3, &word); rt2400pci_write_tx_desc() 1123 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); rt2400pci_write_tx_desc() 1124 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL_REGNUM, 5); rt2400pci_write_tx_desc() 1125 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL_BUSY, 1); rt2400pci_write_tx_desc() 1126 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); rt2400pci_write_tx_desc() 1127 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE_REGNUM, 6); rt2400pci_write_tx_desc() 1128 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE_BUSY, 1); rt2400pci_write_tx_desc() 1129 rt2x00_desc_write(txd, 3, word); rt2400pci_write_tx_desc() 1131 rt2x00_desc_read(txd, 4, &word); rt2400pci_write_tx_desc() 1132 rt2x00_set_field32(&word, TXD_W4_PLCP_LENGTH_LOW, rt2400pci_write_tx_desc() 1134 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_LOW_REGNUM, 8); rt2400pci_write_tx_desc() 1135 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_LOW_BUSY, 1); rt2400pci_write_tx_desc() 1136 rt2x00_set_field32(&word, TXD_W4_PLCP_LENGTH_HIGH, rt2400pci_write_tx_desc() 1138 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH_REGNUM, 7); rt2400pci_write_tx_desc() 1139 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH_BUSY, 1); rt2400pci_write_tx_desc() 1140 rt2x00_desc_write(txd, 4, word); rt2400pci_write_tx_desc() 1143 * Writing TXD word 0 must the last to prevent a race condition with rt2400pci_write_tx_desc() 1147 rt2x00_desc_read(txd, 0, &word); rt2400pci_write_tx_desc() 1148 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); rt2400pci_write_tx_desc() 1149 rt2x00_set_field32(&word, TXD_W0_VALID, 1); rt2400pci_write_tx_desc() 1150 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, rt2400pci_write_tx_desc() 1152 rt2x00_set_field32(&word, TXD_W0_ACK, rt2400pci_write_tx_desc() 1154 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, rt2400pci_write_tx_desc() 1156 rt2x00_set_field32(&word, TXD_W0_RTS, rt2400pci_write_tx_desc() 1158 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); rt2400pci_write_tx_desc() 1159 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, rt2400pci_write_tx_desc() 1161 rt2x00_desc_write(txd, 0, word); rt2400pci_write_tx_desc() 1280 u32 word; rt2400pci_txdone() local 1285 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2400pci_txdone() 1287 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt2400pci_txdone() 1288 !rt2x00_get_field32(word, TXD_W0_VALID)) rt2400pci_txdone() 1295 switch (rt2x00_get_field32(word, TXD_W0_RESULT)) { rt2400pci_txdone() 1306 txdesc.retry = rt2x00_get_field32(word, TXD_W0_RETRY_COUNT); rt2400pci_txdone() 1440 u16 word; rt2400pci_validate_eeprom() local 1467 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); rt2400pci_validate_eeprom() 1468 if (word == 0xffff) { rt2400pci_validate_eeprom() 1483 * Read EEPROM word for configuration. rt2400pci_init_eeprom() 56 rt2400pci_bbp_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u8 value) rt2400pci_bbp_write() argument 80 rt2400pci_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word, u8 *value) rt2400pci_bbp_read() argument 111 rt2400pci_rf_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u32 value) rt2400pci_rf_write() argument
|
H A D | rt61pci.c | 66 const unsigned int word, const u8 value) rt61pci_bbp_write() 79 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); rt61pci_bbp_write() 90 const unsigned int word, u8 *value) rt61pci_bbp_read() 106 rt2x00_set_field32(®, PHY_CSR3_REGNUM, word); rt61pci_bbp_read() 121 const unsigned int word, const u32 value) rt61pci_rf_write() 139 rt2x00_rf_write(rt2x00dev, word, value); rt61pci_rf_write() 766 u8 word; member in struct:antenna_sel 820 rt61pci_bbp_write(rt2x00dev, sel[i].word, sel[i].value[lna]); rt61pci_config_ant() 1383 u32 word; rt61pci_get_entry_state() local 1386 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_get_entry_state() 1388 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); rt61pci_get_entry_state() 1390 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_get_entry_state() 1392 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt61pci_get_entry_state() 1393 rt2x00_get_field32(word, TXD_W0_VALID)); rt61pci_get_entry_state() 1401 u32 word; rt61pci_clear_entry() local 1404 rt2x00_desc_read(entry_priv->desc, 5, &word); rt61pci_clear_entry() 1405 rt2x00_set_field32(&word, RXD_W5_BUFFER_PHYSICAL_ADDRESS, rt61pci_clear_entry() 1407 rt2x00_desc_write(entry_priv->desc, 5, word); rt61pci_clear_entry() 1409 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_clear_entry() 1410 rt2x00_set_field32(&word, RXD_W0_OWNER_NIC, 1); rt61pci_clear_entry() 1411 rt2x00_desc_write(entry_priv->desc, 0, word); rt61pci_clear_entry() 1413 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_clear_entry() 1414 rt2x00_set_field32(&word, TXD_W0_VALID, 0); rt61pci_clear_entry() 1415 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 0); rt61pci_clear_entry() 1416 rt2x00_desc_write(entry_priv->desc, 0, word); rt61pci_clear_entry() 1874 u32 word; rt61pci_write_tx_desc() local 1879 rt2x00_desc_read(txd, 1, &word); rt61pci_write_tx_desc() 1880 rt2x00_set_field32(&word, TXD_W1_HOST_Q_ID, entry->queue->qid); rt61pci_write_tx_desc() 1881 rt2x00_set_field32(&word, TXD_W1_AIFSN, entry->queue->aifs); rt61pci_write_tx_desc() 1882 rt2x00_set_field32(&word, TXD_W1_CWMIN, entry->queue->cw_min); rt61pci_write_tx_desc() 1883 rt2x00_set_field32(&word, TXD_W1_CWMAX, entry->queue->cw_max); rt61pci_write_tx_desc() 1884 rt2x00_set_field32(&word, TXD_W1_IV_OFFSET, txdesc->iv_offset); rt61pci_write_tx_desc() 1885 rt2x00_set_field32(&word, TXD_W1_HW_SEQUENCE, rt61pci_write_tx_desc() 1887 rt2x00_set_field32(&word, TXD_W1_BUFFER_COUNT, 1); rt61pci_write_tx_desc() 1888 rt2x00_desc_write(txd, 1, word); rt61pci_write_tx_desc() 1890 rt2x00_desc_read(txd, 2, &word); rt61pci_write_tx_desc() 1891 rt2x00_set_field32(&word, TXD_W2_PLCP_SIGNAL, txdesc->u.plcp.signal); rt61pci_write_tx_desc() 1892 rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service); rt61pci_write_tx_desc() 1893 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_LOW, rt61pci_write_tx_desc() 1895 rt2x00_set_field32(&word, TXD_W2_PLCP_LENGTH_HIGH, rt61pci_write_tx_desc() 1897 rt2x00_desc_write(txd, 2, word); rt61pci_write_tx_desc() 1904 rt2x00_desc_read(txd, 5, &word); rt61pci_write_tx_desc() 1905 rt2x00_set_field32(&word, TXD_W5_PID_TYPE, entry->queue->qid); rt61pci_write_tx_desc() 1906 rt2x00_set_field32(&word, TXD_W5_PID_SUBTYPE, rt61pci_write_tx_desc() 1908 rt2x00_set_field32(&word, TXD_W5_TX_POWER, rt61pci_write_tx_desc() 1910 rt2x00_set_field32(&word, TXD_W5_WAITING_DMA_DONE_INT, 1); rt61pci_write_tx_desc() 1911 rt2x00_desc_write(txd, 5, word); rt61pci_write_tx_desc() 1914 rt2x00_desc_read(txd, 6, &word); rt61pci_write_tx_desc() 1915 rt2x00_set_field32(&word, TXD_W6_BUFFER_PHYSICAL_ADDRESS, rt61pci_write_tx_desc() 1917 rt2x00_desc_write(txd, 6, word); rt61pci_write_tx_desc() 1919 rt2x00_desc_read(txd, 11, &word); rt61pci_write_tx_desc() 1920 rt2x00_set_field32(&word, TXD_W11_BUFFER_LENGTH0, rt61pci_write_tx_desc() 1922 rt2x00_desc_write(txd, 11, word); rt61pci_write_tx_desc() 1926 * Writing TXD word 0 must the last to prevent a race condition with rt61pci_write_tx_desc() 1930 rt2x00_desc_read(txd, 0, &word); rt61pci_write_tx_desc() 1931 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); rt61pci_write_tx_desc() 1932 rt2x00_set_field32(&word, TXD_W0_VALID, 1); rt61pci_write_tx_desc() 1933 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, rt61pci_write_tx_desc() 1935 rt2x00_set_field32(&word, TXD_W0_ACK, rt61pci_write_tx_desc() 1937 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, rt61pci_write_tx_desc() 1939 rt2x00_set_field32(&word, TXD_W0_OFDM, rt61pci_write_tx_desc() 1941 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); rt61pci_write_tx_desc() 1942 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, rt61pci_write_tx_desc() 1944 rt2x00_set_field32(&word, TXD_W0_TKIP_MIC, rt61pci_write_tx_desc() 1946 rt2x00_set_field32(&word, TXD_W0_KEY_TABLE, rt61pci_write_tx_desc() 1948 rt2x00_set_field32(&word, TXD_W0_KEY_INDEX, txdesc->key_idx); rt61pci_write_tx_desc() 1949 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); rt61pci_write_tx_desc() 1950 rt2x00_set_field32(&word, TXD_W0_BURST, rt61pci_write_tx_desc() 1952 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, txdesc->cipher); rt61pci_write_tx_desc() 1953 rt2x00_desc_write(txd, 0, word); rt61pci_write_tx_desc() 2160 u32 word; rt61pci_txdone() local 2199 rt2x00_desc_read(entry_priv->desc, 0, &word); rt61pci_txdone() 2201 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt61pci_txdone() 2202 !rt2x00_get_field32(word, TXD_W0_VALID)) rt61pci_txdone() 2393 u16 word; rt61pci_validate_eeprom() local 2421 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); rt61pci_validate_eeprom() 2422 if (word == 0xffff) { rt61pci_validate_eeprom() 2423 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); rt61pci_validate_eeprom() 2424 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, rt61pci_validate_eeprom() 2426 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, rt61pci_validate_eeprom() 2428 rt2x00_set_field16(&word, EEPROM_ANTENNA_FRAME_TYPE, 0); rt61pci_validate_eeprom() 2429 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); rt61pci_validate_eeprom() 2430 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); rt61pci_validate_eeprom() 2431 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF5225); rt61pci_validate_eeprom() 2432 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); rt61pci_validate_eeprom() 2433 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); rt61pci_validate_eeprom() 2436 rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC, &word); rt61pci_validate_eeprom() 2437 if (word == 0xffff) { rt61pci_validate_eeprom() 2438 rt2x00_set_field16(&word, EEPROM_NIC_ENABLE_DIVERSITY, 0); rt61pci_validate_eeprom() 2439 rt2x00_set_field16(&word, EEPROM_NIC_TX_DIVERSITY, 0); rt61pci_validate_eeprom() 2440 rt2x00_set_field16(&word, EEPROM_NIC_RX_FIXED, 0); rt61pci_validate_eeprom() 2441 rt2x00_set_field16(&word, EEPROM_NIC_TX_FIXED, 0); rt61pci_validate_eeprom() 2442 rt2x00_set_field16(&word, EEPROM_NIC_EXTERNAL_LNA_BG, 0); rt61pci_validate_eeprom() 2443 rt2x00_set_field16(&word, EEPROM_NIC_CARDBUS_ACCEL, 0); rt61pci_validate_eeprom() 2444 rt2x00_set_field16(&word, EEPROM_NIC_EXTERNAL_LNA_A, 0); rt61pci_validate_eeprom() 2445 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); rt61pci_validate_eeprom() 2446 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); rt61pci_validate_eeprom() 2449 rt2x00_eeprom_read(rt2x00dev, EEPROM_LED, &word); rt61pci_validate_eeprom() 2450 if (word == 0xffff) { rt61pci_validate_eeprom() 2451 rt2x00_set_field16(&word, EEPROM_LED_LED_MODE, rt61pci_validate_eeprom() 2453 rt2x00_eeprom_write(rt2x00dev, EEPROM_LED, word); rt61pci_validate_eeprom() 2454 rt2x00_eeprom_dbg(rt2x00dev, "Led: 0x%04x\n", word); rt61pci_validate_eeprom() 2457 rt2x00_eeprom_read(rt2x00dev, EEPROM_FREQ, &word); rt61pci_validate_eeprom() 2458 if (word == 0xffff) { rt61pci_validate_eeprom() 2459 rt2x00_set_field16(&word, EEPROM_FREQ_OFFSET, 0); rt61pci_validate_eeprom() 2460 rt2x00_set_field16(&word, EEPROM_FREQ_SEQ, 0); rt61pci_validate_eeprom() 2461 rt2x00_eeprom_write(rt2x00dev, EEPROM_FREQ, word); rt61pci_validate_eeprom() 2462 rt2x00_eeprom_dbg(rt2x00dev, "Freq: 0x%04x\n", word); rt61pci_validate_eeprom() 2465 rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_BG, &word); rt61pci_validate_eeprom() 2466 if (word == 0xffff) { rt61pci_validate_eeprom() 2467 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); rt61pci_validate_eeprom() 2468 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); rt61pci_validate_eeprom() 2469 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); rt61pci_validate_eeprom() 2470 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET BG: 0x%04x\n", word); rt61pci_validate_eeprom() 2472 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_1); rt61pci_validate_eeprom() 2474 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_1, 0); rt61pci_validate_eeprom() 2475 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_BG_2); rt61pci_validate_eeprom() 2477 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_BG_2, 0); rt61pci_validate_eeprom() 2478 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_BG, word); rt61pci_validate_eeprom() 2481 rt2x00_eeprom_read(rt2x00dev, EEPROM_RSSI_OFFSET_A, &word); rt61pci_validate_eeprom() 2482 if (word == 0xffff) { rt61pci_validate_eeprom() 2483 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); rt61pci_validate_eeprom() 2484 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); rt61pci_validate_eeprom() 2485 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); rt61pci_validate_eeprom() 2486 rt2x00_eeprom_dbg(rt2x00dev, "RSSI OFFSET A: 0x%04x\n", word); rt61pci_validate_eeprom() 2488 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_1); rt61pci_validate_eeprom() 2490 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_1, 0); rt61pci_validate_eeprom() 2491 value = rt2x00_get_field16(word, EEPROM_RSSI_OFFSET_A_2); rt61pci_validate_eeprom() 2493 rt2x00_set_field16(&word, EEPROM_RSSI_OFFSET_A_2, 0); rt61pci_validate_eeprom() 2494 rt2x00_eeprom_write(rt2x00dev, EEPROM_RSSI_OFFSET_A, word); rt61pci_validate_eeprom() 2507 * Read EEPROM word for configuration. rt61pci_init_eeprom() 2575 * eeprom word. rt61pci_init_eeprom() 65 rt61pci_bbp_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u8 value) rt61pci_bbp_write() argument 89 rt61pci_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word, u8 *value) rt61pci_bbp_read() argument 120 rt61pci_rf_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u32 value) rt61pci_rf_write() argument
|
H A D | rt2500usb.h | 391 * SEC_CSR0: Shared key 0, word 0 392 * SEC_CSR1: Shared key 0, word 1 393 * SEC_CSR2: Shared key 0, word 2 394 * SEC_CSR3: Shared key 0, word 3 395 * SEC_CSR4: Shared key 0, word 4 396 * SEC_CSR5: Shared key 0, word 5 397 * SEC_CSR6: Shared key 0, word 6 398 * SEC_CSR7: Shared key 0, word 7 410 * SEC_CSR8: Shared key 1, word 0 411 * SEC_CSR9: Shared key 1, word 1 412 * SEC_CSR10: Shared key 1, word 2 413 * SEC_CSR11: Shared key 1, word 3 414 * SEC_CSR12: Shared key 1, word 4 415 * SEC_CSR13: Shared key 1, word 5 416 * SEC_CSR14: Shared key 1, word 6 417 * SEC_CSR15: Shared key 1, word 7 429 * SEC_CSR16: Shared key 2, word 0 430 * SEC_CSR17: Shared key 2, word 1 431 * SEC_CSR18: Shared key 2, word 2 432 * SEC_CSR19: Shared key 2, word 3 433 * SEC_CSR20: Shared key 2, word 4 434 * SEC_CSR21: Shared key 2, word 5 435 * SEC_CSR22: Shared key 2, word 6 436 * SEC_CSR23: Shared key 2, word 7 448 * SEC_CSR24: Shared key 3, word 0 449 * SEC_CSR25: Shared key 3, word 1 450 * SEC_CSR26: Shared key 3, word 2 451 * SEC_CSR27: Shared key 3, word 3 452 * SEC_CSR28: Shared key 3, word 4 453 * SEC_CSR29: Shared key 3, word 5 454 * SEC_CSR30: Shared key 3, word 6 455 * SEC_CSR31: Shared key 3, word 7
|
H A D | rt2500pci.c | 57 const unsigned int word, const u8 value) rt2500pci_bbp_write() 70 rt2x00_set_field32(®, BBPCSR_REGNUM, word); rt2500pci_bbp_write() 81 const unsigned int word, u8 *value) rt2500pci_bbp_read() 97 rt2x00_set_field32(®, BBPCSR_REGNUM, word); rt2500pci_bbp_read() 112 const unsigned int word, const u32 value) rt2500pci_rf_write() 130 rt2x00_rf_write(rt2x00dev, word, value); rt2500pci_rf_write() 814 u32 word; rt2500pci_get_entry_state() local 817 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_get_entry_state() 819 return rt2x00_get_field32(word, RXD_W0_OWNER_NIC); rt2500pci_get_entry_state() 821 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_get_entry_state() 823 return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt2500pci_get_entry_state() 824 rt2x00_get_field32(word, TXD_W0_VALID)); rt2500pci_get_entry_state() 832 u32 word; rt2500pci_clear_entry() local 835 rt2x00_desc_read(entry_priv->desc, 1, &word); rt2500pci_clear_entry() 836 rt2x00_set_field32(&word, RXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); rt2500pci_clear_entry() 837 rt2x00_desc_write(entry_priv->desc, 1, word); rt2500pci_clear_entry() 839 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_clear_entry() 840 rt2x00_set_field32(&word, RXD_W0_OWNER_NIC, 1); rt2500pci_clear_entry() 841 rt2x00_desc_write(entry_priv->desc, 0, word); rt2500pci_clear_entry() 843 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_clear_entry() 844 rt2x00_set_field32(&word, TXD_W0_VALID, 0); rt2500pci_clear_entry() 845 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 0); rt2500pci_clear_entry() 846 rt2x00_desc_write(entry_priv->desc, 0, word); rt2500pci_clear_entry() 1261 u32 word; rt2500pci_write_tx_desc() local 1266 rt2x00_desc_read(txd, 1, &word); rt2500pci_write_tx_desc() 1267 rt2x00_set_field32(&word, TXD_W1_BUFFER_ADDRESS, skbdesc->skb_dma); rt2500pci_write_tx_desc() 1268 rt2x00_desc_write(txd, 1, word); rt2500pci_write_tx_desc() 1270 rt2x00_desc_read(txd, 2, &word); rt2500pci_write_tx_desc() 1271 rt2x00_set_field32(&word, TXD_W2_IV_OFFSET, IEEE80211_HEADER); rt2500pci_write_tx_desc() 1272 rt2x00_set_field32(&word, TXD_W2_AIFS, entry->queue->aifs); rt2500pci_write_tx_desc() 1273 rt2x00_set_field32(&word, TXD_W2_CWMIN, entry->queue->cw_min); rt2500pci_write_tx_desc() 1274 rt2x00_set_field32(&word, TXD_W2_CWMAX, entry->queue->cw_max); rt2500pci_write_tx_desc() 1275 rt2x00_desc_write(txd, 2, word); rt2500pci_write_tx_desc() 1277 rt2x00_desc_read(txd, 3, &word); rt2500pci_write_tx_desc() 1278 rt2x00_set_field32(&word, TXD_W3_PLCP_SIGNAL, txdesc->u.plcp.signal); rt2500pci_write_tx_desc() 1279 rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service); rt2500pci_write_tx_desc() 1280 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_LOW, rt2500pci_write_tx_desc() 1282 rt2x00_set_field32(&word, TXD_W3_PLCP_LENGTH_HIGH, rt2500pci_write_tx_desc() 1284 rt2x00_desc_write(txd, 3, word); rt2500pci_write_tx_desc() 1286 rt2x00_desc_read(txd, 10, &word); rt2500pci_write_tx_desc() 1287 rt2x00_set_field32(&word, TXD_W10_RTS, rt2500pci_write_tx_desc() 1289 rt2x00_desc_write(txd, 10, word); rt2500pci_write_tx_desc() 1292 * Writing TXD word 0 must the last to prevent a race condition with rt2500pci_write_tx_desc() 1296 rt2x00_desc_read(txd, 0, &word); rt2500pci_write_tx_desc() 1297 rt2x00_set_field32(&word, TXD_W0_OWNER_NIC, 1); rt2500pci_write_tx_desc() 1298 rt2x00_set_field32(&word, TXD_W0_VALID, 1); rt2500pci_write_tx_desc() 1299 rt2x00_set_field32(&word, TXD_W0_MORE_FRAG, rt2500pci_write_tx_desc() 1301 rt2x00_set_field32(&word, TXD_W0_ACK, rt2500pci_write_tx_desc() 1303 rt2x00_set_field32(&word, TXD_W0_TIMESTAMP, rt2500pci_write_tx_desc() 1305 rt2x00_set_field32(&word, TXD_W0_OFDM, rt2500pci_write_tx_desc() 1307 rt2x00_set_field32(&word, TXD_W0_CIPHER_OWNER, 1); rt2500pci_write_tx_desc() 1308 rt2x00_set_field32(&word, TXD_W0_IFS, txdesc->u.plcp.ifs); rt2500pci_write_tx_desc() 1309 rt2x00_set_field32(&word, TXD_W0_RETRY_MODE, rt2500pci_write_tx_desc() 1311 rt2x00_set_field32(&word, TXD_W0_DATABYTE_COUNT, txdesc->length); rt2500pci_write_tx_desc() 1312 rt2x00_set_field32(&word, TXD_W0_CIPHER_ALG, CIPHER_NONE); rt2500pci_write_tx_desc() 1313 rt2x00_desc_write(txd, 0, word); rt2500pci_write_tx_desc() 1408 u32 word; rt2500pci_txdone() local 1413 rt2x00_desc_read(entry_priv->desc, 0, &word); rt2500pci_txdone() 1415 if (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) || rt2500pci_txdone() 1416 !rt2x00_get_field32(word, TXD_W0_VALID)) rt2500pci_txdone() 1423 switch (rt2x00_get_field32(word, TXD_W0_RESULT)) { rt2500pci_txdone() 1434 txdesc.retry = rt2x00_get_field32(word, TXD_W0_RETRY_COUNT); rt2500pci_txdone() 1566 u16 word; rt2500pci_validate_eeprom() local 1593 rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &word); rt2500pci_validate_eeprom() 1594 if (word == 0xffff) { rt2500pci_validate_eeprom() 1595 rt2x00_set_field16(&word, EEPROM_ANTENNA_NUM, 2); rt2500pci_validate_eeprom() 1596 rt2x00_set_field16(&word, EEPROM_ANTENNA_TX_DEFAULT, rt2500pci_validate_eeprom() 1598 rt2x00_set_field16(&word, EEPROM_ANTENNA_RX_DEFAULT, rt2500pci_validate_eeprom() 1600 rt2x00_set_field16(&word, EEPROM_ANTENNA_LED_MODE, rt2500pci_validate_eeprom() 1602 rt2x00_set_field16(&word, EEPROM_ANTENNA_DYN_TXAGC, 0); rt2500pci_validate_eeprom() 1603 rt2x00_set_field16(&word, EEPROM_ANTENNA_HARDWARE_RADIO, 0); rt2500pci_validate_eeprom() 1604 rt2x00_set_field16(&word, EEPROM_ANTENNA_RF_TYPE, RF2522); rt2500pci_validate_eeprom() 1605 rt2x00_eeprom_write(rt2x00dev, EEPROM_ANTENNA, word); rt2500pci_validate_eeprom() 1606 rt2x00_eeprom_dbg(rt2x00dev, "Antenna: 0x%04x\n", word); rt2500pci_validate_eeprom() 1609 rt2x00_eeprom_read(rt2x00dev, EEPROM_NIC, &word); rt2500pci_validate_eeprom() 1610 if (word == 0xffff) { rt2500pci_validate_eeprom() 1611 rt2x00_set_field16(&word, EEPROM_NIC_CARDBUS_ACCEL, 0); rt2500pci_validate_eeprom() 1612 rt2x00_set_field16(&word, EEPROM_NIC_DYN_BBP_TUNE, 0); rt2500pci_validate_eeprom() 1613 rt2x00_set_field16(&word, EEPROM_NIC_CCK_TX_POWER, 0); rt2500pci_validate_eeprom() 1614 rt2x00_eeprom_write(rt2x00dev, EEPROM_NIC, word); rt2500pci_validate_eeprom() 1615 rt2x00_eeprom_dbg(rt2x00dev, "NIC: 0x%04x\n", word); rt2500pci_validate_eeprom() 1618 rt2x00_eeprom_read(rt2x00dev, EEPROM_CALIBRATE_OFFSET, &word); rt2500pci_validate_eeprom() 1619 if (word == 0xffff) { rt2500pci_validate_eeprom() 1620 rt2x00_set_field16(&word, EEPROM_CALIBRATE_OFFSET_RSSI, rt2500pci_validate_eeprom() 1622 rt2x00_eeprom_write(rt2x00dev, EEPROM_CALIBRATE_OFFSET, word); rt2500pci_validate_eeprom() 1624 word); rt2500pci_validate_eeprom() 1637 * Read EEPROM word for configuration. rt2500pci_init_eeprom() 56 rt2500pci_bbp_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u8 value) rt2500pci_bbp_write() argument 80 rt2500pci_bbp_read(struct rt2x00_dev *rt2x00dev, const unsigned int word, u8 *value) rt2500pci_bbp_read() argument 111 rt2500pci_rf_write(struct rt2x00_dev *rt2x00dev, const unsigned int word, const u32 value) rt2500pci_rf_write() argument
|
/linux-4.1.27/arch/sh/lib/ |
H A D | memcpy.S | 67 ! First, align to long word boundary 80 2: ! Second, copy a long word at once 99 ! First, align to long word boundary 110 2: ! Second, read a long word and write a long word at once 151 ! First, align to word boundary 158 2: ! Second, read a word and write a word at once 180 ! First, align to long word boundary 191 2: ! Second, read a long word and write a long word at once
|
H A D | memmove.S | 80 ! First, align to long word boundary 93 2: ! Second, copy a long word at once 113 ! First, align to long word boundary 126 2: ! Second, read a long word and write a long word at once 171 ! First, align to word boundary 178 2: ! Second, read a word and write a word at once 201 ! First, align to long word boundary 214 2: ! Second, read a long word and write a long word at once
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-bcm7038-l1.c | 80 unsigned int word) reg_status() 82 return (0 * intc->n_words + word) * sizeof(u32); reg_status() 86 unsigned int word) reg_mask_status() 88 return (1 * intc->n_words + word) * sizeof(u32); reg_mask_status() 92 unsigned int word) reg_mask_set() 94 return (2 * intc->n_words + word) * sizeof(u32); reg_mask_set() 98 unsigned int word) reg_mask_clr() 100 return (3 * intc->n_words + word) * sizeof(u32); reg_mask_clr() 156 u32 word = d->hwirq / IRQS_PER_WORD; __bcm7038_l1_unmask() local 159 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; __bcm7038_l1_unmask() 161 reg_mask_clr(intc, word)); __bcm7038_l1_unmask() 167 u32 word = d->hwirq / IRQS_PER_WORD; __bcm7038_l1_mask() local 170 intc->cpus[cpu_idx]->mask_cache[word] |= mask; __bcm7038_l1_mask() 172 reg_mask_set(intc, word)); __bcm7038_l1_mask() 202 u32 word = hw / IRQS_PER_WORD; bcm7038_l1_set_affinity() local 209 was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & bcm7038_l1_set_affinity() 79 reg_status(struct bcm7038_l1_chip *intc, unsigned int word) reg_status() argument 85 reg_mask_status(struct bcm7038_l1_chip *intc, unsigned int word) reg_mask_status() argument 91 reg_mask_set(struct bcm7038_l1_chip *intc, unsigned int word) reg_mask_set() argument 97 reg_mask_clr(struct bcm7038_l1_chip *intc, unsigned int word) reg_mask_clr() argument
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r819xU_firmware.h | 8 /* It should be double word alignment */
|
/linux-4.1.27/arch/x86/realmode/rm/ |
H A D | realmode.h | 12 #define LJMPW_RM(to) .byte 0xea ; .word (to), real_mode_seg
|
H A D | wakeup_asm.S | 155 .word 3*8-1 /* Self-descriptor */ 157 .word 0 159 .word 0xffff /* 16-bit code segment @ real_mode_base */ 161 .word 0x008f /* big real mode */ 163 .word 0xffff /* 16-bit data segment @ real_mode_base */ 165 .word 0x008f /* big real mode */ 174 .word 0xffff /* limit */ 176 .word 0
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | jump_label.h | 17 ".word 1b, %l[l_yes], %c0\n\t" arch_static_branch()
|
H A D | futex_64.h | 25 " .word 1b, 4b\n" \ 26 " .word 2b, 4b\n" \ 103 " .word 1b, 3b\n" futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | spi-omap2-mcspi.h | 26 /* toggle chip select after every word */
|
/linux-4.1.27/arch/arm/mach-shmobile/include/mach/ |
H A D | zboot_macros.h | 8 /* The ED command is used to write a 32-bit word */ 19 /* The EW command is used to write a 16-bit word */ 30 /* The EB command is used to write an 8-bit word */ 57 /* The DD command is used to read a 32-bit word */
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | bitops.h | 292 * ffz = Find First Zero in word. Undefined if no zero exists, 313 static inline unsigned long ffz(unsigned long word) ffz() argument 317 return __kernel_cttz(~word); ffz() 321 bits = __kernel_cmpbge(word, ~0UL); ffz() 323 bits = __kernel_extbl(word, qofs); ffz() 331 * __ffs = Find First set bit in word. Undefined if no set bit exists. 333 static inline unsigned long __ffs(unsigned long word) __ffs() argument 337 return __kernel_cttz(word); __ffs() 341 bits = __kernel_cmpbge(0, word); __ffs() 343 bits = __kernel_extbl(word, qofs); __ffs() 358 static inline int ffs(int word) ffs() argument 360 int result = __ffs(word) + 1; ffs() 361 return word ? result : 0; ffs() 368 static inline int fls64(unsigned long word) fls64() argument 370 return 64 - __kernel_ctlz(word); fls64() 400 * of bits set) of a N-bit word
|
/linux-4.1.27/include/asm-generic/ |
H A D | bitsperlong.h | 18 #error Inconsistent word size. Check asm/bitsperlong.h
|
/linux-4.1.27/arch/unicore32/mm/ |
H A D | proc-macros.S | 82 .word \clear 83 .word \mmuset 119 .word 0xfffff000, 930b @ second level page table 120 .word 0xfffffc00, 930b @ second level large page table 121 .word 0x00000000, \err @ invalid 122 .word 0xffc00000, 980f @ super page 125 .word 0xfffff000, 980f @ page 126 .word 0xffffc000, 980f @ middle page 127 .word 0xffff0000, 980f @ large page 128 .word 0x00000000, \err @ invalid
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | bitops.h | 192 * ffz - find first zero in word. 193 * @word: The word to search 209 * @x: the word to search 229 * @x: the word to search 249 * __ffs - find first bit in word. 250 * @word: The word to search 257 static inline unsigned long __ffs(unsigned long word) __ffs() argument 263 : "r" (word)); __ffs() 269 * __fls - find last (most-significant) set bit in a long word 270 * @word: the word to search 275 static inline unsigned long __fls(unsigned long word) __fls() argument 282 : "r" (word)); __fls()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | sclp.S | 104 # R2 = command word 115 lr %r6,%r2 # save command word 156 l %r2,.LwritemaskS3-.LbaseS3(%r13)# get command word 182 .word .LinitendS3-.LinitsccbS3 184 .word 0 185 .word 0 186 .word 4 303 .word .LmtoS4-.LwritesccbS4 306 .word 0 310 .word .LmtoS4-.LevbufS4 313 .word 0 317 .word .LmtoS4-.LmdbS4 318 .word 1 324 .word .LmtoS4-.LgoS4 325 .word 1 332 .word 0 338 .word .LmtoendS4-.LmtoS4 339 .word 4 340 .word 0x1000
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | bitops.h | 38 * ffz: Find first zero in word. Undefined if no zero exists. 48 * __ffs: Find first bit set in word. Return 0 for bit 0 57 * ffs: Find first bit set in word. This is defined the same way as 68 * fls: Find last (most-significant) bit set in word. 78 * __fls - find last (most-significant) set bit in a long word 79 * @word: the word to search 83 static inline unsigned long __fls(unsigned long word) __fls() argument 85 return 31 - __cntlz(word); __fls()
|
/linux-4.1.27/arch/xtensa/lib/ |
H A D | strnlen_user.S | 21 .word 9b, handler; \ 68 * String is word-aligned. 80 EX(l32i, a9, a4, 4, lenfixup) # get next word of string 94 # check two more bytes (bytes 0, 1 of word) 100 # check one more byte (byte 2 of word) 131 bbci.l a4, 1, .Laligned # if string pointer is now word-aligned 135 EX(l32i, a9, a4, 0, lenfixup) # get word with first two bytes of string 136 bnone a9, a7, .Lz2 # if byte 2 (of word, not string) is zero 137 bany a9, a8, .Laligned # if byte 3 (of word, not string) is nonzero
|
/linux-4.1.27/drivers/scsi/ |
H A D | sun3_scsi.h | 43 unsigned short addr_hi; /* high word of addr */ 44 unsigned short addr_lo; /* low word */ 46 unsigned short mode_hi; /* high word of channel mode */ 47 unsigned short mode_lo; /* low word of channel mode */ 53 #define UDC_CHN_HI 0x26 /* chain high word */ 54 #define UDC_CHN_LO 0x22 /* chain lo word */
|
/linux-4.1.27/arch/frv/lib/ |
H A D | memcpy.S | 64 # do word by word copy 75 # do double-word by double-word copy 85 # do quad-word by quad-word copy
|
/linux-4.1.27/sound/atmel/ |
H A D | ac97c.c | 322 unsigned long word = ac97c_readl(chip, OCA); atmel_ac97c_playback_prepare() local 326 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); atmel_ac97c_playback_prepare() 331 word |= AC97C_CH_ASSIGN(PCM_LEFT, A); atmel_ac97c_playback_prepare() 334 word |= AC97C_CH_ASSIGN(PCM_LEFT, A) atmel_ac97c_playback_prepare() 341 ac97c_writel(chip, OCA, word); atmel_ac97c_playback_prepare() 344 word = ac97c_readl(chip, CAMR); atmel_ac97c_playback_prepare() 346 word = AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; atmel_ac97c_playback_prepare() 348 word |= AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; atmel_ac97c_playback_prepare() 353 word |= AC97C_CMR_CEM_LITTLE; atmel_ac97c_playback_prepare() 356 word &= ~(AC97C_CMR_CEM_LITTLE); atmel_ac97c_playback_prepare() 359 word = ac97c_readl(chip, OCA); atmel_ac97c_playback_prepare() 360 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); atmel_ac97c_playback_prepare() 361 ac97c_writel(chip, OCA, word); atmel_ac97c_playback_prepare() 366 word |= AC97C_CSR_UNRUN; atmel_ac97c_playback_prepare() 368 ac97c_writel(chip, CAMR, word); atmel_ac97c_playback_prepare() 371 word = ac97c_readl(chip, IMR); atmel_ac97c_playback_prepare() 372 word |= AC97C_SR_CAEVT; atmel_ac97c_playback_prepare() 373 ac97c_writel(chip, IER, word); atmel_ac97c_playback_prepare() 377 word = ac97c_readl(chip, MR); atmel_ac97c_playback_prepare() 378 word |= AC97C_MR_VRA; atmel_ac97c_playback_prepare() 379 ac97c_writel(chip, MR, word); atmel_ac97c_playback_prepare() 381 word = ac97c_readl(chip, MR); atmel_ac97c_playback_prepare() 382 word &= ~(AC97C_MR_VRA); atmel_ac97c_playback_prepare() 383 ac97c_writel(chip, MR, word); atmel_ac97c_playback_prepare() 413 unsigned long word = ac97c_readl(chip, ICA); atmel_ac97c_capture_prepare() local 417 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); atmel_ac97c_capture_prepare() 422 word |= AC97C_CH_ASSIGN(PCM_LEFT, A); atmel_ac97c_capture_prepare() 425 word |= AC97C_CH_ASSIGN(PCM_LEFT, A) atmel_ac97c_capture_prepare() 432 ac97c_writel(chip, ICA, word); atmel_ac97c_capture_prepare() 435 word = ac97c_readl(chip, CAMR); atmel_ac97c_capture_prepare() 437 word = AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; atmel_ac97c_capture_prepare() 439 word |= AC97C_CMR_DMAEN | AC97C_CMR_SIZE_16; atmel_ac97c_capture_prepare() 444 word |= AC97C_CMR_CEM_LITTLE; atmel_ac97c_capture_prepare() 447 word &= ~(AC97C_CMR_CEM_LITTLE); atmel_ac97c_capture_prepare() 450 word = ac97c_readl(chip, ICA); atmel_ac97c_capture_prepare() 451 word &= ~(AC97C_CH_MASK(PCM_LEFT) | AC97C_CH_MASK(PCM_RIGHT)); atmel_ac97c_capture_prepare() 452 ac97c_writel(chip, ICA, word); atmel_ac97c_capture_prepare() 457 word |= AC97C_CSR_OVRUN; atmel_ac97c_capture_prepare() 459 ac97c_writel(chip, CAMR, word); atmel_ac97c_capture_prepare() 462 word = ac97c_readl(chip, IMR); atmel_ac97c_capture_prepare() 463 word |= AC97C_SR_CAEVT; atmel_ac97c_capture_prepare() 464 ac97c_writel(chip, IER, word); atmel_ac97c_capture_prepare() 468 word = ac97c_readl(chip, MR); atmel_ac97c_capture_prepare() 469 word |= AC97C_MR_VRA; atmel_ac97c_capture_prepare() 470 ac97c_writel(chip, MR, word); atmel_ac97c_capture_prepare() 472 word = ac97c_readl(chip, MR); atmel_ac97c_capture_prepare() 473 word &= ~(AC97C_MR_VRA); atmel_ac97c_capture_prepare() 474 ac97c_writel(chip, MR, word); atmel_ac97c_capture_prepare() 816 unsigned long word; atmel_ac97c_write() local 819 word = (reg & 0x7f) << 16 | val; atmel_ac97c_write() 823 ac97c_writel(chip, COTHR, word); atmel_ac97c_write() 836 unsigned long word; atmel_ac97c_read() local 840 word = (0x80 | (reg & 0x7f)) << 16; atmel_ac97c_read() 850 ac97c_writel(chip, COTHR, word); atmel_ac97c_read()
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
H A D | prism2mgmt.c | 121 u16 roamingmode, word; prism2mgmt_scan() local 172 word = cpu_to_le16(msg->maxchanneltime.data); prism2mgmt_scan() 174 word = 0; prism2mgmt_scan() 178 word); prism2mgmt_scan() 186 word = HFA384x_RATEBIT_2; prism2mgmt_scan() 187 scanreq.txRate = cpu_to_le16(word); prism2mgmt_scan() 190 word = 0; prism2mgmt_scan() 197 word |= (1 << (channel - 1)); prism2mgmt_scan() 199 scanreq.channelList = cpu_to_le16(word); prism2mgmt_scan() 206 result = hfa384x_drvr_getconfig16(hw, HFA384x_RID_PORTSTATUS, &word); prism2mgmt_scan() 214 if (word == HFA384x_PORTSTATUS_DISABLED) { prism2mgmt_scan() 537 u16 word; prism2mgmt_start() local 582 word = msg->beaconperiod.data; prism2mgmt_start() 583 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNint, word); prism2mgmt_start() 586 "Failed to set beacon period=%d.\n", word); prism2mgmt_start() 591 word = msg->dschannel.data; prism2mgmt_start() 592 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFOWNCHANNEL, word); prism2mgmt_start() 595 "Failed to set channel=%d.\n", word); prism2mgmt_start() 599 word = p80211rate_to_p2bit(msg->basicrate1.data); prism2mgmt_start() 601 word |= p80211rate_to_p2bit(msg->basicrate2.data); prism2mgmt_start() 604 word |= p80211rate_to_p2bit(msg->basicrate3.data); prism2mgmt_start() 607 word |= p80211rate_to_p2bit(msg->basicrate4.data); prism2mgmt_start() 610 word |= p80211rate_to_p2bit(msg->basicrate5.data); prism2mgmt_start() 613 word |= p80211rate_to_p2bit(msg->basicrate6.data); prism2mgmt_start() 616 word |= p80211rate_to_p2bit(msg->basicrate7.data); prism2mgmt_start() 619 word |= p80211rate_to_p2bit(msg->basicrate8.data); prism2mgmt_start() 621 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFBASICRATES, word); prism2mgmt_start() 624 "Failed to set basicrates=%d.\n", word); prism2mgmt_start() 629 word = p80211rate_to_p2bit(msg->operationalrate1.data); prism2mgmt_start() 631 word |= p80211rate_to_p2bit(msg->operationalrate2.data); prism2mgmt_start() 634 word |= p80211rate_to_p2bit(msg->operationalrate3.data); prism2mgmt_start() 637 word |= p80211rate_to_p2bit(msg->operationalrate4.data); prism2mgmt_start() 640 word |= p80211rate_to_p2bit(msg->operationalrate5.data); prism2mgmt_start() 643 word |= p80211rate_to_p2bit(msg->operationalrate6.data); prism2mgmt_start() 646 word |= p80211rate_to_p2bit(msg->operationalrate7.data); prism2mgmt_start() 649 word |= p80211rate_to_p2bit(msg->operationalrate8.data); prism2mgmt_start() 651 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFSUPPRATES, word); prism2mgmt_start() 654 "Failed to set supprates=%d.\n", word); prism2mgmt_start() 658 result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_TXRATECNTL, word); prism2mgmt_start() 661 word); prism2mgmt_start() 1101 u16 word; prism2mgmt_wlansniff() local 1143 word = hw->presniff_port_type; prism2mgmt_wlansniff() 1146 word); prism2mgmt_wlansniff() 1214 word = msg->channel.data; prism2mgmt_wlansniff() 1217 word); prism2mgmt_wlansniff() 1218 hw->sniff_channel = word; prism2mgmt_wlansniff() 1222 word, result); prism2mgmt_wlansniff() 1229 word = HFA384x_PORTTYPE_PSUEDOIBSS; prism2mgmt_wlansniff() 1232 word); prism2mgmt_wlansniff() 1236 word, result); prism2mgmt_wlansniff() 1244 word = HFA384x_WEPFLAGS_DISABLE_TXCRYPT | prism2mgmt_wlansniff() 1249 word); prism2mgmt_wlansniff() 1255 word, result); prism2mgmt_wlansniff()
|
/linux-4.1.27/arch/x86/math-emu/ |
H A D | wm_sqrt.S | 34 #define FPU_accum_3 -4(%ebp) /* ms word */ 45 #define FPU_fsqrt_arg_2 -20(%ebp) /* ms word */ 47 #define FPU_fsqrt_arg_0 -28(%ebp) /* ls word, at most the ms bit is set */ 54 .long 0 /* ms word */ 68 .long 0 /* ms word */ 72 .long 0 /* ls word, at most the ms bit is set */ 106 movl %eax,FPU_fsqrt_arg_2 /* ms word of n */ 127 movl FPU_fsqrt_arg_2,%ecx /* ms word */ 169 movl FPU_fsqrt_arg_2,%ecx /* ms word of normalized n */ 234 movl %edi,%eax /* ls word of guess */ 261 movl FPU_fsqrt_arg_2,%eax /* ms word of normalized n */ 367 movl %edi,%eax /* ls word of guess */ 369 movl %edx,%ebx /* 2nd ls word of square */ 370 movl %eax,%ecx /* ls word of square */ 422 movl %edi,%eax /* ls word of guess */ 424 movl %edx,%ebx /* 2nd ls word of square */ 425 movl %eax,%ecx /* ls word of square */
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_l2_sys.c | 21 char *word; qeth_bridge_port_role_state_show() local 36 word = "inactive"; break; qeth_bridge_port_role_state_show() 38 word = "standby"; break; qeth_bridge_port_role_state_show() 40 word = "active"; break; qeth_bridge_port_role_state_show() 47 word = "none"; break; qeth_bridge_port_role_state_show() 49 word = "primary"; break; qeth_bridge_port_role_state_show() 51 word = "secondary"; break; qeth_bridge_port_role_state_show() 59 rc = sprintf(buf, "%s\n", word); qeth_bridge_port_role_state_show()
|
/linux-4.1.27/arch/unicore32/boot/compressed/ |
H A D | head.S | 162 LC0: .word LC0 @ r1 163 .word __bss_start @ r2 164 .word _end @ r3 165 .word _start @ r5 166 .word _image_size @ r6 167 .word _got_start @ r7 168 .word _got_end @ r8 169 .word decompress_stack_end @ sp
|
/linux-4.1.27/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 24 struct ipu_cpmem_word word[2]; member in struct:ipu_ch_param 35 #define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size)) 110 u32 word = (wbs >> 8) / 160; ipu_ch_param_write_field() local 116 pr_debug("%s %d %d %d\n", __func__, word, bit , size); ipu_ch_param_write_field() 118 val = readl(&base->word[word].data[i]); ipu_ch_param_write_field() 121 writel(val, &base->word[word].data[i]); ipu_ch_param_write_field() 124 val = readl(&base->word[word].data[i + 1]); ipu_ch_param_write_field() 127 writel(val, &base->word[word].data[i + 1]); ipu_ch_param_write_field() 136 u32 word = (wbs >> 8) / 160; ipu_ch_param_read_field() local 142 pr_debug("%s %d %d %d\n", __func__, word, bit , size); ipu_ch_param_read_field() 144 val = (readl(&base->word[word].data[i]) >> ofs) & mask; ipu_ch_param_read_field() 149 tmp = readl(&base->word[word].data[i + 1]); ipu_ch_param_read_field() 173 * little-endian 16-bit word with the red component at the most v4l2_pix_fmt_to_drm_fourcc() 683 dev_dbg(ipu->dev, "ch %d word 0 - %08X %08X %08X %08X %08X\n", chno, ipu_cpmem_dump() 684 readl(&p->word[0].data[0]), ipu_cpmem_dump() 685 readl(&p->word[0].data[1]), ipu_cpmem_dump() 686 readl(&p->word[0].data[2]), ipu_cpmem_dump() 687 readl(&p->word[0].data[3]), ipu_cpmem_dump() 688 readl(&p->word[0].data[4])); ipu_cpmem_dump() 689 dev_dbg(ipu->dev, "ch %d word 1 - %08X %08X %08X %08X %08X\n", chno, ipu_cpmem_dump() 690 readl(&p->word[1].data[0]), ipu_cpmem_dump() 691 readl(&p->word[1].data[1]), ipu_cpmem_dump() 692 readl(&p->word[1].data[2]), ipu_cpmem_dump() 693 readl(&p->word[1].data[3]), ipu_cpmem_dump() 694 readl(&p->word[1].data[4])); ipu_cpmem_dump()
|
/linux-4.1.27/arch/mips/kvm/ |
H A D | locore.S | 631 .word _C_LABEL(MIPSX(GuestException)) # 0 632 .word _C_LABEL(MIPSX(GuestException)) # 1 633 .word _C_LABEL(MIPSX(GuestException)) # 2 634 .word _C_LABEL(MIPSX(GuestException)) # 3 635 .word _C_LABEL(MIPSX(GuestException)) # 4 636 .word _C_LABEL(MIPSX(GuestException)) # 5 637 .word _C_LABEL(MIPSX(GuestException)) # 6 638 .word _C_LABEL(MIPSX(GuestException)) # 7 639 .word _C_LABEL(MIPSX(GuestException)) # 8 640 .word _C_LABEL(MIPSX(GuestException)) # 9 641 .word _C_LABEL(MIPSX(GuestException)) # 10 642 .word _C_LABEL(MIPSX(GuestException)) # 11 643 .word _C_LABEL(MIPSX(GuestException)) # 12 644 .word _C_LABEL(MIPSX(GuestException)) # 13 645 .word _C_LABEL(MIPSX(GuestException)) # 14 646 .word _C_LABEL(MIPSX(GuestException)) # 15 647 .word _C_LABEL(MIPSX(GuestException)) # 16 648 .word _C_LABEL(MIPSX(GuestException)) # 17 649 .word _C_LABEL(MIPSX(GuestException)) # 18 650 .word _C_LABEL(MIPSX(GuestException)) # 19 651 .word _C_LABEL(MIPSX(GuestException)) # 20 652 .word _C_LABEL(MIPSX(GuestException)) # 21 653 .word _C_LABEL(MIPSX(GuestException)) # 22 654 .word _C_LABEL(MIPSX(GuestException)) # 23 655 .word _C_LABEL(MIPSX(GuestException)) # 24 656 .word _C_LABEL(MIPSX(GuestException)) # 25 657 .word _C_LABEL(MIPSX(GuestException)) # 26 658 .word _C_LABEL(MIPSX(GuestException)) # 27 659 .word _C_LABEL(MIPSX(GuestException)) # 28 660 .word _C_LABEL(MIPSX(GuestException)) # 29 661 .word _C_LABEL(MIPSX(GuestException)) # 30 662 .word _C_LABEL(MIPSX(GuestException)) # 31
|
/linux-4.1.27/arch/mips/mm/ |
H A D | page-funcs.S | 28 * With prefetching, 16 word strides 0x120 bytes 43 * With prefetching, 16 word strides 0x540 bytes
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | bitops.h | 157 * @x: the word to search 184 * @x: the word to search 197 * __fls - find last (most-significant) set bit in a long word 198 * @word: the word to search 202 static inline unsigned long __fls(unsigned long word) __fls() argument 204 return __ilog2_u32(word); __fls() 209 * @x: the word to search
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | dsp56k.h | 32 #define DSP56K_SET_TX_WSIZE 2 /* Host transmit word size (1-4) */ 33 #define DSP56K_SET_RX_WSIZE 3 /* Host receive word size (1-4) */
|
H A D | movs.h | 46 /* Set a (long)word using the "movs" instruction */ 51 /* Get a (long)word using the "movs" instruction */
|
H A D | mcfwdebug.h | 36 #define MCFDEBUG_TDR_EDWL1 0x00000800 /* Enable data BP lower word */ 38 #define MCFDEBUG_TDR_EDWU1 0x00000400 /* Enable data BP upper word */ 89 * that the debug module instructions (2 longs) must be long word aligned and 96 // Force alignment to long word boundary wdebug() 109 ".word 0xfbd0\n\t" wdebug() 110 ".word 0x0003\n\t" wdebug()
|
/linux-4.1.27/tools/perf/ |
H A D | perf-completion.sh | 7 # Which word separators to exclude? 14 # List of word completion separators has shrunk; 17 # Append each nonempty word consisting of just 18 # word separator characters to the current word. 23 # word consists of excluded word separators 99 # Remove colon-word prefix from COMPREPLY items
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-dac124s085.c | 45 u16 word; dac124s085_led_work() local 48 word = cpu_to_le16(((led->id) << 14) | REG_WRITE_UPDATE | dac124s085_led_work() 50 spi_write(led->spi, (const u8 *)&word, sizeof(word)); dac124s085_led_work()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | cache.h | 19 /* word-granular cache in microblaze */
|
/linux-4.1.27/drivers/atm/ |
H A D | tonga.h | 13 #define END_SWAP_WORD 0x20 /* endian swap on slave word accesses */
|
/linux-4.1.27/include/linux/spi/ |
H A D | xilinx_spi.h | 8 * @bits_per_word: Number of bits per word.
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | bootinfo-atari.h | 18 * mch_cookie values (upper word of BI_ATARI_MCH_COOKIE)
|
/linux-4.1.27/arch/arm/mach-zynq/ |
H A D | headsmp.S | 21 .word /* cpu 1 */
|
/linux-4.1.27/arch/arm/mach-tegra/ |
H A D | sleep-tegra30.S | 538 .word TEGRA_EMC_BASE + EMC_CFG @0x0 539 .word TEGRA_EMC_BASE + EMC_ZCAL_INTERVAL @0x4 540 .word TEGRA_EMC_BASE + EMC_AUTO_CAL_INTERVAL @0x8 541 .word TEGRA_EMC_BASE + EMC_XM2VTTGENPADCTRL @0xc 542 .word TEGRA_EMC_BASE + EMC_XM2VTTGENPADCTRL2 @0x10 543 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 544 .word TEGRA_CLK_RESET_BASE + CLK_RESET_CLK_SOURCE_MSELECT @0x18 545 .word TEGRA_CLK_RESET_BASE + CLK_RESET_SCLK_BURST @0x1c 549 .word TEGRA_EMC0_BASE + EMC_CFG @0x0 550 .word TEGRA_EMC0_BASE + EMC_ZCAL_INTERVAL @0x4 551 .word TEGRA_EMC0_BASE + EMC_AUTO_CAL_INTERVAL @0x8 552 .word TEGRA_EMC0_BASE + EMC_XM2VTTGENPADCTRL @0xc 553 .word TEGRA_EMC0_BASE + EMC_XM2VTTGENPADCTRL2 @0x10 554 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 555 .word TEGRA_CLK_RESET_BASE + CLK_RESET_CLK_SOURCE_MSELECT @0x18 556 .word TEGRA_CLK_RESET_BASE + CLK_RESET_SCLK_BURST @0x1c 557 .word TEGRA_EMC1_BASE + EMC_CFG @0x20 558 .word TEGRA_EMC1_BASE + EMC_ZCAL_INTERVAL @0x24 559 .word TEGRA_EMC1_BASE + EMC_AUTO_CAL_INTERVAL @0x28 560 .word TEGRA_EMC1_BASE + EMC_XM2VTTGENPADCTRL @0x2c 561 .word TEGRA_EMC1_BASE + EMC_XM2VTTGENPADCTRL2 @0x30 565 .word TEGRA124_EMC_BASE + EMC_CFG @0x0 566 .word TEGRA124_EMC_BASE + EMC_ZCAL_INTERVAL @0x4 567 .word TEGRA124_EMC_BASE + EMC_AUTO_CAL_INTERVAL @0x8 568 .word TEGRA124_EMC_BASE + EMC_XM2VTTGENPADCTRL @0xc 569 .word TEGRA124_EMC_BASE + EMC_XM2VTTGENPADCTRL2 @0x10 570 .word TEGRA_PMC_BASE + PMC_IO_DPD_STATUS @0x14 571 .word TEGRA_CLK_RESET_BASE + CLK_RESET_CLK_SOURCE_MSELECT @0x18 572 .word TEGRA_CLK_RESET_BASE + CLK_RESET_SCLK_BURST @0x1c 576 .word tegra30_sdram_pad_address_end - tegra30_sdram_pad_address 579 .word tegra114_sdram_pad_adress_end - tegra114_sdram_pad_address
|
/linux-4.1.27/arch/x86/lib/ |
H A D | cmdline.c | 32 st_wordstart = 0, /* Start of word/after whitespace */ cmdline_find_option_bool() 33 st_wordcmp, /* Comparing this word */ cmdline_find_option_bool() 70 else if (!len) /* last word and is matching */ cmdline_find_option_bool()
|
H A D | usercopy.c | 10 #include <asm/word-at-a-time.h>
|
/linux-4.1.27/arch/tile/lib/ |
H A D | memchr_32.c | 40 /* Read the first word, but munge it so that bytes before the array memchr() 52 /* Compute the address of the word containing the last byte. */ memchr() 57 /* We already read the last word in the array, memchr()
|
H A D | memchr_64.c | 41 /* Read the first word, but munge it so that bytes before the array memchr() 50 /* Compute the address of the word containing the last byte. */ memchr() 55 /* We already read the last word in the array, memchr()
|
H A D | usercopy_32.S | 40 .word 1b, strnlen_user_fault 65 .word 1b, strncpy_from_user_fault 84 .word 1b, 2b 94 .word 1b, 2b 114 .word 1b, 2b 134 .word 1b, 2b
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | syscopyarea.c | 41 /* Single word */ bitcpy() 84 /* Single destination word */ bitcpy() 88 /* Single source word */ bitcpy() 91 /* Single source word */ bitcpy() 111 /* Single source word */ bitcpy() 152 /* Single source word */ bitcpy() 190 /* Single word */ bitcpy_rev() 231 /* Single destination word */ bitcpy_rev() 235 /* Single source word */ bitcpy_rev() 238 /* Single source word */ bitcpy_rev() 259 /* Single source word */ bitcpy_rev() 302 /* Single source word */ bitcpy_rev()
|
H A D | cfbcopyarea.c | 18 * the native cpu endians. I also need to deal with MSB position in the word. 70 // Single word bitcpy() 114 // Single destination word bitcpy() 120 // Single source word bitcpy() 123 // Single source word bitcpy() 144 // Single source word bitcpy() 191 // Single source word bitcpy() 243 // Single word bitcpy_rev() 287 // Single destination word bitcpy_rev() 292 // Single source word bitcpy_rev() 295 // Single source word bitcpy_rev() 317 // Single source word bitcpy_rev() 365 // Single source word bitcpy_rev()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | jump_label.c | 58 insn.word = 0; /* nop */ arch_jump_label_transform() 64 insn_p->halfword[0] = insn.word >> 16; arch_jump_label_transform() 65 insn_p->halfword[1] = insn.word; arch_jump_label_transform()
|
/linux-4.1.27/arch/avr32/lib/ |
H A D | memcpy.S | 12 * This implementation does word-aligned loads in the main loop, 16 * word-aligned to begin with. 26 /* At this point, "from" is word-aligned */
|
/linux-4.1.27/arch/arm/mach-at91/ |
H A D | pm_suspend.S | 316 .word 0 318 .word 0 320 .word 0 322 .word 0 324 .word 0 326 .word 0 328 .word 0 330 .word 0 332 .word 0 334 .word 0 336 .word 0 339 .word .-at91_pm_suspend_in_sram
|
/linux-4.1.27/drivers/misc/cb710/ |
H A D | sgbuf2.c | 77 * cb710_sg_dwiter_read_next_block() - get next 32-bit word from sg buffer 81 * Returns 32-bit word starting at byte pointed to by @miter@ 91 * 32-bit word just read. 121 * cb710_sg_dwiter_write_next_block() - write next 32-bit word to sg buffer 125 * Writes 32-bit word starting at byte pointed to by @miter@
|
/linux-4.1.27/arch/m68k/fpsp040/ |
H A D | x_fline.S | 44 subl #4,%a7 |4 accounts for 2-word difference 45 | ;between six word frame (unimp) and 46 | ;four word frame 58 movel L_SCR1(%a6),%d0 |d0 contains the fline and command word 90 movew %d0,CMDREG1B(%a6) |move the lower word into CMDREG1B
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | mac.h | 122 u32 macid:5; /* word 1 */ 136 u32 seq:12; /* word 2 */ 141 u32 rxmcs:6; /* word 3 */ 153 u32 iv1; /* word 4 */ 154 u32 tsfl; /* word 5 */ 155 u32 bufferaddress; /* word 6 */ 156 u32 bufferaddress64; /* word 7 */
|
/linux-4.1.27/drivers/clocksource/ |
H A D | bcm_kona_timer.c | 77 * 1. Read hi-word kona_timer_get_counter() 78 * 2. Read low-word kona_timer_get_counter() 79 * 3. Read hi-word again kona_timer_get_counter() 81 * if new hi-word is not equal to previously read hi-word, then kona_timer_get_counter() 84 * if new hi-word is equal to previously read hi-word then stop. kona_timer_get_counter()
|
/linux-4.1.27/kernel/sched/ |
H A D | wait.c | 402 int __sched out_of_line_wait_on_bit(void *word, int bit, out_of_line_wait_on_bit() argument 405 wait_queue_head_t *wq = bit_waitqueue(word, bit); out_of_line_wait_on_bit() 406 DEFINE_WAIT_BIT(wait, word, bit); out_of_line_wait_on_bit() 413 void *word, int bit, wait_bit_action_f *action, out_of_line_wait_on_bit_timeout() 416 wait_queue_head_t *wq = bit_waitqueue(word, bit); out_of_line_wait_on_bit_timeout() 417 DEFINE_WAIT_BIT(wait, word, bit); out_of_line_wait_on_bit_timeout() 445 int __sched out_of_line_wait_on_bit_lock(void *word, int bit, out_of_line_wait_on_bit_lock() argument 448 wait_queue_head_t *wq = bit_waitqueue(word, bit); out_of_line_wait_on_bit_lock() 449 DEFINE_WAIT_BIT(wait, word, bit); out_of_line_wait_on_bit_lock() 455 void __wake_up_bit(wait_queue_head_t *wq, void *word, int bit) __wake_up_bit() argument 457 struct wait_bit_key key = __WAIT_BIT_KEY_INITIALIZER(word, bit); __wake_up_bit() 465 * @word: the word being waited on, a kernel virtual address 466 * @bit: the bit of the word being waited on 480 void wake_up_bit(void *word, int bit) wake_up_bit() argument 482 __wake_up_bit(bit_waitqueue(word, bit), word, bit); wake_up_bit() local 486 wait_queue_head_t *bit_waitqueue(void *word, int bit) bit_waitqueue() argument 489 const struct zone *zone = page_zone(virt_to_page(word)); bit_waitqueue() 490 unsigned long val = (unsigned long)word << shift | bit; bit_waitqueue() 584 __sched int bit_wait(struct wait_bit_key *word) bit_wait() argument 593 __sched int bit_wait_io(struct wait_bit_key *word) bit_wait_io() argument 602 __sched int bit_wait_timeout(struct wait_bit_key *word) bit_wait_timeout() argument 607 if (time_after_eq(now, word->timeout)) bit_wait_timeout() 609 schedule_timeout(word->timeout - now); bit_wait_timeout() 614 __sched int bit_wait_io_timeout(struct wait_bit_key *word) bit_wait_io_timeout() argument 619 if (time_after_eq(now, word->timeout)) bit_wait_io_timeout() 621 io_schedule_timeout(word->timeout - now); bit_wait_io_timeout() 412 out_of_line_wait_on_bit_timeout( void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout) out_of_line_wait_on_bit_timeout() argument
|
/linux-4.1.27/include/uapi/linux/ |
H A D | hdreg.h | 401 unsigned short reserved2; /* reserved (word 2) */ 421 unsigned char capability; /* (upper byte of word 49) 427 unsigned short reserved50; /* reserved (word 50) */ 432 unsigned short field_valid; /* (word 53) 433 * 2: ultra_ok word 88 445 unsigned short dma_1word; /* Obsolete, single-word dma info */ 446 unsigned short dma_mword; /* multiple-word dma info */ 458 unsigned short queue_depth; /* (word 75) 463 unsigned short major_rev_num; /* (word 80) */ 464 unsigned short minor_rev_num; /* (word 81) */ 465 unsigned short command_set_1; /* (word 82) supported 483 unsigned short command_set_2; /* (word 83) 501 unsigned short cfsse; /* (word 84) 513 unsigned short cfs_enable_1; /* (word 85) 532 unsigned short cfs_enable_2; /* (word 86) 551 unsigned short csf_default; /* (word 87) 563 unsigned short dma_ultra; /* (word 88) */ 568 unsigned short hw_config; /* hardware config (word 93) 586 unsigned short acoustic; /* (word 94) 596 unsigned short last_lun; /* (word 126) */ 597 unsigned short word127; /* (word 127) Feature Set 605 unsigned short dlf; /* (word 128) 617 unsigned short csfo; /* (word 129) 626 unsigned short word156; /* reserved vendor word 156 */ 628 unsigned short cfa_power; /* (word 160) CFA Power Mode 629 * 15 word 160 supported 638 unsigned short integrity_word; /* (word 255)
|
/linux-4.1.27/drivers/misc/eeprom/ |
H A D | eeprom_93cx6.c | 173 * eeprom_93cx6_read - Read a word from eeprom 175 * @word: Word index from where we should start reading 178 * This function will read the eeprom data as host-endian word 181 void eeprom_93cx6_read(struct eeprom_93cx6 *eeprom, const u8 word, eeprom_93cx6_read() argument 192 * Select the read opcode and the word to be read. eeprom_93cx6_read() 194 command = (PCI_EEPROM_READ_OPCODE << eeprom->width) | word; eeprom_93cx6_read() 213 * @word: Word index from where we should start reading 223 void eeprom_93cx6_multiread(struct eeprom_93cx6 *eeprom, const u8 word, eeprom_93cx6_multiread() argument 231 eeprom_93cx6_read(eeprom, word + i, &tmp); eeprom_93cx6_multiread() 240 * @word: Byte index from where we should start reading
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | esb2rom.c | 155 u16 word; esb2rom_init_one() local 172 pci_read_config_word(pdev, FWH_DEC_EN1, &word); esb2rom_init_one() 173 printk(KERN_DEBUG "Original FWH_DEC_EN1 : %x\n", word); esb2rom_init_one() 187 pci_read_config_word(pdev, FWH_DEC_EN1, &word); esb2rom_init_one() 188 printk(KERN_DEBUG "pci_read_config_word : %x\n", word); esb2rom_init_one() 190 if ((word & FWH_8MiB) == FWH_8MiB) esb2rom_init_one() 192 else if ((word & FWH_7MiB) == FWH_7MiB) esb2rom_init_one() 194 else if ((word & FWH_6MiB) == FWH_6MiB) esb2rom_init_one() 196 else if ((word & FWH_5MiB) == FWH_5MiB) esb2rom_init_one() 198 else if ((word & FWH_4MiB) == FWH_4MiB) esb2rom_init_one() 200 else if ((word & FWH_3_5MiB) == FWH_3_5MiB) esb2rom_init_one() 202 else if ((word & FWH_3MiB) == FWH_3MiB) esb2rom_init_one() 204 else if ((word & FWH_2_5MiB) == FWH_2_5MiB) esb2rom_init_one() 206 else if ((word & FWH_2MiB) == FWH_2MiB) esb2rom_init_one() 208 else if ((word & FWH_1_5MiB) == FWH_1_5MiB) esb2rom_init_one() 210 else if ((word & FWH_1MiB) == FWH_1MiB) esb2rom_init_one() 212 else if ((word & FWH_0_5MiB) == FWH_0_5MiB) esb2rom_init_one()
|
H A D | l440gx.c | 64 __u16 word; init_l440gx() local 125 pci_read_config_word(dev, 0x4e, &word); init_l440gx() 126 word |= 0x4; init_l440gx() 127 pci_write_config_word(dev, 0x4e, word); init_l440gx()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl8712_hal.h | 67 /*--- long word 0 ----*/ 78 /*--- long word 1 ----*/ 87 /*--- long word 2 ----*/ 96 /*--- long word 3 ----*/ 106 /*--- long word 4 ----*/ 115 /*--- long word 5 ----*/
|
/linux-4.1.27/arch/arm/kvm/ |
H A D | mmio.c | 32 u32 word; mmio_write_buf() member in union:__anon194 46 tmp.word = data; mmio_write_buf() 47 datap = &tmp.word; mmio_write_buf() 63 u32 word; mmio_read_buf() member in union:__anon195 76 memcpy(&tmp.word, buf, len); mmio_read_buf() 77 data = tmp.word; mmio_read_buf()
|
/linux-4.1.27/arch/m68k/ifpsp060/ |
H A D | os.S | 68 | Linux/68k: The _060_[id]mem_{read,write}_{byte,word,long} functions 163 | Read a data word from user memory. 169 | d0 - data word in d0 174 | Read an instruction word from user memory. 180 | d0 - instruction word in d0 191 dmrwuae:movs.w (%a0), %d0 | fetch user word 193 dmrws: move.w (%a0), %d0 | fetch super word 256 | Write a data word to user memory. 260 | d0 - data word in d0 271 dmwwuae:movs.w %d0,(%a0) | store user word 273 dmwws: move.w %d0,(%a0) | store super word 369 | 8-word access error frame.
|
/linux-4.1.27/arch/unicore32/include/uapi/asm/ |
H A D | byteorder.h | 15 * and word accesses (data or instruction) appear as:
|