Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 187) sorted by relevance

12345678

/drivers/firmware/efi/
Dcper-x86.c47 #define CHECK_VALID_BITS(check) (((check) & GENMASK_ULL(15, 0))) argument
48 #define CHECK_TRANS_TYPE(check) (((check) & GENMASK_ULL(17, 16)) >> 16) argument
49 #define CHECK_OPERATION(check) (((check) & GENMASK_ULL(21, 18)) >> 18) argument
50 #define CHECK_LEVEL(check) (((check) & GENMASK_ULL(24, 22)) >> 22) argument
57 #define CHECK_BUS_PART_TYPE(check) (((check) & GENMASK_ULL(31, 30)) >> 30) argument
59 #define CHECK_BUS_ADDR_SPACE(check) (((check) & GENMASK_ULL(34, 33)) >> 33) argument
68 #define CHECK_MS_ERR_TYPE(check) (((check) & GENMASK_ULL(18, 16)) >> 16) argument
152 static inline void print_bool(char *str, const char *pfx, u64 check, u64 bit) in print_bool() argument
154 printk("%s%s: %s\n", pfx, str, (check & bit) ? "true" : "false"); in print_bool()
157 static void print_err_info_ms(const char *pfx, u16 validation_bits, u64 check) in print_err_info_ms() argument
[all …]
/drivers/pnp/pnpbios/
Dcore.c427 union pnp_bios_install_struct *check; in pnpbios_probe_system() local
438 for (check = (union pnp_bios_install_struct *)__va(0xf0000); in pnpbios_probe_system()
439 check < (union pnp_bios_install_struct *)__va(0xffff0); in pnpbios_probe_system()
440 check = (void *)check + 16) { in pnpbios_probe_system()
441 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system()
445 check); in pnpbios_probe_system()
446 length = check->fields.length; in pnpbios_probe_system()
453 sum += check->chars[i]; in pnpbios_probe_system()
459 if (check->fields.version < 0x10) { in pnpbios_probe_system()
462 check->fields.version >> 4, in pnpbios_probe_system()
[all …]
/drivers/net/wireless/broadcom/b43/
Dtables_nphy.c3276 #undef check in assert_ntab_array_sizes()
3277 #define check(table, size) \ in assert_ntab_array_sizes() macro
3280 check(adjustpower0, C0_ADJPLT); in assert_ntab_array_sizes()
3281 check(adjustpower1, C1_ADJPLT); in assert_ntab_array_sizes()
3282 check(bdi, BDI); in assert_ntab_array_sizes()
3283 check(channelest, CHANEST); in assert_ntab_array_sizes()
3284 check(estimatepowerlt0, C0_ESTPLT); in assert_ntab_array_sizes()
3285 check(estimatepowerlt1, C1_ESTPLT); in assert_ntab_array_sizes()
3286 check(framelookup, FRAMELT); in assert_ntab_array_sizes()
3287 check(framestruct, FRAMESTRUCT); in assert_ntab_array_sizes()
[all …]
/drivers/md/bcache/
Ddebug.c110 struct bio *check; in bch_data_verify() local
114 check = bio_kmalloc(GFP_NOIO, bio_segments(bio)); in bch_data_verify()
115 if (!check) in bch_data_verify()
117 check->bi_disk = bio->bi_disk; in bch_data_verify()
118 check->bi_opf = REQ_OP_READ; in bch_data_verify()
119 check->bi_iter.bi_sector = bio->bi_iter.bi_sector; in bch_data_verify()
120 check->bi_iter.bi_size = bio->bi_iter.bi_size; in bch_data_verify()
122 bch_bio_map(check, NULL); in bch_data_verify()
123 if (bch_bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify()
126 submit_bio_wait(check); in bch_data_verify()
[all …]
/drivers/media/pci/ttpci/
Dav7110_ipack.c17 p->check = 0; in av7110_ipack_reset()
289 p->check = p->flag1; in av7110_ipack_instant_repack()
294 p->check == 0xff){ in av7110_ipack_instant_repack()
295 p->check = buf[c]; in av7110_ipack_instant_repack()
305 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
306 p->check = buf[c]; in av7110_ipack_instant_repack()
315 p->check = buf[c]; in av7110_ipack_instant_repack()
326 p->check = buf[c]; in av7110_ipack_instant_repack()
336 if ((p->check & 0x30) && p->check != 0xff) { in av7110_ipack_instant_repack()
337 p->flag2 = (p->check & 0xf0) << 2; in av7110_ipack_instant_repack()
[all …]
/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c21 __sum16 *check = NULL; in rmnet_map_get_csum_field() local
25 check = &(((struct tcphdr *)txporthdr)->check); in rmnet_map_get_csum_field()
29 check = &(((struct udphdr *)txporthdr)->check); in rmnet_map_get_csum_field()
33 check = NULL; in rmnet_map_get_csum_field()
37 return check; in rmnet_map_get_csum_field()
/drivers/pci/
Dsetup-res.c30 u32 new, check, mask; in pci_std_update_resource() local
99 pci_read_config_dword(dev, reg, &check); in pci_std_update_resource()
101 if ((new ^ check) & mask) { in pci_std_update_resource()
103 resno, new, check); in pci_std_update_resource()
109 pci_read_config_dword(dev, reg + 4, &check); in pci_std_update_resource()
110 if (check != new) { in pci_std_update_resource()
112 resno, new, check); in pci_std_update_resource()
/drivers/mtd/tests/
Dtorturetest.c48 static int check = 1; variable
49 module_param(check, int, S_IRUGO);
50 MODULE_PARM_DESC(check, "if the written data should be checked");
191 pr_info("write verify %s\n", check ? "enabled" : "disabled"); in tort_init()
261 if (check) { in tort_init()
296 if (check) { in tort_init()
/drivers/misc/
Dds1682.c59 unsigned long long val, check; in ds1682_show() local
84 check = val; in ds1682_show()
87 } while (val != check && val != (check + 1)); in ds1682_show()
/drivers/staging/most/Documentation/ABI/
Dsysfs-bus-most.txt52 This is used to check and configure the MAC address.
60 This is used to check and configure the MAC address.
68 This is used to check and configure the MAC address.
76 This is used to check and configure the MEP filter address.
84 This is used to check and configure the MEP hash table.
92 This is used to check and configure the MEP hash table.
100 This is used to check and configure the MEP hash table.
108 This is used to check and configure the MEP hash table.
Dsysfs-class-most.txt88 This is used to check and configure the MAC address.
96 This is used to check and configure the MAC address.
104 This is used to check and configure the MAC address.
112 This is used to check and configure the MEP filter address.
120 This is used to check and configure the MEP hash table.
128 This is used to check and configure the MEP hash table.
136 This is used to check and configure the MEP hash table.
144 This is used to check and configure the MEP hash table.
/drivers/phy/ti/
Dphy-twl4030-usb.c177 u8 check = 0xFF; in twl4030_i2c_write_u8_verify() local
180 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
181 (check == data)) in twl4030_i2c_write_u8_verify()
184 1, module, address, check, data); in twl4030_i2c_write_u8_verify()
188 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
189 (check == data)) in twl4030_i2c_write_u8_verify()
192 2, module, address, check, data); in twl4030_i2c_write_u8_verify()
/drivers/infiniband/sw/rxe/
Drxe_icrc.c68 ip4h->check = CSUM_MANGLED_0; in rxe_icrc_hdr()
79 udph->check = CSUM_MANGLED_0; in rxe_icrc_hdr()
/drivers/edac/
Damd8111_edac.h104 void (*check)(struct edac_device_ctl_info *edac_dev); member
115 void (*check)(struct edac_pci_ctl_info *edac_dev); member
Damd8111_edac.c319 .check = amd8111_lpc_bridge_check,
331 .check = amd8111_pci_bridge_check,
383 dev_info->edac_dev->edac_check = dev_info->check; in amd8111_dev_probe()
475 pci_info->edac_dev->edac_check = pci_info->check; in amd8111_pci_probe()
/drivers/input/misc/
Dsoc_button_array.c30 int (*check)(struct device *dev); member
331 if (device_data && device_data->check) { in soc_button_probe()
332 error = device_data->check(dev); in soc_button_probe()
455 .check = soc_device_check_MSHW0040,
/drivers/net/dsa/microchip/
Dksz8795.c125 u8 check; in ksz8795_r_mib_cnt() local
138 ksz_read8(dev, REG_IND_MIB_CHECK, &check); in ksz8795_r_mib_cnt()
140 if (check & MIB_COUNTER_VALID) { in ksz8795_r_mib_cnt()
142 if (check & MIB_COUNTER_OVERFLOW) in ksz8795_r_mib_cnt()
156 u8 check; in ksz8795_r_mib_pkt() local
171 ksz_read8(dev, REG_IND_MIB_CHECK, &check); in ksz8795_r_mib_pkt()
173 if (check & MIB_COUNTER_VALID) { in ksz8795_r_mib_pkt()
178 total = check & MIB_TOTAL_BYTES_H; in ksz8795_r_mib_pkt()
182 if (check & MIB_COUNTER_OVERFLOW) { in ksz8795_r_mib_pkt()
188 if (check & MIB_COUNTER_OVERFLOW) in ksz8795_r_mib_pkt()
/drivers/net/phy/
Dsfp.c401 u8 *p, check; in sfp_check() local
403 for (p = buf, check = 0; len; p++, len--) in sfp_check()
404 check += *p; in sfp_check()
406 return check; in sfp_check()
1445 u8 check; in sfp_sm_mod_probe() local
1466 check = sfp_check(&id.base, sizeof(id.base) - 1); in sfp_sm_mod_probe()
1467 if (check != id.base.cc_base) { in sfp_sm_mod_probe()
1471 check, id.base.cc_base); in sfp_sm_mod_probe()
1475 check, id.base.cc_base); in sfp_sm_mod_probe()
1482 check = sfp_check(&id.ext, sizeof(id.ext) - 1); in sfp_sm_mod_probe()
[all …]
/drivers/input/serio/
Dhp_sdc_mlc.c78 goto check; in hp_sdc_mlc_isr()
85 goto check; in hp_sdc_mlc_isr()
95 check: in hp_sdc_mlc_isr()
/drivers/input/keyboard/
Dtwl4030_keypad.c180 u16 check = 0; in twl4030_is_in_ghost_state() local
185 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
188 check |= col; in twl4030_is_in_ghost_state()
Dpmic8xxx-keypad.c253 u16 check, row_state; in pmic8xxx_detect_ghost_keys() local
255 check = 0; in pmic8xxx_detect_ghost_keys()
263 if (check & row_state) { in pmic8xxx_detect_ghost_keys()
269 check |= row_state; in pmic8xxx_detect_ghost_keys()
/drivers/iio/chemical/
Dbme680_core.c717 unsigned int check; in bme680_read_gas() local
733 ret = regmap_read(data->regmap, BME680_REG_MEAS_STAT_0, &check); in bme680_read_gas()
734 if (check & BME680_GAS_MEAS_BIT) { in bme680_read_gas()
739 ret = regmap_read(data->regmap, BME680_REG_GAS_R_LSB, &check); in bme680_read_gas()
751 if ((check & BME680_GAS_STAB_BIT) == 0) { in bme680_read_gas()
763 gas_range = check & BME680_GAS_RANGE_MASK; in bme680_read_gas()
/drivers/mtd/ubi/
Deba.c597 void *buf, int offset, int len, int check) in ubi_eba_read_leb() argument
633 check = 0; in ubi_eba_read_leb()
636 if (check) { in ubi_eba_read_leb()
702 if (!check) { in ubi_eba_read_leb()
704 check = 1; in ubi_eba_read_leb()
711 if (check) { in ubi_eba_read_leb()
750 int check) in ubi_eba_read_leb_sg() argument
766 to_read, check); in ubi_eba_read_leb_sg()
/drivers/gpu/host1x/
Dsyncpt.c260 long check = min_t(long, SYNCPT_CHECK_PERIOD, timeout); in host1x_syncpt_wait() local
265 check); in host1x_syncpt_wait()
280 timeout -= check; in host1x_syncpt_wait()
/drivers/net/slip/
Dslhc.c435 csum = th->check; in slhc_compress()
531 thp->check = *(__sum16 *)cp; in slhc_uncompress()
606 ip->check = 0; in slhc_uncompress()
620 &((struct iphdr *)icp)->check); in slhc_uncompress()

12345678