Home
last modified time | relevance | path

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

/drivers/net/wireless/libertas/
Dmesh.c185 uint32_t datum; in lbs_anycast_set() local
189 sscanf(buf, "%x", &datum); in lbs_anycast_set()
190 mesh_access.data[0] = cpu_to_le32(datum); in lbs_anycast_set()
382 uint32_t datum; in bootflag_set() local
386 ret = sscanf(buf, "%d", &datum); in bootflag_set()
387 if ((ret != 1) || (datum > 1)) in bootflag_set()
390 *((__le32 *)&cmd.data[0]) = cpu_to_le32(!!datum); in bootflag_set()
432 uint32_t datum; in boottime_set() local
436 ret = sscanf(buf, "%d", &datum); in boottime_set()
437 if ((ret != 1) || (datum > 255)) in boottime_set()
[all …]
/drivers/mtd/maps/
Dlatch-addr-flash.c42 map_word datum; in lf_read() local
49 datum = inline_map_read(map, info->win_mask & ofs); in lf_read()
53 return datum; in lf_read()
56 static void lf_write(struct map_info *map, map_word datum, unsigned long ofs) in lf_write() argument
65 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.c1486 unsigned long adr, map_word datum, int mode) in do_write_oneword() argument
1516 map_write(map, datum, adr); in do_write_oneword()
1576 map_word datum; in cfi_intelext_write_words() local
1579 datum = map_word_ff(map); in cfi_intelext_write_words()
1580 datum = map_word_load_partial(map, datum, buf, gap, n); in cfi_intelext_write_words()
1583 bus_ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1601 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() local
1604 ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1622 map_word datum; in cfi_intelext_write_words() local
1624 datum = map_word_ff(map); in cfi_intelext_write_words()
[all …]
Dcfi_cmdset_0002.c1228 …pram do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, map_word datum) in do_write_oneword() argument
1256 __func__, adr, datum.x[0] ); in do_write_oneword()
1265 if (map_word_equal(map, oldd, datum)) { in do_write_oneword()
1278 map_write(map, datum, adr); in do_write_oneword()
1316 if (!chip_good(map, adr, datum)) { in do_write_oneword()
1402 map_word datum; in cfi_amdstd_write_words() local
1404 datum = map_word_load(map, buf); in cfi_amdstd_write_words()
1407 ofs, datum); in cfi_amdstd_write_words()
1475 map_word datum; in do_write_buffer() local
1487 datum = map_word_load(map, buf); in do_write_buffer()
[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/staging/comedi/drivers/
Damplc_pci230.c601 short datum) in pci230_ao_mangle_datum() argument
609 datum ^= 1 << (thisboard->ao_bits - 1); in pci230_ao_mangle_datum()
614 datum <<= (16 - thisboard->ao_bits); in pci230_ao_mangle_datum()
615 return (unsigned short)datum; in pci230_ao_mangle_datum()
619 short datum, unsigned int chan) in pci230_ao_write_nofifo() argument
624 devpriv->ao_readback[chan] = datum; in pci230_ao_write_nofifo()
627 outw(pci230_ao_mangle_datum(dev, datum), dev->iobase + (((chan) == 0) in pci230_ao_write_nofifo()
633 static inline void pci230_ao_write_fifo(struct comedi_device *dev, short datum, in pci230_ao_write_fifo() argument
639 devpriv->ao_readback[chan] = datum; in pci230_ao_write_fifo()
642 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_fifo()
[all …]
/drivers/mtd/lpddr/
Dlpddr_cmds.c396 map_word datum; in do_write_buffer() local
418 datum = map_word_ff(map); in do_write_buffer()
435 datum = map_word_ff(map); in do_write_buffer()
437 datum = map_word_load_partial(map, datum, in do_write_buffer()
443 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
/drivers/mtd/nand/
Ddiskonchip.c297 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte() argument
304 printk("write_byte %02x\n", datum); in doc2000_write_byte()
305 WriteDOC(datum, docptr, CDSNSlowIO); in doc2000_write_byte()
306 WriteDOC(datum, docptr, 2k_CDSN_IO); in doc2000_write_byte()
459 static void doc2001_write_byte(struct mtd_info *mtd, u_char datum) in doc2001_write_byte() argument
465 WriteDOC(datum, docptr, CDSNSlowIO); in doc2001_write_byte()
466 WriteDOC(datum, docptr, Mil_CDSN_IO); in doc2001_write_byte()
467 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.c102 static void put_buffer_byte(struct net_device *dev, unsigned offset, u_char datum) in put_buffer_byte() argument
109 outb(datum, _MEMDATA); in put_buffer_byte()
/drivers/acpi/acpica/
Dacinterp.h143 acpi_ex_get_buffer_datum(u64 *datum,
/drivers/mmc/host/
DKconfig53 implements a hardware byte swapper using a 32-bit datum.
56 accessed in sizes other than the datum size.
/drivers/net/ethernet/realtek/
D8139too.c2415 static void rtl8139_set_msglevel(struct net_device *dev, u32 datum) in rtl8139_set_msglevel() argument
2418 tp->msg_enable = datum; in rtl8139_set_msglevel()
/drivers/net/ethernet/toshiba/
Dtc35815.c2007 static void tc35815_set_msglevel(struct net_device *dev, u32 datum) in tc35815_set_msglevel() argument
2010 lp->msg_enable = datum; in tc35815_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()