/drivers/infiniband/hw/mthca/ |
H A D | mthca_pd.c | 39 int mthca_pd_alloc(struct mthca_dev *dev, int privileged, struct mthca_pd *pd) argument 43 pd->privileged = privileged; 45 atomic_set(&pd->sqp_count, 0); 46 pd->pd_num = mthca_alloc(&dev->pd_table.alloc); 47 if (pd->pd_num == -1) 51 err = mthca_mr_alloc_notrans(dev, pd->pd_num, 54 &pd->ntmr); 56 mthca_free(&dev->pd_table.alloc, pd->pd_num); 62 void mthca_pd_free(struct mthca_dev *dev, struct mthca_pd *pd) argument 64 if (pd [all...] |
/drivers/staging/ozwpan/ |
H A D | ozusbsvc.h | 18 struct oz_pd *pd; member in struct:oz_usb_ctx 25 int oz_usb_start(struct oz_pd *pd, int resume); 26 void oz_usb_stop(struct oz_pd *pd, int pause); 27 void oz_usb_rx(struct oz_pd *pd, struct oz_elt *elt); 28 int oz_usb_heartbeat(struct oz_pd *pd); 29 void oz_usb_farewell(struct oz_pd *pd, u8 ep_num, u8 *data, u8 len);
|
H A D | ozcdev.h | 13 int oz_cdev_start(struct oz_pd *pd, int resume); 14 void oz_cdev_stop(struct oz_pd *pd, int pause); 15 void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt); 16 void oz_cdev_heartbeat(struct oz_pd *pd);
|
H A D | ozusbsvc.c | 53 int oz_usb_start(struct oz_pd *pd, int resume) argument 71 usb_ctx->pd = pd; 77 spin_lock_bh(&pd->app_lock[OZ_APPID_USB-1]); 78 old_ctx = pd->app_ctx[OZ_APPID_USB-1]; 80 pd->app_ctx[OZ_APPID_USB-1] = usb_ctx; 81 oz_usb_get(pd->app_ctx[OZ_APPID_USB-1]); 82 spin_unlock_bh(&pd->app_lock[OZ_APPID_USB-1]); 91 oz_pd_get(pd); 103 spin_lock_bh(&pd 117 oz_usb_stop(struct oz_pd *pd, int pause) argument 176 oz_usb_heartbeat(struct oz_pd *pd) argument 202 struct oz_pd *pd = usb_ctx->pd; local 223 struct oz_pd *pd = usb_ctx->pd; local [all...] |
H A D | ozpd.c | 32 static struct oz_tx_frame *oz_tx_frame_alloc(struct oz_pd *pd); 33 static void oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f); 34 static struct sk_buff *oz_build_frame(struct oz_pd *pd, struct oz_tx_frame *f); 35 static int oz_send_isoc_frame(struct oz_pd *pd); 36 static void oz_retire_frame(struct oz_pd *pd, struct oz_tx_frame *f); 38 static int oz_send_next_queued_frame(struct oz_pd *pd, int *more_data); 42 static int oz_def_app_start(struct oz_pd *pd, int resume); 43 static void oz_def_app_stop(struct oz_pd *pd, int pause); 44 static void oz_def_app_rx(struct oz_pd *pd, struct oz_elt *elt); 104 static int oz_def_app_start(struct oz_pd *pd, in argument 111 oz_def_app_stop(struct oz_pd *pd, int pause) argument 117 oz_def_app_rx(struct oz_pd *pd, struct oz_elt *elt) argument 123 oz_pd_set_state(struct oz_pd *pd, unsigned state) argument 147 oz_pd_get(struct oz_pd *pd) argument 154 oz_pd_put(struct oz_pd *pd) argument 164 struct oz_pd *pd = kzalloc(sizeof(struct oz_pd), GFP_ATOMIC); local 190 oz_pd_destroy(struct oz_pd *pd) argument 236 oz_services_start(struct oz_pd *pd, u16 apps, int resume) argument 261 oz_services_stop(struct oz_pd *pd, u16 apps, int pause) argument 282 oz_pd_heartbeat(struct oz_pd *pd, u16 apps) argument 303 oz_pd_stop(struct oz_pd *pd) argument 326 oz_pd_sleep(struct oz_pd *pd) argument 356 oz_tx_frame_alloc(struct oz_pd *pd) argument 378 oz_tx_frame_free(struct oz_pd *pd, struct oz_tx_frame *f) argument 394 oz_prepare_frame(struct oz_pd *pd, int empty) argument 423 oz_build_frame(struct oz_pd *pd, struct oz_tx_frame *f) argument 467 oz_retire_frame(struct oz_pd *pd, struct oz_tx_frame *f) argument 489 oz_send_next_queued_frame(struct oz_pd *pd, int *more_data) argument 521 oz_send_queued_frames(struct oz_pd *pd, int backlog) argument 542 oz_send_isoc_frame(struct oz_pd *pd) argument 591 oz_retire_tx_frames(struct oz_pd *pd, u8 lpn) argument 631 pd_stream_find(struct oz_pd *pd, u8 ep_num) argument 645 oz_isoc_stream_create(struct oz_pd *pd, u8 ep_num) argument 674 oz_isoc_stream_delete(struct oz_pd *pd, u8 ep_num) argument 698 oz_send_isoc_unit(struct oz_pd *pd, u8 ep_num, u8 *data, int len) argument 801 oz_handle_app_elt(struct oz_pd *pd, u8 app_id, struct oz_elt *elt) argument 812 oz_pd_indicate_farewells(struct oz_pd *pd) argument [all...] |
H A D | ozpd.h | 100 void oz_pd_destroy(struct oz_pd *pd); 101 void oz_pd_get(struct oz_pd *pd); 102 void oz_pd_put(struct oz_pd *pd); 103 void oz_pd_set_state(struct oz_pd *pd, unsigned state); 104 void oz_pd_indicate_farewells(struct oz_pd *pd); 105 int oz_pd_sleep(struct oz_pd *pd); 106 void oz_pd_stop(struct oz_pd *pd); 107 void oz_pd_heartbeat(struct oz_pd *pd, u16 apps); 108 int oz_services_start(struct oz_pd *pd, u16 apps, int resume); 109 void oz_services_stop(struct oz_pd *pd, u1 [all...] |
H A D | ozproto.c | 51 struct oz_pd *pd; member in struct:oz_timer 91 static void oz_send_conn_rsp(struct oz_pd *pd, u8 status) argument 94 struct net_device *dev = pd->net_dev; 111 if (dev_hard_header(skb, dev, OZ_ETHERTYPE, pd->mac_addr, 125 body->mode = pd->mode; 126 body->session_id = pd->session_id; 127 put_unaligned(cpu_to_le16(pd->total_apps), &body->apps); 136 static void pd_set_keepalive(struct oz_pd *pd, u8 kalive) argument 142 pd->keep_alive_j = 146 pd 162 pd_set_presleep(struct oz_pd *pd, u8 presleep) argument 176 struct oz_pd *pd; local 296 oz_add_farewell(struct oz_pd *pd, u8 ep_num, u8 index, u8 *report, u8 len) argument 331 struct oz_pd *pd = 0; local 470 struct oz_pd *pd = local 491 oz_pd_handle_timer(struct oz_pd *pd, int type) argument 520 struct oz_pd *pd; local 597 oz_timer_add(struct oz_pd *pd, int type, unsigned long due_time, int remove) argument 659 oz_timer_delete(struct oz_pd *pd, int type) argument 707 oz_pd_request_heartbeat(struct oz_pd *pd) argument 729 struct oz_pd *pd; local 847 struct oz_pd *pd; local 933 struct oz_pd *pd; local [all...] |
H A D | ozproto.h | 37 typedef int (*oz_app_start_fn_t)(struct oz_pd *pd, int resume); 38 typedef void (*oz_app_stop_fn_t)(struct oz_pd *pd, int pause); 39 typedef void (*oz_app_rx_fn_t)(struct oz_pd *pd, struct oz_elt *elt); 40 typedef int (*oz_app_hearbeat_fn_t)(struct oz_pd *pd); 41 typedef void (*oz_app_farewell_fn_t)(struct oz_pd *pd, u8 ep_num, 62 void oz_timer_add(struct oz_pd *pd, int type, unsigned long due_time, 64 void oz_timer_delete(struct oz_pd *pd, int type); 65 void oz_pd_request_heartbeat(struct oz_pd *pd);
|
H A D | ozcdev.c | 51 static struct oz_serial_ctx *oz_cdev_claim_ctx(struct oz_pd *pd) argument 54 spin_lock_bh(&pd->app_lock[OZ_APPID_SERIAL-1]); 55 ctx = (struct oz_serial_ctx *)pd->app_ctx[OZ_APPID_SERIAL-1]; 58 spin_unlock_bh(&pd->app_lock[OZ_APPID_SERIAL-1]); 100 struct oz_pd *pd; local 104 pd = g_cdev.active_pd; 105 if (pd) 106 oz_pd_get(pd); 108 if (pd == 0) 110 ctx = oz_cdev_claim_ctx(pd); 149 struct oz_pd *pd; local 206 struct oz_pd *pd; local 393 oz_cdev_start(struct oz_pd *pd, int resume) argument 430 oz_cdev_stop(struct oz_pd *pd, int pause) argument 459 oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt) argument 519 oz_cdev_heartbeat(struct oz_pd *pd) argument [all...] |
/drivers/media/video/tlg2300/ |
H A D | pd-main.c | 41 #include "pd-common.h" 63 s32 send_set_req(struct poseidon *pd, u8 cmdid, s32 param, s32 *cmd_status) argument 69 if (pd->state & POSEIDON_STATE_DISCONNECT) 81 ret = usb_control_msg(pd->udev, 82 usb_rcvctrlpipe(pd->udev, 0), 103 s32 send_get_req(struct poseidon *pd, u8 cmdid, s32 param, argument 110 if (pd->state & POSEIDON_STATE_DISCONNECT) 121 ret = usb_control_msg(pd->udev, 122 usb_rcvctrlpipe(pd->udev, 0), 144 struct poseidon *pd local 177 set_tuner_mode(struct poseidon *pd, unsigned char mode) argument 192 struct poseidon *pd = container_of(kref, struct poseidon, kref); local 262 set_map_flags(struct poseidon *pd, struct usb_device *udev) argument 267 get_autopm_ref(struct poseidon *pd) argument 274 fixup(struct poseidon *pd) argument 293 struct poseidon *pd; local 303 is_working(struct poseidon *pd) argument 310 struct poseidon *pd = get_pd(intf); local 329 struct poseidon *pd = get_pd(intf); local 350 struct poseidon *pd = container_of(w, struct poseidon, pm_work); local 372 set_map_flags(struct poseidon *pd, struct usb_device *udev) argument 408 struct poseidon *pd = NULL; local 469 struct poseidon *pd = get_pd(interface); local [all...] |
H A D | Makefile | 1 poseidon-objs := pd-video.o pd-alsa.o pd-dvb.o pd-radio.o pd-main.o
|
H A D | pd-dvb.c | 1 #include "pd-common.h" 22 static int poseidon_check_mode_dvbt(struct poseidon *pd) argument 29 ret = usb_set_interface(pd->udev, 0, BULK_ALTERNATE_IFACE); 33 ret = set_tuner_mode(pd, TLG_MODE_CAPS_DVB_T); 38 ret = send_set_req(pd, SGNL_SRC_SEL, TLG_SIG_SRC_ANTENNA, &cmd_status); 51 struct poseidon *pd = fe->demodulator_priv; local 55 if (!pd) 60 mutex_lock(&pd->lock); 61 if (pd->state & POSEIDON_STATE_DISCONNECT) { 66 if (pd 103 struct poseidon *pd = fe->demodulator_priv; local 154 struct poseidon *pd = fe->demodulator_priv; local 198 pm_dvb_suspend(struct poseidon *pd) argument 207 pm_dvb_resume(struct poseidon *pd) argument 222 struct poseidon *pd = fe->demodulator_priv; local 237 struct poseidon *pd = fe->demodulator_priv; local 253 struct poseidon *pd = fe->demodulator_priv; local 288 struct poseidon *pd = fe->demodulator_priv; local 305 struct poseidon *pd = fe->demodulator_priv; local 431 struct poseidon *pd = pd_dvb->pd_device; local 470 struct poseidon *pd = pd_dvb->pd_device; local 514 pd_dvb_usb_device_init(struct poseidon *pd) argument 571 pd_dvb_usb_device_exit(struct poseidon *pd) argument 586 pd_dvb_usb_device_cleanup(struct poseidon *pd) argument [all...] |
H A D | pd-video.c | 12 #include "pd-common.h" 16 static int pm_video_suspend(struct poseidon *pd); 17 static int pm_video_resume(struct poseidon *pd); 146 struct poseidon *p = front->pd; 340 struct video_data *video = &front->pd->video_data; 426 struct video_data *video = &front->pd->video_data; 465 struct usb_device *udev = video->pd->udev; 562 video->pd->udev, video->endpoint_addr, 598 pix = &front->pd->video_data.context.pix; 609 vb->size = front->pd 637 start_video_stream(struct poseidon *pd) argument 660 struct poseidon *pd = front->pd; local 720 struct poseidon *pd = front->pd; local 737 pd_vidioc_s_fmt(struct poseidon *pd, struct v4l2_pix_format *pix) argument 789 struct poseidon *pd = front->pd; local 813 struct poseidon *pd = front->pd; local 836 set_std(struct poseidon *pd, v4l2_std_id *norm) argument 912 struct poseidon *pd = front->pd; local 924 struct poseidon *pd = front->pd; local 965 struct poseidon *pd = front->pd; local 991 struct poseidon *pd = front->pd; local 1042 struct poseidon *pd = front->pd; local 1087 pd_vidioc_s_tuner(struct poseidon *pd, int index) argument 1106 struct poseidon *pd = front->pd; local 1122 struct poseidon *pd = front->pd; local 1132 set_frequency(struct poseidon *pd, __u32 frequency) argument 1155 struct poseidon *pd = front->pd; local 1198 struct poseidon *pd = video->pd; local 1212 stop_all_video_stream(struct poseidon *pd) argument 1247 struct poseidon *pd; local 1283 pd_video_checkmode(struct poseidon *pd) argument 1323 pm_video_suspend(struct poseidon *pd) argument 1338 restore_v4l2_context(struct poseidon *pd, struct running_context *context) argument 1353 pm_video_resume(struct poseidon *pd) argument 1403 struct poseidon *pd = video_get_drvdata(vfd); local 1480 struct poseidon *pd = front->pd; local 1599 vdev_init(struct poseidon *pd, struct video_device *tmp) argument 1629 pd_video_exit(struct poseidon *pd) argument 1639 pd_video_init(struct poseidon *pd) argument [all...] |
/drivers/i2c/busses/ |
H A D | i2c-simtec.c | 49 struct simtec_i2c_data *pd = pw; local 50 writeb(CMD_SET_SDA | (state ? STATE_SDA : 0), pd->reg); 55 struct simtec_i2c_data *pd = pw; local 56 writeb(CMD_SET_SCL | (state ? STATE_SCL : 0), pd->reg); 61 struct simtec_i2c_data *pd = pw; local 62 return readb(pd->reg) & STATE_SDA ? 1 : 0; 67 struct simtec_i2c_data *pd = pw; local 68 return readb(pd->reg) & STATE_SCL ? 1 : 0; 75 struct simtec_i2c_data *pd; local 80 pd 147 struct simtec_i2c_data *pd = platform_get_drvdata(dev); local [all...] |
H A D | i2c-sh_mobile.c | 170 static void iic_wr(struct sh_mobile_i2c_data *pd, int offs, unsigned char data) argument 173 data |= pd->icic; 175 iowrite8(data, pd->reg + offs); 178 static unsigned char iic_rd(struct sh_mobile_i2c_data *pd, int offs) argument 180 return ioread8(pd->reg + offs); 183 static void iic_set_clr(struct sh_mobile_i2c_data *pd, int offs, argument 186 iic_wr(pd, offs, (iic_rd(pd, offs) | set) & ~clr); 189 static void activate_ch(struct sh_mobile_i2c_data *pd) argument 197 pm_runtime_get_sync(pd 252 deactivate_ch(struct sh_mobile_i2c_data *pd) argument 266 i2c_op(struct sh_mobile_i2c_data *pd, enum sh_mobile_i2c_op op, unsigned char data) argument 316 sh_mobile_i2c_is_first_byte(struct sh_mobile_i2c_data *pd) argument 324 sh_mobile_i2c_is_last_byte(struct sh_mobile_i2c_data *pd) argument 332 sh_mobile_i2c_get_data(struct sh_mobile_i2c_data *pd, unsigned char *buf) argument 345 sh_mobile_i2c_isr_tx(struct sh_mobile_i2c_data *pd) argument 365 sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd) argument 408 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); local 439 start_ch(struct sh_mobile_i2c_data *pd, struct i2c_msg *usr_msg) argument 469 struct sh_mobile_i2c_data *pd = i2c_get_adapdata(adapter); local 579 struct sh_mobile_i2c_data *pd; local 685 struct sh_mobile_i2c_data *pd = platform_get_drvdata(dev); local [all...] |
/drivers/net/ethernet/smsc/ |
H A D | smsc9420.c | 101 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 106 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 111 do { if ((pd)->msg_enable & NETIF_MSG_##TYPE) \ 115 static inline u32 smsc9420_reg_read(struct smsc9420_pdata *pd, u32 offset) argument 117 return ioread32(pd->base_addr + offset); 121 smsc9420_reg_write(struct smsc9420_pdata *pd, u32 offset, u32 value) argument 123 iowrite32(value, pd->base_addr + offset); 126 static inline void smsc9420_pci_flush_write(struct smsc9420_pdata *pd) argument 129 smsc9420_reg_read(pd, ID_REV); 134 struct smsc9420_pdata *pd local 172 struct smsc9420_pdata *pd = (struct smsc9420_pdata *)bus->priv; local 218 smsc9420_eeprom_reload(struct smsc9420_pdata *pd) argument 245 struct smsc9420_pdata *pd = netdev_priv(dev); local 256 struct smsc9420_pdata *pd = netdev_priv(dev); local 269 struct smsc9420_pdata *pd = netdev_priv(dev); local 280 struct smsc9420_pdata *pd = netdev_priv(netdev); local 290 struct smsc9420_pdata *pd = netdev_priv(netdev); local 296 struct smsc9420_pdata *pd = netdev_priv(netdev); local 302 struct smsc9420_pdata *pd = netdev_priv(netdev); local 320 struct smsc9420_pdata *pd = netdev_priv(dev); local 337 smsc9420_eeprom_enable_access(struct smsc9420_pdata *pd) argument 345 smsc9420_eeprom_send_cmd(struct smsc9420_pdata *pd, u32 op) argument 377 smsc9420_eeprom_read_location(struct smsc9420_pdata *pd, u8 address, u8 *data) argument 392 smsc9420_eeprom_write_location(struct smsc9420_pdata *pd, u8 address, u8 data) argument 418 struct smsc9420_pdata *pd = netdev_priv(dev); local 442 struct smsc9420_pdata *pd = netdev_priv(dev); local 477 struct smsc9420_pdata *pd = netdev_priv(dev); local 489 struct smsc9420_pdata *pd = netdev_priv(dev); local 519 smsc9420_stop_tx(struct smsc9420_pdata *pd) argument 554 smsc9420_free_tx_ring(struct smsc9420_pdata *pd) argument 587 smsc9420_free_rx_ring(struct smsc9420_pdata *pd) argument 618 smsc9420_stop_rx(struct smsc9420_pdata *pd) argument 656 struct smsc9420_pdata *pd = dev_id; local 729 smsc9420_dmac_soft_reset(struct smsc9420_pdata *pd) argument 740 struct smsc9420_pdata *pd = netdev_priv(dev); local 800 smsc9420_rx_handoff(struct smsc9420_pdata *pd, const int index, const u32 status) argument 839 smsc9420_alloc_rx_buffer(struct smsc9420_pdata *pd, int index) argument 869 smsc9420_alloc_new_rx_buffers(struct smsc9420_pdata *pd) argument 881 struct smsc9420_pdata *pd = local 952 struct smsc9420_pdata *pd = netdev_priv(dev); local 988 struct smsc9420_pdata *pd = netdev_priv(dev); local 1044 struct smsc9420_pdata *pd = netdev_priv(dev); local 1053 struct smsc9420_pdata *pd = netdev_priv(dev); local 1101 smsc9420_phy_update_flowcontrol(struct smsc9420_pdata *pd) argument 1131 struct smsc9420_pdata *pd = netdev_priv(dev); local 1162 struct smsc9420_pdata *pd = netdev_priv(dev); local 1202 struct smsc9420_pdata *pd = netdev_priv(dev); local 1243 smsc9420_alloc_tx_ring(struct smsc9420_pdata *pd) argument 1277 smsc9420_alloc_rx_ring(struct smsc9420_pdata *pd) argument 1334 struct smsc9420_pdata *pd; local 1503 struct smsc9420_pdata *pd = netdev_priv(dev); local 1538 struct smsc9420_pdata *pd = netdev_priv(dev); local 1581 struct smsc9420_pdata *pd; local 1709 struct smsc9420_pdata *pd; local [all...] |
/drivers/infiniband/hw/ehca/ |
H A D | ehca_pd.c | 51 struct ehca_pd *pd; local 54 pd = kmem_cache_zalloc(pd_cache, GFP_KERNEL); 55 if (!pd) { 62 INIT_LIST_HEAD(&pd->free[i]); 63 INIT_LIST_HEAD(&pd->full[i]); 65 mutex_init(&pd->lock); 78 pd->fw_pd.value = shca->pd->fw_pd.value; 80 pd->fw_pd.value = (u64)pd; 85 ehca_dealloc_pd(struct ib_pd *pd) argument [all...] |
/drivers/block/ |
H A D | pktcdvd.c | 86 #define ZONE(sector, pd) (((sector) + (pd)->offset) & ~((pd)->settings.size - 1)) 110 static struct pktcdvd_kobj* pkt_kobj_create(struct pktcdvd_device *pd, argument 121 p->pd = pd; 201 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; local 205 n = sprintf(data, "%lu\n", pd->stats.pkt_started); 208 n = sprintf(data, "%lu\n", pd 261 struct pktcdvd_device *pd = to_pktcdvdkobj(kobj)->pd; local 305 pkt_sysfs_dev_new(struct pktcdvd_device *pd) argument 323 pkt_sysfs_dev_remove(struct pktcdvd_device *pd) argument 351 struct pktcdvd_device *pd = pkt_devs[idx]; local 465 pkt_debugfs_dev_new(struct pktcdvd_device *pd) argument 483 pkt_debugfs_dev_remove(struct pktcdvd_device *pd) argument 515 pkt_bio_finished(struct pktcdvd_device *pd) argument 628 pkt_shrink_pktlist(struct pktcdvd_device *pd) argument 640 pkt_grow_pktlist(struct pktcdvd_device *pd, int nr_packets) argument 668 pkt_rbtree_erase(struct pktcdvd_device *pd, struct pkt_rb_node *node) argument 679 pkt_rbtree_find(struct pktcdvd_device *pd, sector_t s) argument 713 pkt_rbtree_insert(struct pktcdvd_device *pd, struct pkt_rb_node *node) argument 737 pkt_generic_packet(struct pktcdvd_device *pd, struct packet_command *cgc) argument 802 pkt_flush_cache(struct pktcdvd_device *pd) argument 823 pkt_set_speed(struct pktcdvd_device *pd, unsigned write_speed, unsigned read_speed) argument 848 pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio) argument 877 pkt_iosched_process_queue(struct pktcdvd_device *pd) argument 958 pkt_set_segment_merging(struct pktcdvd_device *pd, struct request_queue *q) argument 1042 struct pktcdvd_device *pd = pkt->pd; local 1060 struct pktcdvd_device *pd = pkt->pd; local 1076 pkt_gather_data(struct pktcdvd_device *pd, struct packet_data *pkt) argument 1154 pkt_get_packet_data(struct pktcdvd_device *pd, int zone) argument 1170 pkt_put_packet_data(struct pktcdvd_device *pd, struct packet_data *pkt) argument 1256 pkt_handle_queue(struct pktcdvd_device *pd) argument 1361 pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) argument 1451 pkt_run_state_machine(struct pktcdvd_device *pd, struct packet_data *pkt) argument 1511 pkt_handle_packets(struct pktcdvd_device *pd) argument 1542 pkt_count_states(struct pktcdvd_device *pd, int *states) argument 1563 struct pktcdvd_device *pd = foobar; local 1657 pkt_print_settings(struct pktcdvd_device *pd) argument 1664 pkt_mode_sense(struct pktcdvd_device *pd, struct packet_command *cgc, int page_code, int page_control) argument 1676 pkt_mode_select(struct pktcdvd_device *pd, struct packet_command *cgc) argument 1688 pkt_get_disc_info(struct pktcdvd_device *pd, disc_information *di) argument 1715 pkt_get_track_info(struct pktcdvd_device *pd, __u16 track, __u8 type, track_information *ti) argument 1741 pkt_get_last_written(struct pktcdvd_device *pd, long *last_written) argument 1779 pkt_set_write_settings(struct pktcdvd_device *pd) argument 1863 pkt_writable_track(struct pktcdvd_device *pd, track_information *ti) argument 1896 pkt_writable_disc(struct pktcdvd_device *pd, disc_information *di) argument 1938 pkt_probe_settings(struct pktcdvd_device *pd) argument 2037 pkt_write_caching(struct pktcdvd_device *pd, int set) argument 2069 pkt_lock_door(struct pktcdvd_device *pd, int lockflag) argument 2082 pkt_get_max_speed(struct pktcdvd_device *pd, unsigned *write_speed) argument 2143 pkt_media_speed(struct pktcdvd_device *pd, unsigned *speed) argument 2216 pkt_perform_opc(struct pktcdvd_device *pd) argument 2234 pkt_open_write(struct pktcdvd_device *pd) argument 2285 pkt_open_dev(struct pktcdvd_device *pd, fmode_t write) argument 2350 pkt_release_dev(struct pktcdvd_device *pd, int flush) argument 2372 struct pktcdvd_device *pd = NULL; local 2419 struct pktcdvd_device *pd = disk->private_data; local 2439 struct pktcdvd_device *pd = psd->pd; local 2449 struct pktcdvd_device *pd; local 2597 struct pktcdvd_device *pd = q->queuedata; local 2614 pkt_init_queue(struct pktcdvd_device *pd) argument 2627 struct pktcdvd_device *pd = m->private; local 2699 pkt_new_dev(struct pktcdvd_device *pd, dev_t dev) argument 2760 struct pktcdvd_device *pd = bdev->bd_disk->private_data; local 2799 struct pktcdvd_device *pd = disk->private_data; local 2832 struct pktcdvd_device *pd; local 2925 struct pktcdvd_device *pd; local 2976 struct pktcdvd_device *pd; local [all...] |
/drivers/isdn/hysdn/ |
H A D | hysdn_proclog.c | 71 struct procdata *pd = card->proclog; local 75 if (!pd) 78 cp = pd->logtmp; 88 printk(KERN_INFO "%s", pd->logtmp); 90 put_log_buffer(card, pd->logtmp); 104 struct procdata *pd = card->proclog; local 108 if (!pd) 114 if (pd->if_used <= 0) 121 ib->proc_ctrl = pd; /* point to own control structure */ 123 ib->usage_cnt = pd 185 struct procdata *pd = NULL; local 227 struct procdata *pd = NULL; local 275 struct procdata *pd; local 332 struct procdata *pd = NULL; local 378 struct procdata *pd; local 403 struct procdata *pd; local [all...] |
/drivers/staging/media/dt3155v4l/ |
H A D | dt3155v4l.c | 191 dt3155_start_acq(struct dt3155_priv *pd) argument 193 struct vb2_buffer *vb = pd->curr_buf; 197 iowrite32(dma_addr, pd->regs + EVEN_DMA_START); 198 iowrite32(dma_addr + img_width, pd->regs + ODD_DMA_START); 199 iowrite32(img_width, pd->regs + EVEN_DMA_STRIDE); 200 iowrite32(img_width, pd->regs + ODD_DMA_STRIDE); 203 FLD_END_EVEN | FLD_END_ODD, pd->regs + INT_CSR); 206 pd->regs + CSR1); 207 wait_i2c_reg(pd->regs); 208 write_i2c_reg(pd 226 struct dt3155_priv *pd = vb2_get_drv_priv(q); local 245 struct dt3155_priv *pd = vb2_get_drv_priv(q); local 253 struct dt3155_priv *pd = vb2_get_drv_priv(q); local 268 struct dt3155_priv *pd = vb2_get_drv_priv(q); local 285 struct dt3155_priv *pd = vb2_get_drv_priv(vb->vb2_queue); local 382 struct dt3155_priv *pd = video_drvdata(filp); local 420 struct dt3155_priv *pd = video_drvdata(filp); local 438 struct dt3155_priv *pd = video_drvdata(filp); local 446 struct dt3155_priv *pd = video_drvdata(filp); local 454 struct dt3155_priv *pd = video_drvdata(filp); local 472 struct dt3155_priv *pd = video_drvdata(filp); local 480 struct dt3155_priv *pd = video_drvdata(filp); local 488 struct dt3155_priv *pd = video_drvdata(filp); local 550 struct dt3155_priv *pd = video_drvdata(filp); local 558 struct dt3155_priv *pd = video_drvdata(filp); local 566 struct dt3155_priv *pd = video_drvdata(filp); local 574 struct dt3155_priv *pd = video_drvdata(filp); local 705 struct dt3155_priv *pd = pci_get_drvdata(pdev); local 879 struct dt3155_priv *pd; local 943 struct dt3155_priv *pd = pci_get_drvdata(pdev); local [all...] |
/drivers/net/ethernet/ |
H A D | s6gmac.c | 375 struct s6gmac *pd = netdev_priv(dev); local 377 while ((((u8)(pd->rx_skb_i - pd->rx_skb_o)) < S6_NUM_RX_SKB) && 378 (!s6dmac_fifo_full(pd->rx_dma, pd->rx_chan)) && 380 pd->rx_skb[(pd->rx_skb_i++) % S6_NUM_RX_SKB] = skb; 381 s6dmac_put_fifo_cache(pd->rx_dma, pd->rx_chan, 382 pd 388 struct s6gmac *pd = netdev_priv(dev); local 409 struct s6gmac *pd = netdev_priv(dev); local 468 s6gmac_stats_collect(struct s6gmac *pd, const struct s6gmac_statinf *inf) argument 481 s6gmac_stats_carry(struct s6gmac *pd, const struct s6gmac_statinf *inf, u32 mask) argument 492 s6gmac_stats_pending(struct s6gmac *pd, int carry) argument 499 s6gmac_stats_interrupt(struct s6gmac *pd, int carry) argument 512 struct s6gmac *pd = netdev_priv(dev); local 527 s6gmac_set_dstaddr(struct s6gmac *pd, int n, u32 addrlo, u32 addrhi, u32 masklo, u32 maskhi) argument 538 struct s6gmac *pd = netdev_priv(dev); local 544 struct s6gmac *pd = netdev_priv(dev); local 644 s6mii_enable(struct s6gmac *pd) argument 655 s6mii_busy(struct s6gmac *pd, int tmo) argument 667 struct s6gmac *pd = bus->priv; local 683 struct s6gmac *pd = bus->priv; local 698 struct s6gmac *pd = bus->priv; local 705 s6gmac_set_rgmii_txclock(struct s6gmac *pd) argument 727 struct s6gmac *pd = netdev_priv(dev); local 744 struct s6gmac *pd = netdev_priv(dev); local 793 struct s6gmac *pd = netdev_priv(dev); local 812 struct s6gmac *pd = netdev_priv(dev); local 845 struct s6gmac *pd = netdev_priv(dev); local 854 struct s6gmac *pd = netdev_priv(dev); local 880 struct s6gmac *pd = netdev_priv(dev); local 889 struct s6gmac *pd = netdev_priv(dev); local 917 struct s6gmac *pd = netdev_priv(dev); local 934 struct s6gmac *pd = netdev_priv(dev); local 960 struct s6gmac *pd; local 1037 struct s6gmac *pd = netdev_priv(dev); local [all...] |
/drivers/ata/ |
H A D | pata_pxa.c | 63 struct pata_pxa_data *pd = qc->ap->private_data; local 74 pd->dma_desc[pd->dma_desc_id].ddadr = pd->dma_desc_addr + 75 ((pd->dma_desc_id + 1) * sizeof(struct pxa_dma_desc)); 77 pd->dma_desc[pd->dma_desc_id].dcmd = DCMD_BURST32 | 81 pd->dma_desc[pd->dma_desc_id].dsadr = cpu_addr; 82 pd 108 struct pata_pxa_data *pd = qc->ap->private_data; local 147 struct pata_pxa_data *pd = qc->ap->private_data; local 157 struct pata_pxa_data *pd = qc->ap->private_data; local 172 struct pata_pxa_data *pd = ap->private_data; local 223 struct pata_pxa_data *pd = ap->private_data; local [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_file_ops.c | 92 struct ipath_portdata *pd = port_fp(fp); local 95 struct ipath_devdata *dd = pd->port_dd; 100 subport_cnt = pd->port_subport_cnt; 128 ret = dd->ipath_f_get_base_info(pd, kinfo); 140 pd->port_rcvegrbuf_chunks * pd->port_rcvegrbuf_size; 141 kinfo->spi_rcv_egrperchunk = pd->port_rcvegrbufs_perchunk; 143 pd->port_rcvegrbuf_chunks; 172 kinfo->spi_rcvhdr_base = (u64) pd->port_rcvhdrq_phys; 173 kinfo->spi_rcvhdr_tailaddr = (u64) pd 290 ipath_tid_update(struct ipath_portdata *pd, struct file *fp, const struct ipath_tid_info *ti) argument 508 ipath_tid_free(struct ipath_portdata *pd, unsigned subport, const struct ipath_tid_info *ti) argument 605 ipath_set_part_key(struct ipath_portdata *pd, u16 key) argument 743 ipath_manage_rcvq(struct ipath_portdata *pd, unsigned subport, int start_stop) argument 793 ipath_clean_part_key(struct ipath_portdata *pd, struct ipath_devdata *dd) argument 853 init_user_egr_sizes(struct ipath_portdata *pd) argument 889 ipath_create_user_egr(struct ipath_portdata *pd) argument 980 ipath_mmap_mem(struct vm_area_struct *vma, struct ipath_portdata *pd, unsigned len, int write_ok, void *kvaddr, char *what) argument 1051 mmap_piobufs(struct vm_area_struct *vma, struct ipath_devdata *dd, struct ipath_portdata *pd, unsigned piobufs, unsigned piocnt) argument 1096 mmap_rcvegrbufs(struct vm_area_struct *vma, struct ipath_portdata *pd) argument 1161 mmap_kvaddr(struct vm_area_struct *vma, u64 pgaddr, struct ipath_portdata *pd, unsigned subport) argument 1247 struct ipath_portdata *pd; local 1354 ipath_poll_hdrqfull(struct ipath_portdata *pd) argument 1367 ipath_poll_urgent(struct ipath_portdata *pd, struct file *fp, struct poll_table_struct *pt) argument 1396 ipath_poll_next(struct ipath_portdata *pd, struct file *fp, struct poll_table_struct *pt) argument 1445 struct ipath_portdata *pd; local 1491 init_subports(struct ipath_devdata *dd, struct ipath_portdata *pd, const struct ipath_user_info *uinfo) argument 1576 struct ipath_portdata *pd; local 1785 struct ipath_portdata *pd = dd->ipath_pd[i]; local 1879 const struct ipath_portdata *pd = fd->pd; local 1902 struct ipath_portdata *pd = port_fp(fp); local 2010 unlock_expected_tids(struct ipath_portdata *pd) argument 2046 struct ipath_portdata *pd; local 2159 ipath_port_info(struct ipath_portdata *pd, u16 subport, struct ipath_port_info __user *uinfo) argument 2192 ipath_get_slave_info(struct ipath_portdata *pd, void __user *slave_mask_addr) argument 2235 struct ipath_portdata *pd; local 2421 struct ipath_portdata *pd = port_fp(filp); local [all...] |
/drivers/gpu/drm/gma500/ |
H A D | mmu.c | 51 /* protects driver- and pd structures. Always take in read mode 76 struct psb_mmu_pd *pd; member in struct:psb_mmu_pt 171 void psb_mmu_set_pd_context(struct psb_mmu_pd *pd, int hw_context) argument 173 /*ttm_tt_cache_flush(&pd->p, 1);*/ 174 psb_pages_clflush(pd->driver, &pd->p, 1); 175 down_write(&pd->driver->sem); 177 psb_mmu_flush_pd_locked(pd->driver, 1); 178 pd->hw_context = hw_context; 179 up_write(&pd 208 struct psb_mmu_pd *pd = kmalloc(sizeof(*pd), GFP_KERNEL); local 279 psb_mmu_free_pagedir(struct psb_mmu_pd *pd) argument 306 psb_mmu_alloc_pt(struct psb_mmu_pd *pd) argument 354 psb_mmu_pt_alloc_map_lock(struct psb_mmu_pd *pd, unsigned long addr) argument 394 psb_mmu_pt_map_lock(struct psb_mmu_pd *pd, unsigned long addr) argument 413 struct psb_mmu_pd *pd = pt->pd; local 448 psb_mmu_mirror_gtt(struct psb_mmu_pd *pd, uint32_t mmu_offset, uint32_t gtt_start, uint32_t gtt_pages) argument 482 struct psb_mmu_pd *pd; local 548 psb_mmu_flush_ptes(struct psb_mmu_pd *pd, unsigned long address, uint32_t num_pages, uint32_t desired_tile_stride, uint32_t hw_tile_stride) argument 602 psb_mmu_remove_pfn_sequence(struct psb_mmu_pd *pd, unsigned long address, uint32_t num_pages) argument 641 psb_mmu_remove_pages(struct psb_mmu_pd *pd, unsigned long address, uint32_t num_pages, uint32_t desired_tile_stride, uint32_t hw_tile_stride) argument 697 psb_mmu_insert_pfn_sequence(struct psb_mmu_pd *pd, uint32_t start_pfn, unsigned long address, uint32_t num_pages, int type) argument 742 psb_mmu_insert_pages(struct psb_mmu_pd *pd, struct page **pages, unsigned long address, uint32_t num_pages, uint32_t desired_tile_stride, uint32_t hw_tile_stride, int type) argument 810 psb_mmu_virtual_to_pfn(struct psb_mmu_pd *pd, uint32_t virtual, unsigned long *pfn) argument [all...] |
/drivers/block/paride/ |
H A D | mkd | 5 # block devices: pd (45), pcd (46), pf (47) 12 function pd { 14 mkdev pd$D b 45 $[ $1 * 16 ] 16 do mkdev pd$D$P b 45 $[ $1 * 16 + $P ] 22 for u in 0 1 2 3 ; do pd $u ; done
|