Home
last modified time | relevance | path

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

/drivers/net/wireless/marvell/libertas/
Dmesh.c187 uint32_t datum; in lbs_anycast_set() local
191 sscanf(buf, "%x", &datum); in lbs_anycast_set()
192 mesh_access.data[0] = cpu_to_le32(datum); in lbs_anycast_set()
385 uint32_t datum; in bootflag_set() local
389 ret = sscanf(buf, "%d", &datum); in bootflag_set()
390 if ((ret != 1) || (datum > 1)) in bootflag_set()
393 *((__le32 *)&cmd.data[0]) = cpu_to_le32(!!datum); in bootflag_set()
435 uint32_t datum; in boottime_set() local
439 ret = sscanf(buf, "%d", &datum); in boottime_set()
440 if ((ret != 1) || (datum > 255)) in boottime_set()
[all …]
/drivers/gpu/drm/i915/gt/
Dst_shmem_utils.c10 u32 datum = 0xdeadbeef, result; in igt_shmem_basic() local
15 file = shmem_create_from_data("mock", &datum, sizeof(datum)); in igt_shmem_basic()
24 if (result != datum) { in igt_shmem_basic()
26 result, datum); in igt_shmem_basic()
/drivers/mtd/chips/
Dcfi_cmdset_0002.c863 map_word *datum = expected; in chip_good() local
866 datum = NULL; in chip_good()
868 return chip_ready(map, chip, addr, datum); in chip_good()
1379 unsigned long adr, map_word datum,
1390 map_word datum = map_word_ff(map); in do_otp_write() local
1395 datum = map_read(map, bus_ofs); in do_otp_write()
1399 datum = map_word_load_partial(map, datum, buf, gap, n); in do_otp_write()
1400 ret = do_write_oneword(map, chip, bus_ofs, datum, FL_OTP_WRITE); in do_otp_write()
1642 unsigned long adr, map_word datum, in do_write_oneword_once() argument
1661 map_write(map, datum, adr); in do_write_oneword_once()
[all …]
Dcfi_cmdset_0001.c1568 unsigned long adr, map_word datum, int mode) in do_write_oneword() argument
1598 map_write(map, datum, adr); in do_write_oneword()
1658 map_word datum; in cfi_intelext_write_words() local
1661 datum = map_word_ff(map); in cfi_intelext_write_words()
1662 datum = map_word_load_partial(map, datum, buf, gap, n); in cfi_intelext_write_words()
1665 bus_ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1683 map_word datum = map_word_load(map, buf); in cfi_intelext_write_words() local
1686 ofs, datum, FL_WRITING); in cfi_intelext_write_words()
1704 map_word datum; in cfi_intelext_write_words() local
1706 datum = map_word_ff(map); in cfi_intelext_write_words()
[all …]
/drivers/mtd/maps/
Dmap_funcs.c18 static void __xipram simple_map_write(struct map_info *map, const map_word datum, unsigned long ofs) in simple_map_write() argument
20 inline_map_write(map, datum, ofs); in simple_map_write()
Dphysmap-gemini.c94 const map_word datum, in gemini_flash_map_write() argument
98 inline_map_write(map, datum, ofs); in gemini_flash_map_write()
/drivers/media/pci/cobalt/
Dcobalt-flash.c38 static void flash_write16(struct map_info *map, const map_word datum, in flash_write16() argument
41 u16 data = (u16)datum.x[0]; in flash_write16()
/drivers/mtd/lpddr/
Dlpddr_cmds.c408 map_word datum; in do_write_buffer() local
430 datum = map_word_ff(map); in do_write_buffer()
447 datum = map_word_ff(map); in do_write_buffer()
449 datum = map_word_load_partial(map, datum, in do_write_buffer()
455 map_write(map, datum, prog_buf_ofs); in do_write_buffer()
/drivers/staging/comedi/drivers/
Damplc_pci230.c555 unsigned short datum) in pci230_ao_mangle_datum() argument
564 datum <<= (16 - board->ao_bits); in pci230_ao_mangle_datum()
570 datum ^= 0x8000; in pci230_ao_mangle_datum()
571 return datum; in pci230_ao_mangle_datum()
575 unsigned short datum, unsigned int chan) in pci230_ao_write_nofifo() argument
580 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_nofifo()
585 unsigned short datum, unsigned int chan) in pci230_ao_write_fifo() argument
590 outw(pci230_ao_mangle_datum(dev, datum), in pci230_ao_write_fifo()
1146 unsigned short datum; in pci230_handle_ao_fifo() local
1148 comedi_buf_read_samples(s, &datum, 1); in pci230_handle_ao_fifo()
[all …]
/drivers/mtd/nand/raw/
Ddiskonchip.c292 static void doc2000_write_byte(struct nand_chip *this, u_char datum) in doc2000_write_byte() argument
298 printk("write_byte %02x\n", datum); in doc2000_write_byte()
299 WriteDOC(datum, docptr, CDSNSlowIO); in doc2000_write_byte()
300 WriteDOC(datum, docptr, 2k_CDSN_IO); in doc2000_write_byte()
415 static void doc2001_write_byte(struct nand_chip *this, u_char datum) in doc2001_write_byte() argument
420 WriteDOC(datum, docptr, CDSNSlowIO); in doc2001_write_byte()
421 WriteDOC(datum, docptr, Mil_CDSN_IO); in doc2001_write_byte()
422 WriteDOC(datum, docptr, WritePipeTerm); in doc2001_write_byte()
Dcafe_nand.c102 #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.h139 acpi_ex_get_buffer_datum(u64 *datum,
/drivers/net/ethernet/toshiba/
Dtc35815.c1966 static void tc35815_set_msglevel(struct net_device *dev, u32 datum) in tc35815_set_msglevel() argument
1969 lp->msg_enable = datum; in tc35815_set_msglevel()
/drivers/net/ethernet/socionext/
Dnetsec.c585 static void netsec_et_set_msglevel(struct net_device *dev, u32 datum) in netsec_et_set_msglevel() argument
589 priv->msg_enable = datum; in netsec_et_set_msglevel()
/drivers/net/ethernet/realtek/
D8139too.c2426 static void rtl8139_set_msglevel(struct net_device *dev, u32 datum) in rtl8139_set_msglevel() argument
2429 tp->msg_enable = datum; in rtl8139_set_msglevel()
/drivers/media/usb/cpia2/
Dcpia2_core.c899 u8 start, u8 datum) in cpia2_send_onebyte_command() argument
901 cmd->buffer.block_data[0] = datum; in cpia2_send_onebyte_command()
/drivers/mmc/host/
DKconfig85 implements a hardware byte swapper using a 32-bit datum.
88 accessed in sizes other than the datum size.