Home
last modified time | relevance | path

Searched refs:pmsg (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_queue.c193 struct ipq_packet_msg *pmsg; in ipq_build_packet_message() local
201 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()
211 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
228 pmsg = NLMSG_DATA(nlh); in ipq_build_packet_message()
229 memset(pmsg, 0, sizeof(*pmsg)); in ipq_build_packet_message()
231 pmsg->packet_id = (unsigned long )entry; in ipq_build_packet_message()
232 pmsg->data_len = data_len; in ipq_build_packet_message()
233 pmsg->timestamp_sec = entry->skb->stamp.tv_sec; in ipq_build_packet_message()
234 pmsg->timestamp_usec = entry->skb->stamp.tv_usec; in ipq_build_packet_message()
235 pmsg->mark = entry->skb->nfmark; in ipq_build_packet_message()
[all …]
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_queue.c199 struct ipq_packet_msg *pmsg; in ipq_build_packet_message() local
207 size = NLMSG_SPACE(sizeof(*pmsg)); in ipq_build_packet_message()
217 size = NLMSG_SPACE(sizeof(*pmsg) + data_len); in ipq_build_packet_message()
234 pmsg = NLMSG_DATA(nlh); in ipq_build_packet_message()
235 memset(pmsg, 0, sizeof(*pmsg)); in ipq_build_packet_message()
237 pmsg->packet_id = (unsigned long )entry; in ipq_build_packet_message()
238 pmsg->data_len = data_len; in ipq_build_packet_message()
239 pmsg->timestamp_sec = entry->skb->stamp.tv_sec; in ipq_build_packet_message()
240 pmsg->timestamp_usec = entry->skb->stamp.tv_usec; in ipq_build_packet_message()
241 pmsg->mark = entry->skb->nfmark; in ipq_build_packet_message()
[all …]
/linux-2.4.37.9/drivers/i2c/
Di2c-algo-ite.c524 struct i2c_msg *pmsg;
530 pmsg = &msgs[i];
531 if(pmsg->flags & I2C_M_RD) {
533 ret = iic_readbytes(i2c_adap, pmsg->buf, pmsg->len, IIC_COMBINED_XFER);
535 else if(!(pmsg->flags & I2C_M_RD)) {
537 ret = iic_sendbytes(i2c_adap, pmsg->buf, pmsg->len, IIC_COMBINED_XFER);
541 pmsg = &msgs[i];
543 if(pmsg->flags & I2C_M_RD) {
545 ret = iic_readbytes(i2c_adap, pmsg->buf, pmsg->len, IIC_SINGLE_XFER);
547 else if(!(pmsg->flags & I2C_M_RD)) {
[all …]
Di2c-algo-pcf.c352 struct i2c_msg *pmsg; in pcf_xfer() local
366 pmsg = &msgs[i]; in pcf_xfer()
369 pmsg->flags & I2C_M_RD ? "read" : "write", in pcf_xfer()
370 pmsg->len, pmsg->addr, i + 1, num);) in pcf_xfer()
372 ret = pcf_doAddress(adap, pmsg, i2c_adap->retries); in pcf_xfer()
401 if (pmsg->flags & I2C_M_RD) { in pcf_xfer()
403 ret = pcf_readbytes(i2c_adap, pmsg->buf, pmsg->len, in pcf_xfer()
406 if (ret != pmsg->len) { in pcf_xfer()
413 ret = pcf_sendbytes(i2c_adap, pmsg->buf, pmsg->len, in pcf_xfer()
416 if (ret != pmsg->len) { in pcf_xfer()
Di2c-algo-bit.c471 struct i2c_msg *pmsg; in bit_xfer() local
478 pmsg = &msgs[i]; in bit_xfer()
479 if (!(pmsg->flags & I2C_M_NOSTART)) { in bit_xfer()
483 ret = bit_doAddress(i2c_adap,pmsg,i2c_adap->retries); in bit_xfer()
490 if (pmsg->flags & I2C_M_RD ) { in bit_xfer()
492 ret = readbytes(i2c_adap,pmsg->buf,pmsg->len); in bit_xfer()
494 if (ret < pmsg->len ) { in bit_xfer()
499 ret = sendbytes(i2c_adap,pmsg->buf,pmsg->len); in bit_xfer()
501 if (ret < pmsg->len ) { in bit_xfer()
Di2c-keywest.c336 struct i2c_msg *pmsg; in keywest_xfer() local
350 pmsg = &msgs[i++]; in keywest_xfer()
351 addr = pmsg->addr; in keywest_xfer()
352 if (pmsg->flags & I2C_M_TEN) { in keywest_xfer()
359 pmsg->flags & I2C_M_RD ? "read" : "write", in keywest_xfer()
360 pmsg->len, addr, i, num); in keywest_xfer()
367 iface->data = pmsg->buf; in keywest_xfer()
368 iface->datalen = pmsg->len; in keywest_xfer()
372 if (pmsg->flags & I2C_M_RD) in keywest_xfer()
378 if (pmsg->flags & I2C_M_REV_DIR_ADDR) in keywest_xfer()
/linux-2.4.37.9/arch/cris/drivers/
Daxisflashmap.c403 const char *pmsg = KERN_INFO " /dev/flash%d at 0x%08x, size 0x%08x\n"; in init_axis_flash() local
475 printk(pmsg, pidx, axis_partitions[pidx].offset, in init_axis_flash()
493 printk(pmsg, pidx, axis_partitions[pidx].offset, in init_axis_flash()
531 printk(pmsg, pidx, romfs_start, romfs_length); in init_axis_flash()
/linux-2.4.37.9/drivers/sound/emu10k1/
Dmidi.c403 int emu10k1_midi_callback(unsigned long msg, unsigned long refdata, unsigned long *pmsg) in emu10k1_midi_callback() argument
416 midihdr = (struct midi_hdr *) pmsg[2]; in emu10k1_midi_callback()
425 midihdr = (struct midi_hdr *) pmsg[2]; in emu10k1_midi_callback()
443 u8 *pBuf = (u8 *) & pmsg[1]; in emu10k1_midi_callback()
444 u16 bytesvalid = pmsg[2]; in emu10k1_midi_callback()
/linux-2.4.37.9/drivers/scsi/
Dgdth.c3848 msg = ha->pmsg; in gdth_sync_event()
4550 ha->pmsg = pci_alloc_consistent(ha->pdev, sizeof(gdth_msg_str), in GDTH_INITFUNC()
4563 ha->pmsg = scsi_init_malloc(sizeof(gdth_msg_str), GFP_ATOMIC | GFP_DMA); in GDTH_INITFUNC()
4564 if (ha->pmsg) in GDTH_INITFUNC()
4565 ha->msg_phys = virt_to_bus(ha->pmsg); in GDTH_INITFUNC()
4583 if (ha->pscratch == NULL || ha->pmsg == NULL || in GDTH_INITFUNC()
4598 if (ha->pmsg) in GDTH_INITFUNC()
4600 ha->pmsg, ha->msg_phys); in GDTH_INITFUNC()
4609 if (ha->pmsg) in GDTH_INITFUNC()
4610 scsi_init_free((void *)ha->pmsg, sizeof(gdth_msg_str)); in GDTH_INITFUNC()
[all …]
Dgdth.h884 gdth_msg_str *pmsg; /* message buffer */ member
/linux-2.4.37.9/drivers/net/pcmcia/
Dray_cs.c2258 UCHAR *pmsg; in ray_rx() local
2269 pmsg = local->rmem + pkt_addr; in ray_rx()
2270 switch(readb(pmsg)) in ray_rx()
2302 DEBUG(0,"ray_cs unknown pkt type %2x\n", (unsigned int) readb(pmsg)); in ray_rx()