Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/i915/soc/
A Dintel_rom.c137 loff_t intel_rom_find(struct intel_rom *rom, u32 needle) in intel_rom_find() argument
142 if (rom->read32(rom, offset) == needle) in intel_rom_find()
A Dintel_rom.h21 loff_t intel_rom_find(struct intel_rom *rom, u32 needle);
/drivers/scsi/
A DNCR5380.c2186 struct scsi_cmnd *needle) in list_find_cmd() argument
2191 if (NCR5380_to_scmd(ncmd) == needle) in list_find_cmd()
2203 struct scsi_cmnd *needle) in list_del_cmd() argument
2205 if (list_find_cmd(haystack, needle)) { in list_del_cmd()
2206 struct NCR5380_cmd *ncmd = NCR5380_to_ncmd(needle); in list_del_cmd()
A Dhpsa.c1548 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, in hpsa_scsi_find_entry() argument
1557 if (needle == NULL) in hpsa_scsi_find_entry()
1563 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry()
1565 if (device_is_the_same(needle, haystack[i])) { in hpsa_scsi_find_entry()
1566 if (device_updated(needle, haystack[i])) in hpsa_scsi_find_entry()
1571 if (needle->volume_offline) in hpsa_scsi_find_entry()
/drivers/gpu/nova-core/
A Dvbios.rs826 fn find_byte_pattern(haystack: &[u8], needle: &[u8]) -> Result<usize> { in find_byte_pattern()
828 .windows(needle.len()) in find_byte_pattern()
829 .position(|window| window == needle) in find_byte_pattern()
/drivers/media/dvb-core/
A Ddvb_ca_en50221.c207 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument
215 if (!strncmp(haystack + i, needle, nlen)) in findstr()

Completed in 31 milliseconds