Home
last modified time | relevance | path

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

/linux/samples/seccomp/
H A Dbpf-fancy.c32 static const char msg1[] = "Please type something: "; in main() local
61 JEQ((unsigned long)msg1, JUMP(&l, msg1_len)), in main()
68 JLT(sizeof(msg1), ALLOW), in main()
97 syscall(__NR_write, STDOUT_FILENO, msg1, strlen(msg1)); in main()
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c270 const struct i2c_msg *msg1, in cx231xx_i2c_recv_bytes_with_saddr() argument
280 if (msg1->len == 2) in cx231xx_i2c_recv_bytes_with_saddr()
281 saddr = msg1->buf[0] << 8 | msg1->buf[1]; in cx231xx_i2c_recv_bytes_with_saddr()
282 else if (msg1->len == 1) in cx231xx_i2c_recv_bytes_with_saddr()
283 saddr = msg1->buf[0]; in cx231xx_i2c_recv_bytes_with_saddr()
290 msg2->addr, msg2->len, saddr, msg1->len); in cx231xx_i2c_recv_bytes_with_saddr()
303 dev->cx231xx_gpio_i2c_write(dev, msg1->addr, in cx231xx_i2c_recv_bytes_with_saddr()
304 msg1->buf, in cx231xx_i2c_recv_bytes_with_saddr()
305 msg1->len); in cx231xx_i2c_recv_bytes_with_saddr()
318 req_data.saddr_len = msg1->len; in cx231xx_i2c_recv_bytes_with_saddr()
/linux/tools/testing/selftests/ipc/
H A Dmsgque.c14 struct msg1 { struct
32 struct msg1 *messages; argument
84 struct msg1 message; in check_and_destroy_queue()
151 msgque->messages = malloc(sizeof(struct msg1) * ds.msg_qnum); in dump_queue()
175 struct msg1 msgbuf; in fill_msgque()
/linux/drivers/media/dvb-frontends/
H A Datbm8830.c32 struct i2c_msg msg1 = { .flags = 0, .buf = buf1, .len = 2 }; in atbm8830_write_reg() local
36 msg1.addr = dev_addr; in atbm8830_write_reg()
42 ret = i2c_transfer(priv->i2c, &msg1, 1); in atbm8830_write_reg()
57 struct i2c_msg msg1 = { .flags = 0, .buf = buf1, .len = 2 }; in atbm8830_read_reg() local
61 msg1.addr = dev_addr; in atbm8830_read_reg()
64 ret = i2c_transfer(priv->i2c, &msg1, 1); in atbm8830_read_reg()
H A Dtua6100.c67 struct i2c_msg msg1 = { .addr = priv->i2c_address, .flags = 0, .buf = reg1, .len = 4 }; in tua6100_set_params() local
131 if (i2c_transfer(priv->i2c, &msg1, 1) != 1) in tua6100_set_params()
/linux/drivers/char/tpm/
H A Dtpm_i2c_infineon.c95 struct i2c_msg msg1 = { in iic_tpm_read() local
106 struct i2c_msg msgs[] = {msg1, msg2}; in iic_tpm_read()
138 &msg1, 1); in iic_tpm_read()
211 struct i2c_msg msg1 = { in iic_tpm_write_generic() local
235 rc = __i2c_transfer(tpm_dev.client->adapter, &msg1, 1); in iic_tpm_write_generic()
/linux/arch/parisc/kernel/
H A Dhead.S82 load32 PA(msg1),%arg0
83 ldi msg1_end-msg1,%arg1
105 msg1: .ascii "Can't boot kernel which was built for PA8x00 CPUs on this machine.\r\n" label
/linux/drivers/soc/apple/
H A Dmailbox.h17 u32 msg1; member
H A Drtkit-crashlog.c39 u64 msg1; member
122 entry.timestamp, entry.msg0, entry.msg1); in apple_rtkit_crashlog_dump_mailbox()
H A Dmailbox.c154 writeq_relaxed(FIELD_PREP(APPLE_MBOX_MSG1_MSG, msg.msg1), in apple_mbox_send()
191 msg.msg1 = FIELD_GET( in apple_mbox_poll_locked()
H A Drtkit.c553 u8 ep = msg.msg1; in apple_rtkit_rx()
588 .msg1 = ep, in apple_rtkit_send_message()
/linux/drivers/net/ethernet/mediatek/
H A Dairoha_eth.c639 __le32 msg1; member
660 __le32 msg1; member
1440 WRITE_ONCE(desc->msg1, 0); in airoha_qdma_fill_rx_queue()
1455 u32 port, sport, msg1 = le32_to_cpu(desc->msg1); in airoha_qdma_get_gdm_port() local
1457 sport = FIELD_GET(QDMA_ETH_RXMSG_SPORT_MASK, msg1); in airoha_qdma_get_gdm_port()
1701 WRITE_ONCE(desc->msg1, 0); in airoha_qdma_tx_napi_poll()
2398 u32 msg0 = 0, msg1, len = skb_headlen(skb); in airoha_dev_xmit() local
2427 msg1 = FIELD_PREP(QDMA_ETH_TXMSG_FPORT_MASK, fport) | in airoha_dev_xmit()
2467 WRITE_ONCE(desc->msg1, cpu_to_le32(msg1)); in airoha_dev_xmit()
/linux/drivers/i2c/busses/
H A Di2c-npcm7xx.c2084 struct i2c_msg *msg0, *msg1; in npcm_i2c_master_xfer() local
2120 msg1 = &msgs[1]; in npcm_i2c_master_xfer()
2121 read_data = msg1->buf; in npcm_i2c_master_xfer()
2122 if (msg1->flags & I2C_M_RECV_LEN) { in npcm_i2c_master_xfer()
2125 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
2128 nread = msg1->len; in npcm_i2c_master_xfer()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx_edma.c574 struct wil_rx_status_extended msg1; in wil_is_rx_idle_edma() local
575 void *msg = &msg1; in wil_is_rx_idle_edma()
854 struct wil_rx_status_extended msg1; in wil_sring_reap_rx_edma() local
855 void *msg = &msg1; in wil_sring_reap_rx_edma()
/linux/drivers/staging/media/av7110/
H A Dav7110_v4l.c53 u8 msg1[3] = { dev, reg >> 8, reg & 0xff }; in msp_readreg() local
56 { .flags = 0, .len = 3, .buf = msg1 }, in msp_readreg()
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-cards.c7791 msg1 = {.addr = 0x61, .flags = 0, .buf = data1, .len = sizeof(data1)}; in saa7134_board_init2() local
7853 if (i2c_transfer(&dev->i2c_adap, &msg1, 1) != 1) in saa7134_board_init2()