Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 12 of 12) sorted by relevance

/drivers/md/
Ddm-bio-prison-v2.c87 static int cmp_keys(struct dm_cell_key_v2 *lhs, in cmp_keys() argument
90 if (lhs->virtual < rhs->virtual) in cmp_keys()
93 if (lhs->virtual > rhs->virtual) in cmp_keys()
96 if (lhs->dev < rhs->dev) in cmp_keys()
99 if (lhs->dev > rhs->dev) in cmp_keys()
102 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
105 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
Ddm-bio-prison-v1.c85 static int cmp_keys(struct dm_cell_key *lhs, in cmp_keys() argument
88 if (lhs->virtual < rhs->virtual) in cmp_keys()
91 if (lhs->virtual > rhs->virtual) in cmp_keys()
94 if (lhs->dev < rhs->dev) in cmp_keys()
97 if (lhs->dev > rhs->dev) in cmp_keys()
100 if (lhs->block_end <= rhs->block_begin) in cmp_keys()
103 if (lhs->block_begin >= rhs->block_end) in cmp_keys()
Ddm-cache-background-tracker.c76 static int cmp_oblock(dm_oblock_t lhs, dm_oblock_t rhs) in cmp_oblock() argument
78 if (from_oblock(lhs) < from_oblock(rhs)) in cmp_oblock()
81 if (from_oblock(rhs) < from_oblock(lhs)) in cmp_oblock()
Ddm-snap.c189 static int bdev_equal(struct block_device *lhs, struct block_device *rhs) in bdev_equal() argument
195 return lhs == rhs; in bdev_equal()
Ddm-thin.c2214 static int cmp_cells(const void *lhs, const void *rhs) in cmp_cells() argument
2216 struct dm_bio_prison_cell *lhs_cell = *((struct dm_bio_prison_cell **) lhs); in cmp_cells()
/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dinput_system.c69 csi_cfg_t *const lhs,
74 input_system_source_t *const lhs,
79 input_system_multiplex_t *const lhs,
1655 input_system_source_t *const lhs, in set_source_type() argument
1660 assert(lhs); in set_source_type()
1670 if ((*lhs) == (rhs)) { in set_source_type()
1683 *lhs = rhs; in set_source_type()
1691 csi_cfg_t *const lhs, in set_csi_cfg() argument
1698 assert(lhs); in set_csi_cfg()
1709 &&*/ lhs->buffering_mode == rhs->buffering_mode in set_csi_cfg()
[all …]
/drivers/bluetooth/
Dhci_mrvl.c50 __le16 lhs; member
168 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_fw_req()
182 mrvl->tx_len = le16_to_cpu(pkt->lhs); in mrvl_recv_fw_req()
198 u16 version = le16_to_cpu(pkt->lhs); in mrvl_recv_chip_ver()
201 if ((pkt->lhs ^ pkt->rhs) != 0xffff) { in mrvl_recv_chip_ver()
/drivers/net/ethernet/freescale/
Dfec_ptp.c283 u64 lhs, rhs; in fec_ptp_adjfreq() local
300 lhs = NSEC_PER_SEC; in fec_ptp_adjfreq()
303 if (lhs >= rhs) { in fec_ptp_adjfreq()
305 corr_period = div_u64(lhs, rhs); in fec_ptp_adjfreq()
308 lhs += NSEC_PER_SEC; in fec_ptp_adjfreq()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c212 static bool are_ep_ids_equal(struct display_endpoint_id *lhs, struct display_endpoint_id *rhs) in are_ep_ids_equal() argument
216 if (lhs->link_id.id == rhs->link_id.id && in are_ep_ids_equal()
217 lhs->link_id.enum_id == rhs->link_id.enum_id && in are_ep_ids_equal()
218 lhs->link_id.type == rhs->link_id.type && in are_ep_ids_equal()
219 lhs->ep_type == rhs->ep_type) in are_ep_ids_equal()
/drivers/block/
Drbd.c3621 static bool rbd_cid_equal(const struct rbd_client_id *lhs, in rbd_cid_equal() argument
3624 return lhs->gid == rhs->gid && lhs->handle == rhs->handle; in rbd_cid_equal()
3862 static bool locker_equal(const struct ceph_locker *lhs, in locker_equal() argument
3865 return lhs->id.name.type == rhs->id.name.type && in locker_equal()
3866 lhs->id.name.num == rhs->id.name.num && in locker_equal()
3867 !strcmp(lhs->id.cookie, rhs->id.cookie) && in locker_equal()
3868 ceph_addr_equal_no_type(&lhs->info.addr, &rhs->info.addr); in locker_equal()
/drivers/net/ethernet/3com/
D3c59x.c507 #define BFINS(lhs, rhs, offset, bitcount) \ argument
508 (((lhs) & ~((((1 << (bitcount)) - 1)) << (offset))) | \
/drivers/pinctrl/tegra/
Dpinctrl-tegra20.c2111 MUX_PG(lhs, DISPLAYA, DISPLAYB, XIO, RSVD4, 0x20, 7, 0x90, 22, -1, -1),