Home
last modified time | relevance | path

Searched refs:datum (Results 1 – 17 of 17) sorted by relevance

/drivers/net/wireless/marvell/libertas/
Dmesh.c184 uint32_t datum; in lbs_anycast_set() local
188 sscanf(buf, "%x", &datum); in lbs_anycast_set()
189 mesh_access.data[0] = cpu_to_le32(datum); in lbs_anycast_set()
381 uint32_t datum; in bootflag_set() local
385 ret = sscanf(buf, "%d", &datum); in bootflag_set()
386 if ((ret != 1) || (datum > 1)) in bootflag_set()
389 *((__le32 *)&cmd.data[0]) = cpu_to_le32(!!datum); in bootflag_set()
431 uint32_t datum; in boottime_set() local
435 ret = sscanf(buf, "%d", &datum); in boottime_set()
436 if ((ret != 1) || (datum > 255)) in boottime_set()
[all …]
/drivers/mtd/maps/
Dlatch-addr-flash.c41 map_word datum; in lf_read() local
48 datum = inline_map_read(map, info->win_mask & ofs); in lf_read()
52 return datum; in lf_read()
55 static void lf_write(struct map_info *map, map_word datum, unsigned long ofs) in lf_write() argument
64 inline_map_write(map, datum, info->win_mask & ofs); in lf_write()
Dmap_funcs.c17 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write() argument
19 inline_map_write(map, datum, ofs); in simple_map_write()
/drivers/mtd/chips/
Dcfi_cmdset_0001.c1524 unsigned long adr, map_word datum, int mode) in do_write_oneword() argument
1554 map_write(map, datum, adr); in do_write_oneword()
1614 map_word datum; in cfi_intelext_write_words() local
1617 datum = map_word_ff(map); in cfi_intelext_write_words()
1618 datum = map_word_load_partial(map, datum, buf, gap, n); in cfi_intelext_write_words()
1621 bus_ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1639 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() local
1642 ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1660 map_word datum; in cfi_intelext_write_words() local
1662 datum = map_word_ff(map); in cfi_intelext_write_words()
[all …]
Dcfi_cmdset_0002.c1285 unsigned long adr, map_word datum,
1296 map_word datum = map_word_ff(map); in do_otp_write() local
1301 datum = map_read(map, bus_ofs); in do_otp_write()
1305 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
1306 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
1547 unsigned long adr, map_word datum, in do_write_oneword() argument
1576 __func__, adr, datum.x[0] ); in do_write_oneword()
1588 if (map_word_equal(map, oldd, datum)) { in do_write_oneword()
1602 map_write(map, datum, adr); in do_write_oneword()
1640 if (!chip_good(map, adr, datum)) { in do_write_oneword()
[all …]
/drivers/staging/android/fiq_debugger/
Dfiq_debugger_ringbuf.h83 fiq_debugger_ringbuf_push(struct fiq_debugger_ringbuf *rbuf, u8 datum) in fiq_debugger_ringbuf_push() argument
88 rbuf->buf[rbuf->head] = datum; in fiq_debugger_ringbuf_push()
/drivers/media/pci/cobalt/
Dcobalt-flash.c50 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16() argument
53 u16 data = (u16)datum.x[0]; in flash_write16()
/drivers/mtd/lpddr/
Dlpddr_cmds.c394 map_word datum; in do_write_buffer() local
416 datum = map_word_ff(map); in do_write_buffer()
433 datum = map_word_ff(map); in do_write_buffer()
435 datum = map_word_load_partial(map, datum, in do_write_buffer()
441 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
/drivers/staging/comedi/drivers/
Damplc_pci230.c562 unsigned short datum) in pci230_ao_mangle_datum() argument
571 datum <<= (16 - board->ao_bits); in pci230_ao_mangle_datum()
577 datum ^= 0x8000; in pci230_ao_mangle_datum()
578 return datum; in pci230_ao_mangle_datum()
582 unsigned short datum, unsigned int chan) in pci230_ao_write_nofifo() argument
587 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_nofifo()
592 unsigned short datum, unsigned int chan) in pci230_ao_write_fifo() argument
597 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_fifo()
1153 unsigned short datum; in pci230_handle_ao_fifo() local
1155 comedi_buf_read_samples(s, &datum, 1); in pci230_handle_ao_fifo()
[all …]
/drivers/mtd/nand/
Ddiskonchip.c296 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte() argument
303 printk("write_byte %02x\n", datum); in doc2000_write_byte()
304 WriteDOC(datum, docptr, CDSNSlowIO); in doc2000_write_byte()
305 WriteDOC(datum, docptr, 2k_CDSN_IO); in doc2000_write_byte()
458 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte() argument
464 WriteDOC(datum, docptr, CDSNSlowIO); in doc2001_write_byte()
465 WriteDOC(datum, docptr, Mil_CDSN_IO); in doc2001_write_byte()
466 WriteDOC(datum, docptr, WritePipeTerm); in doc2001_write_byte()
Dcafe_nand.c100 #define cafe_writel(cafe, datum, addr) writel(datum, (cafe)->mmio + CAFE_##addr) argument
/drivers/net/arcnet/
Dcom90io.c83 u_char datum) in put_buffer_byte() argument
90 arcnet_outb(datum, ioaddr, COM9026_REG_RW_MEMDATA); in put_buffer_byte()
/drivers/acpi/acpica/
Dacinterp.h169 acpi_ex_get_buffer_datum(u64 *datum,
/drivers/net/ethernet/toshiba/
Dtc35815.c1953 static void tc35815_set_msglevel(struct net_device *dev, u32 datum) in tc35815_set_msglevel() argument
1956 lp->msg_enable = datum; in tc35815_set_msglevel()
/drivers/mmc/host/
DKconfig65 implements a hardware byte swapper using a 32-bit datum.
68 accessed in sizes other than the datum size.
/drivers/net/ethernet/realtek/
D8139too.c2434 static void rtl8139_set_msglevel(struct net_device *dev, u32 datum) in rtl8139_set_msglevel() argument
2437 tp->msg_enable = datum; in rtl8139_set_msglevel()
/drivers/media/usb/cpia2/
Dcpia2_core.c894 u8 start, u8 datum) in cpia2_send_onebyte_command() argument
896 cmd->buffer.block_data[0] = datum; in cpia2_send_onebyte_command()