Home
last modified time | relevance | path

Searched refs:compare (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dobdo.c160 int obdo_cmp_md(struct obdo *dst, struct obdo *src, u32 compare) in obdo_cmp_md() argument
164 if (compare & OBD_MD_FLATIME) in obdo_cmp_md()
166 if (compare & OBD_MD_FLMTIME) in obdo_cmp_md()
168 if (compare & OBD_MD_FLCTIME) in obdo_cmp_md()
170 if (compare & OBD_MD_FLSIZE) in obdo_cmp_md()
172 if (compare & OBD_MD_FLBLOCKS) /* allocation of space */ in obdo_cmp_md()
174 if (compare & OBD_MD_FLBLKSZ) in obdo_cmp_md()
176 if (compare & OBD_MD_FLTYPE) in obdo_cmp_md()
178 if (compare & OBD_MD_FLMODE) in obdo_cmp_md()
180 if (compare & OBD_MD_FLUID) in obdo_cmp_md()
[all …]
/drivers/base/
Dcomponent.c27 } compare[0]; member
88 int (*compare)(struct device *, void *), void *compare_data) in component_master_add_child()
97 if (compare(c->dev, compare_data)) { in component_master_add_child()
129 match->compare[i].fn, in find_components()
130 match->compare[i].data); in find_components()
229 return offsetof(struct component_match, compare[num]); in component_match_size()
262 int (*compare)(struct device *, void *), void *compare_data) in component_match_add()
280 match->compare[match->num].fn = compare; in component_match_add()
281 match->compare[match->num].data = compare_data; in component_match_add()
Dbus.c1004 int (*compare)(const struct device *a, in device_insertion_sort_klist()
1016 if (compare(a, b) <= 0) { in device_insertion_sort_klist()
1026 int (*compare)(const struct device *a, in bus_sort_breadthfirst()
1043 device_insertion_sort_klist(dev, &sorted_devices, compare); in bus_sort_breadthfirst()
/drivers/acpi/acpica/
Dexmisc.c574 int compare; in acpi_ex_do_logical_op() local
663 compare = ACPI_MEMCMP(operand0->buffer.pointer, in acpi_ex_do_logical_op()
672 if ((length0 == length1) && (compare == 0)) { in acpi_ex_do_logical_op()
682 if (compare > 0) { in acpi_ex_do_logical_op()
686 if (compare < 0) { in acpi_ex_do_logical_op()
699 if (compare > 0) { in acpi_ex_do_logical_op()
702 if (compare < 0) { in acpi_ex_do_logical_op()
/drivers/clocksource/
Dbcm2835_timer.c44 void __iomem *compare; member
78 timer->compare); in bcm2835_time_set_next_event()
127 timer->compare = base + REG_COMPARE(DEFAULT_TIMER); in bcm2835_timer_init()
/drivers/crypto/
Dbfin_crc.h65 u32 compare; member
/drivers/infiniband/hw/mthca/
Dmthca_wqe.h98 __be64 compare; member
Dmthca_qp.c1576 aseg->compare = cpu_to_be64(wr->wr.atomic.compare_add); in set_atomic_seg()
1579 aseg->compare = 0; in set_atomic_seg()
/drivers/i2c/busses/
Di2c-iop3xx.c167 compare_func compare) in iop3xx_i2c_wait_event() argument
177 (done = compare( sr = iop3xx_i2c_get_srstat(iop3xx_adap) ,flags )), in iop3xx_i2c_wait_event()
/drivers/hwmon/pmbus/
Dpmbus_core.c933 bool compare; /* true if compare function needed */ member
970 attr->compare ? l->low ? curr : base in pmbus_add_limit_attrs()
972 attr->compare ? l->low ? base : curr in pmbus_add_limit_attrs()
1474 .compare = true,
1486 .compare = true,
1498 .compare = true,
/drivers/staging/android/
Dsync.h61 int (*compare)(struct sync_pt *a, struct sync_pt *b); member
Dsw_sync.c108 .compare = sw_sync_pt_compare,
/drivers/mtd/nand/
Ddavinci_nand.c325 goto compare; in nand_davinci_correct_4bit()
329 compare: in nand_davinci_correct_4bit()
/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/
Dnv98.fuc392 // compare COUNTERs
398 // compare RESen
/drivers/vme/
Dvme.c591 unsigned int compare, unsigned int swap, loff_t offset) in vme_master_rmw() argument
608 return bridge->master_rmw(image, mask, compare, swap, offset); in vme_master_rmw()
/drivers/infiniband/core/
Dcma.c1375 struct ib_cm_compare_data *compare) in cma_set_compare_data() argument
1381 memset(compare, 0, sizeof *compare); in cma_set_compare_data()
1382 cma_data = (void *) compare->data; in cma_set_compare_data()
1383 cma_mask = (void *) compare->mask; in cma_set_compare_data()
/drivers/vme/bridges/
Dvme_ca91cx42.c974 unsigned int mask, unsigned int compare, unsigned int swap, in ca91cx42_master_rmw() argument
1009 iowrite32(compare, bridge->base + SCYC_CMP); in ca91cx42_master_rmw()
Dvme_tsi148.c1453 unsigned int mask, unsigned int compare, unsigned int swap, in tsi148_master_rmw() argument
1483 iowrite32be(compare, bridge->base + TSI148_LCSR_RMWC); in tsi148_master_rmw()
/drivers/infiniband/hw/mlx4/
Dqp.c2410 aseg->compare = cpu_to_be64(wr->wr.atomic.compare_add); in set_atomic_seg()
2413 aseg->compare = cpu_to_be64(wr->wr.atomic.compare_add_mask); in set_atomic_seg()
2416 aseg->compare = 0; in set_atomic_seg()
2426 aseg->compare = cpu_to_be64(wr->wr.atomic.compare_add); in set_masked_atomic_seg()