/drivers/media/pci/solo6x10/ |
D | solo6x10-regs.h | 41 #define SOLO_DMA_CTRL_REFRESH_CYCLE(n) ((n)<<8) argument 43 #define SOLO_DMA_CTRL_SDRAM_SIZE(n) ((n)<<6) argument 48 #define SOLO_DMA_CTRL_LATENCY(n) ((n)<<0) argument 56 #define SOLO_VCLK_SELECT(n) ((n)<<20) argument 57 #define SOLO_VCLK_VIN1415_DELAY(n) ((n)<<14) argument 58 #define SOLO_VCLK_VIN1213_DELAY(n) ((n)<<12) argument 59 #define SOLO_VCLK_VIN1011_DELAY(n) ((n)<<10) argument 60 #define SOLO_VCLK_VIN0809_DELAY(n) ((n)<<8) argument 61 #define SOLO_VCLK_VIN0607_DELAY(n) ((n)<<6) argument 62 #define SOLO_VCLK_VIN0405_DELAY(n) ((n)<<4) argument [all …]
|
D | solo6x10-tw28.h | 28 #define TW_CHIP_OFFSET_ADDR(n) (TW_BASE_ADDR + (n)) argument 32 #define TW_HUE_ADDR(n) (0x07 | ((n) << 4)) argument 33 #define TW_SATURATION_ADDR(n) (0x08 | ((n) << 4)) argument 34 #define TW_CONTRAST_ADDR(n) (0x09 | ((n) << 4)) argument 35 #define TW_BRIGHTNESS_ADDR(n) (0x0a | ((n) << 4)) argument 37 #define TW_AUDIO_INPUT_GAIN_ADDR(n) (0x60 + ((n > 1) ? 1 : 0)) argument 41 #define TW286x_HUE_ADDR(n) (0x06 | ((n) << 4)) argument 42 #define TW286x_SATURATIONU_ADDR(n) (0x04 | ((n) << 4)) argument 43 #define TW286x_SATURATIONV_ADDR(n) (0x05 | ((n) << 4)) argument 44 #define TW286x_CONTRAST_ADDR(n) (0x02 | ((n) << 4)) argument [all …]
|
/drivers/staging/vt6655/ |
D | 80211hdr.h | 158 #define WLAN_GET_FC_PRVER(n) (((unsigned short)(n) >> 8) & (BIT0 | BIT1)) argument 159 #define WLAN_GET_FC_FTYPE(n) ((((unsigned short)(n) >> 8) & (BIT2 | BIT3)) >> 2) argument 160 #define WLAN_GET_FC_FSTYPE(n) ((((unsigned short)(n) >> 8) & (BIT4|BIT5|BIT6|BIT7)) >> 4) argument 161 #define WLAN_GET_FC_TODS(n) ((((unsigned short)(n) << 8) & (BIT8)) >> 8) argument 162 #define WLAN_GET_FC_FROMDS(n) ((((unsigned short)(n) << 8) & (BIT9)) >> 9) argument 163 #define WLAN_GET_FC_MOREFRAG(n) ((((unsigned short)(n) << 8) & (BIT10)) >> 10) argument 164 #define WLAN_GET_FC_RETRY(n) ((((unsigned short)(n) << 8) & (BIT11)) >> 11) argument 165 #define WLAN_GET_FC_PWRMGT(n) ((((unsigned short)(n) << 8) & (BIT12)) >> 12) argument 166 #define WLAN_GET_FC_MOREDATA(n) ((((unsigned short)(n) << 8) & (BIT13)) >> 13) argument 167 #define WLAN_GET_FC_ISWEP(n) ((((unsigned short)(n) << 8) & (BIT14)) >> 14) argument [all …]
|
/drivers/media/common/siano/ |
D | smsdvb-debugfs.c | 54 int n = 0; in smsdvb_print_dvb_stats() local 65 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 67 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 69 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 71 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 73 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 75 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 77 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 79 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() 81 n += snprintf(&buf[n], PAGE_SIZE - n, in smsdvb_print_dvb_stats() [all …]
|
/drivers/usb/gadget/udc/ |
D | fusb300_udc.h | 24 #define FUSB300_OFFSET_EPSET0(n) (0x20 + (n - 1) * 0x30) argument 25 #define FUSB300_OFFSET_EPSET1(n) (0x24 + (n - 1) * 0x30) argument 26 #define FUSB300_OFFSET_EPSET2(n) (0x28 + (n - 1) * 0x30) argument 27 #define FUSB300_OFFSET_EPFFR(n) (0x2c + (n - 1) * 0x30) argument 28 #define FUSB300_OFFSET_EPSTRID(n) (0x40 + (n - 1) * 0x30) argument 57 #define FUSB300_OFFSET_EPPRD_W0(n) (0x520 + (n - 1) * 0x10) argument 58 #define FUSB300_OFFSET_EPPRD_W1(n) (0x524 + (n - 1) * 0x10) argument 59 #define FUSB300_OFFSET_EPPRD_W2(n) (0x528 + (n - 1) * 0x10) argument 60 #define FUSB300_OFFSET_EPRD_PTR(n) (0x52C + (n - 1) * 0x10) argument 63 #define FUSB300_OFFSET_EPPORT(n) (0x1010 + (n - 1) * 0x10) argument [all …]
|
/drivers/staging/unisys/common-spar/include/diagnostics/ |
D | appos_subsystems.h | 31 subsys_unknown_to_s(int subsys, char *s, int n) in subsys_unknown_to_s() argument 33 snprintf(s, n, "SUBSYS-%-2.2d", subsys); in subsys_unknown_to_s() 34 s[n - 1] = '\0'; in subsys_unknown_to_s() 62 subsys_generic_to_s(int subsys, char *s, int n) in subsys_generic_to_s() argument 66 strncpy(s, "APPOS_DEFAULT", n); in subsys_generic_to_s() 69 strncpy(s, "APPOS_CHIPSET", n); in subsys_generic_to_s() 72 strncpy(s, "APPOS_BUS", n); in subsys_generic_to_s() 75 strncpy(s, "APPOS_CHANNELACCESS", n); in subsys_generic_to_s() 78 strncpy(s, "APPOS_NICCLIENT", n); in subsys_generic_to_s() 81 strncpy(s, "APPOS_HBACLIENT", n); in subsys_generic_to_s() [all …]
|
/drivers/video/fbdev/omap2/dss/ |
D | dispc.h | 46 #define DISPC_OVL_BA0(n) (DISPC_OVL_BASE(n) + \ argument 47 DISPC_BA0_OFFSET(n)) 48 #define DISPC_OVL_BA1(n) (DISPC_OVL_BASE(n) + \ argument 49 DISPC_BA1_OFFSET(n)) 50 #define DISPC_OVL_BA0_UV(n) (DISPC_OVL_BASE(n) + \ argument 51 DISPC_BA0_UV_OFFSET(n)) 52 #define DISPC_OVL_BA1_UV(n) (DISPC_OVL_BASE(n) + \ argument 53 DISPC_BA1_UV_OFFSET(n)) 54 #define DISPC_OVL_POSITION(n) (DISPC_OVL_BASE(n) + \ argument 55 DISPC_POS_OFFSET(n)) [all …]
|
D | omapdss-boot-init.c | 122 struct dss_conv_node *n = kmalloc(sizeof(struct dss_conv_node), in omapdss_add_to_list() local 124 if (n) { in omapdss_add_to_list() 125 n->node = node; in omapdss_add_to_list() 126 n->root = root; in omapdss_add_to_list() 127 list_add(&n->list, &dss_conv_list); in omapdss_add_to_list() 133 struct dss_conv_node *n; in omapdss_list_contains() local 135 list_for_each_entry(n, &dss_conv_list, list) { in omapdss_list_contains() 136 if (n->node == node) in omapdss_list_contains() 145 struct device_node *n; in omapdss_walk_device() local 153 n = of_get_child_by_name(node, "ports"); in omapdss_walk_device() [all …]
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_regs.h | 73 #define DSSR_DFB(n) (1 << ((n)+15)) argument 79 #define DSSR_ADC(n) (1 << ((n)-1)) argument 87 #define DSRCR_ADCL(n) (1 << ((n)-1)) argument 96 #define DIER_ADCE(n) (1 << ((n)-1)) argument 105 #define DPPR_DPE(n) (1 << ((n)*4-1)) argument 106 #define DPPR_DPS(n, p) (((p)-1) << DPPR_DPS_SHIFT(n)) argument 107 #define DPPR_DPS_SHIFT(n) (((n)-1)*4) argument 155 #define DVCSR_VCnFB2_DSA0(n) (0 << ((n)*2+16)) argument 156 #define DVCSR_VCnFB2_DSA1(n) (1 << ((n)*2+16)) argument 157 #define DVCSR_VCnFB2_DSA2(n) (2 << ((n)*2+16)) argument [all …]
|
/drivers/vhost/ |
D | test.c | 38 static void handle_vq(struct vhost_test *n) in handle_vq() argument 40 struct vhost_virtqueue *vq = &n->vqs[VHOST_TEST_VQ]; in handle_vq() 53 vhost_disable_notify(&n->dev, vq); in handle_vq() 65 if (unlikely(vhost_enable_notify(&n->dev, vq))) { in handle_vq() 66 vhost_disable_notify(&n->dev, vq); in handle_vq() 82 vhost_add_used_and_signal(&n->dev, vq, head, 0); in handle_vq() 97 struct vhost_test *n = container_of(vq->dev, struct vhost_test, dev); in handle_vq_kick() local 99 handle_vq(n); in handle_vq_kick() 104 struct vhost_test *n = kmalloc(sizeof *n, GFP_KERNEL); in vhost_test_open() local 108 if (!n) in vhost_test_open() [all …]
|
D | net.c | 161 static void vhost_net_clear_ubuf_info(struct vhost_net *n) in vhost_net_clear_ubuf_info() argument 166 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info() 167 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info() 171 static int vhost_net_set_ubuf_info(struct vhost_net *n) in vhost_net_set_ubuf_info() argument 180 n->vqs[i].ubuf_info = kmalloc(sizeof(*n->vqs[i].ubuf_info) * in vhost_net_set_ubuf_info() 182 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info() 188 vhost_net_clear_ubuf_info(n); in vhost_net_set_ubuf_info() 192 static void vhost_net_vq_reset(struct vhost_net *n) in vhost_net_vq_reset() argument 196 vhost_net_clear_ubuf_info(n); in vhost_net_vq_reset() 199 n->vqs[i].done_idx = 0; in vhost_net_vq_reset() [all …]
|
/drivers/media/platform/vsp1/ |
D | vsp1_regs.h | 20 #define VI6_CMD(n) (0x0000 + (n) * 4) argument 30 #define VI6_SRESET_SRTS(n) (1 << (n)) argument 33 #define VI6_STATUS_SYS_ACT(n) (1 << ((n) + 8)) argument 35 #define VI6_WPF_IRQ_ENB(n) (0x0048 + (n) * 12) argument 39 #define VI6_WPF_IRQ_STA(n) (0x004c + (n) * 12) argument 46 #define VI6_DISP_IRQ_ENB_LNEE(n) (1 << ((n) + 4)) argument 51 #define VI6_DISP_IRQ_STA_LNE(n) (1 << ((n) + 4)) argument 53 #define VI6_WPF_LINE_COUNT(n) (0x0084 + (n) * 4) argument 70 #define VI6_DL_HDR_ADDR(n) (0x0104 + (n) * 4) argument 231 #define VI6_WPF_SRCRPF_RPF_ACT_DIS(n) (0 << ((n) * 2)) argument [all …]
|
/drivers/usb/dwc3/ |
D | core.h | 110 #define DWC3_GUSB2PHYCFG(n) (0xc200 + (n * 0x04)) argument 111 #define DWC3_GUSB2I2CCTL(n) (0xc240 + (n * 0x04)) argument 113 #define DWC3_GUSB2PHYACC(n) (0xc280 + (n * 0x04)) argument 115 #define DWC3_GUSB3PIPECTL(n) (0xc2c0 + (n * 0x04)) argument 117 #define DWC3_GTXFIFOSIZ(n) (0xc300 + (n * 0x04)) argument 118 #define DWC3_GRXFIFOSIZ(n) (0xc380 + (n * 0x04)) argument 120 #define DWC3_GEVNTADRLO(n) (0xc400 + (n * 0x10)) argument 121 #define DWC3_GEVNTADRHI(n) (0xc404 + (n * 0x10)) argument 122 #define DWC3_GEVNTSIZ(n) (0xc408 + (n * 0x10)) argument 123 #define DWC3_GEVNTCOUNT(n) (0xc40c + (n * 0x10)) argument [all …]
|
D | gadget.h | 31 #define DWC3_DEPCFG_INT_NUM(n) (((n) & 0x1f) << 0) argument 37 #define DWC3_DEPCFG_BINTERVAL_M1(n) (((n) & 0xff) << 16) argument 39 #define DWC3_DEPCFG_EP_NUMBER(n) (((n) & 0x1f) << 25) argument 44 #define DWC3_DEPCFG_EP_TYPE(n) (((n) & 0x3) << 1) argument 45 #define DWC3_DEPCFG_MAX_PACKET_SIZE(n) (((n) & 0x7ff) << 3) argument 46 #define DWC3_DEPCFG_FIFO_NUMBER(n) (((n) & 0x1f) << 17) argument 47 #define DWC3_DEPCFG_BURST_SIZE(n) (((n) & 0xf) << 22) argument 48 #define DWC3_DEPCFG_DATA_SEQ_NUM(n) ((n) << 26) argument 57 #define DWC3_DEPXFERCFG_NUM_XFER_RES(n) ((n) & 0xffff) argument
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 63 unsigned n; in mvebu_pinctrl_find_group_by_pid() local 64 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid() 65 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() 66 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid() 67 pctl->groups[n].npins) in mvebu_pinctrl_find_group_by_pid() 68 return &pctl->groups[n]; in mvebu_pinctrl_find_group_by_pid() 76 unsigned n; in mvebu_pinctrl_find_group_by_name() local 77 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_name() 78 if (strcmp(name, pctl->groups[n].name) == 0) in mvebu_pinctrl_find_group_by_name() 79 return &pctl->groups[n]; in mvebu_pinctrl_find_group_by_name() [all …]
|
/drivers/video/fbdev/ |
D | c2p_core.h | 32 static inline u32 get_mask(unsigned int n) in get_mask() argument 34 switch (n) { in get_mask() 60 static inline void transp8(u32 d[], unsigned int n, unsigned int m) in transp8() argument 62 u32 mask = get_mask(n); in transp8() 67 _transp(d, 0, 1, n, mask); in transp8() 69 _transp(d, 2, 3, n, mask); in transp8() 71 _transp(d, 4, 5, n, mask); in transp8() 73 _transp(d, 6, 7, n, mask); in transp8() 78 _transp(d, 0, 2, n, mask); in transp8() 79 _transp(d, 1, 3, n, mask); in transp8() [all …]
|
/drivers/media/rc/ |
D | ir-xmp-decoder.c | 87 u32 *n; in ir_xmp_decode() local 97 n = data->durations; in ir_xmp_decode() 103 divider = (n[3] - XMP_NIBBLE_PREFIX) / 15 - 2000; in ir_xmp_decode() 112 n[i] = (n[i] - XMP_NIBBLE_PREFIX) / divider; in ir_xmp_decode() 113 sum1 = (15 + n[0] + n[1] + n[2] + n[3] + in ir_xmp_decode() 114 n[4] + n[5] + n[6] + n[7]) % 16; in ir_xmp_decode() 115 sum2 = (15 + n[8] + n[9] + n[10] + n[11] + in ir_xmp_decode() 116 n[12] + n[13] + n[14] + n[15]) % 16; in ir_xmp_decode() 125 subaddr = n[0] << 4 | n[2]; in ir_xmp_decode() 126 subaddr2 = n[8] << 4 | n[11]; in ir_xmp_decode() [all …]
|
/drivers/leds/trigger/ |
D | ledtrig-backlight.c | 35 struct bl_trig_notifier *n = container_of(p, in fb_notifier_callback() local 37 struct led_classdev *led = n->led; in fb_notifier_callback() 49 if (new_status == n->old_status) in fb_notifier_callback() 52 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback() 53 n->brightness = led->brightness; in fb_notifier_callback() 56 __led_set_brightness(led, n->brightness); in fb_notifier_callback() 59 n->old_status = new_status; in fb_notifier_callback() 68 struct bl_trig_notifier *n = led->trigger_data; in bl_trig_invert_show() local 70 return sprintf(buf, "%u\n", n->invert); in bl_trig_invert_show() 77 struct bl_trig_notifier *n = led->trigger_data; in bl_trig_invert_store() local [all …]
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 94 struct enic_rfs_fltr_node *n; in enic_rfs_flw_tbl_free() local 97 hlist_for_each_entry_safe(n, tmp, hhead, node) { in enic_rfs_flw_tbl_free() 98 enic_delfltr(enic, n->fltr_id); in enic_rfs_flw_tbl_free() 99 hlist_del(&n->node); in enic_rfs_flw_tbl_free() 100 kfree(n); in enic_rfs_flw_tbl_free() 113 struct enic_rfs_fltr_node *n; in htbl_fltr_search() local 116 hlist_for_each_entry_safe(n, tmp, hhead, node) in htbl_fltr_search() 117 if (n->fltr_id == fltr_id) in htbl_fltr_search() 118 return n; in htbl_fltr_search() 135 struct enic_rfs_fltr_node *n; in enic_flow_may_expire() local [all …]
|
/drivers/clk/mvebu/ |
D | common.c | 115 int n; in mvebu_coreclk_setup() local 152 for (n = 0; n < desc->num_ratios; n++) { in mvebu_coreclk_setup() 153 const char *rclk_name = desc->ratios[n].name; in mvebu_coreclk_setup() 157 2+n, &rclk_name); in mvebu_coreclk_setup() 158 desc->get_clk_ratio(base, desc->ratios[n].id, &mult, &div); in mvebu_coreclk_setup() 159 clk_data.clks[2+n] = clk_register_fixed_factor(NULL, rclk_name, in mvebu_coreclk_setup() 161 WARN_ON(IS_ERR(clk_data.clks[2+n])); in mvebu_coreclk_setup() 188 int n; in clk_gating_get_src() local 193 for (n = 0; n < ctrl->num_gates; n++) { in clk_gating_get_src() 195 to_clk_gate(__clk_get_hw(ctrl->gates[n])); in clk_gating_get_src() [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree-remove.c | 56 static void node_shift(struct btree_node *n, int shift) in node_shift() argument 58 uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); in node_shift() 59 uint32_t value_size = le32_to_cpu(n->header.value_size); in node_shift() 64 BUG_ON((void *) key_ptr(n, shift) >= value_ptr(n, shift)); in node_shift() 65 memmove(key_ptr(n, 0), in node_shift() 66 key_ptr(n, shift), in node_shift() 68 memmove(value_ptr(n, 0), in node_shift() 69 value_ptr(n, shift), in node_shift() 72 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); in node_shift() 73 memmove(key_ptr(n, shift), in node_shift() [all …]
|
/drivers/video/fbdev/core/ |
D | sysfillrect.c | 26 unsigned long pat, unsigned n, int bits) in bitfill_aligned() argument 30 if (!n) in bitfill_aligned() 34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned() 36 if (dst_idx+n <= bits) { in bitfill_aligned() 48 n -= bits - dst_idx; in bitfill_aligned() 52 n /= bits; in bitfill_aligned() 53 while (n >= 8) { in bitfill_aligned() 62 n -= 8; in bitfill_aligned() 64 while (n--) in bitfill_aligned() 82 unsigned long pat, int left, int right, unsigned n, int bits) in bitfill_unaligned() argument [all …]
|
/drivers/edac/ |
D | ppc4xx_edac.c | 137 #define SDRAM_MBCF_SZ_TO_MiB(n) (SDRAM_MBCF_SZ_MiB_MIN \ argument 138 << (SDRAM_MBCF_SZ_DECODE(n))) 139 #define SDRAM_MBCF_SZ_TO_PAGES(n) (SDRAM_MBCF_SZ_MiB_MIN \ argument 141 SDRAM_MBCF_SZ_DECODE(n))) 321 int n, total = 0; in ppc4xx_edac_generate_bank_message() local 324 n = snprintf(buffer, size, "%s: Banks: ", mci->dev_name); in ppc4xx_edac_generate_bank_message() 326 if (n < 0 || n >= size) in ppc4xx_edac_generate_bank_message() 329 buffer += n; in ppc4xx_edac_generate_bank_message() 330 size -= n; in ppc4xx_edac_generate_bank_message() 331 total += n; in ppc4xx_edac_generate_bank_message() [all …]
|
/drivers/staging/media/omap24xx/ |
D | omap24xxcam.h | 113 #define CAMDMA_CCR(n) (0x080 + (n)*0x60) argument 114 #define CAMDMA_CLNK_CTRL(n) (0x084 + (n)*0x60) argument 115 #define CAMDMA_CICR(n) (0x088 + (n)*0x60) argument 116 #define CAMDMA_CSR(n) (0x08C + (n)*0x60) argument 117 #define CAMDMA_CSDP(n) (0x090 + (n)*0x60) argument 118 #define CAMDMA_CEN(n) (0x094 + (n)*0x60) argument 119 #define CAMDMA_CFN(n) (0x098 + (n)*0x60) argument 120 #define CAMDMA_CSSA(n) (0x09C + (n)*0x60) argument 121 #define CAMDMA_CDSA(n) (0x0A0 + (n)*0x60) argument 122 #define CAMDMA_CSEI(n) (0x0A4 + (n)*0x60) argument [all …]
|
/drivers/net/ethernet/neterion/ |
D | s2io-regs.h | 182 #define TX_TRAFFIC_INT_n(n) s2BIT(n) argument 186 #define RX_TRAFFIC_INT_n(n) s2BIT(n) argument 192 #define PIC_CNTL_SHARED_SPLITS(n) vBIT(n,11,5) argument 232 #define STATREQTO_VAL(n) TBD argument 255 #define STAT_BC(n) vBIT(n,4,12) argument 263 #define STAT_TRSF_PER(n) TBD argument 265 #define SET_UPDT_PERIOD(n) vBIT((PER_SEC*n),32,32) argument 439 #define TTI_CMD_MEM_OFFSET(n) vBIT(n,26,6) argument 442 #define TTI_DATA1_MEM_TX_TIMER_VAL(n) vBIT(n,6,26) argument 443 #define TTI_DATA1_MEM_TX_TIMER_AC_CI(n) vBIT(n,38,2) argument [all …]
|