Home
last modified time | relevance | path

Searched refs:ipacket (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/input/serio/
Dhp_sdc_mlc.c75 mlc->ipacket[idx] |= data | HIL_ERR_INT; in hp_sdc_mlc_isr()
79 if ((mlc->ipacket[idx - 1] & HIL_PKT_ADDR_MASK) != in hp_sdc_mlc_isr()
80 (mlc->ipacket[idx] & HIL_PKT_ADDR_MASK)) { in hp_sdc_mlc_isr()
81 mlc->ipacket[idx] &= ~HIL_PKT_ADDR_MASK; in hp_sdc_mlc_isr()
82 mlc->ipacket[idx] |= (mlc->ipacket[idx - 1] in hp_sdc_mlc_isr()
90 mlc->ipacket[idx] = in hp_sdc_mlc_isr()
100 && (mlc->ipacket[idx] == (mlc->imatch | idx))) in hp_sdc_mlc_isr()
102 if (mlc->ipacket[idx] == mlc->imatch) in hp_sdc_mlc_isr()
115 mlc->ipacket[idx] |= HIL_ERR_INT | HIL_ERR_PERR | in hp_sdc_mlc_isr()
120 mlc->ipacket[idx] |= HIL_ERR_INT | HIL_ERR_LERR; in hp_sdc_mlc_isr()
[all …]
Dhil_mlc.c171 did = (mlc->ipacket[0] & HIL_PKT_ADDR_MASK) >> 8; in hil_mlc_send_polls()
178 p = mlc->ipacket[i]; in hil_mlc_send_polls()
343 if (mlc->ipacket[0] & HIL_PKT_CMD) in hilse_take_idd()
348 if (((mlc->ipacket[i] & HIL_PKT_ADDR_MASK) == in hilse_take_idd()
349 (mlc->ipacket[0] & HIL_PKT_ADDR_MASK)) && in hilse_take_idd()
350 (mlc->ipacket[i] & HIL_PKT_CMD) && in hilse_take_idd()
351 ((mlc->ipacket[i] & HIL_PKT_DATA_MASK) == HIL_CMD_IDD)) in hilse_take_idd()
359 if (mlc->ipacket[i]) in hilse_take_idd()
367 mlc->ipacket[i] & HIL_PKT_DATA_MASK; in hilse_take_idd()
390 mlc->ipacket[i] & HIL_PKT_DATA_MASK; in hilse_take_rsc()
[all …]
/linux-3.4.99/drivers/staging/tidspbridge/dynload/
Dgetsection.c280 struct image_packet_t ipacket; in dload_get_section() local
302 if (dlthis->strm->read_buffer(dlthis->strm, &ipacket, in dload_get_section()
309 dload_reorder(&ipacket, IPH_SIZE, dlthis->reorder_map); in dload_get_section()
314 ipsize = BYTE_TO_HOST(DOFF_ALIGN(ipacket.packet_size)); in dload_get_section()
344 checks += dload_checksum(&ipacket, IPH_SIZE); in dload_get_section()
351 if (ipacket.num_relocs != 0) { in dload_get_section()
Dcload.c944 struct image_packet_t *ipacket) in cload_cinit() argument
951 unsigned char *pktp = ipacket->img_data; in cload_cinit()
952 unsigned char *pktend = pktp + BYTE_TO_HOST_ROUND(ipacket->packet_size); in cload_cinit()
1070 struct image_packet_t *ipacket, in relocate_packet() argument
1076 rnum = ipacket->num_relocs; in relocate_packet()
1095 dload_relocate(dlthis, (tgt_au_t *) ipacket->img_data, in relocate_packet()
1108 dlthis->image_offset, ipacket); in relocate_packet()
1137 struct image_packet_t ipacket; in dload_data() member
1171 &ibuf.ipacket, in dload_data()
1179 dload_reorder(&ibuf.ipacket, IPH_SIZE, in dload_data()
[all …]
Dtramp.c766 struct image_packet_t *ipacket, in priv_img_pkt_dup() argument
784 ipacket->packet_size; in priv_img_pkt_dup()
795 dup_pkt->img_pkt = *ipacket; in priv_img_pkt_dup()
797 for (i = 0; i < ipacket->packet_size; i++) in priv_img_pkt_dup()
799 *(ipacket->img_data + i); in priv_img_pkt_dup()
813 *(ipacket->img_data + i); in priv_img_pkt_dup()
874 u32 image_offset, struct image_packet_t *ipacket, in dload_tramp_generate() argument
987 ipacket, rp, new_tramp_sym); in dload_tramp_generate()
1009 u32 image_offset, struct image_packet_t *ipacket) in dload_tramp_pkt_udpate() argument
1021 *(ipacket->img_data + i); in dload_tramp_pkt_udpate()
Ddload_internal.h333 u32 image_offset, struct image_packet_t *ipacket,
338 struct image_packet_t *ipacket);
/linux-3.4.99/include/linux/
Dhil_mlc.h144 hil_packet ipacket[16]; member