/linux-4.4.14/drivers/isdn/hisax/ |
D | q931.c | 203 char *dp = dest; in prbits() local 208 *dp++ = '1'; in prbits() 210 *dp++ = '0'; in prbits() 213 return (dp - dest); in prbits() 448 char *dp = dest; in prcause() local 453 dp += sprintf(dp, " coding "); in prcause() 454 dp += prbits(dp, *p, 7, 2); in prcause() 455 dp += sprintf(dp, " location "); in prcause() 456 dp += prbits(dp, *p, 4, 4); in prcause() 457 *dp++ = '\n'; in prcause() [all …]
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_dp_core.c | 40 static inline struct exynos_drm_crtc *dp_to_crtc(struct exynos_dp_device *dp) in dp_to_crtc() argument 42 return to_exynos_crtc(dp->encoder.crtc); in dp_to_crtc() 56 static void exynos_dp_init_dp(struct exynos_dp_device *dp) in exynos_dp_init_dp() argument 58 exynos_dp_reset(dp); in exynos_dp_init_dp() 60 exynos_dp_swreset(dp); in exynos_dp_init_dp() 62 exynos_dp_init_analog_param(dp); in exynos_dp_init_dp() 63 exynos_dp_init_interrupt(dp); in exynos_dp_init_dp() 66 exynos_dp_enable_sw_function(dp); in exynos_dp_init_dp() 68 exynos_dp_config_interrupt(dp); in exynos_dp_init_dp() 69 exynos_dp_init_analog_func(dp); in exynos_dp_init_dp() [all …]
|
D | exynos_dp_reg.c | 27 void exynos_dp_enable_video_mute(struct exynos_dp_device *dp, bool enable) in exynos_dp_enable_video_mute() argument 32 reg = readl(dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_enable_video_mute() 34 writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_enable_video_mute() 36 reg = readl(dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_enable_video_mute() 38 writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_enable_video_mute() 42 void exynos_dp_stop_video(struct exynos_dp_device *dp) in exynos_dp_stop_video() argument 46 reg = readl(dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_stop_video() 48 writel(reg, dp->reg_base + EXYNOS_DP_VIDEO_CTL_1); in exynos_dp_stop_video() 51 void exynos_dp_lane_swap(struct exynos_dp_device *dp, bool enable) in exynos_dp_lane_swap() argument 62 writel(reg, dp->reg_base + EXYNOS_DP_LANE_MAP); in exynos_dp_lane_swap() [all …]
|
D | exynos_dp_core.h | 171 void exynos_dp_enable_video_mute(struct exynos_dp_device *dp, bool enable); 172 void exynos_dp_stop_video(struct exynos_dp_device *dp); 173 void exynos_dp_lane_swap(struct exynos_dp_device *dp, bool enable); 174 void exynos_dp_init_analog_param(struct exynos_dp_device *dp); 175 void exynos_dp_init_interrupt(struct exynos_dp_device *dp); 176 void exynos_dp_reset(struct exynos_dp_device *dp); 177 void exynos_dp_swreset(struct exynos_dp_device *dp); 178 void exynos_dp_config_interrupt(struct exynos_dp_device *dp); 179 enum pll_status exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp); 180 void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable); [all …]
|
/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_init.c | 55 static int create_port(struct seq_oss_devinfo *dp); 56 static int delete_port(struct seq_oss_devinfo *dp); 57 static int alloc_seq_queue(struct seq_oss_devinfo *dp); 188 struct seq_oss_devinfo *dp; in snd_seq_oss_open() local 190 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in snd_seq_oss_open() 191 if (!dp) in snd_seq_oss_open() 194 dp->cseq = system_client; in snd_seq_oss_open() 195 dp->port = -1; in snd_seq_oss_open() 196 dp->queue = -1; in snd_seq_oss_open() 203 dp->index = i; in snd_seq_oss_open() [all …]
|
D | seq_oss_ioctl.c | 31 static int snd_seq_oss_synth_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_synth_info_user() argument 37 if (snd_seq_oss_synth_make_info(dp, info.device, &info) < 0) in snd_seq_oss_synth_info_user() 44 static int snd_seq_oss_midi_info_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_midi_info_user() argument 50 if (snd_seq_oss_midi_make_info(dp, info.device, &info) < 0) in snd_seq_oss_midi_info_user() 57 static int snd_seq_oss_oob_user(struct seq_oss_devinfo *dp, void __user *arg) in snd_seq_oss_oob_user() argument 65 snd_seq_oss_fill_addr(dp, &tmpev, dp->addr.port, dp->addr.client); in snd_seq_oss_oob_user() 67 if (! snd_seq_oss_process_event(dp, (union evrec *)ev, &tmpev)) { in snd_seq_oss_oob_user() 68 snd_seq_oss_dispatch(dp, &tmpev, 0, 0); in snd_seq_oss_oob_user() 74 snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long carg) in snd_seq_oss_ioctl() argument 90 return snd_seq_oss_timer_ioctl(dp->timer, cmd, arg); in snd_seq_oss_ioctl() [all …]
|
D | seq_oss_event.c | 34 static int extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); 35 static int chn_voice_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event… 36 static int chn_common_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_even… 37 static int timing_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *e… 38 static int local_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev… 39 static int old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); 40 static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd… 41 static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct sn… 42 static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel,… 43 static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int … [all …]
|
D | seq_oss_synth.c | 85 static struct seq_oss_synth *get_synthdev(struct seq_oss_devinfo *dp, int dev); 212 snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_synth_setup() argument 218 dp->max_synthdev = max_synth_devs; in snd_seq_oss_synth_setup() 219 dp->synth_opened = 0; in snd_seq_oss_synth_setup() 220 memset(dp->synths, 0, sizeof(dp->synths)); in snd_seq_oss_synth_setup() 221 for (i = 0; i < dp->max_synthdev; i++) { in snd_seq_oss_synth_setup() 229 info = &dp->synths[i]; in snd_seq_oss_synth_setup() 230 info->arg.app_index = dp->port; in snd_seq_oss_synth_setup() 231 info->arg.file_mode = dp->file_mode; in snd_seq_oss_synth_setup() 232 info->arg.seq_mode = dp->seq_mode; in snd_seq_oss_synth_setup() [all …]
|
D | seq_oss_rw.c | 36 static int insert_queue(struct seq_oss_devinfo *dp, union evrec *rec, struct file *opt); 44 snd_seq_oss_read(struct seq_oss_devinfo *dp, char __user *buf, int count) in snd_seq_oss_read() argument 46 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() 52 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read() 59 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read() 96 snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *opt) in snd_seq_oss_write() argument 102 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() 118 return snd_seq_oss_synth_load_patch(dp, rec.s.dev, in snd_seq_oss_write() 124 dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write() 140 if (dp->seq_mode == SNDRV_SEQ_OSS_MODE_MUSIC) { in snd_seq_oss_write() [all …]
|
D | seq_oss_midi.c | 67 static struct seq_oss_midi *get_mididev(struct seq_oss_devinfo *dp, int dev); 68 static int send_synth_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int dev); 69 static int send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_mid… 280 snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_setup() argument 282 dp->max_mididev = max_midi_devs; in snd_seq_oss_midi_setup() 289 snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp) in snd_seq_oss_midi_cleanup() argument 292 for (i = 0; i < dp->max_mididev; i++) in snd_seq_oss_midi_cleanup() 293 snd_seq_oss_midi_close(dp, i); in snd_seq_oss_midi_cleanup() 294 dp->max_mididev = 0; in snd_seq_oss_midi_cleanup() 302 snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode) in snd_seq_oss_midi_open_all() argument [all …]
|
D | seq_oss_writeq.c | 37 snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen) in snd_seq_oss_writeq_new() argument 44 q->dp = dp; in snd_seq_oss_writeq_new() 52 pool.client = dp->cseq; in snd_seq_oss_writeq_new() 56 snd_seq_oss_control(dp, SNDRV_SEQ_IOCTL_SET_CLIENT_POOL, &pool); in snd_seq_oss_writeq_new() 84 snd_seq_oss_control(q->dp, SNDRV_SEQ_IOCTL_REMOVE_EVENTS, &reset); in snd_seq_oss_writeq_clear() 96 struct seq_oss_devinfo *dp = q->dp; in snd_seq_oss_writeq_sync() local 99 time = snd_seq_oss_timer_cur_tick(dp->timer); in snd_seq_oss_writeq_sync() 113 snd_seq_oss_fill_addr(dp, &ev, dp->addr.client, dp->addr.port); in snd_seq_oss_writeq_sync() 118 snd_seq_kernel_client_enqueue_blocking(dp->cseq, &ev, NULL, 0, 0); in snd_seq_oss_writeq_sync() 153 pool.client = q->dp->cseq; in snd_seq_oss_writeq_get_free_size() [all …]
|
D | seq_oss_synth.h | 33 void snd_seq_oss_synth_setup(struct seq_oss_devinfo *dp); 34 void snd_seq_oss_synth_setup_midi(struct seq_oss_devinfo *dp); 35 void snd_seq_oss_synth_cleanup(struct seq_oss_devinfo *dp); 37 void snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev); 38 int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, 40 int snd_seq_oss_synth_is_valid(struct seq_oss_devinfo *dp, int dev); 41 int snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, 43 int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev); 44 int snd_seq_oss_synth_ioctl(struct seq_oss_devinfo *dp, int dev, unsigned int cmd, 46 int snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev, [all …]
|
D | seq_oss_midi.h | 34 void snd_seq_oss_midi_setup(struct seq_oss_devinfo *dp); 35 void snd_seq_oss_midi_cleanup(struct seq_oss_devinfo *dp); 37 int snd_seq_oss_midi_open(struct seq_oss_devinfo *dp, int dev, int file_mode); 38 void snd_seq_oss_midi_open_all(struct seq_oss_devinfo *dp, int file_mode); 39 int snd_seq_oss_midi_close(struct seq_oss_devinfo *dp, int dev); 40 void snd_seq_oss_midi_reset(struct seq_oss_devinfo *dp, int dev); 41 int snd_seq_oss_midi_putc(struct seq_oss_devinfo *dp, int dev, unsigned char c, 44 int snd_seq_oss_midi_filemode(struct seq_oss_devinfo *dp, int dev); 45 int snd_seq_oss_midi_make_info(struct seq_oss_devinfo *dp, int dev, struct midi_info *inf); 46 void snd_seq_oss_midi_get_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_addr *addr);
|
D | seq_oss_device.h | 123 void snd_seq_oss_release(struct seq_oss_devinfo *dp); 124 int snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long arg); 126 int snd_seq_oss_write(struct seq_oss_devinfo *dp, const char __user *buf, int count, struct file *o… 127 unsigned int snd_seq_oss_poll(struct seq_oss_devinfo *dp, struct file *file, poll_table * wait); 129 void snd_seq_oss_reset(struct seq_oss_devinfo *dp); 132 void snd_seq_oss_process_queue(struct seq_oss_devinfo *dp, abstime_t time); 148 snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop) in snd_seq_oss_dispatch() argument 150 return snd_seq_kernel_client_dispatch(dp->cseq, ev, atomic, hop); in snd_seq_oss_dispatch() 155 snd_seq_oss_control(struct seq_oss_devinfo *dp, unsigned int type, void *arg) in snd_seq_oss_control() argument 157 return snd_seq_kernel_client_ctl(dp->cseq, type, arg); in snd_seq_oss_control() [all …]
|
D | seq_oss_timer.c | 38 static int send_timer_event(struct seq_oss_devinfo *dp, int type, int value); 46 snd_seq_oss_timer_new(struct seq_oss_devinfo *dp) in snd_seq_oss_timer_new() argument 54 rec->dp = dp; in snd_seq_oss_timer_new() 140 send_timer_event(struct seq_oss_devinfo *dp, int type, int value) in send_timer_event() argument 146 ev.source.client = dp->cseq; in send_timer_event() 150 ev.queue = dp->queue; in send_timer_event() 151 ev.data.queue.queue = dp->queue; in send_timer_event() 153 return snd_seq_kernel_client_dispatch(dp->cseq, &ev, 1, 0); in send_timer_event() 162 struct seq_oss_devinfo *dp = timer->dp; in snd_seq_oss_timer_start() local 169 tmprec.queue = dp->queue; in snd_seq_oss_timer_start() [all …]
|
D | seq_oss.c | 146 struct seq_oss_devinfo *dp; in odev_release() local 148 if ((dp = file->private_data) == NULL) in odev_release() 152 snd_seq_oss_release(dp); in odev_release() 161 struct seq_oss_devinfo *dp; in odev_read() local 162 dp = file->private_data; in odev_read() 163 if (snd_BUG_ON(!dp)) in odev_read() 165 return snd_seq_oss_read(dp, buf, count); in odev_read() 172 struct seq_oss_devinfo *dp; in odev_write() local 173 dp = file->private_data; in odev_write() 174 if (snd_BUG_ON(!dp)) in odev_write() [all …]
|
D | seq_oss_timer.h | 31 struct seq_oss_devinfo *dp; member 40 struct seq_oss_timer *snd_seq_oss_timer_new(struct seq_oss_devinfo *dp); 41 void snd_seq_oss_timer_delete(struct seq_oss_timer *dp);
|
D | seq_oss_writeq.h | 29 struct seq_oss_devinfo *dp; member 41 struct seq_oss_writeq *snd_seq_oss_writeq_new(struct seq_oss_devinfo *dp, int maxlen);
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_dir2_sf.c | 63 xfs_inode_t *dp, /* incore inode pointer */ in xfs_dir2_block_sfsize() argument 83 mp = dp->i_mount; in xfs_dir2_block_sfsize() 136 if (size > XFS_IFORK_DSIZE(dp)) in xfs_dir2_block_sfsize() 144 dp->d_ops->sf_put_parent_ino(sfhp, parent); in xfs_dir2_block_sfsize() 162 xfs_inode_t *dp; /* incore directory inode */ in xfs_dir2_block_to_sf() local 175 dp = args->dp; in xfs_dir2_block_to_sf() 176 mp = dp->i_mount; in xfs_dir2_block_to_sf() 197 ptr = (char *)dp->d_ops->data_entry_p(hdr); in xfs_dir2_block_to_sf() 218 ASSERT(be64_to_cpu(dep->inumber) == dp->i_ino); in xfs_dir2_block_to_sf() 225 dp->d_ops->sf_get_parent_ino(sfp)); in xfs_dir2_block_to_sf() [all …]
|
D | xfs_dir2.c | 175 xfs_inode_t *dp) in xfs_dir_isempty() argument 179 ASSERT(S_ISDIR(dp->i_d.di_mode)); in xfs_dir_isempty() 180 if (dp->i_d.di_size == 0) /* might happen during shutdown. */ in xfs_dir_isempty() 182 if (dp->i_d.di_size > XFS_IFORK_DSIZE(dp)) in xfs_dir_isempty() 184 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty() 228 xfs_inode_t *dp, in xfs_dir_init() argument 234 ASSERT(S_ISDIR(dp->i_d.di_mode)); in xfs_dir_init() 243 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init() 244 args->dp = dp; in xfs_dir_init() 258 xfs_inode_t *dp, in xfs_dir_createname() argument [all …]
|
D | xfs_dir2_node.c | 56 #define xfs_dir3_leaf_check(dp, bp) \ argument 58 if (!xfs_dir3_leafn_check((dp), (bp))) \ 64 struct xfs_inode *dp, in xfs_dir3_leafn_check() argument 70 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leafn_check() 79 return xfs_dir3_leaf_check_int(dp->i_mount, dp, &leafhdr, leaf); in xfs_dir3_leafn_check() 82 #define xfs_dir3_leaf_check(dp, bp) argument 162 struct xfs_inode *dp, in __xfs_dir3_free_read() argument 169 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in __xfs_dir3_free_read() 181 struct xfs_inode *dp, in xfs_dir2_free_read() argument 185 return __xfs_dir3_free_read(tp, dp, fbno, -1, bpp); in xfs_dir2_free_read() [all …]
|
D | xfs_attr.c | 79 struct xfs_inode *dp, in xfs_attr_args_init() argument 88 args->geo = dp->i_mount->m_attr_geo; in xfs_attr_args_init() 90 args->dp = dp; in xfs_attr_args_init() 168 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_calc_size() 198 struct xfs_inode *dp, in xfs_attr_set() argument 204 struct xfs_mount *mp = dp->i_mount; in xfs_attr_set() 214 if (XFS_FORCED_SHUTDOWN(dp->i_mount)) in xfs_attr_set() 217 error = xfs_attr_args_init(&args, dp, name, flags); in xfs_attr_set() 228 error = xfs_qm_dqattach(dp, 0); in xfs_attr_set() 236 if (XFS_IFORK_Q(dp) == 0) { in xfs_attr_set() [all …]
|
D | xfs_dir2_block.c | 134 struct xfs_inode *dp, in xfs_dir3_block_read() argument 137 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_block_read() 140 err = xfs_da_read_buf(tp, dp, mp->m_dir_geo->datablk, -1, bpp, in xfs_dir3_block_read() 152 struct xfs_inode *dp) in xfs_dir3_block_init() argument 163 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_dir3_block_init() 173 struct xfs_inode *dp, in xfs_dir2_block_need_space() argument 189 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_need_space() 328 xfs_dir2_data_freescan(args->dp, hdr, needlog); in xfs_dir2_block_compact() 344 xfs_inode_t *dp; /* directory inode */ in xfs_dir2_block_addname() local 364 dp = args->dp; in xfs_dir2_block_addname() [all …]
|
D | xfs_dir2_leaf.c | 53 #define xfs_dir3_leaf_check(dp, bp) \ argument 55 if (!xfs_dir3_leaf1_check((dp), (bp))) \ 61 struct xfs_inode *dp, in xfs_dir3_leaf1_check() argument 67 dp->d_ops->leaf_hdr_from_disk(&leafhdr, leaf); in xfs_dir3_leaf1_check() 76 return xfs_dir3_leaf_check_int(dp->i_mount, dp, &leafhdr, leaf); in xfs_dir3_leaf1_check() 79 #define xfs_dir3_leaf_check(dp, bp) argument 85 struct xfs_inode *dp, in xfs_dir3_leaf_check_int() argument 101 ops = xfs_dir_get_ops(mp, dp); in xfs_dir3_leaf_check_int() 262 struct xfs_inode *dp, in xfs_dir3_leaf_read() argument 269 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leaf_read() [all …]
|
D | xfs_da_btree.c | 256 struct xfs_inode *dp, in xfs_da3_node_read() argument 264 err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, in xfs_da3_node_read() 314 struct xfs_inode *dp = args->dp; in xfs_da3_node_create() local 319 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, whichfork); in xfs_da3_node_create() 332 hdr3->info.owner = cpu_to_be64(args->dp->i_ino); in xfs_da3_node_create() 339 dp->d_ops->node_hdr_to_disk(node, &ichdr); in xfs_da3_node_create() 341 XFS_DA_LOGRANGE(node, &node->hdr, dp->d_ops->node_hdr_size)); in xfs_da3_node_create() 519 struct xfs_inode *dp; in xfs_da3_root_split() local 538 dp = args->dp; in xfs_da3_root_split() 540 error = xfs_da_get_buf(tp, dp, blkno, -1, &bp, args->whichfork); in xfs_da3_root_split() [all …]
|
D | xfs_dir2_priv.h | 32 extern int xfs_dir3_block_read(struct xfs_trans *tp, struct xfs_inode *dp, 43 #define xfs_dir3_data_check(dp,bp) __xfs_dir3_data_check(dp, bp); argument 45 #define xfs_dir3_data_check(dp,bp) argument 48 extern int __xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 49 extern int xfs_dir3_data_read(struct xfs_trans *tp, struct xfs_inode *dp, 51 extern int xfs_dir3_data_readahead(struct xfs_inode *dp, xfs_dablk_t bno, 62 extern int xfs_dir3_leafn_read(struct xfs_trans *tp, struct xfs_inode *dp, 91 extern bool xfs_dir3_leaf_check_int(struct xfs_mount *mp, struct xfs_inode *dp, 97 extern xfs_dahash_t xfs_dir2_leafn_lasthash(struct xfs_inode *dp, 102 extern int xfs_dir2_leafn_order(struct xfs_inode *dp, struct xfs_buf *leaf1_bp, [all …]
|
D | xfs_dir2.h | 115 xfs_dir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); 117 xfs_nondir_get_ops(struct xfs_mount *mp, struct xfs_inode *dp); 126 extern int xfs_dir_isempty(struct xfs_inode *dp); 127 extern int xfs_dir_init(struct xfs_trans *tp, struct xfs_inode *dp, 129 extern int xfs_dir_createname(struct xfs_trans *tp, struct xfs_inode *dp, 133 extern int xfs_dir_lookup(struct xfs_trans *tp, struct xfs_inode *dp, 136 extern int xfs_dir_removename(struct xfs_trans *tp, struct xfs_inode *dp, 140 extern int xfs_dir_replace(struct xfs_trans *tp, struct xfs_inode *dp, 144 extern int xfs_dir_canenter(struct xfs_trans *tp, struct xfs_inode *dp, 160 extern void xfs_dir2_data_freescan(struct xfs_inode *dp, [all …]
|
D | xfs_attr_leaf.c | 339 struct xfs_inode *dp, in xfs_attr3_leaf_read() argument 346 err = xfs_da_read_buf(tp, dp, bno, mappedbno, bpp, in xfs_attr3_leaf_read() 383 xfs_attr_shortform_bytesfit(xfs_inode_t *dp, int bytes) in xfs_attr_shortform_bytesfit() argument 389 xfs_mount_t *mp = dp->i_mount; in xfs_attr_shortform_bytesfit() 392 offset = (XFS_LITINO(mp, dp->i_d.di_version) - bytes) >> 3; in xfs_attr_shortform_bytesfit() 394 switch (dp->i_d.di_format) { in xfs_attr_shortform_bytesfit() 413 if (bytes <= XFS_IFORK_ASIZE(dp)) in xfs_attr_shortform_bytesfit() 414 return dp->i_d.di_forkoff; in xfs_attr_shortform_bytesfit() 424 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit() 426 switch (dp->i_d.di_format) { in xfs_attr_shortform_bytesfit() [all …]
|
D | xfs_attr_remote.c | 354 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_rmtval_get() 373 error = xfs_bmapi_read(args->dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_get() 394 error = xfs_attr_rmtval_copyout(mp, bp, args->dp->i_ino, in xfs_attr_rmtval_get() 418 struct xfs_inode *dp = args->dp; in xfs_attr_rmtval_set() local 419 struct xfs_mount *mp = dp->i_mount; in xfs_attr_rmtval_set() 439 error = xfs_bmap_first_unused(args->trans, args->dp, blkcnt, &lfileoff, in xfs_attr_rmtval_set() 467 error = xfs_bmapi_write(args->trans, dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set() 486 xfs_trans_ijoin(args->trans, dp, 0); in xfs_attr_rmtval_set() 497 error = xfs_trans_roll(&args->trans, dp); in xfs_attr_rmtval_set() 520 error = xfs_bmapi_read(dp, (xfs_fileoff_t)lblkno, in xfs_attr_rmtval_set() [all …]
|
D | xfs_dir2_data.c | 43 struct xfs_inode *dp, /* incore inode pointer */ in __xfs_dir3_data_check() argument 74 ops = xfs_dir_get_ops(mp, dp); in __xfs_dir3_data_check() 323 struct xfs_inode *dp, in xfs_dir3_data_read() argument 330 err = xfs_da_read_buf(tp, dp, bno, mapped_bno, bpp, in xfs_dir3_data_read() 339 struct xfs_inode *dp, in xfs_dir3_data_readahead() argument 343 return xfs_da_reada_buf(dp, bno, mapped_bno, in xfs_dir3_data_readahead() 509 struct xfs_inode *dp, in xfs_dir2_data_freescan() argument 519 struct xfs_da_geometry *geo = dp->i_mount->m_dir_geo; in xfs_dir2_data_freescan() 529 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_data_freescan() 535 p = (char *)dp->d_ops->data_entry_p(hdr); in xfs_dir2_data_freescan() [all …]
|
D | xfs_attr_leaf.h | 54 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp); 55 int xfs_attr_shortform_bytesfit(xfs_inode_t *dp, int bytes); 91 int xfs_attr3_root_inactive(struct xfs_trans **trans, struct xfs_inode *dp); 100 int xfs_attr3_leaf_read(struct xfs_trans *tp, struct xfs_inode *dp,
|
D | xfs_da_btree.h | 71 struct xfs_inode *dp; /* directory inode to manipulate */ member 187 int xfs_da3_node_read(struct xfs_trans *tp, struct xfs_inode *dp, 197 int xfs_da_get_buf(struct xfs_trans *trans, struct xfs_inode *dp, 200 int xfs_da_read_buf(struct xfs_trans *trans, struct xfs_inode *dp, 204 xfs_daddr_t xfs_da_reada_buf(struct xfs_inode *dp, xfs_dablk_t bno,
|
D | xfs_attr_sf.h | 66 #define XFS_ATTR_SF_TOTSIZE(dp) /* total space in use */ \ argument 68 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
|
/linux-4.4.14/arch/sparc/kernel/ |
D | prom_64.c | 73 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() argument 79 rprop = of_find_property(dp, "reg", NULL); in sun4v_path_component() 84 if (!of_node_is_root(dp->parent)) { in sun4v_path_component() 86 dp->name, in sun4v_path_component() 101 dp->name, prefix, in sun4v_path_component() 105 dp->name, in sun4v_path_component() 110 dp->name, high_bits); in sun4v_path_component() 114 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() argument 119 prop = of_find_property(dp, "reg", NULL); in sun4u_path_component() 124 if (!of_node_is_root(dp->parent)) { in sun4u_path_component() [all …]
|
D | prom_32.c | 61 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() argument 66 rprop = of_find_property(dp, "reg", NULL); in sparc32_path_component() 72 dp->name, in sparc32_path_component() 77 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() argument 82 prop = of_find_property(dp, "reg", NULL); in sbus_path_component() 88 dp->name, in sbus_path_component() 94 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() argument 100 prop = of_find_property(dp, "reg", NULL); in pci_path_component() 108 dp->name, in pci_path_component() 113 dp->name, in pci_path_component() [all …]
|
D | prom_irqtrans.c | 42 static unsigned int psycho_irq_build(struct device_node *dp, in psycho_irq_build() argument 72 static void __init psycho_irq_trans_init(struct device_node *dp) in psycho_irq_trans_init() argument 76 dp->irq_trans = prom_early_alloc(sizeof(struct of_irq_controller)); in psycho_irq_trans_init() 77 dp->irq_trans->irq_build = psycho_irq_build; in psycho_irq_trans_init() 79 regs = of_get_property(dp, "reg", NULL); in psycho_irq_trans_init() 80 dp->irq_trans->data = (void *) regs[2].phys_addr; in psycho_irq_trans_init() 181 static int sabre_device_needs_wsync(struct device_node *dp) in sabre_device_needs_wsync() argument 183 struct device_node *parent = dp->parent; in sabre_device_needs_wsync() 220 static unsigned int sabre_irq_build(struct device_node *dp, in sabre_irq_build() argument 257 regs = of_get_property(dp, "reg", NULL); in sabre_irq_build() [all …]
|
D | ds.c | 133 void (*data)(struct ds_info *dp, 145 static void md_update_data(struct ds_info *dp, struct ds_cap_state *cp, 147 static void domain_shutdown_data(struct ds_info *dp, 150 static void domain_panic_data(struct ds_info *dp, 154 static void dr_cpu_data(struct ds_info *dp, 158 static void ds_pri_data(struct ds_info *dp, 161 static void ds_var_data(struct ds_info *dp, 219 static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle) in find_cap() argument 223 if (index >= dp->num_ds_states) in find_cap() 225 return &dp->ds_states[index]; in find_cap() [all …]
|
D | of_device_common.c | 60 struct device_node *dp; in of_propagate_archdata() local 62 for (dp = bus_dp->child; dp; dp = dp->sibling) { in of_propagate_archdata() 63 struct platform_device *op = of_find_device_by_node(dp); in of_propagate_archdata() 70 if (dp->child) in of_propagate_archdata() 75 static void get_cells(struct device_node *dp, int *addrc, int *sizec) in get_cells() argument 78 *addrc = of_n_addr_cells(dp); in get_cells() 80 *sizec = of_n_size_cells(dp); in get_cells() 151 struct device_node *dp = np; in of_bus_sbus_match() local 153 while (dp) { in of_bus_sbus_match() 154 if (!strcmp(dp->name, "sbus") || in of_bus_sbus_match() [all …]
|
D | of_device_64.c | 354 struct device_node *dp = op->dev.of_node; in build_device_resources() local 377 dp = pp; in build_device_resources() 378 pp = dp->parent; in build_device_resources() 385 pbus->count_cells(dp, &pna, &pns); in build_device_resources() 387 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources() 419 apply_interrupt_map(struct device_node *dp, struct device_node *pp, in apply_interrupt_map() argument 431 bus->count_cells(dp, &na, NULL); in apply_interrupt_map() 433 reg = of_get_property(dp, "reg", &num_reg); in apply_interrupt_map() 478 static unsigned int __init pci_irq_swizzle(struct device_node *dp, in pci_irq_swizzle() argument 488 regs = of_get_property(dp, "reg", NULL); in pci_irq_swizzle() [all …]
|
D | sun4d_irq.c | 251 struct device_node *dp; in sun4d_distribute_irqs() local 257 for_each_node_by_name(dp, "sbi") { in sun4d_distribute_irqs() 258 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_distribute_irqs() 259 int board = of_getintprop_default(dp, "board#", 0); in sun4d_distribute_irqs() 326 struct device_node *dp = op->dev.of_node; in sun4d_build_device_irq() local 327 struct device_node *board_parent, *bus = dp->parent; in sun4d_build_device_irq() 352 regs = of_get_property(dp, "reg", NULL); in sun4d_build_device_irq() 419 struct device_node *dp; in sun4d_init_timers() local 426 dp = of_find_node_by_name(NULL, "cpu-unit"); in sun4d_init_timers() 427 if (!dp) { in sun4d_init_timers() [all …]
|
D | of_device_32.c | 276 struct device_node *dp = op->dev.of_node; in build_device_resources() local 300 dp = pp; in build_device_resources() 301 pp = dp->parent; in build_device_resources() 308 pbus->count_cells(dp, &pna, &pns); in build_device_resources() 310 if (build_one_resource(dp, dbus, pbus, addr, in build_device_resources() 338 static struct platform_device * __init scan_one_device(struct device_node *dp, in scan_one_device() argument 352 op->dev.of_node = dp; in scan_one_device() 354 intr = of_get_property(dp, "intr", &len); in scan_one_device() 362 of_get_property(dp, "interrupts", &len); in scan_one_device() 381 dev_set_name(&op->dev, "%08x", dp->phandle); in scan_one_device() [all …]
|
D | vio.c | 150 struct device_node *dp; in show_pciobppath_attr() local 153 dp = vdev->dp; in show_pciobppath_attr() 155 return snprintf (buf, PAGE_SIZE, "%s\n", dp->full_name); in show_pciobppath_attr() 207 struct device_node *dp; in vio_create_one() local 301 dp = cdev_node; in vio_create_one() 303 dp = of_get_next_child(cdev_node, NULL); in vio_create_one() 304 while (dp) { in vio_create_one() 305 if (!strcmp(dp->type, type)) in vio_create_one() 308 dp = of_get_next_child(cdev_node, dp); in vio_create_one() 311 dp = to_vio_dev(parent)->dp; in vio_create_one() [all …]
|
D | chmc.c | 280 struct jbusmc_dimm_group *dp = &p->dimm_groups[i]; in jbusmc_find_dimm_group() local 282 if (phys_addr < dp->base_addr || in jbusmc_find_dimm_group() 283 (dp->base_addr + dp->size) <= phys_addr) in jbusmc_find_dimm_group() 286 return dp; in jbusmc_find_dimm_group() 297 struct jbusmc_dimm_group *dp; in jbusmc_print_dimm() local 301 dp = jbusmc_find_dimm_group(phys_addr); in jbusmc_print_dimm() 302 if (dp == NULL || in jbusmc_print_dimm() 311 p = dp->controller; in jbusmc_print_dimm() 314 first_dimm = dp->index * JB_NUM_DIMMS_PER_GROUP; in jbusmc_print_dimm() 371 struct jbusmc_dimm_group *dp = &p->dimm_groups[index]; in jbusmc_construct_one_dimm_group() local [all …]
|
D | auxio_64.c | 107 struct device_node *dp = dev->dev.of_node; in auxio_probe() local 110 if (!strcmp(dp->parent->name, "ebus")) { in auxio_probe() 113 } else if (!strcmp(dp->parent->name, "sbus")) { in auxio_probe() 118 dp->parent->name); in auxio_probe() 126 dp->full_name); in auxio_probe()
|
D | devices.c | 56 struct device_node *dp; in __cpu_find_by() local 60 for_each_node_by_type(dp, "cpu") { in __cpu_find_by() 61 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by() 65 of_node_put(dp); in __cpu_find_by()
|
D | sun4m_irq.c | 359 struct device_node *dp = of_find_node_by_name(NULL, "counter"); in sun4m_init_timers() local 364 if (!dp) { in sun4m_init_timers() 369 addr = of_get_property(dp, "address", &len); in sun4m_init_timers() 370 of_node_put(dp); in sun4m_init_timers() 436 struct device_node *dp = of_find_node_by_name(NULL, "interrupt"); in sun4m_init_IRQ() local 440 if (!dp) { in sun4m_init_IRQ() 445 addr = of_get_property(dp, "address", &len); in sun4m_init_IRQ() 446 of_node_put(dp); in sun4m_init_IRQ()
|
D | pci_sabre.c | 314 struct device_node *dp = pbm->op->dev.of_node; in sabre_register_error_handlers() local 321 dp = dp->parent; in sabre_register_error_handlers() 323 op = of_find_device_by_node(dp); in sabre_register_error_handlers() 460 struct device_node *dp = op->dev.of_node; in sabre_probe() local 497 upa_portid = of_getintprop_default(dp, "upa-portid", 0xff); in sabre_probe() 505 pr_regs = of_get_property(dp, "reg", NULL); in sabre_probe() 535 vdma = of_get_property(dp, "virtual-dma", NULL); in sabre_probe()
|
D | time_64.c | 523 struct device_node *dp = op->dev.of_node; in mostek_probe() local 528 if (!strcmp(dp->parent->name, "fhc") && in mostek_probe() 529 strcmp(dp->parent->parent->name, "central") != 0) in mostek_probe() 533 dp->full_name, op->resource[0].start); in mostek_probe() 588 struct device_node *dp; in sparc64_init_timers() local 591 dp = of_find_node_by_path("/"); in sparc64_init_timers() 602 freq = of_getintprop_default(dp, "stick-frequency", 0); in sparc64_init_timers() 609 freq = of_getintprop_default(dp, "stick-frequency", 0); in sparc64_init_timers()
|
D | prom_common.c | 54 int of_set_property(struct device_node *dp, const char *name, void *val, int len) in of_set_property() argument 69 prevp = &dp->properties; in of_set_property() 77 ret = prom_setprop(dp->phandle, name, val, len); in of_set_property()
|
D | power.c | 26 static int has_button_interrupt(unsigned int irq, struct device_node *dp) in has_button_interrupt() argument 30 if (!of_find_property(dp, "button", NULL)) in has_button_interrupt()
|
D | irq_64.c | 911 struct device_node *dp; in map_prom_timers() local 915 dp = of_find_node_by_path("/"); in map_prom_timers() 916 dp = dp->child; in map_prom_timers() 917 while (dp) { in map_prom_timers() 918 if (!strcmp(dp->name, "counter-timer")) in map_prom_timers() 920 dp = dp->sibling; in map_prom_timers() 926 if (!dp) { in map_prom_timers() 932 addr = of_get_property(dp, "address", NULL); in map_prom_timers()
|
D | leon_kernel.c | 486 void __init leon_trans_init(struct device_node *dp) in leon_trans_init() argument 488 if (strcmp(dp->type, "cpu") == 0 && strcmp(dp->name, "<NULL>") == 0) { in leon_trans_init() 490 p = of_find_property(dp, "mid", (void *)0); in leon_trans_init() 493 dp->name = prom_early_alloc(5 + 1); in leon_trans_init() 495 sprintf((char *)dp->name, "cpu%.2d", mid); in leon_trans_init()
|
D | pci_fire.c | 415 struct device_node *dp = op->dev.of_node; in pci_fire_pbm_init() local 427 pbm->name = dp->full_name; in pci_fire_pbm_init() 429 regs = of_get_property(dp, "reg", NULL); in pci_fire_pbm_init() 459 struct device_node *dp = op->dev.of_node; in fire_probe() local 465 portid = of_getintprop_default(dp, "portid", 0xff); in fire_probe()
|
D | pci_sun4v.c | 518 struct device_node *dp; in pci_sun4v_scan_bus() local 520 dp = pbm->op->dev.of_node; in pci_sun4v_scan_bus() 521 prop = of_find_property(dp, "66mhz-capable", NULL); in pci_sun4v_scan_bus() 865 struct device_node *dp = op->dev.of_node; in pci_sun4v_pbm_init() local 868 pbm->numa_node = of_node_to_nid(dp); in pci_sun4v_pbm_init() 879 pbm->name = dp->full_name; in pci_sun4v_pbm_init() 907 struct device_node *dp; in pci_sun4v_probe() local 912 dp = op->dev.of_node; in pci_sun4v_probe() 930 regs = of_get_property(dp, "reg", NULL); in pci_sun4v_probe()
|
D | time_32.c | 270 struct device_node *dp = op->dev.of_node; in clock_probe() local 271 const char *model = of_get_property(dp, "model", NULL); in clock_probe() 277 if (!of_find_property(dp, "address", NULL)) in clock_probe()
|
D | sbus.c | 541 struct device_node *dp = op->dev.of_node; in sbus_iommu_init() local 548 pr = of_get_property(dp, "reg", NULL); in sbus_iommu_init() 664 struct device_node *dp; in sbus_init() local 666 for_each_node_by_name(dp, "sbus") { in sbus_init() 667 struct platform_device *op = of_find_device_by_node(dp); in sbus_init()
|
/linux-4.4.14/drivers/md/ |
D | dm-io.c | 161 void (*get_page)(struct dpages *dp, 163 void (*next_page)(struct dpages *dp); 175 static void list_get_page(struct dpages *dp, in list_get_page() argument 178 unsigned o = dp->context_u; in list_get_page() 179 struct page_list *pl = (struct page_list *) dp->context_ptr; in list_get_page() 186 static void list_next_page(struct dpages *dp) in list_next_page() argument 188 struct page_list *pl = (struct page_list *) dp->context_ptr; in list_next_page() 189 dp->context_ptr = pl->next; in list_next_page() 190 dp->context_u = 0; in list_next_page() 193 static void list_dp_init(struct dpages *dp, struct page_list *pl, unsigned offset) in list_dp_init() argument [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | unwind_decoder.c | 85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x1() argument 90 byte1 = *dp++; in unw_decode_x1() 91 t = unw_decode_uleb128 (&dp); in unw_decode_x1() 92 off = unw_decode_uleb128 (&dp); in unw_decode_x1() 98 return dp; in unw_decode_x1() 102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x2() argument 107 byte1 = *dp++; byte2 = *dp++; in unw_decode_x2() 108 t = unw_decode_uleb128 (&dp); in unw_decode_x2() 116 return dp; in unw_decode_x2() 120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg) in unw_decode_x3() argument [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dport.c | 49 dp_set_link_config(struct dp_state *dp) in dp_set_link_config() argument 51 struct nvkm_output_dp *outp = dp->outp; in dp_set_link_config() 67 OUTP_DBG(&outp->base, "%d lanes at %d KB/s", dp->link_nr, dp->link_bw); in dp_set_link_config() 70 if ((lnkcmp = dp->outp->info.lnkcmp)) { in dp_set_link_config() 72 while ((dp->link_bw / 10) < nvbios_rd16(bios, lnkcmp)) in dp_set_link_config() 76 while ((dp->link_bw / 27000) < nvbios_rd08(bios, lnkcmp)) in dp_set_link_config() 84 ret = outp->func->lnk_ctl(outp, dp->link_nr, dp->link_bw / 27000, in dp_set_link_config() 93 outp->func->lnk_pwr(outp, dp->link_nr); in dp_set_link_config() 96 sink[0] = dp->link_bw / 27000; in dp_set_link_config() 97 sink[1] = dp->link_nr; in dp_set_link_config() [all …]
|
D | g94.c | 39 .outp.internal.dp = g94_sor_dp_new, 41 .outp.external.dp = nv50_pior_dp_new,
|
D | gt215.c | 39 .outp.internal.dp = g94_sor_dp_new, 41 .outp.external.dp = nv50_pior_dp_new,
|
/linux-4.4.14/drivers/of/ |
D | pdt.c | 28 void __initdata (*of_pdt_build_more)(struct device_node *dp); 37 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() argument 42 dp->path_component_name = build_path_component(dp); in of_pdt_build_full_name() 44 plen = strlen(dp->parent->full_name); in of_pdt_build_full_name() 45 ourlen = strlen(dp->path_component_name); in of_pdt_build_full_name() 49 strcpy(n, dp->parent->full_name); in of_pdt_build_full_name() 50 if (!of_node_is_root(dp->parent)) { in of_pdt_build_full_name() 54 strcpy(n + plen, dp->path_component_name); in of_pdt_build_full_name() 62 static inline void irq_trans_init(struct device_node *dp) { } in irq_trans_init() argument 64 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() argument [all …]
|
/linux-4.4.14/arch/m68k/mm/ |
D | memory.c | 33 #define PD_MARKBITS(dp) (*(unsigned char *)&PD_PAGE(dp)->index) argument 39 ptable_desc *dp; in init_pointer_table() local 43 dp = PD_PTABLE(page); in init_pointer_table() 44 if (!(PD_MARKBITS(dp) & mask)) { in init_pointer_table() 45 PD_MARKBITS(dp) = 0xff; in init_pointer_table() 46 list_add(dp, &ptable_list); in init_pointer_table() 49 PD_MARKBITS(dp) &= ~mask; in init_pointer_table() 51 printk("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp)); in init_pointer_table() 55 PD_PAGE(dp)->flags &= ~(1 << PG_reserved); in init_pointer_table() 56 init_page_count(PD_PAGE(dp)); in init_pointer_table() [all …]
|
/linux-4.4.14/drivers/sbus/char/ |
D | openprom.c | 143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() argument 148 if (!dp || in opromgetprop() 149 !(pval = of_get_property(dp, op->oprom_array, &len)) || in opromgetprop() 160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() argument 165 if (!dp) in opromnxtprop() 168 prop = dp->properties; in opromnxtprop() 173 prop = of_find_property(dp, op->oprom_array, NULL); in opromnxtprop() 190 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) in opromsetopt() argument 198 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext() argument 209 dp = of_find_node_by_phandle(ph); in opromnext() [all …]
|
D | envctrl.c | 769 static void envctrl_init_adc(struct i2c_child_t *pchild, struct device_node *dp) in envctrl_init_adc() argument 776 pos = of_get_property(dp, "channels-description", &len); in envctrl_init_adc() 786 pval = of_get_property(dp, "warning-temp", NULL); in envctrl_init_adc() 790 pval = of_get_property(dp, "shutdown-temp", NULL); in envctrl_init_adc() 863 static void envctrl_init_i2c_child(struct device_node *dp, in envctrl_init_i2c_child() argument 870 pval = of_get_property(dp, "reg", &len); in envctrl_init_i2c_child() 874 pval = of_get_property(dp, "translation", &len); in envctrl_init_i2c_child() 889 pval = of_get_property(dp, "tables", &len); in envctrl_init_i2c_child() 918 pval = of_get_property(dp, "channels-in-use", &len); in envctrl_init_i2c_child() 925 envctrl_init_adc(pchild, dp); in envctrl_init_i2c_child() [all …]
|
D | bbc_i2c.c | 296 struct device_node *dp; in attach_one_i2c() local 328 for (dp = op->dev.of_node->child; in attach_one_i2c() 329 dp && entry < 8; in attach_one_i2c() 330 dp = dp->sibling, entry++) { in attach_one_i2c() 333 child_op = of_find_device_by_node(dp); in attach_one_i2c()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_attr_inactive.c | 49 struct xfs_inode *dp, in xfs_attr3_leaf_freextent() argument 73 error = xfs_bmapi_read(dp, (xfs_fileoff_t)tblkno, tblkcnt, in xfs_attr3_leaf_freextent() 87 dblkno = XFS_FSB_TO_DADDR(dp->i_mount, in xfs_attr3_leaf_freextent() 89 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr3_leaf_freextent() 92 dp->i_mount->m_ddev_targp, in xfs_attr3_leaf_freextent() 100 error = xfs_trans_roll(trans, dp); in xfs_attr3_leaf_freextent() 121 struct xfs_inode *dp, in xfs_attr3_leaf_inactive() argument 179 lp->valuelen = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive() 192 tmp = xfs_attr3_leaf_freextent(trans, dp, in xfs_attr3_leaf_inactive() 210 struct xfs_inode *dp, in xfs_attr3_node_inactive() argument [all …]
|
D | xfs_dir2_readdir.c | 64 struct xfs_inode *dp = args->dp; /* incore directory inode */ in xfs_dir2_sf_getdents() local 73 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_getdents() 77 if (dp->i_d.di_size < offsetof(xfs_dir2_sf_hdr_t, parent)) { in xfs_dir2_sf_getdents() 78 ASSERT(XFS_FORCED_SHUTDOWN(dp->i_mount)); in xfs_dir2_sf_getdents() 82 ASSERT(dp->i_df.if_bytes == dp->i_d.di_size); in xfs_dir2_sf_getdents() 83 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents() 85 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents() 87 ASSERT(dp->i_d.di_size >= xfs_dir2_sf_hdr_size(sfp->i8count)); in xfs_dir2_sf_getdents() 102 dp->d_ops->data_dot_offset); in xfs_dir2_sf_getdents() 104 dp->d_ops->data_dotdot_offset); in xfs_dir2_sf_getdents() [all …]
|
D | xfs_attr_list.c | 75 xfs_inode_t *dp; in xfs_attr_shortform_list() local 80 dp = context->dp; in xfs_attr_shortform_list() 81 ASSERT(dp != NULL); in xfs_attr_shortform_list() 82 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list() 83 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list() 103 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list() 145 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list() 148 context->dp->i_mount, sfe); in xfs_attr_shortform_list() 229 struct xfs_inode *dp = context->dp; in xfs_attr_node_list() local 230 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list() [all …]
|
D | xfs_attr.h | 119 struct xfs_inode *dp; /* inode */ member 142 int xfs_attr_inactive(struct xfs_inode *dp); 147 int xfs_attr_set(struct xfs_inode *dp, const unsigned char *name, 149 int xfs_attr_remove(struct xfs_inode *dp, const unsigned char *name, int flags); 150 int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize,
|
D | xfs_symlink.c | 167 struct xfs_inode *dp, in xfs_symlink() argument 173 struct xfs_mount *mp = dp->i_mount; in xfs_symlink() 199 trace_xfs_symlink(dp, link_name); in xfs_symlink() 212 prid = xfs_get_initial_prid(dp); in xfs_symlink() 217 error = xfs_qm_vop_dqalloc(dp, in xfs_symlink() 230 if (pathlen <= XFS_LITINO(mp, dp->i_d.di_version)) in xfs_symlink() 243 xfs_ilock(dp, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL | in xfs_symlink() 250 if (dp->i_d.di_flags & XFS_DIFLAG_NOSYMLINKS) { in xfs_symlink() 267 error = xfs_dir_canenter(tp, dp, link_name); in xfs_symlink() 280 error = xfs_dir_ialloc(&tp, dp, S_IFLNK | (mode & ~S_IFMT), 1, 0, in xfs_symlink() [all …]
|
D | xfs_inode.c | 677 xfs_inode_t *dp, in xfs_lookup() argument 685 trace_xfs_lookup(dp, name); in xfs_lookup() 687 if (XFS_FORCED_SHUTDOWN(dp->i_mount)) in xfs_lookup() 690 xfs_ilock(dp, XFS_IOLOCK_SHARED); in xfs_lookup() 691 error = xfs_dir_lookup(NULL, dp, name, &inum, ci_name); in xfs_lookup() 695 error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp); in xfs_lookup() 699 xfs_iunlock(dp, XFS_IOLOCK_SHARED); in xfs_lookup() 706 xfs_iunlock(dp, XFS_IOLOCK_SHARED); in xfs_lookup() 946 xfs_inode_t *dp, /* directory within whose allocate in xfs_dir_ialloc() argument 983 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, okalloc, in xfs_dir_ialloc() [all …]
|
D | xfs_inode.h | 197 xfs_get_initial_prid(struct xfs_inode *dp) in xfs_get_initial_prid() argument 199 if (dp->i_d.di_flags & XFS_DIFLAG_PROJINHERIT) in xfs_get_initial_prid() 200 return xfs_get_projid(dp); in xfs_get_initial_prid() 376 int xfs_lookup(struct xfs_inode *dp, struct xfs_name *name, 378 int xfs_create(struct xfs_inode *dp, struct xfs_name *name, 380 int xfs_create_tmpfile(struct xfs_inode *dp, struct dentry *dentry, 382 int xfs_remove(struct xfs_inode *dp, struct xfs_name *name,
|
D | xfs_log_recover.c | 3427 char *dp, in xlog_recover_add_to_cont_trans() argument 3448 memcpy(ptr, dp, len); in xlog_recover_add_to_cont_trans() 3459 memcpy(&ptr[old_len], dp, len); in xlog_recover_add_to_cont_trans() 3483 char *dp, in xlog_recover_add_to_trans() argument 3494 if (*(uint *)dp != XFS_TRANS_HEADER_MAGIC) { in xlog_recover_add_to_trans() 3514 memcpy(&trans->r_theader, dp, len); in xlog_recover_add_to_trans() 3519 memcpy(ptr, dp, len); in xlog_recover_add_to_trans() 3589 char *dp, in xlog_recovery_process_trans() argument 3610 error = xlog_recover_add_to_trans(log, trans, dp, len); in xlog_recovery_process_trans() 3613 error = xlog_recover_add_to_cont_trans(log, trans, dp, len); in xlog_recovery_process_trans() [all …]
|
D | xfs_trans.c | 1024 struct xfs_inode *dp, in __xfs_trans_roll() argument 1035 if (dp) in __xfs_trans_roll() 1036 xfs_trans_log_inode(trans, dp, XFS_ILOG_CORE); in __xfs_trans_roll() 1075 if (dp) in __xfs_trans_roll() 1076 xfs_trans_ijoin(trans, dp, 0); in __xfs_trans_roll() 1083 struct xfs_inode *dp) in xfs_trans_roll() argument 1086 return __xfs_trans_roll(tpp, dp, &committed); in xfs_trans_roll()
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | dbdma.c | 212 void *au1xxx_ddma_get_nextptr_virt(au1x_ddma_desc_t *dp) in au1xxx_ddma_get_nextptr_virt() argument 214 return phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_ddma_get_nextptr_virt() 398 au1x_ddma_desc_t *dp; in au1xxx_dbdma_ring_alloc() local 436 dp = (au1x_ddma_desc_t *)desc_base; in au1xxx_dbdma_ring_alloc() 439 ctp->chan_desc_base = dp; in au1xxx_dbdma_ring_alloc() 564 dp->dscr_cmd0 = cmd0; in au1xxx_dbdma_ring_alloc() 565 dp->dscr_cmd1 = cmd1; in au1xxx_dbdma_ring_alloc() 566 dp->dscr_source0 = src0; in au1xxx_dbdma_ring_alloc() 567 dp->dscr_source1 = src1; in au1xxx_dbdma_ring_alloc() 568 dp->dscr_dest0 = dest0; in au1xxx_dbdma_ring_alloc() [all …]
|
/linux-4.4.14/lib/ |
D | asn1_decoder.c | 65 size_t dp = *_dp, len, n; in asn1_find_indefinite_length() local 69 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length() 70 if (datalen == dp) in asn1_find_indefinite_length() 76 tag = data[dp++]; in asn1_find_indefinite_length() 79 if (data[dp++] != 0) in asn1_find_indefinite_length() 82 *_len = dp - *_dp; in asn1_find_indefinite_length() 83 *_dp = dp; in asn1_find_indefinite_length() 91 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length() 93 tmp = data[dp++]; in asn1_find_indefinite_length() 98 len = data[dp++]; in asn1_find_indefinite_length() [all …]
|
D | dynamic_debug.c | 89 static char *ddebug_describe_flags(struct _ddebug *dp, char *buf, in ddebug_describe_flags() argument 97 if (dp->flags & opt_array[i].flag) in ddebug_describe_flags() 157 struct _ddebug *dp = &dt->ddebugs[i]; in ddebug_change() local 161 !match_wildcard(query->filename, dp->filename) && in ddebug_change() 163 kbasename(dp->filename)) && in ddebug_change() 165 trim_prefix(dp->filename))) in ddebug_change() 170 !match_wildcard(query->function, dp->function)) in ddebug_change() 175 !strstr(dp->format, query->format)) in ddebug_change() 180 dp->lineno < query->first_lineno) in ddebug_change() 183 dp->lineno > query->last_lineno) in ddebug_change() [all …]
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | micropatch.c | 626 volatile uint *dp; /* Dual-ported RAM. */ in cpm_load_patch() local 643 dp = (uint *)(commproc->cp_dpmem); in cpm_load_patch() 645 *dp++ = patch_2000[i]; in cpm_load_patch() 647 dp = (uint *)&(commproc->cp_dpmem[0x0f00]); in cpm_load_patch() 649 *dp++ = patch_2f00[i]; in cpm_load_patch() 661 dp = (uint *)(commproc->cp_dpmem); in cpm_load_patch() 663 *dp++ = patch_2000[i]; in cpm_load_patch() 665 dp = (uint *)&(commproc->cp_dpmem[0x0f00]); in cpm_load_patch() 667 *dp++ = patch_2f00[i]; in cpm_load_patch() 691 dp = (uint *)&(commproc->cp_dpmem[0x0e00]); in cpm_load_patch() [all …]
|
D | dcr.c | 66 struct device_node *dp; in dcr_map_generic() local 71 dp = find_dcr_parent(dev); in dcr_map_generic() 72 if (dp == NULL) in dcr_map_generic() 75 prop = of_get_property(dp, "dcr-access-method", NULL); in dcr_map_generic() 87 of_node_put(dp); in dcr_map_generic() 159 struct device_node *dp; in of_translate_dcr_address() local 164 dp = find_dcr_parent(dev); in of_translate_dcr_address() 165 if (dp == NULL) in of_translate_dcr_address() 169 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address() 173 p = of_get_property(dp, "dcr-mmio-range", NULL); in of_translate_dcr_address() [all …]
|
D | dart_iommu.c | 168 unsigned int *dp; in dart_build() local 174 dp = ((unsigned int*)tbl->it_base) + index; in dart_build() 183 *(dp++) = DARTMAP_VALID | (rpn & DARTMAP_RPNMASK); in dart_build() 190 in_be32((unsigned __iomem *)dp); in dart_build() 206 unsigned int *dp; in dart_free() local 215 dp = ((unsigned int *)tbl->it_base) + index; in dart_free() 218 *(dp++) = dart_emptyval; in dart_free()
|
/linux-4.4.14/net/openvswitch/ |
D | datapath.c | 138 static int queue_gso_packets(struct datapath *dp, struct sk_buff *, 141 static int queue_userspace_packet(struct datapath *dp, struct sk_buff *, 153 return vport->dp; in get_dp_rcu() 164 struct datapath *dp; in get_dp() local 168 dp = get_dp_rcu(net, dp_ifindex); in get_dp() 171 return dp; in get_dp() 175 const char *ovs_dp_name(const struct datapath *dp) in ovs_dp_name() argument 177 struct vport *vport = ovs_vport_ovsl_rcu(dp, OVSP_LOCAL); in ovs_dp_name() 181 static int get_dpifindex(const struct datapath *dp) in get_dpifindex() argument 188 local = ovs_vport_rcu(dp, OVSP_LOCAL); in get_dpifindex() [all …]
|
D | datapath.h | 157 static inline struct net *ovs_dp_get_net(const struct datapath *dp) in ovs_dp_get_net() argument 159 return read_pnet(&dp->net); in ovs_dp_get_net() 162 static inline void ovs_dp_set_net(struct datapath *dp, struct net *net) in ovs_dp_set_net() argument 164 write_pnet(&dp->net, net); in ovs_dp_set_net() 167 struct vport *ovs_lookup_vport(const struct datapath *dp, u16 port_no); 169 static inline struct vport *ovs_vport_rcu(const struct datapath *dp, int port_no) in ovs_vport_rcu() argument 172 return ovs_lookup_vport(dp, port_no); in ovs_vport_rcu() 175 static inline struct vport *ovs_vport_ovsl_rcu(const struct datapath *dp, int port_no) in ovs_vport_ovsl_rcu() argument 178 return ovs_lookup_vport(dp, port_no); in ovs_vport_ovsl_rcu() 181 static inline struct vport *ovs_vport_ovsl(const struct datapath *dp, int port_no) in ovs_vport_ovsl() argument [all …]
|
D | dp_notify.c | 30 struct datapath *dp; in dp_detach_port_notify() local 32 dp = vport->dp; in dp_detach_port_notify() 37 genl_set_err(&dp_vport_genl_family, ovs_dp_get_net(dp), 0, in dp_detach_port_notify() 43 ovs_dp_get_net(dp), notify, 0, in dp_detach_port_notify() 50 struct datapath *dp; in ovs_dp_notify_wq() local 53 list_for_each_entry(dp, &ovs_net->dps, list_node) { in ovs_dp_notify_wq() 60 hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) { in ovs_dp_notify_wq()
|
D | actions.c | 47 static int do_execute_actions(struct datapath *dp, struct sk_buff *skb, 736 static void do_output(struct datapath *dp, struct sk_buff *skb, int out_port, in do_output() argument 739 struct vport *vport = ovs_vport_rcu(dp, out_port); in do_output() 747 struct net *net = read_pnet(&dp->net); in do_output() 766 static int output_userspace(struct datapath *dp, struct sk_buff *skb, in output_userspace() argument 793 vport = ovs_vport_rcu(dp, nla_get_u32(a)); in output_userspace() 815 return ovs_dp_upcall(dp, skb, key, &upcall); in output_userspace() 818 static int sample(struct datapath *dp, struct sk_buff *skb, in sample() argument 857 return output_userspace(dp, skb, key, a, actions, actions_len); in sample() 867 ovs_dp_name(dp)); in sample() [all …]
|
D | vport-netdev.c | 80 static struct net_device *get_dpdev(const struct datapath *dp) in get_dpdev() argument 84 local = ovs_vport_ovsl(dp, OVSP_LOCAL); in get_dpdev() 93 vport->dev = dev_get_by_name(ovs_dp_get_net(vport->dp), name); in ovs_netdev_link() 108 get_dpdev(vport->dp)); in ovs_netdev_link() 125 netdev_upper_dev_unlink(vport->dev, get_dpdev(vport->dp)); in ovs_netdev_link()
|
D | vport.c | 114 net_eq(ovs_dp_get_net(vport->dp), net)) in ovs_vport_locate() 147 vport->dp = parms->dp; in ovs_vport_alloc() 218 bucket = hash_bucket(ovs_dp_get_net(vport->dp), in ovs_vport_add() 395 if (vport->dp->user_features & OVS_DP_F_VPORT_PIDS) in ovs_vport_get_upcall_portids() 447 if (unlikely(dev_net(skb->dev) != ovs_dp_get_net(vport->dp))) { in ovs_vport_receive()
|
D | vport.h | 84 struct datapath *dp; member 112 struct datapath *dp; member
|
/linux-4.4.14/net/dccp/ |
D | input.c | 176 const struct dccp_sock *dp = dccp_sk(sk); in dccp_deliver_input_to_ccids() local 180 ccid_hc_rx_packet_recv(dp->dccps_hc_rx_ccid, sk, skb); in dccp_deliver_input_to_ccids() 186 ccid_hc_tx_packet_recv(dp->dccps_hc_tx_ccid, sk, skb); in dccp_deliver_input_to_ccids() 192 struct dccp_sock *dp = dccp_sk(sk); in dccp_check_seqno() local 210 if (between48(ackno, dp->dccps_awl, dp->dccps_awh) && in dccp_check_seqno() 211 dccp_delta_seqno(dp->dccps_swl, seqno) >= 0) in dccp_check_seqno() 228 lswl = dp->dccps_swl; in dccp_check_seqno() 229 lawl = dp->dccps_awl; in dccp_check_seqno() 234 lswl = ADD48(dp->dccps_gsr, 1); in dccp_check_seqno() 235 lawl = dp->dccps_gar; in dccp_check_seqno() [all …]
|
D | output.c | 50 struct dccp_sock *dp = dccp_sk(sk); in dccp_transmit_skb() local 58 u64 ackno = dp->dccps_gsr; in dccp_transmit_skb() 63 dcb->dccpd_seq = ADD48(dp->dccps_gss, 1); in dccp_transmit_skb() 77 dcb->dccpd_seq = dp->dccps_iss; in dccp_transmit_skb() 109 dh->dccph_cscov = dp->dccps_pcslen; in dccp_transmit_skb() 114 dccp_hdr_set_seq(dh, dp->dccps_gss); in dccp_transmit_skb() 121 dp->dccps_service; in dccp_transmit_skb() 126 dp->dccps_awl = dp->dccps_iss; in dccp_transmit_skb() 153 static u32 dccp_determine_ccmps(const struct dccp_sock *dp) in dccp_determine_ccmps() argument 155 const struct ccid *tx_ccid = dp->dccps_hc_tx_ccid; in dccp_determine_ccmps() [all …]
|
D | dccp.h | 268 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp, 333 const struct dccp_sock *dp = dccp_sk(sk); in dccp_bad_service_code() local 335 if (dp->dccps_service == service) in dccp_bad_service_code() 337 return !dccp_list_has_service(dp->dccps_service_list, service); in dccp_bad_service_code() 422 struct dccp_sock *dp = dccp_sk(sk); in dccp_update_gsr() local 424 if (after48(seq, dp->dccps_gsr)) in dccp_update_gsr() 425 dp->dccps_gsr = seq; in dccp_update_gsr() 427 dp->dccps_swl = SUB48(ADD48(dp->dccps_gsr, 1), dp->dccps_r_seq_win / 4); in dccp_update_gsr() 443 if (before48(dp->dccps_swl, dp->dccps_isr)) in dccp_update_gsr() 444 dp->dccps_swl = dp->dccps_isr; in dccp_update_gsr() [all …]
|
D | options.c | 54 struct dccp_sock *dp = dccp_sk(sk); in dccp_parse_options() local 61 struct dccp_options_received *opt_recv = &dp->dccps_options_received; in dccp_parse_options() 152 dp->dccps_timestamp_echo = ntohl(opt_val); in dccp_parse_options() 153 dp->dccps_timestamp_time = dccp_timestamp(); in dccp_parse_options() 218 if (ccid_hc_rx_parse_options(dp->dccps_hc_rx_ccid, sk, in dccp_parse_options() 233 if (ccid_hc_tx_parse_options(dp->dccps_hc_tx_ccid, sk, in dccp_parse_options() 314 struct dccp_sock *dp = dccp_sk(sk); in dccp_insert_option_ndp() local 315 u64 ndp = dp->dccps_ndp_count; in dccp_insert_option_ndp() 318 ++dp->dccps_ndp_count; in dccp_insert_option_ndp() 320 dp->dccps_ndp_count = 0; in dccp_insert_option_ndp() [all …]
|
D | proto.c | 175 struct dccp_sock *dp = dccp_sk(sk); in dccp_init_sock() local 183 dp->dccps_mss_cache = 536; in dccp_init_sock() 184 dp->dccps_rate_last = jiffies; in dccp_init_sock() 185 dp->dccps_role = DCCP_ROLE_UNDEFINED; in dccp_init_sock() 186 dp->dccps_service = DCCP_SERVICE_CODE_IS_ABSENT; in dccp_init_sock() 187 dp->dccps_tx_qlen = sysctl_dccp_tx_qlen; in dccp_init_sock() 191 INIT_LIST_HEAD(&dp->dccps_featneg); in dccp_init_sock() 202 struct dccp_sock *dp = dccp_sk(sk); in dccp_destroy_sock() local 217 kfree(dp->dccps_service_list); in dccp_destroy_sock() 218 dp->dccps_service_list = NULL; in dccp_destroy_sock() [all …]
|
D | diag.c | 21 struct dccp_sock *dp = dccp_sk(sk); in dccp_get_info() local 32 if (dp->dccps_hc_rx_ackvec != NULL) in dccp_get_info() 35 if (dp->dccps_hc_rx_ccid != NULL) in dccp_get_info() 36 ccid_hc_rx_get_info(dp->dccps_hc_rx_ccid, sk, info); in dccp_get_info() 38 if (dp->dccps_hc_tx_ccid != NULL) in dccp_get_info() 39 ccid_hc_tx_get_info(dp->dccps_hc_tx_ccid, sk, info); in dccp_get_info()
|
D | feat.c | 43 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_ccid() local 50 ccid_hc_rx_delete(dp->dccps_hc_rx_ccid, sk); in dccp_hdlr_ccid() 51 dp->dccps_hc_rx_ccid = new_ccid; in dccp_hdlr_ccid() 53 ccid_hc_tx_delete(dp->dccps_hc_tx_ccid, sk); in dccp_hdlr_ccid() 54 dp->dccps_hc_tx_ccid = new_ccid; in dccp_hdlr_ccid() 61 struct dccp_sock *dp = dccp_sk(sk); in dccp_hdlr_seq_win() local 64 dp->dccps_r_seq_win = seq_win; in dccp_hdlr_seq_win() 66 dccp_update_gsr(sk, dp->dccps_gsr); in dccp_hdlr_seq_win() 68 dp->dccps_l_seq_win = seq_win; in dccp_hdlr_seq_win() 70 dccp_update_gss(sk, dp->dccps_gss); in dccp_hdlr_seq_win() [all …]
|
D | ccid.h | 116 static inline int ccid_get_current_rx_ccid(struct dccp_sock *dp) in ccid_get_current_rx_ccid() argument 118 struct ccid *ccid = dp->dccps_hc_rx_ccid; in ccid_get_current_rx_ccid() 125 static inline int ccid_get_current_tx_ccid(struct dccp_sock *dp) in ccid_get_current_tx_ccid() argument 127 struct ccid *ccid = dp->dccps_hc_tx_ccid; in ccid_get_current_tx_ccid()
|
D | timer.c | 243 struct dccp_sock *dp = dccp_sk(sk); in dccp_init_xmit_timers() local 245 tasklet_init(&dp->dccps_xmitlet, dccp_write_xmitlet, (unsigned long)sk); in dccp_init_xmit_timers() 246 setup_timer(&dp->dccps_xmit_timer, dccp_write_xmit_timer, in dccp_init_xmit_timers()
|
D | ipv4.c | 46 struct dccp_sock *dp = dccp_sk(sk); in dccp_v4_connect() local 54 dp->dccps_role = DCCP_ROLE_CLIENT; in dccp_v4_connect() 120 dp->dccps_iss = secure_dccp_sequence_number(inet->inet_saddr, in dccp_v4_connect() 124 inet->inet_id = dp->dccps_iss ^ jiffies; in dccp_v4_connect() 153 const struct dccp_sock *dp = dccp_sk(sk); in dccp_do_pmtu_discovery() local 186 dccp_send_sync(sk, dp->dccps_gsr, DCCP_PKT_SYNC); in dccp_do_pmtu_discovery() 239 struct dccp_sock *dp; in dccp_v4_err() local 281 dp = dccp_sk(sk); in dccp_v4_err() 283 !between48(seq, dp->dccps_awl, dp->dccps_awh)) { in dccp_v4_err()
|
/linux-4.4.14/include/uapi/linux/ |
D | ppp-comp.h | 35 #define CCP_CODE(dp) ((dp)[0]) argument 36 #define CCP_ID(dp) ((dp)[1]) argument 37 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument 40 #define CCP_OPT_CODE(dp) ((dp)[0]) argument 41 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
|
/linux-4.4.14/fs/cifs/ |
D | cifs_spnego.c | 101 char *description, *dp; in cifs_get_spnego_key() local 124 dp = description; in cifs_get_spnego_key() 127 sprintf(dp, "ver=0x%x;host=%s;", CIFS_SPNEGO_UPCALL_VERSION, in cifs_get_spnego_key() 129 dp = description + strlen(description); in cifs_get_spnego_key() 133 sprintf(dp, "ip4=%pI4", &sa->sin_addr); in cifs_get_spnego_key() 135 sprintf(dp, "ip6=%pI6", &sa6->sin6_addr); in cifs_get_spnego_key() 139 dp = description + strlen(description); in cifs_get_spnego_key() 143 sprintf(dp, ";sec=krb5"); in cifs_get_spnego_key() 145 sprintf(dp, ";sec=mskrb5"); in cifs_get_spnego_key() 149 dp = description + strlen(description); in cifs_get_spnego_key() [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | offb.c | 323 static void offb_init_palette_hacks(struct fb_info *info, struct device_node *dp, in offb_init_palette_hacks() argument 328 if (dp && !strncmp(name, "ATY,Rage128", 11)) { in offb_init_palette_hacks() 329 par->cmap_adr = offb_map_reg(dp, 2, 0, 0x1fff); in offb_init_palette_hacks() 332 } else if (dp && (!strncmp(name, "ATY,RageM3pA", 12) in offb_init_palette_hacks() 334 par->cmap_adr = offb_map_reg(dp, 2, 0, 0x1fff); in offb_init_palette_hacks() 337 } else if (dp && !strncmp(name, "ATY,RageM3pB", 12)) { in offb_init_palette_hacks() 338 par->cmap_adr = offb_map_reg(dp, 2, 0, 0x1fff); in offb_init_palette_hacks() 341 } else if (dp && !strncmp(name, "ATY,Rage6", 9)) { in offb_init_palette_hacks() 342 par->cmap_adr = offb_map_reg(dp, 1, 0, 0x1fff); in offb_init_palette_hacks() 351 } else if (dp && (of_device_is_compatible(dp, "pci1014,b7") || in offb_init_palette_hacks() [all …]
|
D | chipsfb.c | 40 #define write_ind(num, val, ap, dp) do { \ argument 41 outb((num), (ap)); outb((val), (dp)); \ 43 #define read_ind(num, var, ap, dp) do { \ argument 44 outb((num), (ap)); var = inb((dp)); \ 75 static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *); 350 static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) in chipsfb_pci_init() argument 357 if (pci_enable_device(dp) < 0) { in chipsfb_pci_init() 358 dev_err(&dp->dev, "Cannot enable PCI device\n"); in chipsfb_pci_init() 362 if ((dp->resource[0].flags & IORESOURCE_MEM) == 0) in chipsfb_pci_init() 364 addr = pci_resource_start(dp, 0); in chipsfb_pci_init() [all …]
|
D | cg3.c | 247 struct device_node *dp) in cg3_init_fix() argument 249 strlcpy(info->fix.id, dp->name, sizeof(info->fix.id)); in cg3_init_fix() 260 struct device_node *dp) in cg3_rdi_maybe_fixup_var() argument 266 params = of_get_property(dp, "params", NULL); in cg3_rdi_maybe_fixup_var() 351 struct device_node *dp = op->dev.of_node; in cg3_probe() local 368 sbusfb_fill_var(&info->var, dp, 8); in cg3_probe() 372 if (!strcmp(dp->name, "cgRDI")) in cg3_probe() 375 cg3_rdi_maybe_fixup_var(&info->var, dp); in cg3_probe() 377 linebytes = of_getintprop_default(dp, "linebytes", in cg3_probe() 395 if (!of_find_property(dp, "width", NULL)) { in cg3_probe() [all …]
|
D | asiliantfb.c | 50 #define mm_write_ind(num, val, ap, dp) do { \ argument 51 writeb((num), mmio_base + (ap)); writeb((val), mmio_base + (dp)); \ 91 static int asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *); 538 static int asiliantfb_pci_init(struct pci_dev *dp, in asiliantfb_pci_init() argument 545 if ((dp->resource[0].flags & IORESOURCE_MEM) == 0) in asiliantfb_pci_init() 547 addr = pci_resource_start(dp, 0); in asiliantfb_pci_init() 548 size = pci_resource_len(dp, 0); in asiliantfb_pci_init() 554 p = framebuffer_alloc(sizeof(u32) * 16, &dp->dev); in asiliantfb_pci_init() 569 pci_write_config_dword(dp, 4, 0x02800083); in asiliantfb_pci_init() 580 pci_set_drvdata(dp, p); in asiliantfb_pci_init() [all …]
|
D | p9100.c | 240 static void p9100_init_fix(struct fb_info *info, int linebytes, struct device_node *dp) in p9100_init_fix() argument 242 strlcpy(info->fix.id, dp->name, sizeof(info->fix.id)); in p9100_init_fix() 254 struct device_node *dp = op->dev.of_node; in p9100_probe() local 272 sbusfb_fill_var(&info->var, dp, 8); in p9100_probe() 277 linebytes = of_getintprop_default(dp, "linebytes", info->var.xres); in p9100_probe() 297 p9100_init_fix(info, linebytes, dp); in p9100_probe() 308 dp->full_name, in p9100_probe()
|
D | cg14.c | 356 struct device_node *dp) in cg14_init_fix() argument 358 const char *name = dp->name; in cg14_init_fix() 468 struct device_node *dp = op->dev.of_node; in cg14_probe() local 482 sbusfb_fill_var(&info->var, dp, 8); in cg14_probe() 487 linebytes = of_getintprop_default(dp, "linebytes", in cg14_probe() 491 if (!strcmp(dp->parent->name, "sbus") || in cg14_probe() 492 !strcmp(dp->parent->name, "sbi")) { in cg14_probe() 548 cg14_init_fix(info, linebytes, dp); in cg14_probe() 557 dp->full_name, in cg14_probe()
|
D | controlfb.c | 142 static int control_of_init(struct device_node *dp); 183 struct device_node *dp; in init_module() local 186 dp = of_find_node_by_name(NULL, "control"); in init_module() 187 if (dp != 0 && !control_of_init(dp)) in init_module() 189 of_node_put(dp); in init_module() 588 struct device_node *dp; in control_init() local 596 dp = of_find_node_by_name(NULL, "control"); in control_init() 597 if (dp != 0 && !control_of_init(dp)) in control_init() 599 of_node_put(dp); in control_init() 684 static int __init control_of_init(struct device_node *dp) in control_of_init() argument [all …]
|
D | sunxvr1000.c | 116 struct device_node *dp = op->dev.of_node; in gfb_probe() local 130 gp->of_node = dp; in gfb_probe() 153 printk("gfb: Found device at %s\n", dp->full_name); in gfb_probe() 158 dp->full_name); in gfb_probe()
|
D | bw2.c | 277 struct device_node *dp = op->dev.of_node; in bw2_probe() local 294 sbusfb_fill_var(&info->var, dp, 1); in bw2_probe() 295 linebytes = of_getintprop_default(dp, "linebytes", in bw2_probe() 308 if (!of_find_property(dp, "width", NULL)) { in bw2_probe() 337 dp->full_name, par->which_io, info->fix.smem_start); in bw2_probe()
|
D | leo.c | 435 leo_init_fix(struct fb_info *info, struct device_node *dp) in leo_init_fix() argument 437 strlcpy(info->fix.id, dp->name, sizeof(info->fix.id)); in leo_init_fix() 552 struct device_node *dp = op->dev.of_node; in leo_probe() local 569 sbusfb_fill_var(&info->var, dp, 32); in leo_probe() 572 linebytes = of_getintprop_default(dp, "linebytes", in leo_probe() 614 leo_init_fix(info, dp); in leo_probe() 623 dp->full_name, in leo_probe()
|
D | tcx.c | 367 struct device_node *dp = op->dev.of_node; in tcx_probe() local 382 (of_find_property(dp, "tcx-8-bit", NULL) != NULL); in tcx_probe() 384 sbusfb_fill_var(&info->var, dp, 8); in tcx_probe() 389 linebytes = of_getintprop_default(dp, "linebytes", in tcx_probe() 471 dp->full_name, in tcx_probe()
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-dp.c | 79 static inline struct ipu_flow *to_flow(struct ipu_dp *dp) in to_flow() argument 81 if (dp->foreground) in to_flow() 82 return container_of(dp, struct ipu_flow, foreground); in to_flow() 84 return container_of(dp, struct ipu_flow, background); in to_flow() 87 int ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, in ipu_dp_set_global_alpha() argument 90 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_global_alpha() 123 int ipu_dp_set_window_pos(struct ipu_dp *dp, u16 x_pos, u16 y_pos) in ipu_dp_set_window_pos() argument 125 struct ipu_flow *flow = to_flow(dp); in ipu_dp_set_window_pos() 176 int ipu_dp_setup_channel(struct ipu_dp *dp, in ipu_dp_setup_channel() argument 180 struct ipu_flow *flow = to_flow(dp); in ipu_dp_setup_channel() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 58 u8 *dpcd = nv_encoder->dp.dpcd; in nouveau_dp_detect() 69 nv_encoder->dp.link_bw = 27000 * dpcd[1]; in nouveau_dp_detect() 70 nv_encoder->dp.link_nr = dpcd[2] & DP_MAX_LANE_COUNT_MASK; in nouveau_dp_detect() 73 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]); in nouveau_dp_detect() 78 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect() 79 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect() 80 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect() 81 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect() 84 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw); in nouveau_dp_detect()
|
/linux-4.4.14/drivers/input/serio/ |
D | i8042-sparcio.h | 55 struct device_node *dp = op->dev.of_node; in sparc_i8042_probe() local 57 dp = dp->child; in sparc_i8042_probe() 58 while (dp) { in sparc_i8042_probe() 59 if (!strcmp(dp->name, OBP_PS2KBD_NAME1) || in sparc_i8042_probe() 60 !strcmp(dp->name, OBP_PS2KBD_NAME2)) { in sparc_i8042_probe() 61 struct platform_device *kbd = of_find_device_by_node(dp); in sparc_i8042_probe() 69 } else if (!strcmp(dp->name, OBP_PS2MS_NAME1) || in sparc_i8042_probe() 70 !strcmp(dp->name, OBP_PS2MS_NAME2)) { in sparc_i8042_probe() 71 struct platform_device *ms = of_find_device_by_node(dp); in sparc_i8042_probe() 78 dp = dp->sibling; in sparc_i8042_probe()
|
/linux-4.4.14/tools/iio/ |
D | lsiio.c | 45 DIR *dp; in dump_channels() local 48 dp = opendir(dev_dir_name); in dump_channels() 49 if (!dp) in dump_channels() 52 while (ent = readdir(dp), ent) in dump_channels() 57 return (closedir(dp) == -1) ? -errno : 0; in dump_channels() 107 DIR *dp; in dump_devices() local 109 dp = opendir(iio_dir); in dump_devices() 110 if (!dp) { in dump_devices() 115 while (ent = readdir(dp), ent) { in dump_devices() 136 rewinddir(dp); in dump_devices() [all …]
|
D | iio_utils.c | 95 DIR *dp; in iioutils_get_type() local 116 dp = opendir(scan_el_dir); in iioutils_get_type() 117 if (!dp) { in iioutils_get_type() 123 while (ent = readdir(dp), ent) in iioutils_get_type() 193 if (closedir(dp) == -1) in iioutils_get_type() 222 DIR *dp; in iioutils_get_param_float() local 238 dp = opendir(device_dir); in iioutils_get_param_float() 239 if (!dp) { in iioutils_get_param_float() 245 while (ent = readdir(dp), ent) in iioutils_get_param_float() 272 if (closedir(dp) == -1) in iioutils_get_param_float() [all …]
|
/linux-4.4.14/drivers/tty/serial/ |
D | digicolor-usart.c | 125 struct digicolor_port *dp = in digicolor_rx_poll() local 129 if (!digicolor_uart_rx_empty(&dp->port)) in digicolor_rx_poll() 131 writeb_relaxed(UA_INT_RX, dp->port.membase + UA_INTFLAG_SET); in digicolor_rx_poll() 133 schedule_delayed_work(&dp->rx_poll_work, msecs_to_jiffies(100)); in digicolor_rx_poll() 261 struct digicolor_port *dp = in digicolor_uart_startup() local 278 schedule_delayed_work(&dp->rx_poll_work, msecs_to_jiffies(100)); in digicolor_uart_startup() 285 struct digicolor_port *dp = in digicolor_uart_shutdown() local 289 cancel_delayed_work_sync(&dp->rx_poll_work); in digicolor_uart_shutdown() 457 struct digicolor_port *dp; in digicolor_uart_probe() local 470 dp = devm_kzalloc(&pdev->dev, sizeof(*dp), GFP_KERNEL); in digicolor_uart_probe() [all …]
|
D | suncore.c | 54 int sunserial_console_match(struct console *con, struct device_node *dp, in sunserial_console_match() argument 62 if (of_console_device != dp) in sunserial_console_match() 101 struct device_node *dp; in sunserial_console_termios() local 110 dp = of_find_node_by_path("/options"); in sunserial_console_termios() 111 mode = of_get_property(dp, mode_prop, NULL); in sunserial_console_termios()
|
D | sunsu.c | 1393 static enum su_type su_get_type(struct device_node *dp) in su_get_type() argument 1402 if (dp == of_find_node_by_path(keyb)) in su_get_type() 1406 if (dp == of_find_node_by_path(ms)) in su_get_type() 1416 struct device_node *dp = op->dev.of_node; in su_probe() local 1423 type = su_get_type(dp); in su_probe() 1484 if (!strcmp(dp->name, "rsc-console") || in su_probe() 1485 !strcmp(dp->name, "lom-console")) in su_probe() 1488 sunserial_console_match(SUNSU_CONSOLE(), dp, in su_probe() 1561 struct device_node *dp; in sunsu_init() local 1565 for_each_node_by_name(dp, "su") { in sunsu_init() [all …]
|
D | mpsc.c | 787 dma_addr_t dp, dp_p; in mpsc_init_rings() local 801 dp = ALIGN((u32)pi->dma_region, dma_get_cache_alignment()); in mpsc_init_rings() 808 pi->rxr = dp; in mpsc_init_rings() 810 dp += MPSC_RXR_SIZE; in mpsc_init_rings() 813 pi->rxb = (u8 *)dp; in mpsc_init_rings() 815 dp += MPSC_RXB_SIZE; in mpsc_init_rings() 820 pi->txr = dp; in mpsc_init_rings() 822 dp += MPSC_TXR_SIZE; in mpsc_init_rings() 825 pi->txb = (u8 *)dp; in mpsc_init_rings() 832 dp = pi->rxr; in mpsc_init_rings() [all …]
|
/linux-4.4.14/lib/raid6/ |
D | recov_avx2.c | 25 u8 *p, *q, *dp, *dq; in raid6_2data_recov_avx2() local 36 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx2() 38 ptrs[disks-2] = dp; in raid6_2data_recov_avx2() 46 ptrs[faila] = dp; in raid6_2data_recov_avx2() 69 asm volatile("vpxor %0, %%ymm0, %%ymm0" : : "m" (dp[0])); in raid6_2data_recov_avx2() 70 asm volatile("vpxor %0, %%ymm8, %%ymm8" : : "m" (dp[32])); in raid6_2data_recov_avx2() 131 asm volatile("vmovdqa %%ymm0, %0" : "=m" (dp[0])); in raid6_2data_recov_avx2() 132 asm volatile("vmovdqa %%ymm8, %0" : "=m" (dp[32])); in raid6_2data_recov_avx2() 137 dp += 64; in raid6_2data_recov_avx2() 143 asm volatile("vpxor %0, %%ymm0, %%ymm0" : : "m" (*dp)); in raid6_2data_recov_avx2() [all …]
|
D | recov_ssse3.c | 25 u8 *p, *q, *dp, *dq; in raid6_2data_recov_ssse3() local 38 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_ssse3() 40 ptrs[disks-2] = dp; in raid6_2data_recov_ssse3() 48 ptrs[faila] = dp; in raid6_2data_recov_ssse3() 79 asm volatile("pxor %0,%%xmm0" : : "m" (dp[0])); in raid6_2data_recov_ssse3() 80 asm volatile("pxor %0,%%xmm8" : : "m" (dp[16])); in raid6_2data_recov_ssse3() 135 asm volatile("movdqa %%xmm0,%0" : "=m" (dp[0])); in raid6_2data_recov_ssse3() 136 asm volatile("movdqa %%xmm8,%0" : "=m" (dp[16])); in raid6_2data_recov_ssse3() 141 dp += 32; in raid6_2data_recov_ssse3() 147 asm volatile("pxor %0,%%xmm0" : : "m" (*dp)); in raid6_2data_recov_ssse3() [all …]
|
D | recov.c | 28 u8 *p, *q, *dp, *dq; in raid6_2data_recov_intx1() local 39 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1() 41 ptrs[disks-2] = dp; in raid6_2data_recov_intx1() 49 ptrs[faila] = dp; in raid6_2data_recov_intx1() 60 px = *p ^ *dp; in raid6_2data_recov_intx1() 63 *dp++ = db ^ px; /* Reconstructed A */ in raid6_2data_recov_intx1()
|
/linux-4.4.14/drivers/ata/ |
D | pata_atp867x.c | 124 struct atp867x_priv *dp = ap->private_data; in atp867x_set_dmamode() local 136 if (dp->pci66mhz && mode > ATP867X_IO_DMAMODE_UDMA_0 && in atp867x_set_dmamode() 141 b = ioread8(dp->dma_mode); in atp867x_set_dmamode() 149 iowrite8(b, dp->dma_mode); in atp867x_set_dmamode() 155 struct atp867x_priv *dp = ap->private_data; in atp867x_get_active_clocks_shifted() local 162 if (dp->pci66mhz) in atp867x_get_active_clocks_shifted() 217 struct atp867x_priv *dp = ap->private_data; in atp867x_set_piomode() local 232 b = ioread8(dp->dma_mode); in atp867x_set_piomode() 237 iowrite8(b, dp->dma_mode); in atp867x_set_piomode() 243 iowrite8(b, dp->slave_piospd); in atp867x_set_piomode() [all …]
|
/linux-4.4.14/net/rds/ |
D | iw_cm.c | 72 const struct rds_iw_connect_private *dp = NULL; in rds_iw_cm_connect_complete() local 78 dp = event->param.conn.private_data; in rds_iw_cm_connect_complete() 81 RDS_PROTOCOL(dp->dp_protocol_major, in rds_iw_cm_connect_complete() 82 dp->dp_protocol_minor)); in rds_iw_cm_connect_complete() 83 rds_iw_set_flow_control(conn, be32_to_cpu(dp->dp_credit)); in rds_iw_cm_connect_complete() 95 if (dp && dp->dp_ack_seq) in rds_iw_cm_connect_complete() 96 rds_send_drop_acked(conn, be64_to_cpu(dp->dp_ack_seq), NULL); in rds_iw_cm_connect_complete() 109 struct rds_iw_connect_private *dp, in rds_iw_cm_fill_conn_param() argument 119 if (dp) { in rds_iw_cm_fill_conn_param() 120 memset(dp, 0, sizeof(*dp)); in rds_iw_cm_fill_conn_param() [all …]
|
D | ib_cm.c | 97 const struct rds_ib_connect_private *dp = NULL; in rds_ib_cm_connect_complete() local 102 if (event->param.conn.private_data_len >= sizeof(*dp)) { in rds_ib_cm_connect_complete() 103 dp = event->param.conn.private_data; in rds_ib_cm_connect_complete() 106 if (dp->dp_protocol_major) { in rds_ib_cm_connect_complete() 108 RDS_PROTOCOL(dp->dp_protocol_major, in rds_ib_cm_connect_complete() 109 dp->dp_protocol_minor)); in rds_ib_cm_connect_complete() 110 rds_ib_set_flow_control(conn, be32_to_cpu(dp->dp_credit)); in rds_ib_cm_connect_complete() 156 if (dp) { in rds_ib_cm_connect_complete() 161 __be64 dp_ack_seq = get_unaligned(&dp->dp_ack_seq); in rds_ib_cm_connect_complete() 173 struct rds_ib_connect_private *dp, in rds_ib_cm_fill_conn_param() argument [all …]
|
/linux-4.4.14/fs/jfs/ |
D | jfs_dmap.c | 77 static void dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 86 static int dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, 88 static int dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, 91 static int dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 93 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, 104 static int dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, 106 static int dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, 114 static int dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, 116 static int dbInitDmap(struct dmap * dp, s64 blkno, int nblocks); 117 static int dbInitDmapTree(struct dmap * dp); [all …]
|
D | jfs_imap.c | 309 struct dinode *dp; in diRead() local 385 dp = (struct dinode *) mp->data; in diRead() 386 dp += rel_inode; in diRead() 388 if (ip->i_ino != le32_to_cpu(dp->di_number)) { in diRead() 391 } else if (le32_to_cpu(dp->di_nlink) == 0) in diRead() 395 rc = copy_from_dinode(dp, ip); in diRead() 433 struct dinode *dp; in diReadSpecial() local 466 dp = (struct dinode *) (mp->data); in diReadSpecial() 467 dp += inum % 8; /* 8 inodes per 4K page */ in diReadSpecial() 470 if ((copy_from_dinode(dp, ip)) != 0) { in diReadSpecial() [all …]
|
/linux-4.4.14/net/ax25/ |
D | ax25_in.c | 192 ax25_digi dp, reverse_dp; in ax25_rcv() local 209 if (ax25_addr_parse(skb->data, skb->len, &src, &dest, &dp, &type, &dama) == NULL) in ax25_rcv() 215 if (dp.lastrepeat + 1 < dp.ndigi) /* Not yet digipeated completely */ in ax25_rcv() 216 next_digi = &dp.calls[dp.lastrepeat + 1]; in ax25_rcv() 221 skb_pull(skb, ax25_addr_size(&dp)); in ax25_rcv() 224 if (ax25cmp(&dest, dev_addr) == 0 && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv() 228 if (!mine && ax25_listen_mine(&dest, dev) && dp.lastrepeat + 1 == dp.ndigi) in ax25_rcv() 232 if ((*skb->data & ~0x10) == AX25_UI && dp.lastrepeat + 1 == dp.ndigi) { in ax25_rcv() 304 ax25_digi_invert(&dp, &reverse_dp); in ax25_rcv() 331 ax25_return_dm(dev, &src, &dest, &dp); in ax25_rcv() [all …]
|
D | ax25_addr.c | 276 int ax25_addr_size(const ax25_digi *dp) in ax25_addr_size() argument 278 if (dp == NULL) in ax25_addr_size() 281 return AX25_ADDR_LEN * (2 + dp->ndigi); in ax25_addr_size()
|
/linux-4.4.14/fs/quota/ |
D | quota_v2.c | 26 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot); 27 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp); 28 static int v2r0_is_id(void *dp, struct dquot *dquot); 29 static void v2r1_mem2diskdqb(void *dp, struct dquot *dquot); 30 static void v2r1_disk2memdqb(struct dquot *dquot, void *dp); 31 static int v2r1_is_id(void *dp, struct dquot *dquot); 180 static void v2r0_disk2memdqb(struct dquot *dquot, void *dp) in v2r0_disk2memdqb() argument 182 struct v2r0_disk_dqblk *d = dp, empty; in v2r0_disk2memdqb() 196 if (!memcmp(&empty, dp, sizeof(struct v2r0_disk_dqblk))) in v2r0_disk2memdqb() 200 static void v2r0_mem2diskdqb(void *dp, struct dquot *dquot) in v2r0_mem2diskdqb() argument [all …]
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | iohelper.h | 47 static void ReadFiFo##name##_IO(void *p, u8 off, u8 *dp, int size) { \ 49 insb(hw->ap.port + off, dp, size); \ 51 static void WriteFiFo##name##_IO(void *p, u8 off, u8 *dp, int size) { \ 53 outsb(hw->ap.port + off, dp, size); \ 67 static void ReadFiFo##name##_IND(void *p, u8 off, u8 *dp, int size) { \ 70 insb(hw->ap.port, dp, size); \ 72 static void WriteFiFo##name##_IND(void *p, u8 off, u8 *dp, int size) { \ 75 outsb(hw->ap.port, dp, size); \ 87 static void ReadFiFo##name##_MIO(void *p, u8 off, u8 *dp, int size) { \ 90 *dp++ = readb(((typ *)hw->adr) + off); \ [all …]
|
/linux-4.4.14/drivers/video/fbdev/nvidia/ |
D | nv_of.c | 31 struct device_node *parent, *dp; in nvidia_probe_of_connector() local 45 for (dp = NULL; in nvidia_probe_of_connector() 46 (dp = of_get_next_child(parent, dp)) != NULL;) { in nvidia_probe_of_connector() 47 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector() 54 pedid = of_get_property(dp, in nvidia_probe_of_connector() 59 of_node_put(dp); in nvidia_probe_of_connector()
|
/linux-4.4.14/Documentation/devicetree/bindings/display/exynos/ |
D | exynos_dp.txt | 5 -dp-controller node 6 -dptx-phy node(defined inside dp-controller node) 15 For the Panel initialization, we read data from dp-controller node. 16 Required properties for dp-controller: 18 should be "samsung,exynos5-dp". 25 from common clock binding: handle to dp clock. 27 from common clock binding: Shall be "dp". 33 from general PHY binding: Should be "dp". 55 Optional properties for dp-controller: 77 dp-controller { [all …]
|
/linux-4.4.14/Documentation/networking/ |
D | driver.txt | 16 struct drv *dp = netdev_priv(dev); 18 lock_tx(dp); 21 if (TX_BUFFS_AVAIL(dp) <= (skb_shinfo(skb)->nr_frags + 1)) { 23 unlock_tx(dp); 32 if (TX_BUFFS_AVAIL(dp) <= (MAX_SKB_FRAGS + 1)) 36 unlock_tx(dp); 43 if (netif_queue_stopped(dp->dev) && 44 TX_BUFFS_AVAIL(dp) > (MAX_SKB_FRAGS + 1)) 45 netif_wake_queue(dp->dev); 50 if (TX_BUFFS_AVAIL(dp) <= 0) [all …]
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 169 ret = ipu_dp_setup_channel(ipu_plane->dp, in ipu_plane_mode_set() 178 ipu_dp_set_global_alpha(ipu_plane->dp, true, 0, true); in ipu_plane_mode_set() 181 ipu_dp_setup_channel(ipu_plane->dp, in ipu_plane_mode_set() 184 ipu_dp_set_window_pos(ipu_plane->dp, crtc_x, crtc_y); in ipu_plane_mode_set() 196 ipu_dp_set_global_alpha(ipu_plane->dp, false, 0, false); in ipu_plane_mode_set() 243 if (!IS_ERR_OR_NULL(ipu_plane->dp)) in ipu_plane_put_resources() 244 ipu_dp_put(ipu_plane->dp); in ipu_plane_put_resources() 270 ipu_plane->dp = ipu_dp_get(ipu_plane->ipu, ipu_plane->dp_flow); in ipu_plane_get_resources() 271 if (IS_ERR(ipu_plane->dp)) { in ipu_plane_get_resources() 272 ret = PTR_ERR(ipu_plane->dp); in ipu_plane_get_resources() [all …]
|
D | ipuv3-plane.h | 22 struct ipu_dp *dp; member 36 int dma, int dp, unsigned int possible_crtcs,
|
D | ipuv3-crtc.c | 351 int dp = -EINVAL; in ipu_crtc_init() local 361 if (pdata->dp >= 0) in ipu_crtc_init() 362 dp = IPU_DP_FLOW_SYNC_BG; in ipu_crtc_init() 363 ipu_crtc->plane[0] = ipu_plane_init(drm, ipu, pdata->dma[0], dp, 0, in ipu_crtc_init() 386 if (pdata->dp >= 0 && pdata->dma[1] > 0) { in ipu_crtc_init()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_diag.c | 331 struct ipath_diag_xpkt dp; in ipath_diagpkt_write() local 339 if (count == sizeof(dp)) { in ipath_diagpkt_write() 340 if (copy_from_user(&dp, data, sizeof(dp))) { in ipath_diagpkt_write() 349 dp.len = odp.len; in ipath_diagpkt_write() 350 dp.unit = odp.unit; in ipath_diagpkt_write() 351 dp.data = odp.data; in ipath_diagpkt_write() 352 dp.pbc_wd = 0; in ipath_diagpkt_write() 359 if (dp.len & 3) { in ipath_diagpkt_write() 364 plen = dp.len >> 2; in ipath_diagpkt_write() 366 dd = ipath_lookup(dp.unit); in ipath_diagpkt_write() [all …]
|
/linux-4.4.14/sound/ |
D | sound_firmware.c | 14 char *dp; in do_mod_firmware_load() local 29 dp = vmalloc(l); in do_mod_firmware_load() 30 if (dp == NULL) in do_mod_firmware_load() 36 if (kernel_read(filp, 0, dp, l) != l) in do_mod_firmware_load() 39 vfree(dp); in do_mod_firmware_load() 44 *fp = dp; in do_mod_firmware_load()
|
/linux-4.4.14/net/dccp/ccids/ |
D | ccid2.c | 234 struct dccp_sock *dp = dccp_sk(sk); in ccid2_hc_tx_packet_sent() local 262 hc->tx_seqh->ccid2s_seq = dp->dccps_gss; in ccid2_hc_tx_packet_sent() 312 if (dp->dccps_l_ack_ratio > 1) { in ccid2_hc_tx_packet_sent() 314 int denom = dp->dccps_l_ack_ratio * dp->dccps_l_ack_ratio - in ccid2_hc_tx_packet_sent() 315 dp->dccps_l_ack_ratio; in ccid2_hc_tx_packet_sent() 320 ccid2_change_l_ack_ratio(sk, dp->dccps_l_ack_ratio - 1); in ccid2_hc_tx_packet_sent() 430 struct dccp_sock *dp = dccp_sk(sk); in ccid2_new_ack() local 431 int r_seq_used = hc->tx_cwnd / dp->dccps_l_ack_ratio; in ccid2_new_ack() 433 if (hc->tx_cwnd < dp->dccps_l_seq_win && in ccid2_new_ack() 434 r_seq_used < dp->dccps_r_seq_win) { in ccid2_new_ack() [all …]
|
D | ccid3.c | 282 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_tx_send_packet() local 311 if (dp->dccps_syn_rtt) { in ccid3_hc_tx_send_packet() 312 ccid3_pr_debug("SYN RTT = %uus\n", dp->dccps_syn_rtt); in ccid3_hc_tx_send_packet() 313 hc->tx_rtt = dp->dccps_syn_rtt; in ccid3_hc_tx_send_packet() 349 dp->dccps_hc_tx_insert_options = 1; in ccid3_hc_tx_send_packet() 601 struct dccp_sock *dp = dccp_sk(sk); in ccid3_hc_rx_send_feedback() local 642 dp->dccps_hc_rx_insert_options = 1; in ccid3_hc_rx_send_feedback()
|
/linux-4.4.14/lib/mpi/ |
D | mpih-div.c | 59 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() argument 79 d = dp[0]; in mpihelp_divrem() 106 d1 = dp[1]; in mpihelp_divrem() 107 d0 = dp[0]; in mpihelp_divrem() 170 dX = dp[dsize - 1]; in mpihelp_divrem() 171 d1 = dp[dsize - 2]; in mpihelp_divrem() 176 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { in mpihelp_divrem() 177 mpihelp_sub_n(np, np, dp, dsize); in mpihelp_divrem() 222 cy_limb = mpihelp_submul_1(np, dp, dsize, q); in mpihelp_divrem() 225 mpihelp_add_n(np, np, dp, dsize); in mpihelp_divrem()
|
/linux-4.4.14/drivers/isdn/hardware/avm/ |
D | avmcard.h | 282 unsigned char *dp) in b1_get_slice() argument 287 while (i-- > 0) *dp++ = b1_get_byte(base); in b1_get_slice() 292 unsigned char *dp, unsigned int len) in b1_put_slice() argument 297 b1_put_byte(base, *dp++); in b1_put_slice() 410 unsigned char *dp) in t1_get_slice() argument 426 insb(base + B1_READ, dp, FIFO_INPBSIZE); in t1_get_slice() 427 dp += FIFO_INPBSIZE; in t1_get_slice() 434 insb(base + B1_READ, dp, i); in t1_get_slice() 438 dp += i; in t1_get_slice() 442 *dp++ = b1_get_byte(base); in t1_get_slice() [all …]
|
D | b1.c | 155 unsigned char *dp; in b1_load_t4file() local 159 dp = t4file->data; in b1_load_t4file() 163 if (copy_from_user(buf, dp, FWBUF_SIZE)) in b1_load_t4file() 166 memcpy(buf, dp, FWBUF_SIZE); in b1_load_t4file() 175 dp += FWBUF_SIZE; in b1_load_t4file() 179 if (copy_from_user(buf, dp, left)) in b1_load_t4file() 182 memcpy(buf, dp, left); in b1_load_t4file() 197 unsigned char *dp; in b1_load_config() local 201 dp = config->data; in b1_load_config() 211 if (copy_from_user(buf, dp, FWBUF_SIZE)) in b1_load_config() [all …]
|
D | c4.c | 198 unsigned char *dp; in c4_load_t4file() local 202 dp = t4file->data; in c4_load_t4file() 206 if (copy_from_user(&val, dp, sizeof(val))) in c4_load_t4file() 209 memcpy(&val, dp, sizeof(val)); in c4_load_t4file() 217 dp += sizeof(u32); in c4_load_t4file() 223 if (copy_from_user(&val, dp, left)) in c4_load_t4file() 226 memcpy(&val, dp, left); in c4_load_t4file() 256 static inline void _put_slice(void **pp, unsigned char *dp, unsigned int len) in _put_slice() argument 261 _put_byte(pp, *dp++); in _put_slice() 285 static inline u32 _get_slice(void **pp, unsigned char *dp) in _get_slice() argument [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | floppy_64.h | 529 static int __init ebus_fdthree_p(struct device_node *dp) in ebus_fdthree_p() argument 531 if (!strcmp(dp->name, "fdthree")) in ebus_fdthree_p() 533 if (!strcmp(dp->name, "floppy")) { in ebus_fdthree_p() 536 compat = of_get_property(dp, "compatible", NULL); in ebus_fdthree_p() 546 struct device_node *dp; in sun_floppy_init() local 557 for_each_node_by_name(dp, "SUNW,fdtwo") { in sun_floppy_init() 558 if (strcmp(dp->parent->name, "sbus")) in sun_floppy_init() 560 op = of_find_device_by_node(dp); in sun_floppy_init() 573 dp = NULL; in sun_floppy_init() 575 for (dp = ebus_dp->child; dp; dp = dp->sibling) { in sun_floppy_init() [all …]
|
D | floppy_32.h | 278 struct device_node *dp; in sun_floppy_init() local 325 for_each_node_by_name(dp, "SUNW,fdtwo") { in sun_floppy_init() 326 op = of_find_device_by_node(dp); in sun_floppy_init() 331 for_each_node_by_name(dp, "fd") { in sun_floppy_init() 332 op = of_find_device_by_node(dp); in sun_floppy_init()
|
D | prom.h | 59 void irq_trans_init(struct device_node *dp); 60 char *build_path_component(struct device_node *dp);
|
/linux-4.4.14/drivers/mtd/maps/ |
D | physmap_of.c | 80 struct device_node *dp = dev->dev.of_node; in obsolete_probe() local 88 of_probe = of_get_property(dp, "probe-type", NULL); in obsolete_probe() 115 static const char * const *of_get_probes(struct device_node *dp) in of_get_probes() argument 123 cp = of_get_property(dp, "linux,part-probe", &cplen); in of_get_probes() 157 struct device_node *dp = dev->dev.of_node; in of_flash_probe() local 178 reg_tuple_size = (of_n_addr_cells(dp) + of_n_size_cells(dp)) * sizeof(u32); in of_flash_probe() 180 of_property_read_string(dp, "linux,mtd-name", &mtd_name); in of_flash_probe() 188 p = of_get_property(dp, "reg", &count); in of_flash_probe() 197 map_indirect = of_property_read_bool(dp, "no-unaligned-direct-access"); in of_flash_probe() 214 if (of_address_to_resource(dp, i, &res)) { in of_flash_probe() [all …]
|
D | sun_uflash.c | 50 int uflash_devinit(struct platform_device *op, struct device_node *dp) in uflash_devinit() argument 59 dp->full_name, (unsigned long long)op->resource[0].start); in uflash_devinit() 75 up->name = of_get_property(dp, "model", NULL); in uflash_devinit() 112 struct device_node *dp = op->dev.of_node; in uflash_probe() local 117 if (!of_find_property(dp, "user", NULL)) in uflash_probe() 120 return uflash_devinit(op, dp); in uflash_probe()
|
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/ |
D | dscr_sysfs_test.c | 46 struct dirent *dp; in check_all_cpu_dscr_defaults() local 55 while ((dp = readdir(sysfs))) { in check_all_cpu_dscr_defaults() 56 if (!(dp->d_type & DT_DIR)) in check_all_cpu_dscr_defaults() 58 if (!strcmp(dp->d_name, "cpuidle")) in check_all_cpu_dscr_defaults() 60 if (!strstr(dp->d_name, "cpu")) in check_all_cpu_dscr_defaults() 63 sprintf(file, "%s%s/dscr", CPU_PATH, dp->d_name); in check_all_cpu_dscr_defaults()
|
/linux-4.4.14/arch/mips/math-emu/ |
D | ieee754dp.h | 39 #define DPSIGN(dp) (dp.sign) argument 40 #define DPBEXP(dp) (dp.bexp) argument 41 #define DPMANT(dp) (dp.mant) argument
|
/linux-4.4.14/drivers/scsi/ |
D | sun_esp.c | 125 struct device_node *dp; in esp_get_scsi_id() local 127 dp = op->dev.of_node; in esp_get_scsi_id() 128 esp->scsi_id = of_getintprop_default(dp, "initiator-id", 0xff); in esp_get_scsi_id() 132 esp->scsi_id = of_getintprop_default(dp, "scsi-initiator-id", 0xff); in esp_get_scsi_id() 147 struct device_node *dp; in esp_get_differential() local 149 dp = op->dev.of_node; in esp_get_differential() 150 if (of_find_property(dp, "differential", NULL)) in esp_get_differential() 159 struct device_node *bus_dp, *dp; in esp_get_clock_params() local 162 dp = op->dev.of_node; in esp_get_clock_params() 163 bus_dp = dp->parent; in esp_get_clock_params() [all …]
|
/linux-4.4.14/fs/ |
D | binfmt_misc.c | 525 char *dp = page; in entry_status() local 536 dp += sprintf(dp, "%s\ninterpreter %s\n", status, e->interpreter); in entry_status() 539 dp += sprintf(dp, "flags: "); in entry_status() 541 *dp++ = 'P'; in entry_status() 543 *dp++ = 'O'; in entry_status() 545 *dp++ = 'C'; in entry_status() 546 *dp++ = '\n'; in entry_status() 549 sprintf(dp, "extension .%s\n", e->magic); in entry_status() 551 dp += sprintf(dp, "offset %i\nmagic ", e->offset); in entry_status() 552 dp = bin2hex(dp, e->magic, e->size); in entry_status() [all …]
|
/linux-4.4.14/arch/c6x/kernel/ |
D | process.c | 142 unsigned long dp; in copy_thread() local 144 asm volatile ("mv .S2 b14,%0\n" : "=b"(dp)); in copy_thread() 146 thread_saved_dp(p) = dp; in copy_thread() 148 childregs->dp = dp; in copy_thread()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_lookup.c | 107 vxfs_find_entry(struct inode *ip, struct dentry *dp, struct page **ppp) in vxfs_find_entry() argument 111 const char *name = dp->d_name.name; in vxfs_find_entry() 112 int namelen = dp->d_name.len; in vxfs_find_entry() 168 vxfs_inode_by_name(struct inode *dip, struct dentry *dp) in vxfs_inode_by_name() argument 174 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name() 199 vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags) in vxfs_lookup() argument 204 if (dp->d_name.len > VXFS_NAMELEN) in vxfs_lookup() 207 ino = vxfs_inode_by_name(dip, dp); in vxfs_lookup() 213 d_add(dp, ip); in vxfs_lookup()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 553 struct qib_diag_xpkt dp; in qib_diagpkt_write() local 559 if (count != sizeof(dp)) { in qib_diagpkt_write() 563 if (copy_from_user(&dp, data, sizeof(dp))) { in qib_diagpkt_write() 568 dd = qib_lookup(dp.unit); in qib_diagpkt_write() 579 if (dp.version != _DIAG_XPKT_VERS) { in qib_diagpkt_write() 581 dp.version); in qib_diagpkt_write() 586 if (dp.len & 3) { in qib_diagpkt_write() 590 if (!dp.port || dp.port > dd->num_pports) { in qib_diagpkt_write() 594 ppd = &dd->pport[dp.port - 1]; in qib_diagpkt_write() 603 if (dp.len > ppd->ibmaxlen - maxlen_reserve) { in qib_diagpkt_write() [all …]
|
/linux-4.4.14/crypto/async_tx/ |
D | async_raid6_recov.c | 203 struct page *p, *q, *g, *dp, *dq; in __2data_recov_5() local 232 dp = blocks[faila]; in __2data_recov_5() 236 tx = async_memcpy(dp, g, 0, 0, bytes, submit); in __2data_recov_5() 241 srcs[0] = dp; in __2data_recov_5() 245 tx = async_xor(dp, srcs, 0, 2, bytes, submit); in __2data_recov_5() 255 srcs[0] = dp; in __2data_recov_5() 263 srcs[0] = dp; in __2data_recov_5() 267 tx = async_xor(dp, srcs, 0, 2, bytes, submit); in __2data_recov_5() 277 struct page *p, *q, *dp, *dq; in __2data_recov_n() local 292 dp = blocks[faila]; in __2data_recov_n() [all …]
|
/linux-4.4.14/drivers/s390/crypto/ |
D | zcrypt_msgtype50.c | 124 unsigned char dp[64]; member 137 unsigned char dp[128]; member 150 unsigned char dp[256]; member 248 unsigned char *p, *q, *dp, *dq, *u, *inp; in ICACRT_msg_to_type50CRT_msg() local 268 dp = crb1->dp + sizeof(crb1->dp) - short_len; in ICACRT_msg_to_type50CRT_msg() 281 dp = crb2->dp + sizeof(crb2->dp) - short_len; in ICACRT_msg_to_type50CRT_msg() 295 dp = crb3->dp + sizeof(crb3->dp) - short_len; in ICACRT_msg_to_type50CRT_msg() 308 copy_from_user(dp, crt->bp_key + MSGTYPE_ADJUSTMENT, short_len) || in ICACRT_msg_to_type50CRT_msg()
|
D | zcrypt_cex2a.h | 94 unsigned char dp[64]; member 107 unsigned char dp[128]; member 120 unsigned char dp[256]; member
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | tei.c | 490 u_char *dp = arg; in tei_id_assign() local 493 ri = ((unsigned int) *dp++ << 8); in tei_id_assign() 494 ri += *dp++; in tei_id_assign() 495 dp++; in tei_id_assign() 496 tei = *dp >> 1; in tei_id_assign() 519 u_char *dp = arg; in tei_id_test_dup() local 522 ri = ((unsigned int) *dp++ << 8); in tei_id_test_dup() 523 ri += *dp++; in tei_id_test_dup() 524 dp++; in tei_id_test_dup() 525 tei = *dp >> 1; in tei_id_test_dup() [all …]
|
/linux-4.4.14/drivers/staging/fwserial/ |
D | dma_fifo.h | 74 static inline void dp_mark_completed(struct dma_pending *dp) in dp_mark_completed() argument 76 dp->data += 1; in dp_mark_completed() 79 static inline bool dp_is_completed(struct dma_pending *dp) in dp_is_completed() argument 81 return (unsigned long)dp->data & 1UL; in dp_is_completed()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-if.c | 206 struct device_node *dp = pdev->dev.of_node; in isp1760_plat_probe() local 209 if (of_device_is_compatible(dp, "nxp,usb-isp1761")) in isp1760_plat_probe() 213 of_property_read_u32(dp, "bus-width", &bus_width); in isp1760_plat_probe() 217 if (of_property_read_bool(dp, "port1-otg")) in isp1760_plat_probe() 220 if (of_property_read_bool(dp, "analog-oc")) in isp1760_plat_probe() 223 if (of_property_read_bool(dp, "dack-polarity")) in isp1760_plat_probe() 226 if (of_property_read_bool(dp, "dreq-polarity")) in isp1760_plat_probe()
|
/linux-4.4.14/net/sched/ |
D | sch_gred.c | 157 u16 dp = tc_index_to_dp(skb); in gred_enqueue() local 159 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue() 160 dp = t->def; in gred_enqueue() 162 q = t->tab[dp]; in gred_enqueue() 177 skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; in gred_enqueue() 256 u16 dp = tc_index_to_dp(skb); in gred_dequeue() local 258 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_dequeue() 288 u16 dp = tc_index_to_dp(skb); in gred_drop() local 290 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_drop() 384 static inline int gred_change_vq(struct Qdisc *sch, int dp, in gred_change_vq() argument [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4state.c | 695 struct nfs4_delegation *dp; in alloc_init_deleg() local 704 dp = delegstateid(nfs4_alloc_stid(clp, deleg_slab)); in alloc_init_deleg() 705 if (dp == NULL) in alloc_init_deleg() 708 dp->dl_stid.sc_free = nfs4_free_deleg; in alloc_init_deleg() 714 dp->dl_stid.sc_stateid.si_generation = 1; in alloc_init_deleg() 715 INIT_LIST_HEAD(&dp->dl_perfile); in alloc_init_deleg() 716 INIT_LIST_HEAD(&dp->dl_perclnt); in alloc_init_deleg() 717 INIT_LIST_HEAD(&dp->dl_recall_lru); in alloc_init_deleg() 718 dp->dl_clnt_odstate = odstate; in alloc_init_deleg() 720 dp->dl_type = NFS4_OPEN_DELEGATE_READ; in alloc_init_deleg() [all …]
|
/linux-4.4.14/drivers/mtd/ |
D | ofpart.c | 153 struct device_node *dp; in parse_ofoldpart_partitions() local 163 dp = data->of_node; in parse_ofoldpart_partitions() 164 if (!dp) in parse_ofoldpart_partitions() 167 part = of_get_property(dp, "partitions", &plen); in parse_ofoldpart_partitions() 172 dp->full_name); in parse_ofoldpart_partitions() 180 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
|
/linux-4.4.14/drivers/net/ |
D | ifb.c | 135 struct ifb_dev_private *dp = netdev_priv(dev); in ifb_stats64() local 136 struct ifb_q_private *txp = dp->tx_private; in ifb_stats64() 166 struct ifb_dev_private *dp = netdev_priv(dev); in ifb_dev_init() local 173 dp->tx_private = txp; in ifb_dev_init() 204 struct ifb_dev_private *dp = netdev_priv(dev); in ifb_dev_free() local 205 struct ifb_q_private *txp = dp->tx_private; in ifb_dev_free() 213 kfree(dp->tx_private); in ifb_dev_free() 240 struct ifb_dev_private *dp = netdev_priv(dev); in ifb_xmit() local 242 struct ifb_q_private *txp = dp->tx_private + skb_get_queue_mapping(skb); in ifb_xmit()
|
/linux-4.4.14/fs/openpromfs/ |
D | inode.c | 182 struct device_node *dp, *child; in openpromfs_lookup() local 193 dp = oi->u.node; in openpromfs_lookup() 200 child = dp->child; in openpromfs_lookup() 214 prop = dp->properties; in openpromfs_lookup() 248 if (!strcmp(dp->name, "options") && (len == 17) && in openpromfs_lookup() 267 struct device_node *dp = oi->u.node; in openpromfs_readdir() local 281 (dp->parent == NULL ? in openpromfs_readdir() 283 dp->parent->unique_id), DT_DIR)) in openpromfs_readdir() 290 child = dp->child; in openpromfs_readdir() 307 prop = dp->properties; in openpromfs_readdir()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | diag.c | 371 static ssize_t diagpkt_send(struct diag_pkt *dp) in diagpkt_send() argument 383 dd = hfi1_lookup(dp->unit); in diagpkt_send() 394 if (dp->version != _DIAG_PKT_VERS) { in diagpkt_send() 396 dp->version); in diagpkt_send() 402 if (dp->len & 3) { in diagpkt_send() 408 if (dp->port != 1) { in diagpkt_send() 414 if (dp->sw_index >= dd->num_send_contexts) { in diagpkt_send() 419 if (dd->send_contexts[dp->sw_index].type != SC_KERNEL) { in diagpkt_send() 424 sc = dd->send_contexts[dp->sw_index].sc; in diagpkt_send() 436 tmpbuf = vmalloc(dp->len); in diagpkt_send() [all …]
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_disc.c | 96 struct fc_disc_port *dp, *next; in fc_disc_recv_rscn_req() local 135 dp = kzalloc(sizeof(*dp), GFP_KERNEL); in fc_disc_recv_rscn_req() 136 if (!dp) { in fc_disc_recv_rscn_req() 140 dp->lp = lport; in fc_disc_recv_rscn_req() 141 dp->port_id = ntoh24(pp->rscn_fid); in fc_disc_recv_rscn_req() 142 list_add_tail(&dp->peers, &disc_ports); in fc_disc_recv_rscn_req() 161 list_for_each_entry_safe(dp, next, &disc_ports, peers) { in fc_disc_recv_rscn_req() 162 list_del(&dp->peers); in fc_disc_recv_rscn_req() 164 redisc = fc_disc_single(lport, dp); in fc_disc_recv_rscn_req() 165 kfree(dp); in fc_disc_recv_rscn_req() [all …]
|
/linux-4.4.14/arch/powerpc/math-emu/ |
D | math_efp.c | 111 u64 dp[1]; member 292 FP_UNPACK_DP(DB, vb.dp); in do_spe_mathemu() 352 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu() 354 FP_UNPACK_DP(DB, vb.dp); in do_spe_mathemu() 357 FP_UNPACK_DP(DA, va.dp); in do_spe_mathemu() 368 vc.dp[0] = va.dp[0] & ~SIGN_BIT_D; in do_spe_mathemu() 372 vc.dp[0] = va.dp[0] | SIGN_BIT_D; in do_spe_mathemu() 376 vc.dp[0] = va.dp[0] ^ SIGN_BIT_D; in do_spe_mathemu() 434 vc.dp[0] = 0; in do_spe_mathemu() 437 FP_TO_INT_D(vc.dp[0], DB, 64, in do_spe_mathemu() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | isp1362.h | 689 u8 *dp = buf; in isp1362_read_fifo() local 699 readsl(isp1362_hcd->data_reg, dp, len >> 2); in isp1362_read_fifo() 700 dp += len & ~3; in isp1362_read_fifo() 706 insw((unsigned long)isp1362_hcd->data_reg, dp, len >> 1); in isp1362_read_fifo() 707 dp += len & ~1; in isp1362_read_fifo() 715 (u8)data, (u32)dp); in isp1362_read_fifo() 716 *dp = (u8)data; in isp1362_read_fifo() 722 u8 *dp = buf; in isp1362_write_fifo() local 728 if ((unsigned long)dp & 0x1) { in isp1362_write_fifo() 731 data = *dp++; in isp1362_write_fifo() [all …]
|
D | max3421-hcd.c | 1188 char ubuf[512], *dp, *end; in dump_eps() local 1198 dp = ubuf; in dump_eps() 1199 end = dp + sizeof(ubuf); in dump_eps() 1200 *dp = '\0'; in dump_eps() 1203 ret = snprintf(dp, end - dp, " %p(%d.%s %d/%d)", urb, in dump_eps() 1208 if (ret < 0 || ret >= end - dp) in dump_eps() 1210 dp += ret; in dump_eps() 1292 char sbuf[16 * 16], *dp, *end; in max3421_handle_irqs() local 1296 dp = sbuf; in max3421_handle_irqs() 1298 *dp = '\0'; in max3421_handle_irqs() [all …]
|
/linux-4.4.14/Documentation/DocBook/ |
D | gpu.xml.db | 342 API-struct-drm-dp-aux-msg 343 API-struct-drm-dp-aux 344 API-drm-dp-dpcd-readb 345 API-drm-dp-dpcd-writeb 346 API-drm-dp-dpcd-read 347 API-drm-dp-dpcd-write 348 API-drm-dp-dpcd-read-link-status 349 API-drm-dp-link-probe 350 API-drm-dp-link-power-up 351 API-drm-dp-link-power-down [all …]
|
/linux-4.4.14/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 65 static int radeon_parse_montype_prop(struct device_node *dp, u8 **out_EDID, in radeon_parse_montype_prop() argument 76 pmt = of_get_property(dp, "display-type", NULL); in radeon_parse_montype_prop() 95 pedid = of_get_property(dp, propnames[i], NULL); in radeon_parse_montype_prop() 103 if (pedid == NULL && dp->parent && (hdno != -1)) in radeon_parse_montype_prop() 104 pedid = of_get_property(dp->parent, in radeon_parse_montype_prop() 106 if (pedid == NULL && dp->parent && (hdno == 0)) in radeon_parse_montype_prop() 107 pedid = of_get_property(dp->parent, "EDID", NULL); in radeon_parse_montype_prop() 121 struct device_node *dp; in radeon_probe_OF_head() local 125 dp = rinfo->of_node; in radeon_probe_OF_head() 126 while (dp == NULL) in radeon_probe_OF_head() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
D | nvram.c | 507 static int __init core99_nvram_setup(struct device_node *dp, unsigned long addr) in core99_nvram_setup() argument 546 if (of_device_is_compatible(dp, "amd-0137")) { in core99_nvram_setup() 558 struct device_node *dp; in pmac_nvram_init() local 565 dp = of_find_node_by_name(NULL, "nvram"); in pmac_nvram_init() 566 if (dp == NULL) { in pmac_nvram_init() 572 if (of_address_to_resource(dp, 0, &r1) == 0) { in pmac_nvram_init() 575 if (of_address_to_resource(dp, 1, &r2) == 0) { in pmac_nvram_init() 581 is_core_99 = of_device_is_compatible(dp, "nvram,flash"); in pmac_nvram_init() 583 err = core99_nvram_setup(dp, r1.start); in pmac_nvram_init() 615 of_node_put(dp); in pmac_nvram_init()
|
/linux-4.4.14/drivers/misc/mic/card/ |
D | mic_device.c | 53 mdrv->dp = mic_card_map(mdev, dp_dma_addr, MIC_DP_SIZE); in mic_dp_init() 54 if (!mdrv->dp) { in mic_dp_init() 58 bootparam = mdrv->dp; in mic_dp_init() 70 mic_card_unmap(&g_drv->mdev, g_drv->dp); in mic_dp_uninit() 315 bootparam = mdrv->dp; in mic_driver_init() 320 NULL, mdrv->dp, mdrv->dma_ch, in mic_driver_init()
|
/linux-4.4.14/fs/ntfs/ |
D | compress.c | 185 struct page *dp; /* Current destination page being worked on. */ in ntfs_decompress() local 230 dp = dest_pages[di]; in ntfs_decompress() 235 handle_bounds_compressed_page(dp, i_size, in ntfs_decompress() 237 flush_dcache_page(dp); in ntfs_decompress() 238 kunmap(dp); in ntfs_decompress() 239 SetPageUptodate(dp); in ntfs_decompress() 240 unlock_page(dp); in ntfs_decompress() 244 page_cache_release(dp); in ntfs_decompress() 271 dp = dest_pages[*dest_index]; in ntfs_decompress() 272 if (!dp) { in ntfs_decompress() [all …]
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | io.h | 233 unsigned char *dp = dst; in __insb() local 236 *dp++ = platform_inb(port); in __insb() 242 unsigned short *dp = dst; in __insw() local 245 put_unaligned(platform_inw(port), dp++); in __insw() 251 unsigned int *dp = dst; in __insl() local 254 put_unaligned(platform_inl(port), dp++); in __insl()
|
/linux-4.4.14/drivers/ide/ |
D | au1xxx-ide.c | 61 au1x_ddma_desc_t *dp; in auide_insw() local 69 dp = ctp->cur_ptr; in auide_insw() 70 while (dp->dscr_cmd0 & DSCR_CMD0_V) in auide_insw() 72 ctp->cur_ptr = au1xxx_ddma_get_nextptr_virt(dp); in auide_insw() 79 au1x_ddma_desc_t *dp; in auide_outsw() local 87 dp = ctp->cur_ptr; in auide_outsw() 88 while (dp->dscr_cmd0 & DSCR_CMD0_V) in auide_outsw() 90 ctp->cur_ptr = au1xxx_ddma_get_nextptr_virt(dp); in auide_outsw()
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | dir.c | 154 struct lu_dirpage *dp; in ll_dir_filler() local 219 dp = kmap(page); in ll_dir_filler() 220 hash = le64_to_cpu(dp->ldp_hash_start); in ll_dir_filler() 281 struct lu_dirpage *dp; in ll_dir_page_locate() local 295 dp = kmap(page); in ll_dir_page_locate() 297 *start = le64_to_cpu(dp->ldp_hash_start) >> 32; in ll_dir_page_locate() 298 *end = le64_to_cpu(dp->ldp_hash_end) >> 32; in ll_dir_page_locate() 301 *start = le64_to_cpu(dp->ldp_hash_start); in ll_dir_page_locate() 302 *end = le64_to_cpu(dp->ldp_hash_end); in ll_dir_page_locate() 319 le32_to_cpu(dp->ldp_flags) & LDF_COLLIDE); in ll_dir_page_locate() [all …]
|
/linux-4.4.14/drivers/tty/ |
D | n_gsm.c | 735 u8 *dp = msg->data; in __gsm_data_queue() local 736 u8 *fcs = dp + msg->len; in __gsm_data_queue() 741 *--dp = (msg->len << 1) | EA; in __gsm_data_queue() 743 *--dp = (msg->len >> 7); /* bits 7 - 15 */ in __gsm_data_queue() 744 *--dp = (msg->len & 127) << 1; /* bits 0 - 6 */ in __gsm_data_queue() 748 *--dp = msg->ctrl; in __gsm_data_queue() 750 *--dp = (msg->addr << 2) | 2 | EA; in __gsm_data_queue() 752 *--dp = (msg->addr << 2) | EA; in __gsm_data_queue() 753 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue() 764 msg->len += (msg->data - dp) + 1; in __gsm_data_queue() [all …]
|
/linux-4.4.14/drivers/usb/mon/ |
D | mon_text.c | 194 struct mon_iso_desc *dp; in mon_text_event() local 231 dp = ep->isodesc; in mon_text_event() 233 dp->status = fp->status; in mon_text_event() 234 dp->offset = fp->offset; in mon_text_event() 235 dp->length = (ev_type == 'S') ? in mon_text_event() 238 dp++; in mon_text_event() 558 const struct mon_iso_desc *dp; in mon_text_read_isodesc() local 567 dp = ep->isodesc; in mon_text_read_isodesc() 570 " %d:%u:%u", dp->status, dp->offset, dp->length); in mon_text_read_isodesc() 571 dp++; in mon_text_read_isodesc()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | exynos5.dtsi | 101 dp: dp-controller@145B0000 { label 102 compatible = "samsung,exynos5-dp";
|
/linux-4.4.14/include/video/ |
D | imx-ipu-v3.h | 257 int ipu_dp_enable_channel(struct ipu_dp *dp); 258 void ipu_dp_disable_channel(struct ipu_dp *dp); 260 int ipu_dp_setup_channel(struct ipu_dp *dp, 263 int ipu_dp_set_global_alpha(struct ipu_dp *dp, bool enable, u8 alpha, 346 int dp; member
|
/linux-4.4.14/drivers/misc/mic/host/ |
D | mic_main.c | 75 mdev->dp = kzalloc(MIC_DP_SIZE, GFP_KERNEL); in mic_dp_init() 76 if (!mdev->dp) in mic_dp_init() 80 mdev->dp, MIC_DP_SIZE); in mic_dp_init() 82 kfree(mdev->dp); in mic_dp_init() 96 kfree(mdev->dp); in mic_dp_uninit()
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | exynos5260-clock.txt | 33 - "phyclk_dptx_phy_ch3_txd_clk" - dp phy clock for channel 3 34 - "phyclk_dptx_phy_ch2_txd_clk" - dp phy clock for channel 2 35 - "phyclk_dptx_phy_ch1_txd_clk" - dp phy clock for channel 1 36 - "phyclk_dptx_phy_ch0_txd_clk" - dp phy clock for channel 0 40 - "phyclk_dptx_phy_o_ref_clk_24m" - dp phy reference clock
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_dp_mst.c | 39 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_mst_compute_config() 104 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_disable_dp() 121 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_post_disable_dp() 144 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_pre_enable_dp() 214 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_mst_enable_dp() 559 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_create_fake_mst_encoders() 569 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_mst_encoder_init() 589 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_mst_encoder_cleanup()
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvsi_lib.c | 232 struct hvsi_data dp; in hvsilib_put_chars() local 238 dp.hdr.type = VS_DATA_PACKET_HEADER; in hvsilib_put_chars() 239 dp.hdr.len = adjcount + sizeof(struct hvsi_header); in hvsilib_put_chars() 240 memcpy(dp.data, buf, adjcount); in hvsilib_put_chars() 241 rc = hvsi_send_packet(pv, &dp.hdr); in hvsilib_put_chars()
|
/linux-4.4.14/drivers/misc/mic/bus/ |
D | scif_bus.h | 60 void *dp; member 119 void *dp, void __iomem *rdp,
|
D | scif_bus.c | 143 struct mic_mw *mmio, struct mic_mw *aper, void *dp, in scif_register_device() argument 166 sdev->dp = dp; in scif_register_device()
|
/linux-4.4.14/sound/core/seq/ |
D | seq_ports.h | 124 struct snd_seq_client *d, struct snd_seq_client_port *dp, 130 struct snd_seq_client *d, struct snd_seq_client_port *dp,
|
/linux-4.4.14/drivers/input/misc/ |
D | sparcspkr.c | 189 struct device_node *dp; in bbc_beep_probe() local 200 dp = of_find_node_by_path("/"); in bbc_beep_probe() 202 if (!dp) in bbc_beep_probe() 206 info->clock_freq = of_getintprop_default(dp, "clock-frequency", 0); in bbc_beep_probe()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grukdump.c | 37 static int gru_user_copy_handle(void __user **dp, void *s) in gru_user_copy_handle() argument 39 if (copy_to_user(*dp, s, GRU_HANDLE_BYTES)) in gru_user_copy_handle() 41 *dp += GRU_HANDLE_BYTES; in gru_user_copy_handle()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | conn.c | 83 info->dp = (nvbios_rd08(bios, data + 0x01) & 0xc0) >> 6; in nvbios_connEp() 87 info->dp |= nvbios_rd08(bios, data + 0x02) & 0x0c; in nvbios_connEp()
|
/linux-4.4.14/drivers/gpu/drm/msm/edp/ |
D | edp_aux.c | 91 u8 *dp; in edp_msg_fifo_rx() local 98 dp = msg->buffer; in edp_msg_fifo_rx() 104 dp[i] = (u8)((data >> 8) & 0xff); in edp_msg_fifo_rx()
|
/linux-4.4.14/drivers/nubus/ |
D | nubus.c | 916 unsigned char dp; in nubus_probe_slot() local 931 dp = *rp; in nubus_probe_slot() 932 if(dp == 0) in nubus_probe_slot() 938 if ((((dp>>4) ^ dp) & 0x0F) != 0x0F) in nubus_probe_slot() 942 if ((dp & 0x0F) >= (1<<i)) in nubus_probe_slot() 946 nubus_add_board(slot, dp); in nubus_probe_slot()
|
/linux-4.4.14/fs/proc/ |
D | generic.c | 333 static int proc_register(struct proc_dir_entry * dir, struct proc_dir_entry * dp) in proc_register() argument 337 ret = proc_alloc_inum(&dp->low_ino); in proc_register() 342 dp->parent = dir; in proc_register() 343 if (pde_subdir_insert(dir, dp) == false) { in proc_register() 345 dir->name, dp->name); in proc_register() 347 proc_free_inum(dp->low_ino); in proc_register()
|
/linux-4.4.14/include/linux/ |
D | mISDNif.h | 549 _alloc_mISDN_skb(u_int prim, u_int id, u_int len, void *dp, gfp_t gfp_mask) in _alloc_mISDN_skb() argument 557 memcpy(skb_put(skb, len), dp, len); in _alloc_mISDN_skb() 566 u_int id, u_int len, void *dp, gfp_t gfp_mask) in _queue_data() argument 572 skb = _alloc_mISDN_skb(prim, id, len, dp, gfp_mask); in _queue_data()
|