Searched refs:byte (Results 276 - 300 of 649) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/acpi/acpica/
H A Dnsnames.c204 #define ACPI_PATH_PUT8(path, size, byte, length) \
208 (path)[(length)] = (byte); \
/linux-master/scripts/dtc/
H A Ddata.c207 struct data data_append_byte(struct data d, uint8_t byte) argument
209 return data_append_data(d, &byte, 1);
/linux-master/sound/drivers/
H A Dserial-u16550.c160 /* timer 38600bps * 10bit * 16byte */
205 /* keep track of last status byte */
263 * For a Rx interrupt, this is done by reading the received byte.
265 * a) Writing a byte
358 char byte; local
424 byte = (0 & UART_IER_RDI) /* Disable Receiver data interrupt */
428 byte = UART_IER_RDI /* Enable Receiver data interrupt */
432 byte = UART_IER_RDI /* Enable Receiver data interrupt */
437 byte = UART_IER_RDI /* Enable Receiver data interrupt */
441 outb(byte, uar
578 snd_uart16550_write_buffer(struct snd_uart16550 *uart, unsigned char byte) argument
[all...]
/linux-master/drivers/auxdisplay/
H A Dcfag12864b.c161 static void cfag12864b_writebyte(unsigned char byte) argument
165 ks0108_writedata(byte);
/linux-master/drivers/net/fjes/
H A Dfjes_hw.h85 #define FJES_DEV_COMMAND_START_DBG_REQ_LEN(byte) \
86 (16 + (8 * (byte) / FJES_DEBUG_PAGE_SIZE))
/linux-master/include/drm/display/
H A Ddrm_hdcp.h102 /* Following Macros take a byte at a time for bit(s) masking */
250 /* Below macros take a byte at a time and mask the bit(s) */
285 #define DRM_HDCP_2_KSV_COUNT_2_LSBITS(byte) (((byte) & 0xC0) >> 6)
/linux-master/drivers/i2c/busses/
H A Di2c-taos-evm.c84 sprintf(p, "$%02X#%02X", command, data->byte);
130 if (kstrtou8(p + 1, 16, &data->byte))
H A Di2c-opal.c126 req.buffer_ra = cpu_to_be64(__pa(&data->byte));
134 req.buffer_ra = cpu_to_be64(__pa(&data->byte));
H A Di2c-sun6i-p2wi.c10 * The P2WI controller looks like an SMBus controller which only supports byte
15 * - only one read access is required to read a byte (instead of a write
17 * - there's no Ack bit after each byte transfer
137 writel(data->byte, p2wi->regs + P2WI_DATA0);
167 data->byte = readl(p2wi->regs + P2WI_DATA0);
H A Di2c-isch.c180 outb(data->byte, SMBHSTDAT0);
222 data->byte = inb(SMBHSTDAT0);
H A Di2c-sis96x.c173 sis96x_write(SMB_BYTE, data->byte);
205 data->byte = sis96x_read(SMB_BYTE);
/linux-master/drivers/i2c/muxes/
H A Di2c-mux-pca9541.c102 union i2c_smbus_data data = { .byte = val };
123 return ret ?: data.byte;
/linux-master/arch/alpha/lib/
H A Dev6-memchr.S11 * - does binary search to find 0 byte in last
44 # below when we find the address of the last byte. Given
134 # At least one byte left to process.
/linux-master/drivers/rtc/
H A Drtc-ds2404.c67 static void ds2404_write_byte(struct ds2404 *chip, u8 byte) argument
73 gpiod_set_value(chip->dq_gpiod, byte & (1 << i));
H A Drtc-sh.c379 unsigned int byte; local
382 byte = readb(rtc->regbase + reg_off);
383 if (byte & AR_ENB) {
384 byte &= ~AR_ENB; /* strip the enable bit */
385 value = bcd2bin(byte);
/linux-master/drivers/ata/pata_parport/
H A Dfit3.c25 #define w7(byte) out_p(7, byte)
/linux-master/arch/riscv/include/asm/
H A Dinsn-def.h38 .4byte ((\opcode << INSN_R_OPCODE_SHIFT) | \
47 .4byte ((\opcode << INSN_I_OPCODE_SHIFT) | \
77 " .4byte ((\\opcode << " __stringify(INSN_R_OPCODE_SHIFT) ") |" \
88 " .4byte ((\\opcode << " __stringify(INSN_I_OPCODE_SHIFT) ") |" \
/linux-master/drivers/tty/serial/
H A Drp2.c402 u32 byte = readw(up->base + RP2_DATA_BYTE) | RP2_DUMMY_READ; local
403 u8 ch = byte & 0xff;
405 if (likely(!(byte & RP2_DATA_BYTE_EXCEPTION_MASK))) {
407 uart_insert_char(&up->port, byte, 0, ch,
412 if (byte & RP2_DATA_BYTE_BREAK_m)
414 else if (byte & RP2_DATA_BYTE_ERR_FRAMING_m)
416 else if (byte & RP2_DATA_BYTE_ERR_PARITY_m)
418 uart_insert_char(&up->port, byte,
/linux-master/drivers/w1/masters/
H A Dds2490.c99 /* Status transfer size, 16 bytes status, 16 byte result flags */
236 dev_dbg(dev, "communication command byte 1: 0x%02x", buf[9]);
237 dev_dbg(dev, "communication command byte 2: 0x%02x", buf[10]);
578 static int ds_write_byte(struct ds_device *dev, u8 byte) argument
583 err = ds_send_control(dev, COMM_BYTE_IO | COMM_IM | dev->spu_bit, byte);
598 return !(byte == dev->byte_buf);
601 static int ds_read_byte(struct ds_device *dev, u8 *byte) argument
612 err = ds_recv_data(dev, byte, sizeof(*byte));
889 static void ds9490r_write_byte(void *data, u8 byte) argument
[all...]
/linux-master/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c359 /* Size(8-byte words) of the log buffer. */
536 unsigned int byte[MLNX_MFG_OOB_MAC_FORMAT_LEN] = { 0 }; local
546 &byte[0], &byte[1], &byte[2],
547 &byte[3], &byte[4], &byte[5]);
554 mac_byte_ptr[byte_idx] = (u8)byte[byte_idx];
/linux-master/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c68 // byte.
69 static int check_region_contains_byte(void *addr, unsigned long size, char byte) argument
76 memset(page_buffer, byte, page_size);
81 // Compare each page checking that it contains our expected byte.
/linux-master/drivers/input/serio/
H A Dxilinx_ps2.c79 * xps2_recv() - attempts to receive a byte from the PS/2 port.
81 * @byte: address where the read data will be copied
86 static int xps2_recv(struct xps2data *drvdata, u8 *byte) argument
94 *byte = in_be32(drvdata->base_address + XPS2_RX_DATA_OFFSET);
128 /* Error, if a byte is not received */
131 "wrong rcvd byte count (%d)\n", status);
146 * sxps2_write() - sends a byte out through the PS/2 port.
150 * This function checks if the PS/2 transmitter is empty and sends a byte.
164 /* If the PS/2 transmitter is empty send a byte of data */
/linux-master/arch/x86/lib/
H A Dretpoline.S200 .byte 0x48, 0xb8
263 * 1) The RET at retbleed_return_thunk must be on a 64 byte boundary, for
266 * end with, the 0xc3 byte of the RET.
285 .byte 0xf6
290 * As part of the TEST above, RET is the ModRM byte, and INT3 the imm8.
341 * Keep the hotpath in a 16byte I-fetch for the non-debug
/linux-master/lib/xz/
H A Dxz_dec_stream.c178 uint8_t byte; local
184 byte = in[*in_pos];
187 s->vli |= (vli_type)(byte & 0x7F) << s->pos;
189 if ((byte & 0x80) == 0) {
191 if (byte == 0 && s->pos != 0)
344 * s->pos must be zero when starting to validate the first byte.
525 /* Size of Properties = 1-byte Filter Properties */
589 /* We need one byte of input to continue. */
739 * Since we know that the last input byte never produces any output, we know
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_debugfs.c246 unsigned char byte[2], enable[2]; local
265 mvpp2_prs_tcam_data_byte_get(&pe, 2, &byte[0], &enable[0]);
266 mvpp2_prs_tcam_data_byte_get(&pe, 3, &byte[1], &enable[1]);
268 rvid = ((byte[0] & 0xf) << 8) + byte[1];

Completed in 232 milliseconds

<<11121314151617181920>>