Searched refs:p_header (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/drivers/staging/speakup/ |
H A D | varhandlers.c | 90 struct st_var_header *p_header; speakup_register_var() local 95 p_header = &var_headers[i]; speakup_register_var() 96 var_ptrs[p_header->var_id] = p_header; speakup_register_var() 97 p_header->data = NULL; speakup_register_var() 100 p_header = var_ptrs[var->var_id]; speakup_register_var() 101 if (p_header->data != NULL) speakup_register_var() 103 p_header->data = var; speakup_register_var() 104 switch (p_header->var_type) { speakup_register_var() 106 spk_set_string_var(nothing, p_header, 0); speakup_register_var() 110 spk_set_num_var(0, p_header, E_DEFAULT); speakup_register_var() 119 struct st_var_header *p_header; speakup_unregister_var() local 122 p_header = var_ptrs[var_id]; speakup_unregister_var() 123 p_header->data = NULL; speakup_unregister_var() 128 struct st_var_header *p_header; spk_get_var_header() local 132 p_header = var_ptrs[var_id]; spk_get_var_header() 133 if (p_header->data == NULL) spk_get_var_header() 135 return p_header; spk_get_var_header()
|
H A D | kobjects.c | 454 struct st_var_header *p_header; punc_show() local 460 p_header = spk_var_header_by_name(attr->attr.name); punc_show() 461 if (p_header == NULL) { punc_show() 462 pr_warn("p_header is null, attr->attr.name is %s\n", punc_show() 467 var = spk_get_punc_var(p_header->var_id); punc_show() 469 pr_warn("var is null, p_header->var_id is %i\n", punc_show() 470 p_header->var_id); punc_show() 493 struct st_var_header *p_header; punc_store() local 502 p_header = spk_var_header_by_name(attr->attr.name); punc_store() 503 if (p_header == NULL) { punc_store() 504 pr_warn("p_header is null, attr->attr.name is %s\n", punc_store() 509 var = spk_get_punc_var(p_header->var_id); punc_store() 511 pr_warn("var is null, p_header->var_id is %i\n", punc_store() 512 p_header->var_id); punc_store()
|
H A D | main.c | 1794 struct st_var_header *p_header; inc_dec_var() local 1803 p_header = spk_get_var_header(var_id); inc_dec_var() 1804 if (p_header == NULL) inc_dec_var() 1806 if (p_header->var_type != VAR_NUM) inc_dec_var() 1808 var_data = p_header->data; inc_dec_var() 1809 if (spk_set_num_var(1, p_header, how) != 0) inc_dec_var() 1812 for (pn = p_header->name; *pn; pn++) { inc_dec_var()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | ctcm_main.c | 665 struct pdu *p_header; ctcmpc_transmit_skb() local 683 p_header = kmalloc(PDU_HEADER_LENGTH, gfp_type()); ctcmpc_transmit_skb() 685 if (!p_header) { ctcmpc_transmit_skb() 690 p_header->pdu_offset = skb->len; ctcmpc_transmit_skb() 691 p_header->pdu_proto = 0x01; ctcmpc_transmit_skb() 692 p_header->pdu_flag = 0x00; ctcmpc_transmit_skb() 694 p_header->pdu_flag |= PDU_FIRST | PDU_CNTL; ctcmpc_transmit_skb() 696 p_header->pdu_flag |= PDU_FIRST; ctcmpc_transmit_skb() 698 p_header->pdu_seq = 0; ctcmpc_transmit_skb() 699 memcpy(skb_push(skb, PDU_HEADER_LENGTH), p_header, ctcmpc_transmit_skb() local 709 kfree(p_header); ctcmpc_transmit_skb() 739 p_header = kmalloc(PDU_HEADER_LENGTH, gfp_type()); ctcmpc_transmit_skb() 741 if (!p_header) ctcmpc_transmit_skb() 744 p_header->pdu_offset = skb->len; ctcmpc_transmit_skb() 745 p_header->pdu_proto = 0x01; ctcmpc_transmit_skb() 746 p_header->pdu_flag = 0x00; ctcmpc_transmit_skb() 747 p_header->pdu_seq = 0; ctcmpc_transmit_skb() 749 p_header->pdu_flag |= PDU_FIRST | PDU_CNTL; ctcmpc_transmit_skb() 751 p_header->pdu_flag |= PDU_FIRST; ctcmpc_transmit_skb() 753 memcpy(skb_push(skb, PDU_HEADER_LENGTH), p_header, PDU_HEADER_LENGTH); ctcmpc_transmit_skb() local 755 kfree(p_header); ctcmpc_transmit_skb() 766 p_header = (struct pdu *)skb->data; ctcmpc_transmit_skb() 767 p_header->pdu_flag |= PDU_LAST; ctcmpc_transmit_skb()
|
H A D | ctcm_fsms.c | 1229 struct pdu *p_header; ctcmpc_chx_txdone() local 1274 p_header = NULL; ctcmpc_chx_txdone() 1283 p_header = (struct pdu *) ctcmpc_chx_txdone() 1285 p_header->pdu_flag = 0x00; ctcmpc_chx_txdone() 1287 p_header->pdu_flag |= 0x60; ctcmpc_chx_txdone() 1289 p_header->pdu_flag |= 0x20; ctcmpc_chx_txdone() 1295 CTCM_D3_DUMP((char *)p_header, min_t(int, skb->len, 32)); ctcmpc_chx_txdone() 1308 /* p_header points to the last one we handled */ ctcmpc_chx_txdone() 1309 if (p_header) ctcmpc_chx_txdone() 1310 p_header->pdu_flag |= PDU_LAST; /*Say it's the last one*/ ctcmpc_chx_txdone()
|
/linux-4.1.27/drivers/scsi/ |
H A D | mvumi.c | 840 mvumi_calculate_checksum(struct mvumi_hs_header *p_header, mvumi_calculate_checksum() argument 846 ptr = (unsigned char *) p_header->frame_content; mvumi_calculate_checksum()
|
Completed in 151 milliseconds