Home
last modified time | relevance | path

Searched refs:p_header (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/staging/speakup/
Dvarhandlers.c92 struct st_var_header *p_header; in speakup_register_var() local
97 p_header = &var_headers[i]; in speakup_register_var()
98 var_ptrs[p_header->var_id] = p_header; in speakup_register_var()
99 p_header->data = NULL; in speakup_register_var()
102 p_header = var_ptrs[var->var_id]; in speakup_register_var()
103 if (p_header->data) in speakup_register_var()
105 p_header->data = var; in speakup_register_var()
106 switch (p_header->var_type) { in speakup_register_var()
108 spk_set_string_var(nothing, p_header, 0); in speakup_register_var()
112 spk_set_num_var(0, p_header, E_DEFAULT); in speakup_register_var()
[all …]
Dkobjects.c464 struct st_var_header *p_header; in punc_show() local
470 p_header = spk_var_header_by_name(attr->attr.name); in punc_show()
471 if (!p_header) { in punc_show()
477 var = spk_get_punc_var(p_header->var_id); in punc_show()
480 p_header->var_id); in punc_show()
503 struct st_var_header *p_header; in punc_store() local
512 p_header = spk_var_header_by_name(attr->attr.name); in punc_store()
513 if (!p_header) { in punc_store()
519 var = spk_get_punc_var(p_header->var_id); in punc_store()
522 p_header->var_id); in punc_store()
Dmain.c1837 struct st_var_header *p_header; in inc_dec_var() local
1846 p_header = spk_get_var_header(var_id); in inc_dec_var()
1847 if (!p_header) in inc_dec_var()
1849 if (p_header->var_type != VAR_NUM) in inc_dec_var()
1851 var_data = p_header->data; in inc_dec_var()
1852 if (spk_set_num_var(1, p_header, how) != 0) in inc_dec_var()
1855 for (pn = p_header->name; *pn; pn++) { in inc_dec_var()
/Linux-v5.4/drivers/s390/net/
Dctcm_main.c665 struct pdu *p_header; in ctcmpc_transmit_skb() local
683 p_header = kmalloc(PDU_HEADER_LENGTH, gfp_type()); in ctcmpc_transmit_skb()
685 if (!p_header) { in ctcmpc_transmit_skb()
690 p_header->pdu_offset = skb->len; in ctcmpc_transmit_skb()
691 p_header->pdu_proto = 0x01; in ctcmpc_transmit_skb()
692 p_header->pdu_flag = 0x00; in ctcmpc_transmit_skb()
694 p_header->pdu_flag |= PDU_FIRST | PDU_CNTL; in ctcmpc_transmit_skb()
696 p_header->pdu_flag |= PDU_FIRST; in ctcmpc_transmit_skb()
698 p_header->pdu_seq = 0; in ctcmpc_transmit_skb()
699 memcpy(skb_push(skb, PDU_HEADER_LENGTH), p_header, in ctcmpc_transmit_skb()
[all …]
Dctcm_fsms.c1224 struct pdu *p_header; in ctcmpc_chx_txdone() local
1269 p_header = NULL; in ctcmpc_chx_txdone()
1278 p_header = (struct pdu *) in ctcmpc_chx_txdone()
1280 p_header->pdu_flag = 0x00; in ctcmpc_chx_txdone()
1282 p_header->pdu_flag |= 0x60; in ctcmpc_chx_txdone()
1284 p_header->pdu_flag |= 0x20; in ctcmpc_chx_txdone()
1290 CTCM_D3_DUMP((char *)p_header, min_t(int, skb->len, 32)); in ctcmpc_chx_txdone()
1304 if (p_header) in ctcmpc_chx_txdone()
1305 p_header->pdu_flag |= PDU_LAST; /*Say it's the last one*/ in ctcmpc_chx_txdone()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cmdbuf.c957 struct vmw_cmdbuf_header **p_header) in vmw_cmdbuf_alloc() argument
962 *p_header = NULL; in vmw_cmdbuf_alloc()
981 *p_header = header; in vmw_cmdbuf_alloc()
Dvmwgfx_drv.h1333 struct vmw_cmdbuf_header **p_header);
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_l2.c1388 struct eth_filter_cmd_header *p_header; in qed_sp_eth_filter_ucast() local
1398 p_header = &p_ramrod->filter_cmd_hdr; in qed_sp_eth_filter_ucast()
1399 p_header->assert_on_error = p_filter_cmd->assert_on_error; in qed_sp_eth_filter_ucast()
/Linux-v5.4/drivers/scsi/
Dmvumi.c815 mvumi_calculate_checksum(struct mvumi_hs_header *p_header, in mvumi_calculate_checksum() argument
821 ptr = (unsigned char *) p_header->frame_content; in mvumi_calculate_checksum()