/drivers/mfd/ |
D | ab8500-debugfs.c | 119 u8 last; member 172 .last = 0x02, 176 .last = 0x42, 180 .last = 0x81, 189 .last = 0x0D, 193 .last = 0x17, 197 .last = 0x30, 201 .last = 0x33, 210 .last = 0x00, 214 .last = 0x10, [all …]
|
/drivers/infiniband/hw/usnic/ |
D | usnic_uiom_interval_tree.c | 43 #define LAST(node) ((node)->last) 70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument 79 interval->last = last; in usnic_uiom_interval_node_alloc() 104 unsigned long last, in find_intervals_intersection_sorted() argument 111 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted() 113 node = usnic_uiom_interval_tree_iter_next(node, start, last)) in find_intervals_intersection_sorted() 119 int usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, in usnic_uiom_get_intervals_diff() argument 131 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff() 147 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff() 149 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff() [all …]
|
D | usnic_uiom_interval_tree.h | 43 unsigned long last; member 58 unsigned long last); 61 unsigned long start, unsigned long last); 67 unsigned long start, unsigned long last, 75 unsigned long start, unsigned long last, 82 unsigned long last, int flags,
|
/drivers/video/fbdev/core/ |
D | sysfillrect.c | 28 unsigned long first, last; in bitfill_aligned() local 34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned() 38 if (last) in bitfill_aligned() 39 first &= last; in bitfill_aligned() 67 if (last) in bitfill_aligned() 68 *dst = comp(pat, *dst, last); in bitfill_aligned() 84 unsigned long first, last; in bitfill_unaligned() local 90 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned() 94 if (last) in bitfill_unaligned() 95 first &= last; in bitfill_unaligned() [all …]
|
D | cfbfillrect.c | 38 unsigned long first, last; in bitfill_aligned() local 44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned() 48 if (last) in bitfill_aligned() 49 first &= last; in bitfill_aligned() 78 if (last) in bitfill_aligned() 79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); in bitfill_aligned() 95 unsigned long first, last; in bitfill_unaligned() local 101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned() 105 if (last) in bitfill_unaligned() 106 first &= last; in bitfill_unaligned() [all …]
|
D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy() 42 if (last) in bitcpy() 43 first &= last; in bitcpy() 72 if (last) in bitcpy() 73 *dst = comp(*src, *dst, last); in bitcpy() 85 if (last) in bitcpy() 86 first &= last; in bitcpy() 159 *dst = comp(d0, *dst, last); in bitcpy() 174 unsigned long first, last; in bitcpy_rev() local [all …]
|
D | cfbcopyarea.c | 50 unsigned long first, last; in bitcpy() local 64 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitcpy() 71 if (last) in bitcpy() 72 first &= last; in bitcpy() 102 if (last) in bitcpy() 103 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst); in bitcpy() 115 if (last) in bitcpy() 116 first &= last; in bitcpy() 201 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); in bitcpy() 216 unsigned long first, last; in bitcpy_rev() local [all …]
|
D | fbsysfs.c | 224 char ** last = NULL; in store_bpp() local 228 var.bits_per_pixel = simple_strtoul(buf, last, 0); in store_bpp() 247 char **last = NULL; in store_rotate() local 251 var.rotate = simple_strtoul(buf, last, 0); in store_rotate() 274 char *last = NULL; in store_virtual() local 278 var.xres_virtual = simple_strtoul(buf, &last, 0); in store_virtual() 279 last++; in store_virtual() 280 if (last - buf >= count) in store_virtual() 282 var.yres_virtual = simple_strtoul(last, &last, 0); in store_virtual() 309 char *last = NULL; in store_blank() local [all …]
|
/drivers/net/team/ |
D | team_mode_broadcast.c | 22 struct team_port *last = NULL; in bc_transmit() local 29 if (last) { in bc_transmit() 32 ret = !team_dev_queue_xmit(team, last, in bc_transmit() 38 last = cur; in bc_transmit() 41 if (last) { in bc_transmit() 42 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
|
/drivers/infiniband/hw/cxgb4/ |
D | id_table.c | 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc() 57 alloc->last += prandom_u32() % RANDOM_SKIP; in c4iw_id_alloc() 59 alloc->last = obj + 1; in c4iw_id_alloc() 60 if (alloc->last >= alloc->max) in c4iw_id_alloc() 61 alloc->last = 0; in c4iw_id_alloc() 91 alloc->last = prandom_u32() % RANDOM_SKIP; in c4iw_id_table_alloc() 93 alloc->last = 0; in c4iw_id_table_alloc()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | image.c | 54 image->last = pcir.last; in nvbios_imagen() 60 image->last = npde.last; in nvbios_imagen() 62 image->last = true; in nvbios_imagen() 74 if (image->last || !nvbios_imagen(bios, image)) in nvbios_image()
|
/drivers/isdn/i4l/ |
D | isdn_net.h | 117 nlp->last = lp->last; in isdn_net_add_to_bundle() 118 lp->last->next = nlp; in isdn_net_add_to_bundle() 119 lp->last = nlp; in isdn_net_add_to_bundle() 139 lp->last->next = lp->next; in isdn_net_rm_from_bundle() 140 lp->next->last = lp->last; in isdn_net_rm_from_bundle() 147 lp->next = lp->last = lp; /* (re)set own pointers */ in isdn_net_rm_from_bundle()
|
/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 65 unsigned last; in qib_disarm_piobufs() local 67 last = first + cnt; in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 84 unsigned last; in qib_disarm_piobufs_ifneeded() local 87 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded() 104 for (i = rcd->pio_base; i < last; i++) { in qib_disarm_piobufs_ifneeded() 286 u32 first, u32 last) in qib_getsendbuf_range() argument 297 nbufs = last - first + 1; /* number in range to check */ in qib_getsendbuf_range() 315 if (dd->last_pio >= first && dd->last_pio <= last) in qib_getsendbuf_range() 319 nbufs = last - dd->min_kernel_pio + 1; in qib_getsendbuf_range() [all …]
|
/drivers/infiniband/core/ |
D | umem_rbtree.c | 76 u64 start, u64 last, in rbt_ib_umem_for_each_in_range() argument 84 if (unlikely(start == last)) in rbt_ib_umem_for_each_in_range() 87 for (node = rbt_ib_umem_iter_first(root, start, last - 1); node; in rbt_ib_umem_for_each_in_range() 88 node = rbt_ib_umem_iter_next(node, start, last - 1)) { in rbt_ib_umem_for_each_in_range() 90 ret_val = cb(umem->umem, start, last, cookie) || ret_val; in rbt_ib_umem_for_each_in_range()
|
/drivers/hwtracing/stm/ |
D | policy.c | 96 unsigned int first, last; in stp_policy_node_masters_store() local 101 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_masters_store() 110 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_masters_store() 112 last > stm->data->sw_end) { in stp_policy_node_masters_store() 119 policy_node->last_master = last; in stp_policy_node_masters_store() 144 unsigned int first, last; in stp_policy_node_channels_store() local 149 if (sscanf(p, "%u %u", &first, &last) != 2) in stp_policy_node_channels_store() 157 if (first > INT_MAX || last > INT_MAX || first > last || in stp_policy_node_channels_store() 158 last >= stm->data->sw_nchannels) { in stp_policy_node_channels_store() 165 policy_node->last_channel = last; in stp_policy_node_channels_store()
|
/drivers/video/fbdev/omap2/dss/ |
D | overlay-sysfs.c | 149 char *last; in overlay_position_store() local 154 info.pos_x = simple_strtoul(buf, &last, 10); in overlay_position_store() 155 ++last; in overlay_position_store() 156 if (last - buf >= size) in overlay_position_store() 159 info.pos_y = simple_strtoul(last, &last, 10); in overlay_position_store() 188 char *last; in overlay_output_size_store() local 193 info.out_width = simple_strtoul(buf, &last, 10); in overlay_output_size_store() 194 ++last; in overlay_output_size_store() 195 if (last - buf >= size) in overlay_output_size_store() 198 info.out_height = simple_strtoul(last, &last, 10); in overlay_output_size_store()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 93 struct sym_quehead *last = list->blink; in sym_que_splice() local 99 last->flink = at; in sym_que_splice() 100 at->blink = last; in sym_que_splice() 107 struct sym_quehead *first, *last; in sym_que_move() local 113 last = orig->blink; in sym_que_move() 114 last->flink = dest; in sym_que_move() 115 dest->blink = last; in sym_que_move()
|
/drivers/video/fbdev/ |
D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; in c2p_iplan2() local 100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2() 101 last |= last << 16; in c2p_iplan2() 108 first &= last; in c2p_iplan2() 144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()
|
/drivers/md/bcache/ |
D | util.c | 191 uint64_t now, duration, last; in bch_time_stats_update() local 198 last = time_after64(now, stats->last) in bch_time_stats_update() 199 ? now - stats->last : 0; in bch_time_stats_update() 203 if (stats->last) { in bch_time_stats_update() 207 ewma_add(stats->average_frequency, last, 8, 8); in bch_time_stats_update() 209 stats->average_frequency = last << 8; in bch_time_stats_update() 214 stats->last = now ?: 1; in bch_time_stats_update()
|
/drivers/staging/rdma/hfi1/ |
D | driver.c | 679 static inline void process_rcv_update(int last, struct hfi1_packet *packet) in process_rcv_update() argument 687 if (!last && !(packet->numpkt & 0xf)) { in process_rcv_update() 749 int last = RCV_PKT_OK; in handle_receive_interrupt_nodma_rtail() local 755 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail() 761 while (last == RCV_PKT_OK) { in handle_receive_interrupt_nodma_rtail() 762 last = process_rcv_packet(&packet, thread); in handle_receive_interrupt_nodma_rtail() 767 last = RCV_PKT_DONE; in handle_receive_interrupt_nodma_rtail() 768 process_rcv_update(last, &packet); in handle_receive_interrupt_nodma_rtail() 773 return last; in handle_receive_interrupt_nodma_rtail() 779 int last = RCV_PKT_OK; in handle_receive_interrupt_dma_rtail() local [all …]
|
/drivers/staging/rdma/amso1100/ |
D | c2_pd.c | 50 c2dev->pd_table.last); in c2_pd_alloc() 57 c2dev->pd_table.last = obj+1; in c2_pd_alloc() 58 if (c2dev->pd_table.last >= c2dev->pd_table.max) in c2_pd_alloc() 59 c2dev->pd_table.last = 0; in c2_pd_alloc() 76 c2dev->pd_table.last = 0; in c2_init_pd_table()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 146 u32 last; /* last data offset */ member 353 lnode->cmdlist->data[lnode->cmdlist->last] = node->dma_addr; in g2d_add_cmdlist_to_inuse() 696 reg_pos = cmdlist->last - 2 * (i + 1); in g2d_map_cmdlist_gem() 948 index = cmdlist->last - 2 * (i + 1); in g2d_check_reg_offset() 1129 cmdlist->last = 0; in exynos_g2d_set_cmdlist_ioctl() 1138 cmdlist->data[cmdlist->last++] = G2D_SOFT_RESET; in exynos_g2d_set_cmdlist_ioctl() 1139 cmdlist->data[cmdlist->last++] = G2D_SFRCLEAR; in exynos_g2d_set_cmdlist_ioctl() 1140 cmdlist->data[cmdlist->last++] = G2D_SRC_BASE_ADDR; in exynos_g2d_set_cmdlist_ioctl() 1141 cmdlist->data[cmdlist->last++] = 0; in exynos_g2d_set_cmdlist_ioctl() 1153 cmdlist->data[cmdlist->last++] = G2D_INTEN; in exynos_g2d_set_cmdlist_ioctl() [all …]
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_trace.h | 124 __field(long, last) 132 __entry->last = mapping->it.last; 137 __entry->bo, __entry->start, __entry->last, 148 __field(long, last) 156 __entry->last = mapping->it.last; 161 __entry->bo, __entry->start, __entry->last, 176 __entry->eoffset = mapping->it.last + 1;
|
/drivers/memory/tegra/ |
D | tegra124-emc.c | 569 struct emc_timing *last = &emc->last_timing; in tegra_emc_prepare_timing_change() local 579 if ((last->emc_mode_1 & 0x1) == (timing->emc_mode_1 & 0x1)) in tegra_emc_prepare_timing_change() 612 val2 = last->emc_bgbias_ctl0; in tegra_emc_prepare_timing_change() 658 if (last->emc_ctt_term_ctrl != timing->emc_ctt_term_ctrl) { in tegra_emc_prepare_timing_change() 679 if (timing->emc_auto_cal_config2 != last->emc_auto_cal_config2) in tegra_emc_prepare_timing_change() 683 if (timing->emc_auto_cal_config3 != last->emc_auto_cal_config3) in tegra_emc_prepare_timing_change() 687 if (timing->emc_auto_cal_config != last->emc_auto_cal_config) { in tegra_emc_prepare_timing_change() 699 last->emc_zcal_interval == 0) in tegra_emc_prepare_timing_change() 745 if (timing->emc_mode_1 != last->emc_mode_1) in tegra_emc_prepare_timing_change() 747 if (timing->emc_mode_2 != last->emc_mode_2) in tegra_emc_prepare_timing_change() [all …]
|
/drivers/crypto/marvell/ |
D | tdma.c | 76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup() 109 if (chain->last) { in mv_cesa_dma_add_desc() 110 chain->last->next_dma = cpu_to_le32(dma_handle); in mv_cesa_dma_add_desc() 111 chain->last->next = new_tdma; in mv_cesa_dma_add_desc() 116 chain->last = new_tdma; in mv_cesa_dma_add_desc() 143 tdma = chain->last; in mv_cesa_dma_add_op()
|