Home
last modified time | relevance | path

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

123456

/drivers/pnp/pnpbios/
Dcore.c438 union pnp_bios_install_struct *check; in pnpbios_probe_system() local
449 for (check = (union pnp_bios_install_struct *)__va(0xf0000); in pnpbios_probe_system()
450 check < (union pnp_bios_install_struct *)__va(0xffff0); in pnpbios_probe_system()
451 check = (void *)check + 16) { in pnpbios_probe_system()
452 if (check->fields.signature != PNP_SIGNATURE) in pnpbios_probe_system()
456 check); in pnpbios_probe_system()
457 length = check->fields.length; in pnpbios_probe_system()
464 sum += check->chars[i]; in pnpbios_probe_system()
470 if (check->fields.version < 0x10) { in pnpbios_probe_system()
473 check->fields.version >> 4, in pnpbios_probe_system()
[all …]
/drivers/net/wireless/b43/
Dtables_nphy.c3289 #undef check in assert_ntab_array_sizes()
3290 #define check(table, size) \ in assert_ntab_array_sizes() macro
3293 check(adjustpower0, C0_ADJPLT); in assert_ntab_array_sizes()
3294 check(adjustpower1, C1_ADJPLT); in assert_ntab_array_sizes()
3295 check(bdi, BDI); in assert_ntab_array_sizes()
3296 check(channelest, CHANEST); in assert_ntab_array_sizes()
3297 check(estimatepowerlt0, C0_ESTPLT); in assert_ntab_array_sizes()
3298 check(estimatepowerlt1, C1_ESTPLT); in assert_ntab_array_sizes()
3299 check(framelookup, FRAMELT); in assert_ntab_array_sizes()
3300 check(framestruct, FRAMESTRUCT); in assert_ntab_array_sizes()
[all …]
/drivers/media/pci/ttpci/
Dav7110_ipack.c16 p->check = 0; in av7110_ipack_reset()
288 p->check = p->flag1; in av7110_ipack_instant_repack()
293 p->check == 0xff){ in av7110_ipack_instant_repack()
294 p->check = buf[c]; in av7110_ipack_instant_repack()
304 if ((p->check & 0xc0) == 0x40 && !p->which) { in av7110_ipack_instant_repack()
305 p->check = buf[c]; in av7110_ipack_instant_repack()
314 p->check = buf[c]; in av7110_ipack_instant_repack()
325 p->check = buf[c]; in av7110_ipack_instant_repack()
335 if ((p->check & 0x30) && p->check != 0xff) { in av7110_ipack_instant_repack()
336 p->flag2 = (p->check & 0xf0) << 2; in av7110_ipack_instant_repack()
[all …]
/drivers/md/bcache/
Ddebug.c108 struct bio *check; in bch_data_verify() local
113 check = bio_clone(bio, GFP_NOIO); in bch_data_verify()
114 if (!check) in bch_data_verify()
117 if (bio_alloc_pages(check, GFP_NOIO)) in bch_data_verify()
120 submit_bio_wait(READ_SYNC, check); in bch_data_verify()
124 void *p2 = page_address(check->bi_io_vec[iter.bi_idx].bv_page); in bch_data_verify()
137 bio_for_each_segment_all(bv2, check, i) in bch_data_verify()
140 bio_put(check); in bch_data_verify()
/drivers/pci/
Dsetup-res.c34 u32 new, check, mask; in pci_update_resource() local
87 pci_read_config_dword(dev, reg, &check); in pci_update_resource()
89 if ((new ^ check) & mask) { in pci_update_resource()
91 resno, new, check); in pci_update_resource()
97 pci_read_config_dword(dev, reg + 4, &check); in pci_update_resource()
98 if (check != new) { in pci_update_resource()
100 resno, new, check); in pci_update_resource()
/drivers/mtd/tests/
Dtorturetest.c59 static int check = 1; variable
60 module_param(check, int, S_IRUGO);
61 MODULE_PARM_DESC(check, "if the written data should be checked");
202 pr_info("write verify %s\n", check ? "enabled" : "disabled"); in tort_init()
272 if (check) { in tort_init()
301 if (check) { in tort_init()
/drivers/dma-buf/
Dreservation.c149 struct fence *check; in reservation_object_add_shared_replace() local
151 check = rcu_dereference_protected(old->shared[i], in reservation_object_add_shared_replace()
154 if (!old_fence && check->context == fence->context) { in reservation_object_add_shared_replace()
155 old_fence = check; in reservation_object_add_shared_replace()
158 RCU_INIT_POINTER(fobj->shared[i], check); in reservation_object_add_shared_replace()
/drivers/staging/ozwpan/
DTODO3 - Check for remaining ioctl & check if that can be converted into
8 - check USB HCD implementation is complete and correct.
/drivers/phy/
Dphy-twl4030-usb.c187 u8 check; in twl4030_i2c_write_u8_verify() local
190 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
191 (check == data)) in twl4030_i2c_write_u8_verify()
194 1, module, address, check, data); in twl4030_i2c_write_u8_verify()
198 (twl_i2c_read_u8(module, &check, address) >= 0) && in twl4030_i2c_write_u8_verify()
199 (check == data)) in twl4030_i2c_write_u8_verify()
202 2, module, address, check, data); in twl4030_i2c_write_u8_verify()
/drivers/edac/
Damd8111_edac.h116 void (*check)(struct edac_device_ctl_info *edac_dev); member
127 void (*check)(struct edac_pci_ctl_info *edac_dev); member
Damd8111_edac.c332 .check = amd8111_lpc_bridge_check,
344 .check = amd8111_pci_bridge_check,
396 dev_info->edac_dev->edac_check = dev_info->check; in amd8111_dev_probe()
488 pci_info->edac_dev->edac_check = pci_info->check; in amd8111_pci_probe()
Damd8131_edac.h115 void (*check)(struct edac_pci_ctl_info *edac_dev); member
/drivers/net/hyperv/
Dnetvsc_drv.c510 uh->check = 0; in netvsc_start_xmit()
511 uh->check = csum_tcpudp_magic(ip_hdr(skb)->saddr, in netvsc_start_xmit()
515 if (uh->check == 0) in netvsc_start_xmit()
516 uh->check = CSUM_MANGLED_0; in netvsc_start_xmit()
535 ip_hdr(skb)->check = 0; in netvsc_start_xmit()
536 tcp_hdr(skb)->check = in netvsc_start_xmit()
543 tcp_hdr(skb)->check = in netvsc_start_xmit()
/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.c192 u16 check = 0; in twl4030_is_in_ghost_state() local
197 if ((col & check) && hweight16(col) > 1) in twl4030_is_in_ghost_state()
200 check |= col; in twl4030_is_in_ghost_state()
Dpmic8xxx-keypad.c261 u16 check, row_state; in pmic8xxx_detect_ghost_keys() local
263 check = 0; in pmic8xxx_detect_ghost_keys()
271 if (check & row_state) { in pmic8xxx_detect_ghost_keys()
277 check |= row_state; in pmic8xxx_detect_ghost_keys()
/drivers/gpu/host1x/
Dsyncpt.c241 long check = min_t(long, SYNCPT_CHECK_PERIOD, timeout); in host1x_syncpt_wait() local
244 check); in host1x_syncpt_wait()
255 timeout -= check; in host1x_syncpt_wait()
/drivers/net/slip/
Dslhc.c435 csum = th->check; in slhc_compress()
527 thp->check = *(__sum16 *)cp; in slhc_uncompress()
602 ip->check = 0; in slhc_uncompress()
616 &((struct iphdr *)icp)->check); in slhc_uncompress()
/drivers/staging/lustre/lustre/llite/
Ddir.c1664 struct if_quotacheck *check; in ll_dir_ioctl() local
1670 check = kzalloc(sizeof(*check), GFP_NOFS); in ll_dir_ioctl()
1671 if (!check) in ll_dir_ioctl()
1674 rc = obd_iocontrol(cmd, sbi->ll_md_exp, 0, (void *)check, in ll_dir_ioctl()
1678 if (copy_to_user((void *)arg, check, in ll_dir_ioctl()
1679 sizeof(*check))) in ll_dir_ioctl()
1684 rc = obd_iocontrol(cmd, sbi->ll_dt_exp, 0, (void *)check, in ll_dir_ioctl()
1688 if (copy_to_user((void *)arg, check, in ll_dir_ioctl()
1689 sizeof(*check))) in ll_dir_ioctl()
1694 OBD_FREE_PTR(check); in ll_dir_ioctl()
/drivers/usb/gadget/udc/
Dm66592-udc.c899 u16 check; in irq_pipe_ready() local
914 check = 1 << pipenum; in irq_pipe_ready()
915 if ((status & check) && (enb & check)) { in irq_pipe_ready()
916 m66592_write(m66592, ~check, M66592_BRDYSTS); in irq_pipe_ready()
932 u16 check; in irq_pipe_empty() local
945 check = 1 << pipenum; in irq_pipe_empty()
946 if ((status & check) && (enb & check)) { in irq_pipe_empty()
947 m66592_write(m66592, ~check, M66592_BEMPSTS); in irq_pipe_empty()
/drivers/mtd/ubi/
Deba.c373 void *buf, int offset, int len, int check) in ubi_eba_read_leb() argument
402 check = 0; in ubi_eba_read_leb()
405 if (check) { in ubi_eba_read_leb()
469 if (!check) { in ubi_eba_read_leb()
471 check = 1; in ubi_eba_read_leb()
478 if (check) { in ubi_eba_read_leb()
/drivers/net/ethernet/sfc/
Dselftest.c287 received->ip.check = payload->ip.check; in efx_loopback_rx_packet()
375 payload->ip.check = (__force __sum16) htons(0xdead); in efx_iterate_state()
384 payload->udp.check = 0; /* checksum ignored */ in efx_iterate_state()
/drivers/char/
Dsonypi.c1234 const struct sonypi_ioport_list *check = ioport_list; in sonypi_setup_ioports() local
1235 while (check_ioport && check->port1) { in sonypi_setup_ioports()
1236 if (!request_region(check->port1, in sonypi_setup_ioports()
1241 check->port1); in sonypi_setup_ioports()
1244 release_region(check->port1, sonypi_device.region_size); in sonypi_setup_ioports()
1245 check++; in sonypi_setup_ioports()
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c817 if (udp_hdr(skb)->check != csum) in i40e_rx_checksum()
1177 iph->check = 0; in i40e_tso()
1178 tcph->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, in i40e_tso()
1186 tcph->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr, in i40e_tso()
1235 ip_hdr(skb)->check = 0; in i40e_tx_enable_csum()
1243 ip_hdr(skb)->check = 0; in i40e_tx_enable_csum()
1273 this_ip_hdr->check = 0; in i40e_tx_enable_csum()
/drivers/s390/cio/
Dccwreq.c288 if (!req->check) in ccw_request_handler()
290 switch (req->check(cdev, req->data)) { in ccw_request_handler()

123456