Home
last modified time | relevance | path

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

/drivers/base/
Dcomponent.c48 int (*compare)(struct device *, void *); member
58 struct component_match_array *compare; member
104 struct component *component = match->compare[i].component; in component_devices_show()
170 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
192 struct component_match_array *mc = &match->compare[i]; in find_components()
197 if (match->compare[i].component) in find_components()
209 match->compare[i].duplicate = !!c->master; in find_components()
210 match->compare[i].component = c; in find_components()
223 if (master->match->compare[i].component == c) in remove_component()
224 master->match->compare[i].component = NULL; in remove_component()
[all …]
Dbus.c935 int (*compare)(const struct device *a, in device_insertion_sort_klist()
945 if (compare(a, b) <= 0) { in device_insertion_sort_klist()
955 int (*compare)(const struct device *a, in bus_sort_breadthfirst()
970 device_insertion_sort_klist(dev, &sorted_devices, compare); in bus_sort_breadthfirst()
/drivers/acpi/acpica/
Dexmisc.c284 int compare; in acpi_ex_do_logical_op() local
379 compare = memcmp(operand0->buffer.pointer, in acpi_ex_do_logical_op()
388 if ((length0 == length1) && (compare == 0)) { in acpi_ex_do_logical_op()
398 if (compare > 0) { in acpi_ex_do_logical_op()
402 if (compare < 0) { in acpi_ex_do_logical_op()
415 if (compare > 0) { in acpi_ex_do_logical_op()
418 if (compare < 0) { in acpi_ex_do_logical_op()
/drivers/clocksource/
Dbcm2835_timer.c31 void __iomem *compare; member
49 timer->compare); in bcm2835_time_set_next_event()
108 timer->compare = base + REG_COMPARE(DEFAULT_TIMER); in bcm2835_timer_init()
/drivers/gpu/drm/
Ddrm_of.c93 int (*compare)(struct device *, void *), in drm_of_component_match_add()
98 compare, node); in drm_of_component_match_add()
/drivers/staging/greybus/tools/
DMakefile14 -Wsign-compare \
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c77 bool (*compare)(const struct mlxsw_sp_fid *fid, member
660 .compare = mlxsw_sp_fid_8021d_compare,
725 .compare = mlxsw_sp_fid_8021q_compare,
822 .compare = mlxsw_sp_fid_rfid_compare,
869 .compare = mlxsw_sp_fid_dummy_compare,
896 if (!fid->fid_family->ops->compare(fid, arg)) in mlxsw_sp_fid_lookup()
/drivers/gpu/drm/amd/display/dc/calcs/
DMakefile55 CFLAGS_$(AMDDALPATH)/dc/calcs/dcn_calc_math.o := $(calcs_ccflags) -Wno-tautological-compare
/drivers/net/can/dev/
Drx-offload.c77 int (*compare)(struct sk_buff *a, struct sk_buff *b)) in __skb_queue_add_sort()
94 if (compare(pos, new) < 0) in __skb_queue_add_sort()
/drivers/infiniband/hw/mthca/
Dmthca_wqe.h98 __be64 compare; member
Dmthca_qp.c1596 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg()
1599 aseg->compare = 0; in set_atomic_seg()
/drivers/i2c/busses/
Di2c-iop3xx.c160 compare_func compare) in iop3xx_i2c_wait_event() argument
170 (done = compare( sr = iop3xx_i2c_get_srstat(iop3xx_adap) ,flags )), in iop3xx_i2c_wait_event()
/drivers/hwmon/pmbus/
Dpmbus_core.c1183 bool compare; /* true if compare function needed */ member
1220 attr->compare ? l->low ? curr : base in pmbus_add_limit_attrs()
1222 attr->compare ? l->low ? base : curr in pmbus_add_limit_attrs()
1811 .compare = true,
1823 .compare = true,
1835 .compare = true,
/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s392 // compare COUNTERs
398 // compare RESen
/drivers/gpu/drm/i915/
DMakefile21 subdir-ccflags-y += $(call cc-disable-warning, sign-compare)
/drivers/vme/bridges/
Dvme_fake.c811 unsigned int mask, unsigned int compare, unsigned int swap, in fake_master_rmw() argument
835 if ((tmp && mask) == (compare && mask)) { in fake_master_rmw()
Dvme_ca91cx42.c964 unsigned int mask, unsigned int compare, unsigned int swap, in ca91cx42_master_rmw() argument
997 iowrite32(compare, bridge->base + SCYC_CMP); in ca91cx42_master_rmw()
Dvme_tsi148.c1364 unsigned int mask, unsigned int compare, unsigned int swap, in tsi148_master_rmw() argument
1394 iowrite32be(compare, bridge->base + TSI148_LCSR_RMWC); in tsi148_master_rmw()
/drivers/vme/
Dvme.c766 unsigned int compare, unsigned int swap, loff_t offset) in vme_master_rmw() argument
783 return bridge->master_rmw(image, mask, compare, swap, offset); in vme_master_rmw()
/drivers/infiniband/hw/mlx4/
Dqp.c3309 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg()
3312 aseg->compare = cpu_to_be64(wr->compare_add_mask); in set_atomic_seg()
3315 aseg->compare = 0; in set_atomic_seg()
3325 aseg->compare = cpu_to_be64(wr->compare_add); in set_masked_atomic_seg()