oword 102 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_VAL(oword) \ oword 103 drivers/net/ethernet/sfc/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[3])), \ oword 104 drivers/net/ethernet/sfc/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[2])), \ oword 105 drivers/net/ethernet/sfc/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[1])), \ oword 106 drivers/net/ethernet/sfc/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[0])) oword 143 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT_OWORD64(oword, low, high) \ oword 144 drivers/net/ethernet/sfc/bitfield.h ((EFX_EXTRACT64((oword).u64[0], 0, 63, low, high) | \ oword 145 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT64((oword).u64[1], 64, 127, low, high)) & \ oword 152 drivers/net/ethernet/sfc/bitfield.h #define EFX_EXTRACT_OWORD32(oword, low, high) \ oword 153 drivers/net/ethernet/sfc/bitfield.h ((EFX_EXTRACT32((oword).u32[0], 0, 31, low, high) | \ oword 154 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT32((oword).u32[1], 32, 63, low, high) | \ oword 155 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT32((oword).u32[2], 64, 95, low, high) | \ oword 156 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT32((oword).u32[3], 96, 127, low, high)) & \ oword 168 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_FIELD64(oword, field) \ oword 169 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_OWORD64(oword, EFX_LOW_BIT(field), \ oword 176 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_FIELD32(oword, field) \ oword 177 drivers/net/ethernet/sfc/bitfield.h EFX_EXTRACT_OWORD32(oword, EFX_LOW_BIT(field), \ oword 188 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_IS_ZERO64(oword) \ oword 189 drivers/net/ethernet/sfc/bitfield.h (((oword).u64[0] | (oword).u64[1]) == (__force __le64) 0) oword 194 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_IS_ZERO32(oword) \ oword 195 drivers/net/ethernet/sfc/bitfield.h (((oword).u32[0] | (oword).u32[1] | (oword).u32[2] | (oword).u32[3]) \ oword 204 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_IS_ALL_ONES64(oword) \ oword 205 drivers/net/ethernet/sfc/bitfield.h (((oword).u64[0] & (oword).u64[1]) == ~((__force __le64) 0)) oword 210 drivers/net/ethernet/sfc/bitfield.h #define EFX_OWORD_IS_ALL_ONES32(oword) \ oword 211 drivers/net/ethernet/sfc/bitfield.h (((oword).u32[0] & (oword).u32[1] & (oword).u32[2] & (oword).u32[3]) \ oword 303 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD64(oword, ...) do { \ oword 304 drivers/net/ethernet/sfc/bitfield.h (oword).u64[0] = EFX_INSERT_FIELDS64(0, 63, __VA_ARGS__); \ oword 305 drivers/net/ethernet/sfc/bitfield.h (oword).u64[1] = EFX_INSERT_FIELDS64(64, 127, __VA_ARGS__); \ oword 312 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD32(oword, ...) do { \ oword 313 drivers/net/ethernet/sfc/bitfield.h (oword).u32[0] = EFX_INSERT_FIELDS32(0, 31, __VA_ARGS__); \ oword 314 drivers/net/ethernet/sfc/bitfield.h (oword).u32[1] = EFX_INSERT_FIELDS32(32, 63, __VA_ARGS__); \ oword 315 drivers/net/ethernet/sfc/bitfield.h (oword).u32[2] = EFX_INSERT_FIELDS32(64, 95, __VA_ARGS__); \ oword 316 drivers/net/ethernet/sfc/bitfield.h (oword).u32[3] = EFX_INSERT_FIELDS32(96, 127, __VA_ARGS__); \ oword 338 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_9(oword, ...) \ oword 339 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_10(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 340 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_8(oword, ...) \ oword 341 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_9(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 342 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_7(oword, ...) \ oword 343 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_8(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 344 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_6(oword, ...) \ oword 345 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_7(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 346 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_5(oword, ...) \ oword 347 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_6(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 348 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_4(oword, ...) \ oword 349 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_5(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 350 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_3(oword, ...) \ oword 351 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_4(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 352 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_2(oword, ...) \ oword 353 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_3(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 354 drivers/net/ethernet/sfc/bitfield.h #define EFX_POPULATE_OWORD_1(oword, ...) \ oword 355 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_2(oword, EFX_DUMMY_FIELD, 0, __VA_ARGS__) oword 356 drivers/net/ethernet/sfc/bitfield.h #define EFX_ZERO_OWORD(oword) \ oword 357 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_1(oword, EFX_DUMMY_FIELD, 0) oword 358 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD(oword) \ oword 359 drivers/net/ethernet/sfc/bitfield.h EFX_POPULATE_OWORD_4(oword, \ oword 422 drivers/net/ethernet/sfc/bitfield.h #define EFX_INVERT_OWORD(oword) do { \ oword 423 drivers/net/ethernet/sfc/bitfield.h (oword).u64[0] = ~((oword).u64[0]); \ oword 424 drivers/net/ethernet/sfc/bitfield.h (oword).u64[1] = ~((oword).u64[1]); \ oword 427 drivers/net/ethernet/sfc/bitfield.h #define EFX_AND_OWORD(oword, from, mask) \ oword 429 drivers/net/ethernet/sfc/bitfield.h (oword).u64[0] = (from).u64[0] & (mask).u64[0]; \ oword 430 drivers/net/ethernet/sfc/bitfield.h (oword).u64[1] = (from).u64[1] & (mask).u64[1]; \ oword 436 drivers/net/ethernet/sfc/bitfield.h #define EFX_OR_OWORD(oword, from, mask) \ oword 438 drivers/net/ethernet/sfc/bitfield.h (oword).u64[0] = (from).u64[0] | (mask).u64[0]; \ oword 439 drivers/net/ethernet/sfc/bitfield.h (oword).u64[1] = (from).u64[1] | (mask).u64[1]; \ oword 454 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD64(oword, low, high, value) do { \ oword 455 drivers/net/ethernet/sfc/bitfield.h (oword).u64[0] = (((oword).u64[0] \ oword 458 drivers/net/ethernet/sfc/bitfield.h (oword).u64[1] = (((oword).u64[1] \ oword 469 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD32(oword, low, high, value) do { \ oword 470 drivers/net/ethernet/sfc/bitfield.h (oword).u32[0] = (((oword).u32[0] \ oword 473 drivers/net/ethernet/sfc/bitfield.h (oword).u32[1] = (((oword).u32[1] \ oword 476 drivers/net/ethernet/sfc/bitfield.h (oword).u32[2] = (((oword).u32[2] \ oword 479 drivers/net/ethernet/sfc/bitfield.h (oword).u32[3] = (((oword).u32[3] \ oword 499 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD_FIELD64(oword, field, value) \ oword 500 drivers/net/ethernet/sfc/bitfield.h EFX_SET_OWORD64(oword, EFX_LOW_BIT(field), \ oword 507 drivers/net/ethernet/sfc/bitfield.h #define EFX_SET_OWORD_FIELD32(oword, field, value) \ oword 508 drivers/net/ethernet/sfc/bitfield.h EFX_SET_OWORD32(oword, EFX_LOW_BIT(field), \ oword 102 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_VAL(oword) \ oword 103 drivers/net/ethernet/sfc/falcon/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[3])), \ oword 104 drivers/net/ethernet/sfc/falcon/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[2])), \ oword 105 drivers/net/ethernet/sfc/falcon/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[1])), \ oword 106 drivers/net/ethernet/sfc/falcon/bitfield.h ((unsigned int) le32_to_cpu((oword).u32[0])) oword 143 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT_OWORD64(oword, low, high) \ oword 144 drivers/net/ethernet/sfc/falcon/bitfield.h ((EF4_EXTRACT64((oword).u64[0], 0, 63, low, high) | \ oword 145 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT64((oword).u64[1], 64, 127, low, high)) & \ oword 152 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_EXTRACT_OWORD32(oword, low, high) \ oword 153 drivers/net/ethernet/sfc/falcon/bitfield.h ((EF4_EXTRACT32((oword).u32[0], 0, 31, low, high) | \ oword 154 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT32((oword).u32[1], 32, 63, low, high) | \ oword 155 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT32((oword).u32[2], 64, 95, low, high) | \ oword 156 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT32((oword).u32[3], 96, 127, low, high)) & \ oword 168 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_FIELD64(oword, field) \ oword 169 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_OWORD64(oword, EF4_LOW_BIT(field), \ oword 176 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_FIELD32(oword, field) \ oword 177 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_EXTRACT_OWORD32(oword, EF4_LOW_BIT(field), \ oword 188 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_IS_ZERO64(oword) \ oword 189 drivers/net/ethernet/sfc/falcon/bitfield.h (((oword).u64[0] | (oword).u64[1]) == (__force __le64) 0) oword 194 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_IS_ZERO32(oword) \ oword 195 drivers/net/ethernet/sfc/falcon/bitfield.h (((oword).u32[0] | (oword).u32[1] | (oword).u32[2] | (oword).u32[3]) \ oword 204 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_IS_ALL_ONES64(oword) \ oword 205 drivers/net/ethernet/sfc/falcon/bitfield.h (((oword).u64[0] & (oword).u64[1]) == ~((__force __le64) 0)) oword 210 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OWORD_IS_ALL_ONES32(oword) \ oword 211 drivers/net/ethernet/sfc/falcon/bitfield.h (((oword).u32[0] & (oword).u32[1] & (oword).u32[2] & (oword).u32[3]) \ oword 303 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD64(oword, ...) do { \ oword 304 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[0] = EF4_INSERT_FIELDS64(0, 63, __VA_ARGS__); \ oword 305 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[1] = EF4_INSERT_FIELDS64(64, 127, __VA_ARGS__); \ oword 312 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD32(oword, ...) do { \ oword 313 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[0] = EF4_INSERT_FIELDS32(0, 31, __VA_ARGS__); \ oword 314 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[1] = EF4_INSERT_FIELDS32(32, 63, __VA_ARGS__); \ oword 315 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[2] = EF4_INSERT_FIELDS32(64, 95, __VA_ARGS__); \ oword 316 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[3] = EF4_INSERT_FIELDS32(96, 127, __VA_ARGS__); \ oword 338 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_9(oword, ...) \ oword 339 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_10(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 340 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_8(oword, ...) \ oword 341 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_9(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 342 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_7(oword, ...) \ oword 343 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_8(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 344 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_6(oword, ...) \ oword 345 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_7(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 346 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_5(oword, ...) \ oword 347 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_6(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 348 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_4(oword, ...) \ oword 349 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_5(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 350 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_3(oword, ...) \ oword 351 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_4(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 352 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_2(oword, ...) \ oword 353 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_3(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 354 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_POPULATE_OWORD_1(oword, ...) \ oword 355 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_2(oword, EF4_DUMMY_FIELD, 0, __VA_ARGS__) oword 356 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_ZERO_OWORD(oword) \ oword 357 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_1(oword, EF4_DUMMY_FIELD, 0) oword 358 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD(oword) \ oword 359 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_POPULATE_OWORD_4(oword, \ oword 422 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_INVERT_OWORD(oword) do { \ oword 423 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[0] = ~((oword).u64[0]); \ oword 424 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[1] = ~((oword).u64[1]); \ oword 427 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_AND_OWORD(oword, from, mask) \ oword 429 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[0] = (from).u64[0] & (mask).u64[0]; \ oword 430 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[1] = (from).u64[1] & (mask).u64[1]; \ oword 433 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_OR_OWORD(oword, from, mask) \ oword 435 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[0] = (from).u64[0] | (mask).u64[0]; \ oword 436 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[1] = (from).u64[1] | (mask).u64[1]; \ oword 451 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD64(oword, low, high, value) do { \ oword 452 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[0] = (((oword).u64[0] \ oword 455 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u64[1] = (((oword).u64[1] \ oword 466 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD32(oword, low, high, value) do { \ oword 467 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[0] = (((oword).u32[0] \ oword 470 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[1] = (((oword).u32[1] \ oword 473 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[2] = (((oword).u32[2] \ oword 476 drivers/net/ethernet/sfc/falcon/bitfield.h (oword).u32[3] = (((oword).u32[3] \ oword 496 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD_FIELD64(oword, field, value) \ oword 497 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_OWORD64(oword, EF4_LOW_BIT(field), \ oword 504 drivers/net/ethernet/sfc/falcon/bitfield.h #define EF4_SET_OWORD_FIELD32(oword, field, value) \ oword 505 drivers/net/ethernet/sfc/falcon/bitfield.h EF4_SET_OWORD32(oword, EF4_LOW_BIT(field), \ oword 1266 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &mc_hash->oword[0], FR_AB_MAC_MC_HASH_REG0); oword 1267 drivers/net/ethernet/sfc/falcon/falcon.c ef4_writeo(efx, &mc_hash->oword[1], FR_AB_MAC_MC_HASH_REG1); oword 633 drivers/net/ethernet/sfc/falcon/net_driver.h ef4_oword_t oword[EF4_MCAST_HASH_ENTRIES / sizeof(ef4_oword_t) / 8]; oword 709 drivers/net/ethernet/sfc/net_driver.h efx_oword_t oword[EFX_MCAST_HASH_ENTRIES / sizeof(efx_oword_t) / 8];