Searched refs:match (Results 76 - 100 of 258) sorted by relevance

1234567891011

/drivers/video/omap2/dss/
H A Ddss.c510 int match = 0; local
548 match = 1;
575 match = 1;
594 if (!match) {
/drivers/scsi/libfc/
H A Dfc_exch.c121 * @match: Routine to determine if this anchor's EM should be used
123 * When walking the list of anchors the match routine will be called
125 * anchor in the list will always match to handle any exchanges not
132 bool (*match)(struct fc_frame *); member in struct:fc_exch_mgr_anchor
796 * EM is selected when a NULL match function pointer is encountered
797 * or when a call to a match function returns true.
805 if (!ema->match || ema->match(fp))
1333 if ((!ema->match || ema->match(f
[all...]
/drivers/scsi/
H A Dscsi_transport_srp.c320 i->t.host_attrs.ac.match = srp_host_match;
326 i->rport_attr_cont.ac.match = srp_rport_match;
/drivers/staging/tidspbridge/
H A DKconfig22 scale the chip voltage and frequency in order to match the
/drivers/media/video/cx23885/
H A Dcx23888-ir.c1090 static inline int cx23888_ir_dbg_match(const struct v4l2_dbg_match *match) argument
1092 return match->type == V4L2_CHIP_MATCH_HOST && match->addr == 2;
1100 if (cx23888_ir_dbg_match(&chip->match)) {
1114 if (!cx23888_ir_dbg_match(&reg->match))
1133 if (!cx23888_ir_dbg_match(&reg->match))
/drivers/media/video/m5mols/
H A Dm5mols_core.c509 const struct m5mols_resolution *match = NULL; local
522 match = fsize;
527 if (match) {
528 mf->width = match->width;
529 mf->height = match->height;
530 *resolution = match->reg;
/drivers/media/video/
H A Dmt9m111.c609 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR)
612 if (id->match.addr != client->addr)
628 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0x2ff)
630 if (reg->match.addr != client->addr)
648 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0x2ff)
651 if (reg->match.addr != client->addr)
H A Dmt9t031.c408 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR)
411 if (id->match.addr != client->addr)
426 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0xff)
429 if (reg->match.addr != client->addr)
445 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0xff)
448 if (reg->match.addr != client->addr)
H A Dmt9v022.c397 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR)
400 if (id->match.addr != client->addr)
415 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0xff)
418 if (reg->match.addr != client->addr)
435 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR || reg->reg > 0xff)
438 if (reg->match.addr != client->addr)
H A Dnoon010pc30.c369 *match = NULL; local
377 match = fsize;
381 if (match) {
382 mf->width = match->width;
383 mf->height = match->height;
385 *size = match;
H A Dsr030pc30.c483 *match = NULL; local
489 match = fsize;
493 if (match) {
494 mf->width = match->width;
495 mf->height = match->height;
H A Drj54n1cb0c.c1128 if (id->match.type != V4L2_CHIP_MATCH_I2C_ADDR)
1131 if (id->match.addr != client->addr)
1146 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR ||
1151 if (reg->match.addr != client->addr)
1168 if (reg->match.type != V4L2_CHIP_MATCH_I2C_ADDR ||
1173 if (reg->match.addr != client->addr)
/drivers/i2c/busses/
H A Di2c-mpc.c601 const struct of_device_id *match; local
608 match = of_match_device(mpc_i2c_of_match, &op->dev);
609 if (!match)
646 if (match->data) {
647 struct mpc_i2c_data *data = match->data;
/drivers/net/wimax/i2400m/
H A Dcontrol.c119 * < 0 if it doesn't match at all
220 * it. If the sizes don't match, an error is printed and NULL
229 ssize_t match; local
233 match = i2400m_tlv_match(tlv, tlv_type, tlv_size);
234 if (match == 0) /* found it :) */
236 if (match > 0)
239 tlv_type, match, tlv_size);
/drivers/net/wireless/hostap/
H A Dhostap_main.c147 struct hostap_interface *iface, *empty, *match; local
149 empty = match = NULL;
160 match = iface;
164 if (!match && empty && !prism2_wds_special_addr(remote_addr)) {
175 if (match)
/drivers/of/
H A Dbase.c368 * @path: The full path to match
394 * @name: The name string to match against
423 * @type: The type string to match against
452 * @type: The type string to match "device_type" or NULL to ignore
453 * @compatible: The string to match to one of the tokens in the device
516 * @matches: array of of device match structures to search in
517 * @node: the of device structure to match against
528 int match = 1; local
530 match &= node->name
533 match
[all...]
/drivers/ata/
H A Dlibata-transport.c696 i->t.host_attrs.ac.match = ata_tport_match;
701 i->link_attr_cont.ac.match = ata_tlink_match;
706 i->dev_attr_cont.ac.match = ata_tdev_match;
/drivers/char/agp/
H A Dhp-agp.c484 int match; local
496 match = (strcmp(info->hardware_id.string, "HWP0001") == 0);
498 if (match) {
/drivers/media/video/saa7134/
H A Dsaa7134-empress.c423 if (chip->match.type == V4L2_CHIP_MATCH_I2C_DRIVER &&
424 !strcmp(chip->match.name, "saa6752hs"))
426 if (chip->match.type == V4L2_CHIP_MATCH_I2C_ADDR)
/drivers/net/wireless/ath/ath9k/
H A Deeprom.c337 bool match; local
360 match = ath9k_hw_get_lower_upper_index((u8)FREQ2FBIN(centers.synth_center,
364 if (match) {
/drivers/rtc/
H A Drtc-s3c.c455 const struct of_device_id *match; local
456 match = of_match_node(s3c_rtc_dt_match, pdev->dev.of_node);
457 data = (struct s3c_rtc_drv_data *) match->data;
/drivers/hid/
H A Dhid-input.c98 hid_usage_cmp_t match,
112 if (match(usage, cur_idx, value)) {
299 const struct hid_device_id *match; local
301 match = hid_match_id(hdev, hid_battery_quirks);
302 if (match != NULL)
303 quirks = match->driver_data;
368 return false; /* no match */
97 hidinput_find_key(struct hid_device *hid, hid_usage_cmp_t match, unsigned int value, unsigned int *usage_idx) argument
/drivers/media/video/cx18/
H A Dcx18-av-core.c1234 static inline int cx18_av_dbg_match(const struct v4l2_dbg_match *match) argument
1236 return match->type == V4L2_CHIP_MATCH_HOST && match->addr == 1;
1244 if (cx18_av_dbg_match(&chip->match)) {
1257 if (!cx18_av_dbg_match(&reg->match))
1273 if (!cx18_av_dbg_match(&reg->match))
/drivers/base/
H A Dclass.c406 * @data: data for the match function
407 * @match: function to check device
411 * determined by the @match callback.
413 * The callback should return 0 if the device doesn't match and non-zero
424 int (*match)(struct device *, void *))
439 if (match(dev, data)) {
/drivers/media/dvb/ttpci/
H A Dav7110_av.c1040 int match = 0; local
1054 if (match == 5) {
1056 match = 0;
1059 match = (match == 1 || match == 2) ? 2 : 1;
1062 switch (match++) {
1073 match = 0;

Completed in 532 milliseconds

1234567891011