/linux-4.4.14/sound/oss/ |
D | sb_card.h | 28 {.id = "CTL0024", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 30 {.id = "CTL0025", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 32 {.id = "CTL0026", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 34 {.id = "CTL0027", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 36 {.id = "CTL0028", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 38 {.id = "CTL0029", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 40 {.id = "CTL002a", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 42 {.id = "CTL002b", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 44 {.id = "CTL002c", .driver_data = 0, .devs = { {.id="CTL0031"}, } }, 46 {.id = "CTL00ed", .driver_data = 0, .devs = { {.id="CTL0041"}, } }, [all …]
|
/linux-4.4.14/include/linux/ |
D | ata.h | 504 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument 505 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument 506 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument 507 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument 508 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument 509 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument 510 #define ata_id_has_atapi_AN(id) \ argument 511 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \ 512 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \ 513 ((id)[ATA_ID_FEATURE_SUPP] & (1 << 5))) [all …]
|
D | fs_enet_pd.h | 41 static inline int fs_get_fec_index(enum fs_id id) in fs_get_fec_index() argument 43 if (id >= fsid_fec1 && id <= fsid_fec2) in fs_get_fec_index() 44 return id - fsid_fec1; in fs_get_fec_index() 48 static inline int fs_get_fcc_index(enum fs_id id) in fs_get_fcc_index() argument 50 if (id >= fsid_fcc1 && id <= fsid_fcc3) in fs_get_fcc_index() 51 return id - fsid_fcc1; in fs_get_fcc_index() 55 static inline int fs_get_scc_index(enum fs_id id) in fs_get_scc_index() argument 57 if (id >= fsid_scc1 && id <= fsid_scc4) in fs_get_scc_index() 58 return id - fsid_scc1; in fs_get_scc_index() 64 int id = fsid_fec1 + index - 1; in fs_fec_index2id() local [all …]
|
D | ipmi_smi.h | 172 struct ipmi_device_id *id) in ipmi_demangle_device_id() argument 186 id->device_id = data[0]; in ipmi_demangle_device_id() 187 id->device_revision = data[1]; in ipmi_demangle_device_id() 188 id->firmware_revision_1 = data[2]; in ipmi_demangle_device_id() 189 id->firmware_revision_2 = data[3]; in ipmi_demangle_device_id() 190 id->ipmi_version = data[4]; in ipmi_demangle_device_id() 191 id->additional_device_support = data[5]; in ipmi_demangle_device_id() 193 id->manufacturer_id = (data[6] | (data[7] << 8) | in ipmi_demangle_device_id() 195 id->product_id = data[9] | (data[10] << 8); in ipmi_demangle_device_id() 197 id->manufacturer_id = 0; in ipmi_demangle_device_id() [all …]
|
D | reset.h | 15 struct reset_control *reset_control_get(struct device *dev, const char *id); 17 struct reset_control *devm_reset_control_get(struct device *dev, const char *id); 27 struct device *dev, const char *id) in reset_control_get_optional() argument 29 return reset_control_get(dev, id); in reset_control_get_optional() 33 struct device *dev, const char *id) in devm_reset_control_get_optional() argument 35 return devm_reset_control_get(dev, id); in devm_reset_control_get_optional() 39 const char *id); 78 struct device *dev, const char *id) in reset_control_get() argument 85 struct device *dev, const char *id) in devm_reset_control_get() argument 92 struct device *dev, const char *id) in reset_control_get_optional() argument [all …]
|
D | idr.h | 79 void *idr_find_slowpath(struct idr *idp, int id); 84 int (*fn)(int id, void *p, void *data), void *data); 86 void *idr_replace(struct idr *idp, void *ptr, int id); 87 void idr_remove(struct idr *idp, int id); 115 static inline void *idr_find(struct idr *idr, int id) in idr_find() argument 119 if (hint && (id & ~IDR_MASK) == hint->prefix) in idr_find() 120 return rcu_dereference_raw(hint->ary[id & IDR_MASK]); in idr_find() 122 return idr_find_slowpath(idr, id); in idr_find() 135 #define idr_for_each_entry(idp, entry, id) \ argument 136 for (id = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++id) [all …]
|
D | fs_uart_pd.h | 27 static inline int fs_uart_id_scc2fsid(int id) in fs_uart_id_scc2fsid() argument 29 return fsid_scc1_uart + id - 1; in fs_uart_id_scc2fsid() 32 static inline int fs_uart_id_fsid2scc(int id) in fs_uart_id_fsid2scc() argument 34 return id - fsid_scc1_uart + 1; in fs_uart_id_fsid2scc() 37 static inline int fs_uart_id_smc2fsid(int id) in fs_uart_id_smc2fsid() argument 39 return fsid_smc1_uart + id - 1; in fs_uart_id_smc2fsid() 42 static inline int fs_uart_id_fsid2smc(int id) in fs_uart_id_fsid2smc() argument 44 return id - fsid_smc1_uart + 1; in fs_uart_id_fsid2smc()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-sh7760.c | 114 struct cami2c *id = ptr; in sh7760_i2c_irq() local 115 struct i2c_msg *msg = id->msg; in sh7760_i2c_irq() 119 msr = IN32(id, I2CMSR); in sh7760_i2c_irq() 120 fsr = IN32(id, I2CFSR); in sh7760_i2c_irq() 124 OUT32(id, I2CMCR, 0); in sh7760_i2c_irq() 125 OUT32(id, I2CSCR, 0); in sh7760_i2c_irq() 126 OUT32(id, I2CSAR, 0); in sh7760_i2c_irq() 127 id->status |= IDS_DONE | IDS_ARBLOST; in sh7760_i2c_irq() 139 OUT32(id, I2CFCR, FCR_RFRST | FCR_TFRST); in sh7760_i2c_irq() 140 OUT32(id, I2CMCR, MCR_MIE | MCR_FSB); in sh7760_i2c_irq() [all …]
|
D | i2c-cadence.c | 119 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) 120 #define cdns_i2c_writereg(val, offset) writel_relaxed(val, id->membase + offset) 177 static void cdns_i2c_clear_bus_hold(struct cdns_i2c *id) in cdns_i2c_clear_bus_hold() argument 184 static inline bool cdns_is_holdquirk(struct cdns_i2c *id, bool hold_wrkaround) in cdns_is_holdquirk() argument 187 (id->curr_recv_count == CDNS_I2C_FIFO_DEPTH + 1)); in cdns_is_holdquirk() 205 struct cdns_i2c *id = ptr; in cdns_i2c_isr() local 224 if (id->recv_count > id->curr_recv_count) in cdns_i2c_isr() 227 hold_quirk = (id->quirks & CDNS_I2C_BROKEN_HOLD_BIT) && updatetx; in cdns_i2c_isr() 230 if (id->p_recv_buf && in cdns_i2c_isr() 241 if ((id->recv_count < CDNS_I2C_FIFO_DEPTH) && in cdns_i2c_isr() [all …]
|
/linux-4.4.14/arch/powerpc/mm/ |
D | mmu_context_nohash.c | 85 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument 95 mm = context_mm[id]; in steal_context_smp() 101 id++; in steal_context_smp() 102 if (id > last_context) in steal_context_smp() 103 id = first_context; in steal_context_smp() 106 pr_hardcont(" | steal %d from 0x%p", id, mm); in steal_context_smp() 109 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp() 120 __set_bit(id, stale_map[i]); in steal_context_smp() 124 return id; in steal_context_smp() 143 unsigned int id; in steal_all_contexts() local [all …]
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_fail.h | 45 int __cfs_fail_check_set(__u32 id, __u32 value, int set); 46 int __cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set); 73 #define CFS_FAIL_PRECHECK(id) (cfs_fail_loc && \ argument 75 ((id) & CFS_FAIL_MASK_LOC)) 77 static inline int cfs_fail_check_set(__u32 id, __u32 value, in cfs_fail_check_set() argument 82 if (unlikely(CFS_FAIL_PRECHECK(id))) { in cfs_fail_check_set() 83 ret = __cfs_fail_check_set(id, value, set); in cfs_fail_check_set() 87 id, value); in cfs_fail_check_set() 90 id, value); in cfs_fail_check_set() 99 #define CFS_FAIL_CHECK(id) \ argument [all …]
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
D | hardware.h | 107 #define __cpu_is_pxa210(id) \ argument 109 unsigned int _id = (id) & 0xf3f0; \ 113 #define __cpu_is_pxa250(id) \ argument 115 unsigned int _id = (id) & 0xf3ff; \ 119 #define __cpu_is_pxa255(id) \ argument 121 unsigned int _id = (id) & 0xffff; \ 125 #define __cpu_is_pxa25x(id) \ argument 127 unsigned int _id = (id) & 0xf300; \ 131 #define __cpu_is_pxa210(id) (0) argument 132 #define __cpu_is_pxa250(id) (0) argument [all …]
|
/linux-4.4.14/drivers/media/platform/s3c-camif/ |
D | camif-regs.h | 66 #define CIGCTRL_IRQ_CLR(id) (1 << (19 - (id))) argument 72 #define S3C_CAMIF_REG_CIYSA(id, n) (0x18 + (id) * 0x54 + (n) * 4) argument 74 #define S3C_CAMIF_REG_CICBSA(id, n) (0x28 + (id) * 0x54 + (n) * 4) argument 76 #define S3C_CAMIF_REG_CICRSA(id, n) (0x38 + (id) * 0x54 + (n) * 4) argument 79 #define S3C_CAMIF_REG_CITRGFMT(id, _offs) (0x48 + (id) * (0x34 + (_offs))) argument 99 #define S3C_CAMIF_REG_CICTRL(id, _offs) (0x4c + (id) * (0x34 + (_offs))) argument 112 #define S3C_CAMIF_REG_CISCPRERATIO(id, _offs) (0x50 + (id) * (0x34 + (_offs))) argument 115 #define S3C_CAMIF_REG_CISCPREDST(id, _offs) (0x54 + (id) * (0x34 + (_offs))) argument 118 #define S3C_CAMIF_REG_CISCCTRL(id, _offs) (0x58 + (id) * (0x34 + (_offs))) argument 148 #define S3C_CAMIF_REG_CITAREA(id, _offs) (0x5c + (id) * (0x34 + (_offs))) argument [all …]
|
D | camif-regs.c | 44 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq() 76 if (colorfx[i].id == effect) in camif_hw_set_effect() 160 if (vp->id == 0) in camif_hw_clear_fifo_overflow() 208 camif_write(camif, S3C_CAMIF_REG_CIYSA(vp->id, i), paddr->y); in camif_hw_set_output_addr() 210 || vp->id == VP_CODEC) { in camif_hw_set_output_addr() 211 camif_write(camif, S3C_CAMIF_REG_CICBSA(vp->id, i), in camif_hw_set_output_addr() 213 camif_write(camif, S3C_CAMIF_REG_CICRSA(vp->id, i), in camif_hw_set_output_addr() 226 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset)); in camif_hw_set_out_dma_size() 229 camif_write(vp->camif, S3C_CAMIF_REG_CITRGFMT(vp->id, vp->offset), cfg); in camif_hw_set_out_dma_size() 273 camif_write(camif, S3C_CAMIF_REG_CISSY(vp->id), cfg); in camif_hw_set_output_dma() [all …]
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | unwind-libunwind.c | 11 int id; in libunwind__arch_reg_id() local 15 id = PERF_REG_X86_AX; in libunwind__arch_reg_id() 18 id = PERF_REG_X86_DX; in libunwind__arch_reg_id() 21 id = PERF_REG_X86_CX; in libunwind__arch_reg_id() 24 id = PERF_REG_X86_BX; in libunwind__arch_reg_id() 27 id = PERF_REG_X86_SI; in libunwind__arch_reg_id() 30 id = PERF_REG_X86_DI; in libunwind__arch_reg_id() 33 id = PERF_REG_X86_BP; in libunwind__arch_reg_id() 36 id = PERF_REG_X86_SP; in libunwind__arch_reg_id() 39 id = PERF_REG_X86_R8; in libunwind__arch_reg_id() [all …]
|
/linux-4.4.14/arch/blackfin/mach-bf609/ |
D | Kconfig | 38 The slave interface id of each slot should be set according following table. 55 int "Slot 0 slave interface id" 60 int "Slot 1 slave interface id" 65 int "Slot 2 slave interface id" 70 int "Slot 3 slave interface id" 75 int "Slot 4 slave interface id" 80 int "Slot 5 slave interface id" 85 int "Slot 6 slave interface id" 90 int "Slot 7 slave interface id" 95 int "Slot 8 slave interface id" [all …]
|
/linux-4.4.14/drivers/macintosh/ |
D | adbhid.c | 211 int id; member 236 static void init_trackpad(int id); 237 static void init_trackball(int id); 238 static void init_turbomouse(int id); 239 static void init_microspeed(int id); 240 static void init_ms_a3(int id); 267 int id = (data[0] >> 4) & 0x0f; in adbhid_keyboard_input() local 269 if (!adbhid[id]) { in adbhid_keyboard_input() 271 id, data[0], data[1], data[2], data[3]); in adbhid_keyboard_input() 278 adbhid_input_keycode(id, data[1], 0); in adbhid_keyboard_input() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | debug.h | 52 typedef int (debug_header_proc_t) (debug_info_t* id, 58 typedef int (debug_format_proc_t) (debug_info_t* id, 61 typedef int (debug_prolog_proc_t) (debug_info_t* id, 64 typedef int (debug_input_proc_t) (debug_info_t* id, 70 int debug_dflt_header_fn(debug_info_t* id, struct debug_view* view, 88 debug_entry_t* debug_event_common(debug_info_t* id, int level, 91 debug_entry_t* debug_exception_common(debug_info_t* id, int level, 103 void debug_unregister(debug_info_t* id); 105 void debug_set_level(debug_info_t* id, int new_level); 110 static inline bool debug_level_enabled(debug_info_t* id, int level) in debug_level_enabled() argument [all …]
|
D | ccwdev.h | 46 const struct ccw_device_id *id = array; in ccw_device_id_match() local 48 for (id = array; id->match_flags; id++) { in ccw_device_id_match() 49 if ((id->match_flags & CCW_DEVICE_ID_MATCH_CU_TYPE) in ccw_device_id_match() 50 && (id->cu_type != match->cu_type)) in ccw_device_id_match() 53 if ((id->match_flags & CCW_DEVICE_ID_MATCH_CU_MODEL) in ccw_device_id_match() 54 && (id->cu_model != match->cu_model)) in ccw_device_id_match() 57 if ((id->match_flags & CCW_DEVICE_ID_MATCH_DEVICE_TYPE) in ccw_device_id_match() 58 && (id->dev_type != match->dev_type)) in ccw_device_id_match() 61 if ((id->match_flags & CCW_DEVICE_ID_MATCH_DEVICE_MODEL) in ccw_device_id_match() 62 && (id->dev_model != match->dev_model)) in ccw_device_id_match() [all …]
|
/linux-4.4.14/sound/usb/ |
D | mixer_maps.c | 28 int id; member 35 int id; member 41 u32 id; member 189 .id = 0x80, 198 .id = 14, /* Capture Source */ 203 .id = 29, /* Digital Out Source */ 208 .id = 31, /* Headphone Source */ 367 .id = USB_ID(0x041e, 0x3000), 372 .id = USB_ID(0x041e, 0x3010), 376 .id = USB_ID(0x041e, 0x3020), [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | debug.c | 79 static int debug_prolog_level_fn(debug_info_t * id, 81 static int debug_input_level_fn(debug_info_t * id, struct debug_view *view, 84 static int debug_prolog_pages_fn(debug_info_t * id, 86 static int debug_input_pages_fn(debug_info_t * id, struct debug_view *view, 89 static int debug_input_flush_fn(debug_info_t * id, struct debug_view *view, 92 static int debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view, 94 static int debug_raw_format_fn(debug_info_t * id, 97 static int debug_raw_header_fn(debug_info_t * id, struct debug_view *view, 100 static int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view, 474 if (act_entry->id.stck == 0LL) in debug_format_entry() [all …]
|
/linux-4.4.14/drivers/gpu/host1x/hw/ |
D | hw_host1x04_sync.h | 56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument 58 return 0xf80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r() 60 #define HOST1X_SYNC_SYNCPT(id) \ argument 61 host1x_sync_syncpt_r(id) 62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument 64 return 0xe80 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r() 66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument 67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id) 68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument 70 return 0xf00 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r() [all …]
|
D | hw_host1x01_sync.h | 56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument 58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r() 60 #define HOST1X_SYNC_SYNCPT(id) \ argument 61 host1x_sync_syncpt_r(id) 62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument 64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r() 66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument 67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id) 68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument 70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r() [all …]
|
D | hw_host1x02_sync.h | 56 static inline u32 host1x_sync_syncpt_r(unsigned int id) in host1x_sync_syncpt_r() argument 58 return 0x400 + id * REGISTER_STRIDE; in host1x_sync_syncpt_r() 60 #define HOST1X_SYNC_SYNCPT(id) \ argument 61 host1x_sync_syncpt_r(id) 62 static inline u32 host1x_sync_syncpt_thresh_cpu0_int_status_r(unsigned int id) in host1x_sync_syncpt_thresh_cpu0_int_status_r() argument 64 return 0x40 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_cpu0_int_status_r() 66 #define HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(id) \ argument 67 host1x_sync_syncpt_thresh_cpu0_int_status_r(id) 68 static inline u32 host1x_sync_syncpt_thresh_int_disable_r(unsigned int id) in host1x_sync_syncpt_thresh_int_disable_r() argument 70 return 0x60 + id * REGISTER_STRIDE; in host1x_sync_syncpt_thresh_int_disable_r() [all …]
|
D | intr_hw.c | 33 unsigned int id = syncpt->id; in host1x_intr_syncpt_handle() local 36 host1x_sync_writel(host, BIT_MASK(id), in host1x_intr_syncpt_handle() 37 HOST1X_SYNC_SYNCPT_THRESH_INT_DISABLE(BIT_WORD(id))); in host1x_intr_syncpt_handle() 38 host1x_sync_writel(host, BIT_MASK(id), in host1x_intr_syncpt_handle() 39 HOST1X_SYNC_SYNCPT_THRESH_CPU0_INT_STATUS(BIT_WORD(id))); in host1x_intr_syncpt_handle() 48 int i, id; in syncpt_thresh_isr() local 53 for_each_set_bit(id, ®, BITS_PER_LONG) { in syncpt_thresh_isr() 55 host->syncpt + (i * BITS_PER_LONG + id); in syncpt_thresh_isr() 109 u32 id, u32 thresh) in _host1x_intr_set_syncpt_threshold() argument 111 host1x_sync_writel(host, thresh, HOST1X_SYNC_SYNCPT_INT_THRESH(id)); in _host1x_intr_set_syncpt_threshold() [all …]
|
/linux-4.4.14/sound/isa/ad1816a/ |
D | ad1816a.c | 46 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 59 module_param_array(id, charp, NULL, 0444); 60 MODULE_PARM_DESC(id, "ID string for ad1816a based soundcard."); 68 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } }, 70 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 72 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 74 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } }, 76 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 78 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 80 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, [all …]
|
/linux-4.4.14/drivers/memory/tegra/ |
D | tegra114.c | 18 .id = 0x00, 22 .id = 0x01, 36 .id = 0x02, 50 .id = 0x03, 64 .id = 0x04, 78 .id = 0x05, 92 .id = 0x06, 106 .id = 0x09, 120 .id = 0x0a, 134 .id = 0x0b, [all …]
|
D | tegra30.c | 18 .id = 0x00, 22 .id = 0x01, 36 .id = 0x02, 50 .id = 0x03, 64 .id = 0x04, 78 .id = 0x05, 92 .id = 0x06, 106 .id = 0x07, 120 .id = 0x08, 134 .id = 0x09, [all …]
|
D | tegra210.c | 20 .id = 0x00, 24 .id = 0x01, 38 .id = 0x02, 52 .id = 0x03, 66 .id = 0x04, 80 .id = 0x05, 94 .id = 0x06, 108 .id = 0x0e, 122 .id = 0x0f, 136 .id = 0x10, [all …]
|
D | tegra124.c | 60 .id = 0x00, 64 .id = 0x01, 78 .id = 0x02, 92 .id = 0x03, 106 .id = 0x04, 120 .id = 0x05, 134 .id = 0x06, 148 .id = 0x0e, 162 .id = 0x0f, 176 .id = 0x10, [all …]
|
/linux-4.4.14/security/integrity/ |
D | digsig.c | 36 int integrity_digsig_verify(const unsigned int id, const char *sig, int siglen, in integrity_digsig_verify() argument 39 if (id >= INTEGRITY_KEYRING_MAX) in integrity_digsig_verify() 42 if (!keyring[id]) { in integrity_digsig_verify() 43 keyring[id] = in integrity_digsig_verify() 44 request_key(&key_type_keyring, keyring_name[id], NULL); in integrity_digsig_verify() 45 if (IS_ERR(keyring[id])) { in integrity_digsig_verify() 46 int err = PTR_ERR(keyring[id]); in integrity_digsig_verify() 47 pr_err("no %s keyring: %d\n", keyring_name[id], err); in integrity_digsig_verify() 48 keyring[id] = NULL; in integrity_digsig_verify() 56 return digsig_verify(keyring[id], sig + 1, siglen - 1, in integrity_digsig_verify() [all …]
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 41 #define IS_MASTER_DSI_LINK(id) (msm_dsim_glb.master_dsi_link_id == id) argument 43 static inline struct msm_dsi *dsi_mgr_get_dsi(int id) in dsi_mgr_get_dsi() argument 45 return msm_dsim_glb.dsi[id]; in dsi_mgr_get_dsi() 48 static inline struct msm_dsi *dsi_mgr_get_other_dsi(int id) in dsi_mgr_get_other_dsi() argument 50 return msm_dsim_glb.dsi[(id + 1) % DSI_MAX]; in dsi_mgr_get_other_dsi() 53 static int dsi_mgr_parse_dual_dsi(struct device_node *np, int id) in dsi_mgr_parse_dual_dsi() argument 66 msm_dsim->master_dsi_link_id = id; in dsi_mgr_parse_dual_dsi() 75 static int dsi_mgr_host_register(int id) in dsi_mgr_host_register() argument 77 struct msm_dsi *msm_dsi = dsi_mgr_get_dsi(id); in dsi_mgr_host_register() 78 struct msm_dsi *other_dsi = dsi_mgr_get_other_dsi(id); in dsi_mgr_host_register() [all …]
|
/linux-4.4.14/lib/ |
D | idr.c | 172 static void idr_mark_full(struct idr_layer **pa, int id) in idr_mark_full() argument 177 __set_bit(id & IDR_MASK, p->bitmap); in idr_mark_full() 187 id = id >> IDR_BITS; in idr_mark_full() 188 __set_bit((id & IDR_MASK), p->bitmap); in idr_mark_full() 225 int l, id, oid; in sub_alloc() local 227 id = *starting_id; in sub_alloc() 236 n = (id >> (IDR_BITS*l)) & IDR_MASK; in sub_alloc() 241 oid = id; in sub_alloc() 242 id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1; in sub_alloc() 245 if (id > idr_max(idp->layers)) { in sub_alloc() [all …]
|
/linux-4.4.14/arch/s390/kvm/ |
D | trace-s390.h | 42 TP_PROTO(unsigned int id, struct kvm_vcpu *vcpu, 44 TP_ARGS(id, vcpu, sie_block), 47 __field(unsigned int, id) 53 __entry->id = id; 58 TP_printk("create cpu %d at %p, sie block at %p", __entry->id, 63 TP_PROTO(unsigned int id), 64 TP_ARGS(id), 67 __field(unsigned int, id) 71 __entry->id = id; 74 TP_printk("destroy cpu %d", __entry->id) [all …]
|
/linux-4.4.14/sound/isa/cs423x/ |
D | cs4236.c | 76 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 93 module_param_array(id, charp, NULL, 0444); 94 MODULE_PARM_DESC(id, "ID string for " IDENT " soundcard."); 142 { .id = "CSC0100" }, 143 { .id = "CSC0000" }, 146 { .id = "GIM0100" }, 147 { .id = "" } 154 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } }, 156 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } }, 158 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } }, [all …]
|
/linux-4.4.14/sound/pci/ice1712/ |
D | wtm.c | 82 int id, idx, change; in stac9460_dac_mute_all() local 85 for (id = 0; id < 7; id++) { in stac9460_dac_mute_all() 86 if (*change_mask & (0x01 << id)) { in stac9460_dac_mute_all() 87 if (id == 0) in stac9460_dac_mute_all() 90 idx = STAC946X_LF_VOLUME - 1 + id; in stac9460_dac_mute_all() 96 *change_mask = *change_mask | (0x01 << id); in stac9460_dac_mute_all() 98 *change_mask = *change_mask & ~(0x01 << id); in stac9460_dac_mute_all() 104 for (id = 0; id < 3; id++) { in stac9460_dac_mute_all() 105 if (*change_mask & (0x01 << (id + 7))) { in stac9460_dac_mute_all() 106 if (id == 0) in stac9460_dac_mute_all() [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | otg_whitelist.h | 51 struct usb_device_id *id = whitelist_table; in is_targeted() local 66 for (id = whitelist_table; id->match_flags; id++) { in is_targeted() 67 if ((id->match_flags & USB_DEVICE_ID_MATCH_VENDOR) && in is_targeted() 68 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted() 71 if ((id->match_flags & USB_DEVICE_ID_MATCH_PRODUCT) && in is_targeted() 72 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted() 77 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_LO) && in is_targeted() 78 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() 81 if ((id->match_flags & USB_DEVICE_ID_MATCH_DEV_HI) && in is_targeted() 82 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted() [all …]
|
D | driver.c | 62 dynid->id.idVendor = idVendor; in usb_store_new_id() 63 dynid->id.idProduct = idProduct; in usb_store_new_id() 64 dynid->id.match_flags = USB_DEVICE_ID_MATCH_DEVICE; in usb_store_new_id() 71 dynid->id.bInterfaceClass = (u8)bInterfaceClass; in usb_store_new_id() 72 dynid->id.match_flags |= USB_DEVICE_ID_MATCH_INT_CLASS; in usb_store_new_id() 76 const struct usb_device_id *id = id_table; in usb_store_new_id() local 78 if (!id) { in usb_store_new_id() 83 for (; id->match_flags; id++) in usb_store_new_id() 84 if (id->idVendor == refVendor && id->idProduct == refProduct) in usb_store_new_id() 87 if (id->match_flags) { in usb_store_new_id() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | ide-iops.c | 48 void ide_fix_driveid(u16 *id) in ide_fix_driveid() argument 55 id[i] = __le16_to_cpu(id[i]); in ide_fix_driveid() 196 int ide_in_drive_list(u16 *id, const struct drive_list_entry *table) in ide_in_drive_list() argument 199 if ((!strcmp(table->id_model, (char *)&id[ATA_ID_PROD])) && in ide_in_drive_list() 201 strstr((char *)&id[ATA_ID_FW_REV], table->id_firmware))) in ide_in_drive_list() 231 u16 *id = drive->id; in eighty_ninty_three() local 232 int ivb = ide_in_drive_list(id, ivb_list); in eighty_ninty_three() 241 if (ata_id_is_sata(id) && !ivb) in eighty_ninty_three() 253 if (id[ATA_ID_HW_CONFIG] & 0x4000) in eighty_ninty_three() 257 const char *model = (char *)&id[ATA_ID_PROD]; in eighty_ninty_three() [all …]
|
D | ide-probe.c | 53 u16 *id = drive->id; in generic_id() local 55 id[ATA_ID_CUR_CYLS] = id[ATA_ID_CYLS] = drive->cyl; in generic_id() 56 id[ATA_ID_CUR_HEADS] = id[ATA_ID_HEADS] = drive->head; in generic_id() 57 id[ATA_ID_CUR_SECTORS] = id[ATA_ID_SECTORS] = drive->sect; in generic_id() 62 u16 *id = drive->id; in ide_disk_init_chs() local 66 drive->cyl = drive->bios_cyl = id[ATA_ID_CYLS]; in ide_disk_init_chs() 67 drive->head = drive->bios_head = id[ATA_ID_HEADS]; in ide_disk_init_chs() 68 drive->sect = drive->bios_sect = id[ATA_ID_SECTORS]; in ide_disk_init_chs() 72 if (ata_id_current_chs_valid(id)) { in ide_disk_init_chs() 73 drive->cyl = id[ATA_ID_CUR_CYLS]; in ide_disk_init_chs() [all …]
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-cards.c | 65 .id = 0x1d, 72 .id = 0x04, 79 .id = 0x1b, 86 .id = 0x1e, 93 .id = 0x1f, 111 .id = 0x06, 118 .id = 0x04, 125 .id = 0x05, 132 .id = 0x1e, 139 .id = 0x1f, [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_tlv.h | 79 unsigned int id; member 84 #define FM10K_TLV_ATTR_NULL_STRING(id, len) { id, FM10K_TLV_NULL_STRING, len } argument 85 #define FM10K_TLV_ATTR_MAC_ADDR(id) { id, FM10K_TLV_MAC_ADDR, 6 } argument 86 #define FM10K_TLV_ATTR_BOOL(id) { id, FM10K_TLV_BOOL, 0 } argument 87 #define FM10K_TLV_ATTR_U8(id) { id, FM10K_TLV_UNSIGNED, 1 } argument 88 #define FM10K_TLV_ATTR_U16(id) { id, FM10K_TLV_UNSIGNED, 2 } argument 89 #define FM10K_TLV_ATTR_U32(id) { id, FM10K_TLV_UNSIGNED, 4 } argument 90 #define FM10K_TLV_ATTR_U64(id) { id, FM10K_TLV_UNSIGNED, 8 } argument 91 #define FM10K_TLV_ATTR_S8(id) { id, FM10K_TLV_SIGNED, 1 } argument 92 #define FM10K_TLV_ATTR_S16(id) { id, FM10K_TLV_SIGNED, 2 } argument [all …]
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | debug.c | 17 static void DI_format(int do_lock, word id, int type, char *format, va_list argument_list); 18 static void DI_format_locked(word id, int type, char *format, va_list argument_list); 19 static void DI_format_old(word id, char *format, va_list ap) { } in DI_format_old() argument 20 static void DiProcessEventLog(unsigned short id, unsigned long msgID, va_list ap) { } in DiProcessEventLog() argument 378 int id, free_id = -1, best_id = 0; in DI_register() local 387 ((hDbg->id == 0) && (((_OldDbgHandle_ *)hDbg)->id == -1)) || in DI_register() 394 for (id = 1; id < ARRAY_SIZE(clients); id++) { in DI_register() 395 if (clients[id].hDbg == hDbg) { in DI_register() 402 if (clients[id].hDbg) { /* slot is busy */ in DI_register() 405 free_id = id; in DI_register() [all …]
|
/linux-4.4.14/drivers/regulator/ |
D | as3722-regulator.c | 337 int id = rdev_get_id(rdev); in as3722_ldo_get_current_limit() local 341 ret = as3722_read(as3722, as3722_reg_lookup[id].vsel_reg, &val); in as3722_ldo_get_current_limit() 344 as3722_reg_lookup[id].vsel_reg, ret); in as3722_ldo_get_current_limit() 357 int id = rdev_get_id(rdev); in as3722_ldo_set_current_limit() local 371 return as3722_update_bits(as3722, as3722_reg_lookup[id].vsel_reg, in as3722_ldo_set_current_limit() 395 int id, u8 mode) in as3722_ldo3_set_tracking_mode() argument 405 as3722_reg_lookup[id].vsel_reg, in as3722_ldo3_set_tracking_mode() 466 int id = rdev_get_id(rdev); in as3722_sd_get_mode() local 470 if (!as3722_reg_lookup[id].control_reg) in as3722_sd_get_mode() 473 ret = as3722_read(as3722, as3722_reg_lookup[id].control_reg, &val); in as3722_sd_get_mode() [all …]
|
D | mc13xxx-regulator-core.c | 35 int id = rdev_get_id(rdev); in mc13xxx_regulator_enable() local 37 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); in mc13xxx_regulator_enable() 39 return mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_enable() 40 mc13xxx_regulators[id].enable_bit, in mc13xxx_regulator_enable() 41 mc13xxx_regulators[id].enable_bit); in mc13xxx_regulator_enable() 48 int id = rdev_get_id(rdev); in mc13xxx_regulator_disable() local 50 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); in mc13xxx_regulator_disable() 52 return mc13xxx_reg_rmw(priv->mc13xxx, mc13xxx_regulators[id].reg, in mc13xxx_regulator_disable() 53 mc13xxx_regulators[id].enable_bit, 0); in mc13xxx_regulator_disable() 60 int ret, id = rdev_get_id(rdev); in mc13xxx_regulator_is_enabled() local [all …]
|
D | tps65912-regulator.c | 127 static int tps65912_get_range(struct tps65912_reg *pmic, int id) in tps65912_get_range() argument 132 switch (id) { in tps65912_get_range() 153 pmic->dcdc_range[id] = range; in tps65912_get_range() 193 static int tps65912_get_ctrl_register(int id) in tps65912_get_ctrl_register() argument 195 if (id >= TPS65912_REG_DCDC1 && id <= TPS65912_REG_LDO4) in tps65912_get_ctrl_register() 196 return id * 3 + TPS65912_DCDC1_AVS; in tps65912_get_ctrl_register() 197 else if (id >= TPS65912_REG_LDO5 && id <= TPS65912_REG_LDO10) in tps65912_get_ctrl_register() 198 return id - TPS65912_REG_LDO5 + TPS65912_LDO5; in tps65912_get_ctrl_register() 203 static int tps65912_get_sel_register(struct tps65912_reg *pmic, int id) in tps65912_get_sel_register() argument 209 if (id >= TPS65912_REG_DCDC1 && id <= TPS65912_REG_LDO4) { in tps65912_get_sel_register() [all …]
|
D | palmas-regulator.c | 320 .id = PALMAS_EXTERNAL_REQSTR_ID_##_id, \ 356 .id = TPS65917_EXTERNAL_REQSTR_ID_##_id, \ 437 int id = rdev_get_id(dev); in palmas_set_mode_smps() local 440 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_set_mode_smps() 465 pmic->current_reg_mode[id] = reg & PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; in palmas_set_mode_smps() 470 pmic->desc[id].enable_val = pmic->current_reg_mode[id]; in palmas_set_mode_smps() 478 int id = rdev_get_id(dev); in palmas_get_mode_smps() local 481 reg = pmic->current_reg_mode[id] & PALMAS_SMPS12_CTRL_MODE_ACTIVE_MASK; in palmas_get_mode_smps() 498 int id = rdev_get_id(rdev); in palmas_smps_set_ramp_delay() local 501 struct palmas_regs_info *rinfo = &ddata->palmas_regs_info[id]; in palmas_smps_set_ramp_delay() [all …]
|
D | lp8788-buck.c | 155 static void lp8788_set_dvs(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_set_dvs() argument 157 switch (id) { in lp8788_set_dvs() 170 lp8788_get_buck_dvs_ctrl_mode(struct lp8788_buck *buck, enum lp8788_buck_id id) in lp8788_get_buck_dvs_ctrl_mode() argument 174 switch (id) { in lp8788_get_buck_dvs_ctrl_mode() 208 enum lp8788_buck_id id) in lp8788_select_buck_vout_addr() argument 210 enum lp8788_dvs_mode mode = lp8788_get_buck_dvs_ctrl_mode(buck, id); in lp8788_select_buck_vout_addr() 216 switch (id) { in lp8788_select_buck_vout_addr() 266 enum lp8788_buck_id id = rdev_get_id(rdev); in lp8788_buck12_set_voltage_sel() local 270 lp8788_set_dvs(buck, id); in lp8788_buck12_set_voltage_sel() 272 addr = lp8788_select_buck_vout_addr(buck, id); in lp8788_buck12_set_voltage_sel() [all …]
|
D | max77802.c | 84 static int max77802_get_opmode_shift(int id) in max77802_get_opmode_shift() argument 86 if (id == MAX77802_BUCK1 || (id >= MAX77802_BUCK5 && in max77802_get_opmode_shift() 87 id <= MAX77802_BUCK10)) in max77802_get_opmode_shift() 90 if (id >= MAX77802_BUCK2 && id <= MAX77802_BUCK4) in max77802_get_opmode_shift() 93 if (id >= MAX77802_LDO1 && id <= MAX77802_LDO35) in max77802_get_opmode_shift() 110 int id = rdev_get_id(rdev); in max77802_set_suspend_disable() local 111 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_disable() 113 max77802->opmode[id] = val; in max77802_set_suspend_disable() 126 int id = rdev_get_id(rdev); in max77802_set_mode() local 128 int shift = max77802_get_opmode_shift(id); in max77802_set_mode() [all …]
|
D | devres.c | 33 static struct regulator *_devm_regulator_get(struct device *dev, const char *id, in _devm_regulator_get() argument 44 regulator = regulator_get(dev, id); in _devm_regulator_get() 47 regulator = regulator_get_exclusive(dev, id); in _devm_regulator_get() 50 regulator = regulator_get_optional(dev, id); in _devm_regulator_get() 75 struct regulator *devm_regulator_get(struct device *dev, const char *id) in devm_regulator_get() argument 77 return _devm_regulator_get(dev, id, NORMAL_GET); in devm_regulator_get() 91 const char *id) in devm_regulator_get_exclusive() argument 93 return _devm_regulator_get(dev, id, EXCLUSIVE_GET); in devm_regulator_get_exclusive() 107 const char *id) in devm_regulator_get_optional() argument 109 return _devm_regulator_get(dev, id, OPTIONAL_GET); in devm_regulator_get_optional() [all …]
|
D | lp8788-ldo.c | 162 enum lp8788_ldo_id id = rdev_get_id(rdev); in lp8788_ldo_enable_time() local 163 u8 val, addr = LP8788_DLDO1_TIMESTEP + id; in lp8788_ldo_enable_time() 194 .id = DLDO1, 207 .id = DLDO2, 220 .id = DLDO3, 233 .id = DLDO4, 246 .id = DLDO5, 259 .id = DLDO6, 272 .id = DLDO7, 285 .id = DLDO8, [all …]
|
D | max77686.c | 97 static unsigned int max77686_get_opmode_shift(int id) in max77686_get_opmode_shift() argument 99 switch (id) { in max77686_get_opmode_shift() 118 int id) in max77686_map_normal_mode() argument 120 switch (id) { in max77686_map_normal_mode() 124 if (test_bit(id, max77686->gpio_enabled)) in max77686_map_normal_mode() 136 int ret, id = rdev_get_id(rdev); in max77686_set_suspend_disable() local 138 shift = max77686_get_opmode_shift(id); in max77686_set_suspend_disable() 146 max77686->opmode[id] = val; in max77686_set_suspend_disable() 156 int ret, id = rdev_get_id(rdev); in max77686_set_suspend_mode() local 159 if (id >= MAX77686_BUCK5) in max77686_set_suspend_mode() [all …]
|
D | mc13892-regulator.c | 340 int id = rdev_get_id(rdev); in mc13892_gpo_regulator_enable() local 341 u32 en_val = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_enable() 342 u32 mask = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_enable() 344 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); in mc13892_gpo_regulator_enable() 347 if (id == MC13892_PWGT1SPI || id == MC13892_PWGT2SPI) in mc13892_gpo_regulator_enable() 350 if (id == MC13892_GPO4) in mc13892_gpo_regulator_enable() 359 int id = rdev_get_id(rdev); in mc13892_gpo_regulator_disable() local 362 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); in mc13892_gpo_regulator_disable() 365 if (id == MC13892_PWGT1SPI || id == MC13892_PWGT2SPI) in mc13892_gpo_regulator_disable() 366 dis_val = mc13892_regulators[id].enable_bit; in mc13892_gpo_regulator_disable() [all …]
|
D | wm831x-ldo.c | 224 int id; in wm831x_gp_ldo_probe() local 230 id = (pdata->wm831x_num * 10) + 1; in wm831x_gp_ldo_probe() 232 id = 0; in wm831x_gp_ldo_probe() 233 id = pdev->id - id; in wm831x_gp_ldo_probe() 235 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm831x_gp_ldo_probe() 251 snprintf(ldo->name, sizeof(ldo->name), "LDO%d", id + 1); in wm831x_gp_ldo_probe() 255 "LDO%dVDD", id + 1); in wm831x_gp_ldo_probe() 258 ldo->desc.id = id; in wm831x_gp_ldo_probe() 266 ldo->desc.enable_mask = 1 << id; in wm831x_gp_ldo_probe() 274 config.init_data = pdata->ldo[id]; in wm831x_gp_ldo_probe() [all …]
|
D | wm831x-dcdc.c | 457 int id; in wm831x_buckv_probe() local 463 id = (pdata->wm831x_num * 10) + 1; in wm831x_buckv_probe() 465 id = 0; in wm831x_buckv_probe() 466 id = pdev->id - id; in wm831x_buckv_probe() 468 dev_dbg(&pdev->dev, "Probing DCDC%d\n", id + 1); in wm831x_buckv_probe() 485 snprintf(dcdc->name, sizeof(dcdc->name), "DCDC%d", id + 1); in wm831x_buckv_probe() 489 "DC%dVDD", id + 1); in wm831x_buckv_probe() 492 dcdc->desc.id = id; in wm831x_buckv_probe() 498 dcdc->desc.enable_mask = 1 << id; in wm831x_buckv_probe() 514 if (pdata && pdata->dcdc[id]) in wm831x_buckv_probe() [all …]
|
D | wm8994-regulator.c | 81 .id = 1, 94 .id = 2, 129 int id = pdev->id % ARRAY_SIZE(pdata->ldo); in wm8994_ldo_probe() local 134 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); in wm8994_ldo_probe() 141 ldo->supply = wm8994_ldo_consumer[id]; in wm8994_ldo_probe() 149 config.ena_gpio = pdata->ldo[id].enable; in wm8994_ldo_probe() 151 config.ena_gpio = wm8994->pdata.ldo[id].enable; in wm8994_ldo_probe() 156 if (!pdata || !pdata->ldo[id].init_data || wm8994->dev->of_node) { in wm8994_ldo_probe() 160 ldo->init_data = wm8994_ldo_default[id]; in wm8994_ldo_probe() 165 ldo->init_data = *pdata->ldo[id].init_data; in wm8994_ldo_probe() [all …]
|
/linux-4.4.14/drivers/clk/versatile/ |
D | clk-impd1.c | 86 void integrator_impd1_clk_init(void __iomem *base, unsigned int id) in integrator_impd1_clk_init() argument 93 if (id > 3) { in integrator_impd1_clk_init() 97 imc = &impd1_clks[id]; in integrator_impd1_clk_init() 100 imc->pclkname = kasprintf(GFP_KERNEL, "lm%x-pclk", id); in integrator_impd1_clk_init() 105 imc->vco1name = kasprintf(GFP_KERNEL, "lm%x-vco1", id); in integrator_impd1_clk_init() 109 imc->clks[0] = clkdev_alloc(pclk, "apb_pclk", "lm%x:01000", id); in integrator_impd1_clk_init() 110 imc->clks[1] = clkdev_alloc(clk, NULL, "lm%x:01000", id); in integrator_impd1_clk_init() 113 imc->vco2name = kasprintf(GFP_KERNEL, "lm%x-vco2", id); in integrator_impd1_clk_init() 119 imc->clks[2] = clkdev_alloc(pclk, "apb_pclk", "lm%x:00700", id); in integrator_impd1_clk_init() 120 imc->clks[3] = clkdev_alloc(clk, NULL, "lm%x:00700", id); in integrator_impd1_clk_init() [all …]
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | feature.c | 65 int id; in brcmf_feat_debugfs_read() local 68 for (id = 0; id < BRCMF_FEAT_LAST; id++) in brcmf_feat_debugfs_read() 69 if (feats & BIT(id)) in brcmf_feat_debugfs_read() 70 seq_printf(seq, "\t%s\n", brcmf_feat_names[id]); in brcmf_feat_debugfs_read() 72 for (id = 0; id < BRCMF_FEAT_QUIRK_LAST; id++) in brcmf_feat_debugfs_read() 73 if (quirks & BIT(id)) in brcmf_feat_debugfs_read() 74 seq_printf(seq, "\t%s\n", brcmf_quirk_names[id]); in brcmf_feat_debugfs_read() 92 enum brcmf_feat_id id, char *name) in brcmf_feat_iovar_int_get() argument 99 brcmf_dbg(INFO, "enabling feature: %s\n", brcmf_feat_names[id]); in brcmf_feat_iovar_int_get() 100 ifp->drvr->feat_flags |= BIT(id); in brcmf_feat_iovar_int_get() [all …]
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_extend.h | 55 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument 57 return !!ext->offset[id]; in __nf_ct_ext_exist() 60 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist() argument 62 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist() 65 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) in __nf_ct_ext_find() argument 67 if (!nf_ct_ext_exist(ct, id)) in __nf_ct_ext_find() 70 return (void *)ct->ext + ct->ext->offset[id]; in __nf_ct_ext_find() 72 #define nf_ct_ext_find(ext, id) \ argument 73 ((id##_TYPE *)__nf_ct_ext_find((ext), (id))) 93 void *__nf_ct_ext_add_length(struct nf_conn *ct, enum nf_ct_ext_id id, [all …]
|
/linux-4.4.14/arch/mips/bcm63xx/ |
D | timer.c | 56 int bcm63xx_timer_enable(int id) in bcm63xx_timer_enable() argument 61 if (id >= BCM63XX_TIMER_COUNT) in bcm63xx_timer_enable() 66 reg = bcm_timer_readl(TIMER_CTLx_REG(id)); in bcm63xx_timer_enable() 68 bcm_timer_writel(reg, TIMER_CTLx_REG(id)); in bcm63xx_timer_enable() 71 reg |= TIMER_IRQSTAT_TIMER_IR_EN(id); in bcm63xx_timer_enable() 80 int bcm63xx_timer_disable(int id) in bcm63xx_timer_disable() argument 85 if (id >= BCM63XX_TIMER_COUNT) in bcm63xx_timer_disable() 90 reg = bcm_timer_readl(TIMER_CTLx_REG(id)); in bcm63xx_timer_disable() 92 bcm_timer_writel(reg, TIMER_CTLx_REG(id)); in bcm63xx_timer_disable() 95 reg &= ~TIMER_IRQSTAT_TIMER_IR_EN(id); in bcm63xx_timer_disable() [all …]
|
D | dev-uart.c | 39 .id = 0, 46 .id = 1, 52 int __init bcm63xx_uart_register(unsigned int id) in bcm63xx_uart_register() argument 54 if (id >= ARRAY_SIZE(bcm63xx_uart_devices)) in bcm63xx_uart_register() 57 if (id == 1 && (!BCMCPU_IS_3368() && !BCMCPU_IS_6358() && in bcm63xx_uart_register() 61 if (id == 0) { in bcm63xx_uart_register() 68 if (id == 1) { in bcm63xx_uart_register() 75 return platform_device_register(&bcm63xx_uart_devices[id]); in bcm63xx_uart_register()
|
D | clk.c | 23 int id; member 90 if (clk->id == 0) in enetx_set() 99 .id = 0, 104 .id = 1, 355 struct clk *clk_get(struct device *dev, const char *id) in clk_get() argument 357 if (!strcmp(id, "enet0")) in clk_get() 359 if (!strcmp(id, "enet1")) in clk_get() 361 if (!strcmp(id, "enetsw")) in clk_get() 363 if (!strcmp(id, "ephy")) in clk_get() 365 if (!strcmp(id, "usbh")) in clk_get() [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | cma.c | 195 struct rdma_cm_id id; member 246 struct rdma_id_private *id; member 254 struct rdma_id_private *id; member 260 struct rdma_id_private *id; member 343 id_priv->id.device = cma_dev->device; in cma_attach_to_dev() 344 id_priv->id.route.addr.dev_addr.transport = in cma_attach_to_dev() 374 return (struct sockaddr *) &id_priv->id.route.addr.src_addr; in cma_src_addr() 379 return (struct sockaddr *) &id_priv->id.route.addr.dst_addr; in cma_dst_addr() 384 return id_priv->id.route.addr.src_addr.ss_family; in cma_family() 403 switch (id_priv->id.ps) { in cma_set_qkey() [all …]
|
/linux-4.4.14/arch/mips/paravirt/ |
D | paravirt-smp.c | 46 int id; in paravirt_smp_setup() local 53 for (id = 0; id < NR_CPUS; id++) { in paravirt_smp_setup() 54 set_cpu_possible(id, id == 0); in paravirt_smp_setup() 55 set_cpu_present(id, id == 0); in paravirt_smp_setup() 60 for (id = 0; id < numcpus; id++) { in paravirt_smp_setup() 61 set_cpu_possible(id, true); in paravirt_smp_setup() 62 set_cpu_present(id, true); in paravirt_smp_setup() 63 __cpu_number_map[id] = id; in paravirt_smp_setup() 64 __cpu_logical_map[id] = id; in paravirt_smp_setup()
|
/linux-4.4.14/sound/isa/sb/ |
D | sb16.c | 70 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 94 module_param_array(id, charp, NULL, 0444); 95 MODULE_PARM_DESC(id, "ID string for SoundBlaster 16 soundcard."); 151 { .id = "CTL0024", .devs = { { "CTL0031" } } }, 153 { .id = "CTL0025", .devs = { { "CTL0031" } } }, 155 { .id = "CTL0026", .devs = { { "CTL0031" } } }, 157 { .id = "CTL0027", .devs = { { "CTL0031" } } }, 159 { .id = "CTL0028", .devs = { { "CTL0031" } } }, 161 { .id = "CTL0029", .devs = { { "CTL0031" } } }, 163 { .id = "CTL002a", .devs = { { "CTL0031" } } }, [all …]
|
/linux-4.4.14/include/rdma/ |
D | rdma_cm.h | 146 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id, 185 void rdma_destroy_id(struct rdma_cm_id *id); 198 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr); 210 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr, 221 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms); 230 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd, 240 void rdma_destroy_qp(struct rdma_cm_id *id); 261 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr, 276 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param); 285 int rdma_listen(struct rdma_cm_id *id, int backlog); [all …]
|
/linux-4.4.14/arch/arm/mach-s3c64xx/ |
D | mach-crag6410-module.c | 295 u8 id; member 303 { .id = 0x01, .rev = 0xff, .name = "1250-EV1 Springbank" }, 304 { .id = 0x02, .rev = 0xff, .name = "1251-EV1 Jura" }, 305 { .id = 0x03, .rev = 0xff, .name = "1252-EV1 Glenlivet" }, 306 { .id = 0x06, .rev = 0xff, .name = "WM8997-6721-CS96-EV1 Lapraoig" }, 307 { .id = 0x07, .rev = 0xff, .name = "WM5110-6271 Deanston", 310 { .id = 0x08, .rev = 0xff, .name = "WM8903-6102 Tamdhu" }, 311 { .id = 0x09, .rev = 0xff, .name = "WM1811A-6305 Adelphi" }, 312 { .id = 0x0a, .rev = 0xff, .name = "WM8996-6272 Blackadder" }, 313 { .id = 0x0b, .rev = 0xff, .name = "WM8994-6235 Benromach" }, [all …]
|
/linux-4.4.14/drivers/clk/at91/ |
D | clk-peripheral.c | 27 #define PERIPHERAL_MASK(id) (1 << ((id) & PERIPHERAL_ID_MAX)) argument 37 u32 id; member 46 u32 id; member 59 u32 id = periph->id; in clk_peripheral_enable() local 61 if (id < PERIPHERAL_ID_MIN) in clk_peripheral_enable() 63 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_enable() 65 pmc_write(pmc, offset, PERIPHERAL_MASK(id)); in clk_peripheral_enable() 74 u32 id = periph->id; in clk_peripheral_disable() local 76 if (id < PERIPHERAL_ID_MIN) in clk_peripheral_disable() 78 if (id > PERIPHERAL_ID_MAX) in clk_peripheral_disable() [all …]
|
D | clk-system.c | 35 u8 id; member 38 static inline int is_pck(int id) in is_pck() argument 40 return (id >= 8) && (id <= 15); in is_pck() 56 u32 mask = 1 << sys->id; in clk_system_prepare() 60 if (!is_pck(sys->id)) in clk_system_prepare() 79 pmc_write(pmc, AT91_PMC_SCDR, 1 << sys->id); in clk_system_unprepare() 87 if (!(pmc_read(pmc, AT91_PMC_SCSR) & (1 << sys->id))) in clk_system_is_prepared() 90 if (!is_pck(sys->id)) in clk_system_is_prepared() 93 return !!(pmc_read(pmc, AT91_PMC_SR) & (1 << sys->id)); in clk_system_is_prepared() 104 const char *parent_name, u8 id, int irq) in at91_clk_register_system() argument [all …]
|
/linux-4.4.14/net/sched/ |
D | cls_route.c | 34 u32 id; member 52 u32 id; member 65 static inline int route4_fastmap_hash(u32 id, int iif) in route4_fastmap_hash() argument 67 return id & 0xF; in route4_fastmap_hash() 80 route4_set_fastmap(struct route4_head *head, u32 id, int iif, in route4_set_fastmap() argument 83 int h = route4_fastmap_hash(id, iif); in route4_set_fastmap() 87 head->fastmap[h].id = id; in route4_set_fastmap() 93 static inline int route4_hash_to(u32 id) in route4_hash_to() argument 95 return id & 0xFF; in route4_hash_to() 98 static inline int route4_hash_from(u32 id) in route4_hash_from() argument [all …]
|
/linux-4.4.14/drivers/pnp/ |
D | card.c | 23 while (*drv_id->id) { in match_card() 24 if (compare_pnp_id(card->id, drv_id->id)) { in match_card() 32 !*drv_id->devs[i].id) in match_card() 36 if (compare_pnp_id(dev->id, in match_card() 37 drv_id->devs[i].id)) { in match_card() 72 const struct pnp_card_device_id *id; in card_probe() local 78 id = match_card(drv, card); in card_probe() 79 if (!id) in card_probe() 89 if (drv->probe(clink, id) >= 0) in card_probe() 106 static struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id) in pnp_add_card_id() argument [all …]
|
D | driver.c | 28 int compare_pnp_id(struct pnp_id *pos, const char *id) in compare_pnp_id() argument 30 if (!pos || !id || (strlen(id) != 7)) in compare_pnp_id() 32 if (memcmp(id, "ANYDEVS", 7) == 0) in compare_pnp_id() 35 if (memcmp(pos->id, id, 3) == 0) in compare_pnp_id() 36 if (compare_func(pos->id, id) == 1) in compare_pnp_id() 51 while (*drv_id->id) { in match_device() 52 if (compare_pnp_id(dev->id, drv_id->id)) in match_device() 280 struct pnp_id *pnp_add_id(struct pnp_dev *dev, const char *id) in pnp_add_id() argument 288 dev_id->id[0] = id[0]; in pnp_add_id() 289 dev_id->id[1] = id[1]; in pnp_add_id() [all …]
|
D | core.c | 104 struct pnp_id *id; in pnp_free_ids() local 107 id = dev->id; in pnp_free_ids() 108 while (id) { in pnp_free_ids() 109 next = id->next; in pnp_free_ids() 110 kfree(id); in pnp_free_ids() 111 id = next; in pnp_free_ids() 140 struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *protocol, int id, in pnp_alloc_dev() argument 153 dev->number = id; in pnp_alloc_dev() 216 struct pnp_id *id; in pnp_add_device() local 226 for (id = dev->id; id; id = id->next) in pnp_add_device() [all …]
|
/linux-4.4.14/drivers/acpi/ |
D | tables.c | 63 p->processor_id, p->id, in acpi_table_print_madt_entry() 83 p->id, p->address, p->global_irq_base); in acpi_table_print_madt_entry() 157 p->id, (void *)(unsigned long)p->address, in acpi_table_print_madt_entry() 167 p->processor_id, p->id, p->eid, in acpi_table_print_madt_entry() 179 p->type, p->id, p->eid, p->io_sapic_vector, in acpi_table_print_madt_entry() 232 acpi_parse_entries_array(char *id, unsigned long table_size, in acpi_parse_entries_array() argument 245 if (!id) in acpi_parse_entries_array() 252 pr_warn("%4.4s not present\n", id); in acpi_parse_entries_array() 269 if (entry->type != proc[i].id) in acpi_parse_entries_array() 286 pr_err("[%4.4s:0x%02x] Invalid zero length\n", id, proc->id); in acpi_parse_entries_array() [all …]
|
D | acpi_processor.c | 201 ret = acpi_map_cpu(pr->handle, pr->phys_id, &pr->id); in acpi_processor_hotadd_init() 205 ret = arch_register_cpu(pr->id); in acpi_processor_hotadd_init() 207 acpi_unmap_cpu(pr->id); in acpi_processor_hotadd_init() 216 pr_info("CPU%d has been hot-added\n", pr->id); in acpi_processor_hotadd_init() 288 pr->id = acpi_map_cpuid(pr->phys_id, pr->acpi_id); in acpi_processor_get_info() 295 if (invalid_logical_cpuid(pr->id) && (num_online_cpus() == 1)) in acpi_processor_get_info() 296 pr->id = 0; in acpi_processor_get_info() 304 if (invalid_logical_cpuid(pr->id)) { in acpi_processor_get_info() 319 sprintf(acpi_device_bid(device), "CPU%X", pr->id); in acpi_processor_get_info() 320 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Processor [%d:%d]\n", pr->id, in acpi_processor_get_info() [all …]
|
/linux-4.4.14/drivers/staging/wilc1000/ |
D | wilc_wlan_cfg.c | 164 static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8) in wilc_wlan_cfg_set_byte() argument 173 buf[0] = (u8)id; in wilc_wlan_cfg_set_byte() 174 buf[1] = (u8)(id >> 8); in wilc_wlan_cfg_set_byte() 180 static int wilc_wlan_cfg_set_hword(u8 *frame, u32 offset, u16 id, u16 val16) in wilc_wlan_cfg_set_hword() argument 189 buf[0] = (u8)id; in wilc_wlan_cfg_set_hword() 190 buf[1] = (u8)(id >> 8); in wilc_wlan_cfg_set_hword() 198 static int wilc_wlan_cfg_set_word(u8 *frame, u32 offset, u16 id, u32 val32) in wilc_wlan_cfg_set_word() argument 207 buf[0] = (u8)id; in wilc_wlan_cfg_set_word() 208 buf[1] = (u8)(id >> 8); in wilc_wlan_cfg_set_word() 218 static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, u32 size) in wilc_wlan_cfg_set_str() argument [all …]
|
/linux-4.4.14/drivers/input/gameport/ |
D | ns558.c | 170 { .id = "@P@0001", .driver_data = 0 }, /* ALS 100 */ 171 { .id = "@P@0020", .driver_data = 0 }, /* ALS 200 */ 172 { .id = "@P@1001", .driver_data = 0 }, /* ALS 100+ */ 173 { .id = "@P@2001", .driver_data = 0 }, /* ALS 120 */ 174 { .id = "ASB16fd", .driver_data = 0 }, /* AdLib NSC16 */ 175 { .id = "AZT3001", .driver_data = 0 }, /* AZT1008 */ 176 { .id = "CDC0001", .driver_data = 0 }, /* Opl3-SAx */ 177 { .id = "CSC0001", .driver_data = 0 }, /* CS4232 */ 178 { .id = "CSC000f", .driver_data = 0 }, /* CS4236 */ 179 { .id = "CSC0101", .driver_data = 0 }, /* CS4327 */ [all …]
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_proto_icmp.c | 26 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && in icmp_in_range() 27 ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); in icmp_in_range() 37 static u_int16_t id; in icmp_unique_tuple() local 41 range_size = ntohs(range->max_proto.icmp.id) - in icmp_unique_tuple() 42 ntohs(range->min_proto.icmp.id) + 1; in icmp_unique_tuple() 47 for (i = 0; ; ++id) { in icmp_unique_tuple() 48 tuple->src.u.icmp.id = htons(ntohs(range->min_proto.icmp.id) + in icmp_unique_tuple() 49 (id % range_size)); in icmp_unique_tuple() 70 hdr->un.echo.id, tuple->src.u.icmp.id, false); in icmp_manip_pkt() 71 hdr->un.echo.id = tuple->src.u.icmp.id; in icmp_manip_pkt()
|
/linux-4.4.14/drivers/rapidio/ |
D | rio-driver.c | 30 *id, in rio_match_device() 33 while (id->vid || id->asm_vid) { in rio_match_device() 34 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && in rio_match_device() 35 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) && in rio_match_device() 36 ((id->asm_vid == RIO_ANY_ID) in rio_match_device() 37 || (id->asm_vid == rdev->asm_vid)) in rio_match_device() 38 && ((id->asm_did == RIO_ANY_ID) in rio_match_device() 39 || (id->asm_did == rdev->asm_did))) in rio_match_device() 40 return id; in rio_match_device() 41 id++; in rio_match_device() [all …]
|
/linux-4.4.14/drivers/mfd/ |
D | twl4030-audio.c | 58 static int twl4030_audio_set_resource(enum twl4030_audio_res id, int enable) in twl4030_audio_set_resource() argument 64 audio->resource[id].reg); in twl4030_audio_set_resource() 67 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 69 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 72 val, audio->resource[id].reg); in twl4030_audio_set_resource() 77 static inline int twl4030_audio_get_resource(enum twl4030_audio_res id) in twl4030_audio_get_resource() argument 83 audio->resource[id].reg); in twl4030_audio_get_resource() 92 int twl4030_audio_enable_resource(enum twl4030_audio_res id) in twl4030_audio_enable_resource() argument 97 if (id >= TWL4030_AUDIO_RES_MAX) { in twl4030_audio_enable_resource() 99 "Invalid resource ID (%u)\n", id); in twl4030_audio_enable_resource() [all …]
|
D | wm831x-core.c | 1020 .id = 1, 1026 .id = 2, 1032 .id = 3, 1038 .id = 4, 1047 .id = 1, 1051 .id = 2, 1063 .id = 1, 1069 .id = 2, 1075 .id = 1, 1081 .id = 2, [all …]
|
D | ab3100-core.c | 735 .id = -1, 739 .id = -1, 743 .id = -1, 748 .id = -1, 752 .id = -1, 756 .id = -1, 760 .id = -1, 764 .id = -1, 768 .id = -1, 772 .id = -1, [all …]
|
/linux-4.4.14/drivers/leds/ |
D | leds-da903x.c | 39 int id; member 43 #define DA9030_LED_OFFSET(id) ((id) - DA9030_ID_LED_1) argument 44 #define DA9034_LED_OFFSET(id) ((id) - DA9034_ID_LED_1) argument 52 switch (led->id) { in da903x_led_work() 58 offset = DA9030_LED_OFFSET(led->id); in da903x_led_work() 71 offset = DA9034_LED_OFFSET(led->id); in da903x_led_work() 97 int id, ret; in da903x_led_probe() local 102 id = pdev->id; in da903x_led_probe() 104 if (!((id >= DA9030_ID_LED_1 && id <= DA9030_ID_VIBRA) || in da903x_led_probe() 105 (id >= DA9034_ID_LED_1 && id <= DA9034_ID_VIBRA))) { in da903x_led_probe() [all …]
|
D | leds-mc13783.c | 37 int id; member 48 static unsigned int mc13xxx_max_brightness(int id) in mc13xxx_max_brightness() argument 50 if (id >= MC13783_LED_MD && id <= MC13783_LED_KP) in mc13xxx_max_brightness() 52 else if (id >= MC13783_LED_R1 && id <= MC13783_LED_B3) in mc13xxx_max_brightness() 64 switch (led->id) { in mc13xxx_led_work() 69 shift = 9 + (led->id - MC13783_LED_MD) * 4; in mc13xxx_led_work() 80 off = led->id - MC13783_LED_R1; in mc13xxx_led_work() 88 reg = (led->id - MC13892_LED_MD) / 2; in mc13xxx_led_work() 89 shift = 3 + (led->id - MC13892_LED_MD) * 12; in mc13xxx_led_work() 94 off = led->id - MC13892_LED_R; in mc13xxx_led_work() [all …]
|
D | leds-bd2802.c | 112 static inline int bd2802_is_rgb_off(struct bd2802_led *led, enum led_ids id, in bd2802_is_rgb_off() argument 117 return !led->led[id].r; in bd2802_is_rgb_off() 119 return !led->led[id].g; in bd2802_is_rgb_off() 121 return !led->led[id].b; in bd2802_is_rgb_off() 128 static inline int bd2802_is_led_off(struct bd2802_led *led, enum led_ids id) in bd2802_is_led_off() argument 130 if (led->led[id].r || led->led[id].g || led->led[id].b) in bd2802_is_led_off() 147 static inline u8 bd2802_get_base_offset(enum led_ids id, enum led_colors color) in bd2802_get_base_offset() argument 149 return id * BD2802_LED_OFFSET + color * BD2802_COLOR_OFFSET; in bd2802_get_base_offset() 152 static inline u8 bd2802_get_reg_addr(enum led_ids id, enum led_colors color, in bd2802_get_reg_addr() argument 155 return reg_offset + bd2802_get_base_offset(id, color); in bd2802_get_reg_addr() [all …]
|
/linux-4.4.14/include/soc/tegra/ |
D | pmc.h | 111 int tegra_powergate_is_powered(int id); 112 int tegra_powergate_power_on(int id); 113 int tegra_powergate_power_off(int id); 114 int tegra_powergate_remove_clamping(int id); 117 int tegra_powergate_sequence_power_up(int id, struct clk *clk, 120 int tegra_io_rail_power_on(int id); 121 int tegra_io_rail_power_off(int id); 123 static inline int tegra_powergate_is_powered(int id) in tegra_powergate_is_powered() argument 128 static inline int tegra_powergate_power_on(int id) in tegra_powergate_power_on() argument 133 static inline int tegra_powergate_power_off(int id) in tegra_powergate_power_off() argument [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | debug.c | 50 int block_debug_setup(void *addr, int len, __u64 off, __u64 id) in block_debug_setup() argument 55 put_unaligned_le64(id, addr+LPDS); in block_debug_setup() 58 put_unaligned_le64(id, addr+LPDS); in block_debug_setup() 64 int block_debug_check(char *who, void *addr, int end, __u64 off, __u64 id) in block_debug_check() argument 72 id = le64_to_cpu (id); in block_debug_check() 75 who, id, off, *(__u64 *)addr, ne_off); in block_debug_check() 78 if (memcmp(addr + LPDS, (char *)&id, LPDS)) { in block_debug_check() 80 who, id, off, *(__u64 *)(addr + LPDS), id); in block_debug_check() 87 who, id, off, *(__u64 *)addr, ne_off); in block_debug_check() 90 if (memcmp(addr + LPDS, (char *)&id, LPDS)) { in block_debug_check() [all …]
|
/linux-4.4.14/arch/arm/mach-davinci/include/mach/ |
D | time.h | 26 #define IS_TIMER1(id) (id & 0x2) argument 27 #define IS_TIMER0(id) (!IS_TIMER1(id)) argument 28 #define IS_TIMER_TOP(id) ((id & 0x1)) argument 29 #define IS_TIMER_BOT(id) (!IS_TIMER_TOP(id)) argument 31 #define ID_TO_TIMER(id) (IS_TIMER1(id) != 0) argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 282 static void vvp_pgcache_id_unpack(loff_t pos, struct vvp_pgcache_id *id) in vvp_pgcache_id_unpack() argument 286 id->vpi_index = pos & 0xffffffff; in vvp_pgcache_id_unpack() 287 id->vpi_depth = (pos >> PGC_DEPTH_SHIFT) & 0xf; in vvp_pgcache_id_unpack() 288 id->vpi_bucket = (unsigned long long)pos >> PGC_OBJ_SHIFT; in vvp_pgcache_id_unpack() 291 static loff_t vvp_pgcache_id_pack(struct vvp_pgcache_id *id) in vvp_pgcache_id_pack() argument 294 ((__u64)id->vpi_index) | in vvp_pgcache_id_pack() 295 ((__u64)id->vpi_depth << PGC_DEPTH_SHIFT) | in vvp_pgcache_id_pack() 296 ((__u64)id->vpi_bucket << PGC_OBJ_SHIFT); in vvp_pgcache_id_pack() 302 struct vvp_pgcache_id *id = data; in vvp_pgcache_obj_get() local 305 if (id->vpi_curdep-- > 0) in vvp_pgcache_obj_get() [all …]
|
/linux-4.4.14/arch/avr32/mach-at32ap/include/mach/ |
D | board.h | 37 struct platform_device *at32_add_device_usart(unsigned int id); 40 at32_add_device_eth(unsigned int id, struct macb_platform_data *data); 44 at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); 49 at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_pdata *data, 55 at32_add_device_usba(unsigned int id, struct usba_platform_data *data); 61 at32_add_device_ide(unsigned int id, unsigned int extint, 79 at32_add_device_ssc(unsigned int id, unsigned int flags); 82 struct platform_device *at32_add_device_twi(unsigned int id, 88 at32_add_device_mci(unsigned int id, struct mci_platform_data *data); 92 at32_add_device_ac97c(unsigned int id, struct ac97c_platform_data *data, [all …]
|
/linux-4.4.14/mm/ |
D | mmu_notifier.c | 59 int id; in __mmu_notifier_release() local 65 id = srcu_read_lock(&srcu); in __mmu_notifier_release() 90 srcu_read_unlock(&srcu, id); in __mmu_notifier_release() 114 int young = 0, id; in __mmu_notifier_clear_flush_young() local 116 id = srcu_read_lock(&srcu); in __mmu_notifier_clear_flush_young() 121 srcu_read_unlock(&srcu, id); in __mmu_notifier_clear_flush_young() 131 int young = 0, id; in __mmu_notifier_clear_young() local 133 id = srcu_read_lock(&srcu); in __mmu_notifier_clear_young() 138 srcu_read_unlock(&srcu, id); in __mmu_notifier_clear_young() 147 int young = 0, id; in __mmu_notifier_test_young() local [all …]
|
/linux-4.4.14/include/uapi/rdma/ |
D | rdma_user_cm.h | 90 __u32 id; member 95 __u32 id; member 106 __u32 id; member 110 __u32 id; member 119 __u32 id; member 124 __u32 id; member 134 __u32 id; member 146 __u32 id; member 202 __u32 id; member 207 __u32 id; member [all …]
|
D | ib_user_cm.h | 80 __u32 id; member 85 __u32 id; member 95 __u32 id; member 108 __u32 id; member 115 __u32 id; member 120 __u32 id; member 126 __u32 id; member 132 __u32 id; member 157 __u32 id; member 172 __u32 id; member [all …]
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-std.c | 28 v4l2_std_id id; member 137 v4l2_std_id id = 0; in pvr2_std_str_to_id() local 157 cmsk = sp->id; in pvr2_std_str_to_id() 173 t = sp->id & cmsk; in pvr2_std_str_to_id() 175 id |= t; in pvr2_std_str_to_id() 181 if (idPtr) *idPtr = id; in pvr2_std_str_to_id() 187 v4l2_std_id id) in pvr2_std_id_to_str() argument 200 if (!(gp->id & ip->id & id)) continue; in pvr2_std_id_to_str() 233 .id = (TSTD_B|TSTD_B1| 250 .id = (TSTD_M| [all …]
|
/linux-4.4.14/sound/core/ |
D | control.c | 155 struct snd_ctl_elem_id *id) in snd_ctl_notify() argument 161 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify() 172 if (ev->id.numid == id->numid) { in snd_ctl_notify() 179 ev->id = *id; in snd_ctl_notify() 273 kctl->id.iface = ncontrol->iface; in snd_ctl_new1() 274 kctl->id.device = ncontrol->device; in snd_ctl_new1() 275 kctl->id.subdevice = ncontrol->subdevice; in snd_ctl_new1() 277 strlcpy(kctl->id.name, ncontrol->name, sizeof(kctl->id.name)); in snd_ctl_new1() 278 if (strcmp(ncontrol->name, kctl->id.name) != 0) in snd_ctl_new1() 280 ncontrol->name, kctl->id.name); in snd_ctl_new1() [all …]
|
D | init.c | 107 snd_iprintf(buffer, "%s\n", entry->card->id); in snd_card_id_read() 220 strlcpy(card->id, xid, sizeof(card->id)); in snd_card_new() 537 static bool card_id_ok(struct snd_card *card, const char *id) in card_id_ok() argument 540 if (!snd_info_check_reserved_words(id)) in card_id_ok() 544 !strcmp(snd_cards[i]->id, id)) in card_id_ok() 554 char *id = card->id; in copy_valid_id_string() local 559 *id++ = isalpha(*src) ? *src : 'D'; in copy_valid_id_string() 560 while (*nid && (size_t)(id - card->id) < sizeof(card->id) - 1) { in copy_valid_id_string() 562 *id++ = *nid; in copy_valid_id_string() 565 *id = 0; in copy_valid_id_string() [all …]
|
/linux-4.4.14/drivers/connector/ |
D | cn_queue.c | 36 struct cb_id *id, in cn_queue_alloc_callback_entry() argument 53 snprintf(cbq->id.name, sizeof(cbq->id.name), "%s", name); in cn_queue_alloc_callback_entry() 54 memcpy(&cbq->id.id, id, sizeof(struct cb_id)); in cn_queue_alloc_callback_entry() 74 struct cb_id *id, in cn_queue_add_callback() argument 81 cbq = cn_queue_alloc_callback_entry(dev, name, id, callback); in cn_queue_add_callback() 87 if (cn_cb_equal(&__cbq->id.id, id)) { in cn_queue_add_callback() 102 cbq->group = cbq->id.id.idx; in cn_queue_add_callback() 107 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id) in cn_queue_del_callback() argument 114 if (cn_cb_equal(&cbq->id.id, id)) { in cn_queue_del_callback()
|
/linux-4.4.14/net/caif/ |
D | cfmuxl.c | 46 static struct cflayer *get_up(struct cfmuxl *muxl, u16 id); 75 static struct cflayer *get_from_id(struct list_head *list, u16 id) in get_from_id() argument 79 if (lyr->id == id) in get_from_id() 123 static struct cflayer *get_up(struct cfmuxl *muxl, u16 id) in get_up() argument 126 int idx = id % UP_CACHE_SIZE; in get_up() 128 if (up == NULL || up->id != id) { in get_up() 130 up = get_from_id(&muxl->srvl_list, id); in get_up() 140 int idx = dev_info->id % DN_CACHE_SIZE; in get_dn() 142 if (dn == NULL || dn->id != dev_info->id) { in get_dn() 144 dn = get_from_id(&muxl->frml_list, dev_info->id); in get_dn() [all …]
|
/linux-4.4.14/arch/mips/ath79/ |
D | setup.c | 62 u32 id; in ath79_detect_sys_type() local 67 id = ath79_reset_rr(AR71XX_RESET_REG_REV_ID); in ath79_detect_sys_type() 68 major = id & REV_ID_MAJOR_MASK; in ath79_detect_sys_type() 72 minor = id & AR71XX_REV_ID_MINOR_MASK; in ath79_detect_sys_type() 73 rev = id >> AR71XX_REV_ID_REVISION_SHIFT; in ath79_detect_sys_type() 96 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 102 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 108 rev = id & AR724X_REV_ID_REVISION_MASK; in ath79_detect_sys_type() 112 minor = id & AR913X_REV_ID_MINOR_MASK; in ath79_detect_sys_type() 113 rev = id >> AR913X_REV_ID_REVISION_SHIFT; in ath79_detect_sys_type() [all …]
|
/linux-4.4.14/drivers/tc/ |
D | tc-driver.c | 62 const struct tc_device_id *id = tdrv->id_table; in tc_match_device() local 64 if (id) { in tc_match_device() 65 while (id->name[0] || id->vendor[0]) { in tc_match_device() 66 if (strcmp(tdev->name, id->name) == 0 && in tc_match_device() 67 strcmp(tdev->vendor, id->vendor) == 0) in tc_match_device() 68 return id; in tc_match_device() 69 id++; in tc_match_device() 90 const struct tc_device_id *id; in tc_bus_match() local 92 id = tc_match_device(tdrv, tdev); in tc_bus_match() 93 if (id) in tc_bus_match()
|
/linux-4.4.14/drivers/input/joystick/ |
D | gf2k.c | 85 unsigned char id; member 179 for (i = 0; i < 4 && i < gf2k_axes[gf2k->id]; i++) in gf2k_read() 182 for (i = 0; i < 2 && i < gf2k_axes[gf2k->id] - 4; i++) in gf2k_read() 187 for (i = 0; i < gf2k_hats[gf2k->id]; i++) in gf2k_read() 192 for (i = 0; i < gf2k_joys[gf2k->id]; i++) in gf2k_read() 195 for (i = 0; i < gf2k_pads[gf2k->id]; i++) in gf2k_read() 212 if (gf2k_read_packet(gf2k->gameport, gf2k_length[gf2k->id], data) < gf2k_length[gf2k->id]) in gf2k_poll() 273 if (!(gf2k->id = GB(7,2,0) | GB(3,3,2) | GB(0,3,5))) { in gf2k_connect() 279 if ((gf2k->id != (GB(19,2,0) | GB(15,3,2) | GB(12,3,5))) && in gf2k_connect() 280 (gf2k->id != (GB(31,2,0) | GB(27,3,2) | GB(24,3,5)))) { in gf2k_connect() [all …]
|
/linux-4.4.14/drivers/usb/common/ |
D | ulpi.c | 40 const struct ulpi_device_id *id; in ulpi_match() local 42 for (id = drv->id_table; id->vendor; id++) in ulpi_match() 43 if (id->vendor == ulpi->id.vendor && in ulpi_match() 44 id->product == ulpi->id.product) in ulpi_match() 55 ulpi->id.vendor, ulpi->id.product)) in ulpi_uevent() 93 ulpi->id.vendor, ulpi->id.product); in modalias_show() 171 ulpi->id.vendor = ulpi_read(ulpi, ULPI_VENDOR_ID_LOW); in ulpi_register() 172 ulpi->id.vendor |= ulpi_read(ulpi, ULPI_VENDOR_ID_HIGH) << 8; in ulpi_register() 174 ulpi->id.product = ulpi_read(ulpi, ULPI_PRODUCT_ID_LOW); in ulpi_register() 175 ulpi->id.product |= ulpi_read(ulpi, ULPI_PRODUCT_ID_HIGH) << 8; in ulpi_register() [all …]
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_ports.c | 46 int id; in __scif_get_port() local 52 id = idr_alloc(&scif_ports, port, start, end, GFP_ATOMIC); in __scif_get_port() 53 if (id >= 0) in __scif_get_port() 56 return id; in __scif_get_port() 89 void scif_get_port(u16 id) in scif_get_port() argument 93 if (!id) in scif_get_port() 96 port = idr_find(&scif_ports, id); in scif_get_port() 108 void scif_put_port(u16 id) in scif_put_port() argument 112 if (!id) in scif_put_port() 115 port = idr_find(&scif_ports, id); in scif_put_port() [all …]
|
/linux-4.4.14/sound/ |
D | ac97_bus.c | 30 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument 33 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16; in snd_ac97_check_id() 34 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2); in snd_ac97_check_id() 36 if (ac97->id == 0x0 || ac97->id == 0xffffffff) in snd_ac97_check_id() 39 if (id != 0 && id != (ac97->id & id_mask)) in snd_ac97_check_id() 59 int snd_ac97_reset(struct snd_ac97 *ac97, bool try_warm, unsigned int id, in snd_ac97_reset() argument 66 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset() 75 if (snd_ac97_check_id(ac97, id, id_mask)) in snd_ac97_reset()
|
/linux-4.4.14/arch/arm/kvm/ |
D | coproc.c | 526 static bool index_to_params(u64 id, struct coproc_params *params) in index_to_params() argument 528 switch (id & KVM_REG_SIZE_MASK) { in index_to_params() 531 if (id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK in index_to_params() 540 params->CRn = ((id & KVM_REG_ARM_32_CRN_MASK) in index_to_params() 542 params->CRm = ((id & KVM_REG_ARM_CRM_MASK) in index_to_params() 544 params->Op1 = ((id & KVM_REG_ARM_OPC1_MASK) in index_to_params() 546 params->Op2 = ((id & KVM_REG_ARM_32_OPC2_MASK) in index_to_params() 551 if (id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK in index_to_params() 558 params->CRn = ((id & KVM_REG_ARM_CRM_MASK) in index_to_params() 560 params->Op1 = ((id & KVM_REG_ARM_OPC1_MASK) in index_to_params() [all …]
|
D | guest.c | 44 static u64 core_reg_offset_from_id(u64 id) in core_reg_offset_from_id() argument 46 return id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK | KVM_REG_ARM_CORE); in core_reg_offset_from_id() 55 if (KVM_REG_SIZE(reg->id) != 4) in get_core_reg() 59 off = core_reg_offset_from_id(reg->id); in get_core_reg() 60 if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id)) in get_core_reg() 72 if (KVM_REG_SIZE(reg->id) != 4) in set_core_reg() 76 off = core_reg_offset_from_id(reg->id); in set_core_reg() 77 if (off >= sizeof(*regs) / KVM_REG_SIZE(reg->id)) in set_core_reg() 145 ret = copy_from_user(&val, uaddr, KVM_REG_SIZE(reg->id)); in set_timer_reg() 149 return kvm_arm_timer_set_reg(vcpu, reg->id, val); in set_timer_reg() [all …]
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | smp.c | 104 int id; in octeon_smp_setup() local 111 for (id = 0; id < NR_CPUS; id++) { in octeon_smp_setup() 112 set_cpu_possible(id, id == 0); in octeon_smp_setup() 113 set_cpu_present(id, id == 0); in octeon_smp_setup() 121 for (id = 0; id < NR_CPUS; id++) { in octeon_smp_setup() 122 if ((id != coreid) && (core_mask & (1 << id))) { in octeon_smp_setup() 125 __cpu_number_map[id] = cpus; in octeon_smp_setup() 126 __cpu_logical_map[cpus] = id; in octeon_smp_setup() 137 for (id = 0; setup_max_cpus && octeon_bootloader_entry_addr && in octeon_smp_setup() 138 id < num_cores && id < NR_CPUS; id++) { in octeon_smp_setup() [all …]
|
/linux-4.4.14/drivers/zorro/ |
D | zorro-driver.c | 33 while (ids->id) { in zorro_match_device() 34 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device() 50 const struct zorro_device_id *id; in zorro_device_probe() local 52 id = zorro_match_device(drv->id_table, z); in zorro_device_probe() 53 if (id) in zorro_device_probe() 54 error = drv->probe(z, id); in zorro_device_probe() 135 while (ids->id) { in zorro_bus_match() 136 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_bus_match() 154 if (add_uevent_var(env, "ZORRO_ID=%08X", z->id) || in zorro_uevent() 157 add_uevent_var(env, "MODALIAS=" ZORRO_DEVICE_MODALIAS_FMT, z->id)) in zorro_uevent()
|
/linux-4.4.14/drivers/gpu/host1x/ |
D | intr.c | 101 unsigned int id) in reset_threshold_interrupt() argument 106 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in reset_threshold_interrupt() 107 host1x_hw_intr_enable_syncpt_intr(host, id); in reset_threshold_interrupt() 182 host1x_hw_intr_disable_syncpt_intr(host, syncpt->id); in process_wait_list() 185 syncpt->id); in process_wait_list() 205 unsigned int id = syncpt->id; in syncpt_thresh_work() local 209 host1x_syncpt_load(host->syncpt + id)); in syncpt_thresh_work() 212 int host1x_intr_add_action(struct host1x *host, u32 id, u32 thresh, in host1x_intr_add_action() argument 235 syncpt = host->syncpt + id; in host1x_intr_add_action() 243 host1x_hw_intr_set_syncpt_threshold(host, id, thresh); in host1x_intr_add_action() [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_nat_proto_icmpv6.c | 28 return ntohs(tuple->src.u.icmp.id) >= ntohs(min->icmp.id) && in icmpv6_in_range() 29 ntohs(tuple->src.u.icmp.id) <= ntohs(max->icmp.id); in icmpv6_in_range() 39 static u16 id; in icmpv6_unique_tuple() local 43 range_size = ntohs(range->max_proto.icmp.id) - in icmpv6_unique_tuple() 44 ntohs(range->min_proto.icmp.id) + 1; in icmpv6_unique_tuple() 49 for (i = 0; ; ++id) { in icmpv6_unique_tuple() 50 tuple->src.u.icmp.id = htons(ntohs(range->min_proto.icmp.id) + in icmpv6_unique_tuple() 51 (id % range_size)); in icmpv6_unique_tuple() 76 tuple->src.u.icmp.id, false); in icmpv6_manip_pkt() 77 hdr->icmp6_identifier = tuple->src.u.icmp.id; in icmpv6_manip_pkt()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
D | devices.c | 45 .id = -1, 77 .id = 0, 118 .id = -1, 129 .id = -1, 154 .id = -1, 182 .id = -1, 211 .id = 0, 235 .id = 1, 259 .id = 2, 283 .id = 3, [all …]
|
D | stargate2.c | 147 .id = -1, 331 .id = 0, 466 .id = -1, 475 .id = DA9030_ID_LDO2, 479 .id = DA9030_ID_LDO3, 483 .id = DA9030_ID_LDO4, 487 .id = DA9030_ID_LDO5, 491 .id = DA9030_ID_LDO6, 495 .id = DA9030_ID_LDO7, 499 .id = DA9030_ID_LDO8, [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | watchdog_core.c | 142 int ret, id = -1, devno; in __watchdog_register_device() local 165 id = ida_simple_get(&watchdog_ida, ret, in __watchdog_register_device() 169 if (id < 0) in __watchdog_register_device() 170 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device() 172 if (id < 0) in __watchdog_register_device() 173 return id; in __watchdog_register_device() 174 wdd->id = id; in __watchdog_register_device() 178 ida_simple_remove(&watchdog_ida, id); in __watchdog_register_device() 179 if (!(id == 0 && ret == -EBUSY)) in __watchdog_register_device() 183 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device() [all …]
|
/linux-4.4.14/arch/m68k/emu/ |
D | natfeat.c | 68 long id = nf_get_id("NF_SHUTDOWN"); in nf_poweroff() local 70 if (id) in nf_poweroff() 71 nf_call(id); in nf_poweroff() 76 unsigned long id, version; in nf_init() local 79 id = nf_get_id("NF_VERSION"); in nf_init() 80 if (!id) in nf_init() 82 version = nf_call(id); in nf_init() 84 id = nf_get_id("NF_NAME"); in nf_init() 85 if (!id) in nf_init() 87 nf_call(id, virt_to_phys(buf), 256); in nf_init()
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip22-gio.c | 18 __u8 id; member 20 { .name = "SGI Impact", .id = 0x10 }, 21 { .name = "Phobos G160", .id = 0x35 }, 22 { .name = "Phobos G130", .id = 0x36 }, 23 { .name = "Phobos G100", .id = 0x37 }, 24 { .name = "Set Engineering GFE", .id = 0x38 }, 26 { .name = "SGI Newport", .id = 0x7e }, 27 { .name = "SGI GR2/GR3", .id = 0x7f }, 54 for (ids = match; ids->id != 0xff; ids++) in gio_match_device() 55 if (ids->id == dev->id.id) in gio_match_device() [all …]
|
/linux-4.4.14/include/linux/regulator/ |
D | consumer.h | 162 const char *id); 164 const char *id); 166 const char *id); 168 const char *id); 170 const char *id); 172 const char *id); 176 int regulator_register_supply_alias(struct device *dev, const char *id, 179 void regulator_unregister_supply_alias(struct device *dev, const char *id); 182 const char *const *id, 187 const char * const *id, int num_id); [all …]
|
/linux-4.4.14/drivers/bcma/ |
D | scan.c | 19 u16 id; member 110 static const char *bcma_device_name(const struct bcma_device_id *id) in bcma_device_name() argument 116 switch (id->manuf) { in bcma_device_name() 134 if (names[i].id == id->id) in bcma_device_name() 266 if (core->id.id == coreid) in bcma_find_core_reverse() 296 core->id.class = (cia & SCAN_CIA_CLASS) >> SCAN_CIA_CLASS_SHIFT; in bcma_get_next_core() 297 core->id.id = (cia & SCAN_CIA_ID) >> SCAN_CIA_ID_SHIFT; in bcma_get_next_core() 298 core->id.manuf = (cia & SCAN_CIA_MANUF) >> SCAN_CIA_MANUF_SHIFT; in bcma_get_next_core() 303 core->id.rev = (cib & SCAN_CIB_REV) >> SCAN_CIB_REV_SHIFT; in bcma_get_next_core() 305 if (((core->id.manuf == BCMA_MANUF_ARM) && in bcma_get_next_core() [all …]
|
D | driver_chipcommon_sflash.c | 28 u32 id; member 93 u32 id, id2; in bcma_sflash_init() local 101 id = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init() 107 switch (id) { in bcma_sflash_init() 110 if (e->id == id2) in bcma_sflash_init() 118 if (e->id == id) in bcma_sflash_init() 124 bcma_err(bus, "Unsupported ST serial flash (id: 0x%X, id2: 0x%X)\n", id, id2); in bcma_sflash_init() 131 id = bcma_cc_read32(cc, BCMA_CC_FLASHDATA) & 0x3c; in bcma_sflash_init() 134 if (e->id == id) in bcma_sflash_init() 138 bcma_err(bus, "Unsupported Atmel serial flash (id: 0x%X)\n", id); in bcma_sflash_init()
|
/linux-4.4.14/drivers/pnp/pnpacpi/ |
D | core.c | 42 static int __init ispnpidacpi(const char *id) in ispnpidacpi() argument 44 TEST_ALPHA(id[0]); in ispnpidacpi() 45 TEST_ALPHA(id[1]); in ispnpidacpi() 46 TEST_ALPHA(id[2]); in ispnpidacpi() 47 TEST_HEX(id[3]); in ispnpidacpi() 48 TEST_HEX(id[4]); in ispnpidacpi() 49 TEST_HEX(id[5]); in ispnpidacpi() 50 TEST_HEX(id[6]); in ispnpidacpi() 51 if (id[7] != '\0') in ispnpidacpi() 212 struct acpi_hardware_id *id; in pnpacpi_get_id() local [all …]
|
/linux-4.4.14/net/sctp/ |
D | debug.c | 133 const char *sctp_pname(const sctp_subtype_t id) in sctp_pname() argument 135 if (id.primitive <= SCTP_EVENT_PRIMITIVE_MAX) in sctp_pname() 136 return sctp_primitive_tbl[id.primitive]; in sctp_pname() 146 const char *sctp_oname(const sctp_subtype_t id) in sctp_oname() argument 148 if (id.other <= SCTP_EVENT_OTHER_MAX) in sctp_oname() 149 return sctp_other_tbl[id.other]; in sctp_oname() 167 const char *sctp_tname(const sctp_subtype_t id) in sctp_tname() argument 169 if (id.timeout <= SCTP_EVENT_TIMEOUT_MAX) in sctp_tname() 170 return sctp_timer_tbl[id.timeout]; in sctp_tname()
|
/linux-4.4.14/drivers/pnp/isapnp/ |
D | compat.c | 26 char id[8]; in pnp_find_card() local 30 pnp_convert_id(id, vendor, device); in pnp_find_card() 38 if (compare_pnp_id(card->id, id) || (memcmp(id, any, 7) == 0)) in pnp_find_card() 48 char id[8]; in pnp_find_dev() local 51 pnp_convert_id(id, vendor, function); in pnp_find_dev() 63 if (compare_pnp_id(dev->id, id) || in pnp_find_dev() 64 (memcmp(id, any, 7) == 0)) in pnp_find_dev() 80 if (compare_pnp_id(dev->id, id)) in pnp_find_dev()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | timerdev.c | 47 int id; member 131 if (put_user(timer->id, (int __user *)buf)) in mISDN_read() 169 if (timer->id >= 0) in dev_expire_timer() 178 int id; in misdn_add_timer() local 184 id = 0; in misdn_add_timer() 192 id = timer->id = dev->next_id++; in misdn_add_timer() 200 return id; in misdn_add_timer() 204 misdn_del_timer(struct mISDNtimerdev *dev, int id) in misdn_del_timer() argument 210 if (timer->id == id) { in misdn_del_timer() 212 timer->id = -1; in misdn_del_timer() [all …]
|
/linux-4.4.14/include/trace/events/ |
D | hswadsp.h | 118 TP_PROTO(unsigned int id, unsigned int pos), 120 TP_ARGS(id, pos), 123 __field( unsigned int, id ) 128 __entry->id = id; 133 (unsigned int)__entry->id, (unsigned int)__entry->pos) 138 TP_PROTO(unsigned int id, unsigned int pos), 140 TP_ARGS(id, pos) 146 TP_PROTO(unsigned int id, unsigned int pos), 148 TP_ARGS(id, pos) 159 __field( int, id ) [all …]
|
D | syscalls.h | 18 TP_PROTO(struct pt_regs *regs, long id), 20 TP_ARGS(regs, id), 23 __field( long, id ) 28 __entry->id = id; 33 __entry->id, 49 __field( long, id ) 54 __entry->id = syscall_get_nr(current, regs); 59 __entry->id, __entry->ret),
|
/linux-4.4.14/drivers/soc/tegra/ |
D | pmc.c | 178 static int tegra_powergate_set(int id, bool new_state) in tegra_powergate_set() argument 184 status = tegra_pmc_readl(PWRGATE_STATUS) & (1 << id); in tegra_powergate_set() 191 tegra_pmc_writel(PWRGATE_TOGGLE_START | id, PWRGATE_TOGGLE); in tegra_powergate_set() 202 int tegra_powergate_power_on(int id) in tegra_powergate_power_on() argument 204 if (!pmc->soc || id < 0 || id >= pmc->soc->num_powergates) in tegra_powergate_power_on() 207 return tegra_powergate_set(id, true); in tegra_powergate_power_on() 214 int tegra_powergate_power_off(int id) in tegra_powergate_power_off() argument 216 if (!pmc->soc || id < 0 || id >= pmc->soc->num_powergates) in tegra_powergate_power_off() 219 return tegra_powergate_set(id, false); in tegra_powergate_power_off() 227 int tegra_powergate_is_powered(int id) in tegra_powergate_is_powered() argument [all …]
|
/linux-4.4.14/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal.h | 87 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain); 88 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id); 89 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id); 90 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id); 91 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id); 94 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, char *domain) in ti_thermal_expose_sensor() argument 100 int ti_thermal_remove_sensor(struct ti_bandgap *bgp, int id) in ti_thermal_remove_sensor() argument 106 int ti_thermal_report_sensor_temperature(struct ti_bandgap *bgp, int id) in ti_thermal_report_sensor_temperature() argument 112 int ti_thermal_register_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_register_cpu_cooling() argument 118 int ti_thermal_unregister_cpu_cooling(struct ti_bandgap *bgp, int id) in ti_thermal_unregister_cpu_cooling() argument
|
D | ti-bandgap.c | 46 static int ti_bandgap_force_single_read(struct ti_bandgap *bgp, int id); 82 #define RMW_BITS(bgp, id, reg, mask, val) \ argument 87 t = bgp->conf->sensors[(id)].registers; \ 162 static u32 ti_bandgap_read_temp(struct ti_bandgap *bgp, int id) in ti_bandgap_read_temp() argument 167 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_read_temp() 171 RMW_BITS(bgp, id, bgap_mask_ctrl, mask_freeze_mask, 1); in ti_bandgap_read_temp() 188 RMW_BITS(bgp, id, bgap_mask_ctrl, mask_freeze_mask, 0); in ti_bandgap_read_temp() 390 static void ti_bandgap_unmask_interrupts(struct ti_bandgap *bgp, int id, in ti_bandgap_unmask_interrupts() argument 397 temp = ti_bandgap_read_temp(bgp, id); in ti_bandgap_unmask_interrupts() 399 tsr = bgp->conf->sensors[id].registers; in ti_bandgap_unmask_interrupts() [all …]
|
D | ti-bandgap.h | 281 int (*register_cooling)(struct ti_bandgap *bgp, int id); 282 int (*unregister_cooling)(struct ti_bandgap *bgp, int id); 374 int (*report_temperature)(struct ti_bandgap *bgp, int id); 375 int (*expose_sensor)(struct ti_bandgap *bgp, int id, char *domain); 376 int (*remove_sensor)(struct ti_bandgap *bgp, int id); 382 int ti_bandgap_read_thot(struct ti_bandgap *bgp, int id, int *thot); 383 int ti_bandgap_write_thot(struct ti_bandgap *bgp, int id, int val); 384 int ti_bandgap_read_tcold(struct ti_bandgap *bgp, int id, int *tcold); 385 int ti_bandgap_write_tcold(struct ti_bandgap *bgp, int id, int val); 386 int ti_bandgap_read_update_interval(struct ti_bandgap *bgp, int id, [all …]
|
D | ti-thermal-common.c | 134 int id; in ti_thermal_bind() local 143 id = data->sensor_id; in ti_thermal_bind() 246 int id, tr, ret = 0; in __ti_thermal_get_trend() local 249 id = data->sensor_id; in __ti_thermal_get_trend() 251 ret = ti_bandgap_get_trend(bgp, id, &tr); in __ti_thermal_get_trend() 307 *ti_thermal_build_data(struct ti_bandgap *bgp, int id) in ti_thermal_build_data() argument 316 data->sensor_id = id; in ti_thermal_build_data() 326 int ti_thermal_expose_sensor(struct ti_bandgap *bgp, int id, in ti_thermal_expose_sensor() argument 331 data = ti_bandgap_get_sensor_data(bgp, id); in ti_thermal_expose_sensor() 334 data = ti_thermal_build_data(bgp, id); in ti_thermal_expose_sensor() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | base.c | 36 nvkm_i2c_pad_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_pad_find() argument 41 if (pad->id == id) in nvkm_i2c_pad_find() 49 nvkm_i2c_bus_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_bus_find() argument 54 if (id == NVKM_I2C_BUS_PRI || id == NVKM_I2C_BUS_SEC) { in nvkm_i2c_bus_find() 59 if (id == NVKM_I2C_BUS_PRI) in nvkm_i2c_bus_find() 60 id = NVKM_I2C_BUS_CCB((auxidx & 0x0f) >> 0); in nvkm_i2c_bus_find() 62 id = NVKM_I2C_BUS_CCB((auxidx & 0xf0) >> 4); in nvkm_i2c_bus_find() 64 id = NVKM_I2C_BUS_CCB(2); in nvkm_i2c_bus_find() 69 if (bus->id == id) in nvkm_i2c_bus_find() 77 nvkm_i2c_aux_find(struct nvkm_i2c *i2c, int id) in nvkm_i2c_aux_find() argument [all …]
|
/linux-4.4.14/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 137 #define intf_ctrl(id) ((id) ? (((id) & 1) ? LCD_TVIF_CTRL : \ argument 139 #define dma_ctrl0(id) ((id) ? (((id) & 1) ? LCD_TV_CTRL0 : \ argument 141 #define dma_ctrl1(id) ((id) ? (((id) & 1) ? LCD_TV_CTRL1 : \ argument 143 #define dma_ctrl(ctrl1, id) (ctrl1 ? dma_ctrl1(id) : dma_ctrl0(id)) argument 164 #define LCD_SCLK(path) ((PATH_PN == path->id) ? LCD_CFG_SCLK_DIV :\ 165 ((PATH_TV == path->id) ? LCD_TCLK_DIV : LCD_PN2_SCLK_DIV)) 166 #define intf_rbswap_ctrl(id) ((id) ? (((id) & 1) ? LCD_TVIF_CTRL : \ argument 535 #define CFG_SRAM_ADDR_LCDID(id) ((id)<<8) argument 715 #define gf0_imask(id) ((id) ? (((id) & 1) ? TV_FRAME_IRQ0_ENA_MASK \ argument 717 #define gf1_imask(id) ((id) ? (((id) & 1) ? TV_FRAME_IRQ1_ENA_MASK \ argument [all …]
|
/linux-4.4.14/drivers/dio/ |
D | dio-driver.c | 32 while (ids->id) { in dio_match_device() 33 if (ids->id == DIO_WILDCARD) in dio_match_device() 35 if (DIO_NEEDSSECID(ids->id & 0xff)) { in dio_match_device() 36 if (ids->id == d->id) in dio_match_device() 39 if ((ids->id & 0xff) == (d->id & 0xff)) in dio_match_device() 54 const struct dio_device_id *id; in dio_device_probe() local 56 id = dio_match_device(drv->id_table, d); in dio_device_probe() 57 if (id) in dio_device_probe() 58 error = drv->probe(d, id); in dio_device_probe()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | devices-imx31.h | 20 #define imx31_add_imx_i2c(id, pdata) \ argument 21 imx_add_imx_i2c(&imx31_imx_i2c_data[id], pdata) 31 #define imx31_add_imx_ssi(id, pdata) \ argument 32 imx_add_imx_ssi(&imx31_imx_ssi_data[id], pdata) 35 #define imx31_add_imx_uart(id, pdata) \ argument 36 imx_add_imx_uart_1irq(&imx31_imx_uart_data[id], pdata) 55 #define imx31_add_mxc_ehci_hs(id, pdata) \ argument 56 imx_add_mxc_ehci(&imx31_mxc_ehci_hs_data[id - 1], pdata) 59 #define imx31_add_mxc_mmc(id, pdata) \ argument 60 imx_add_mxc_mmc(&imx31_mxc_mmc_data[id], pdata) [all …]
|
D | devices-imx27.h | 32 #define imx27_add_imx_i2c(id, pdata) \ argument 33 imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata) 40 #define imx27_add_imx_ssi(id, pdata) \ argument 41 imx_add_imx_ssi(&imx27_imx_ssi_data[id], pdata) 44 #define imx27_add_imx_uart(id, pdata) \ argument 45 imx_add_imx_uart_1irq(&imx27_imx_uart_data[id], pdata) 65 #define imx27_add_mxc_ehci_hs(id, pdata) \ argument 66 imx_add_mxc_ehci(&imx27_mxc_ehci_hs_data[id - 1], pdata) 69 #define imx27_add_mxc_mmc(id, pdata) \ argument 70 imx_add_mxc_mmc(&imx27_mxc_mmc_data[id], pdata) [all …]
|
D | devices-imx35.h | 20 #define imx35_add_flexcan(id) \ argument 21 imx_add_flexcan(&imx35_flexcan_data[id]) 30 #define imx35_add_imx_i2c(id, pdata) \ argument 31 imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) 41 #define imx35_add_imx_ssi(id, pdata) \ argument 42 imx_add_imx_ssi(&imx35_imx_ssi_data[id], pdata) 45 #define imx35_add_imx_uart(id, pdata) \ argument 46 imx_add_imx_uart_1irq(&imx35_imx_uart_data[id], pdata) 79 #define imx35_add_sdhci_esdhc_imx(id, pdata) \ argument 80 imx_add_sdhci_esdhc_imx(&imx35_sdhci_esdhc_imx_data[id], pdata) [all …]
|
/linux-4.4.14/include/linux/usb/ |
D | association.h | 26 __u8 id; member 31 #define WUSB_AR_AssociationTypeId { .id = cpu_to_le16(0x0000), .len = cpu_to_le16(2) } 32 #define WUSB_AR_AssociationSubTypeId { .id = cpu_to_le16(0x0001), .len = cpu_to_le16(2) } 33 #define WUSB_AR_Length { .id = cpu_to_le16(0x0002), .len = cpu_to_le16(4) } 34 #define WUSB_AR_AssociationStatus { .id = cpu_to_le16(0x0004), .len = cpu_to_le16(4) } 35 #define WUSB_AR_LangID { .id = cpu_to_le16(0x0008), .len = cpu_to_le16(2) } 36 #define WUSB_AR_DeviceFriendlyName { .id = cpu_to_le16(0x000b), .len = cpu_to_le16(64) } /* max */ 37 #define WUSB_AR_HostFriendlyName { .id = cpu_to_le16(0x000c), .len = cpu_to_le16(64) } /* max */ 38 #define WUSB_AR_CHID { .id = cpu_to_le16(0x1000), .len = cpu_to_le16(16) } 39 #define WUSB_AR_CDID { .id = cpu_to_le16(0x1001), .len = cpu_to_le16(16) } [all …]
|
/linux-4.4.14/drivers/input/serio/ |
D | i8042-x86ia64io.h | 817 static void i8042_pnp_id_to_string(struct pnp_id *id, char *dst, int dst_size) in i8042_pnp_id_to_string() argument 821 while (id) { in i8042_pnp_id_to_string() 823 strlcat(dst, id->id, dst_size); in i8042_pnp_id_to_string() 824 id = id->next; in i8042_pnp_id_to_string() 839 strlcpy(i8042_pnp_kbd_name, did->id, sizeof(i8042_pnp_kbd_name)); in i8042_pnp_kbd_probe() 844 i8042_pnp_id_to_string(dev->id, i8042_kbd_firmware_id, in i8042_pnp_kbd_probe() 865 strlcpy(i8042_pnp_aux_name, did->id, sizeof(i8042_pnp_aux_name)); in i8042_pnp_aux_probe() 870 i8042_pnp_id_to_string(dev->id, i8042_aux_firmware_id, in i8042_pnp_aux_probe() 878 { .id = "PNP0300", .driver_data = 0 }, 879 { .id = "PNP0301", .driver_data = 0 }, [all …]
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_bitmap_gen.h | 36 #define get_ext(set, map, id) ((map)->extensions + ((set)->dsize * (id))) argument 54 u32 id; in mtype_ext_cleanup() local 56 for (id = 0; id < map->elements; id++) in mtype_ext_cleanup() 57 if (test_bit(id, map->members)) in mtype_ext_cleanup() 58 ip_set_ext_destroy(set, get_ext(set, map, id)); in mtype_ext_cleanup() 116 void *x = get_ext(set, map, e->id); in mtype_test() 137 void *x = get_ext(set, map, e->id); in mtype_add() 145 set_bit(e->id, map->members); in mtype_add() 167 set_bit(e->id, map->members); in mtype_add() 178 void *x = get_ext(set, map, e->id); in mtype_del() [all …]
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
D | snb_idle.c | 34 .id = C7, 41 .id = PC2, 48 .id = PC7, 61 static int snb_get_count(enum intel_snb_id id, unsigned long long *val, in snb_get_count() argument 66 switch (id) { in snb_get_count() 87 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent() argument 96 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 100 snb_cstates[id].name, previous_count[id][cpu], in snb_get_count_percent() 101 current_count[id][cpu], cpu); in snb_get_count_percent() 104 snb_cstates[id].name, in snb_get_count_percent() [all …]
|
D | hsw_ext_idle.c | 36 .id = PC8, 44 .id = PC9, 51 .id = PC10, 64 static int hsw_ext_get_count(enum intel_hsw_ext_id id, unsigned long long *val, in hsw_ext_get_count() argument 69 switch (id) { in hsw_ext_get_count() 90 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent() argument 99 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 103 hsw_ext_cstates[id].name, previous_count[id][cpu], in hsw_ext_get_count_percent() 104 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 107 hsw_ext_cstates[id].name, in hsw_ext_get_count_percent() [all …]
|
D | nhm_idle.c | 37 .id = C3, 44 .id = C6, 52 .id = PC3, 59 .id = PC6, 72 static int nhm_get_count(enum intel_nhm_id id, unsigned long long *val, in nhm_get_count() argument 77 switch (id) { in nhm_get_count() 102 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent() argument 111 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 115 nhm_cstates[id].name, previous_count[id][cpu], in nhm_get_count_percent() 116 current_count[id][cpu], cpu); in nhm_get_count_percent() [all …]
|
D | amd_fam14h_idle.c | 48 static int fam14h_nbp1_count(unsigned int id, unsigned long long *count, 55 .id = NON_PC0, 62 .id = PC1, 69 .id = PC6, 76 .id = NBP1, 102 switch (state->id) { in amd_fam14h_get_pci_info() 135 if (state->id == NBP1) { in amd_fam14h_init() 155 previous_count[state->id][cpu] = 0; in amd_fam14h_init() 171 if (state->id == NBP1) { in amd_fam14h_disable() 182 current_count[state->id][cpu] = val; in amd_fam14h_disable() [all …]
|
D | mperf_monitor.c | 31 static int mperf_get_count_freq(unsigned int id, unsigned long long *count, 39 .id = C0, 46 .id = Cx, 54 .id = AVG_FREQ, 117 static int mperf_get_count_percent(unsigned int id, double *percent, in mperf_get_count_percent() argument 126 if (id != C0 && id != Cx) in mperf_get_count_percent() 136 mperf_cstates[id].name, mperf_diff, tsc_diff); in mperf_get_count_percent() 141 mperf_cstates[id].name, mperf_diff, timediff); in mperf_get_count_percent() 145 if (id == Cx) in mperf_get_count_percent() 149 mperf_cstates[id].name, mperf_diff, aperf_diff, cpu); in mperf_get_count_percent() [all …]
|
/linux-4.4.14/include/sound/ |
D | control.h | 69 struct snd_ctl_elem_id id; member 88 struct snd_ctl_elem_id id; member 120 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id); 127 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id); 129 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id, 132 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id); 148 …atic inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffnum() argument 150 return id->numid - kctl->id.numid; in snd_ctl_get_ioffnum() 153 …atic inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffidx() argument 155 return id->index - kctl->id.index; in snd_ctl_get_ioffidx() [all …]
|
D | soc-dapm.h | 45 { .id = snd_soc_dapm_vmid, .name = wname, .kcontrol_news = NULL, \ 50 { .id = snd_soc_dapm_siggen, .name = wname, .kcontrol_news = NULL, \ 53 { .id = snd_soc_dapm_input, .name = wname, .kcontrol_news = NULL, \ 56 { .id = snd_soc_dapm_output, .name = wname, .kcontrol_news = NULL, \ 59 { .id = snd_soc_dapm_mic, .name = wname, .kcontrol_news = NULL, \ 63 { .id = snd_soc_dapm_hp, .name = wname, .kcontrol_news = NULL, \ 67 { .id = snd_soc_dapm_spk, .name = wname, .kcontrol_news = NULL, \ 71 { .id = snd_soc_dapm_line, .name = wname, .kcontrol_news = NULL, \ 82 { .id = snd_soc_dapm_pga, .name = wname, \ 87 { .id = snd_soc_dapm_out_drv, .name = wname, \ [all …]
|
/linux-4.4.14/drivers/misc/mic/bus/ |
D | mic_bus.c | 32 return sprintf(buf, "0x%04x\n", dev->id.device); in device_show() 40 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 49 dev->id.device, dev->id.vendor); in modalias_show() 62 const struct mbus_device_id *id) in mbus_id_match() argument 64 if (id->device != dev->id.device && id->device != MBUS_DEV_ANY_ID) in mbus_id_match() 67 return id->vendor == MBUS_DEV_ANY_ID || id->vendor == dev->id.vendor; in mbus_id_match() 92 dev->id.device, dev->id.vendor); in mbus_uevent() 146 mbus_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops, in mbus_register_device() argument 159 mbdev->id.device = id; in mbus_register_device() 160 mbdev->id.vendor = MBUS_DEV_ANY_ID; in mbus_register_device()
|
D | scif_bus.c | 29 return sprintf(buf, "0x%04x\n", dev->id.device); in device_show() 38 return sprintf(buf, "0x%04x\n", dev->id.vendor); in vendor_show() 48 dev->id.device, dev->id.vendor); in modalias_show() 61 const struct scif_hw_dev_id *id) in scif_id_match() argument 63 if (id->device != dev->id.device && id->device != SCIF_DEV_ANY_ID) in scif_id_match() 66 return id->vendor == SCIF_DEV_ANY_ID || id->vendor == dev->id.vendor; in scif_id_match() 91 dev->id.device, dev->id.vendor); in scif_uevent() 141 scif_register_device(struct device *pdev, int id, struct dma_map_ops *dma_ops, in scif_register_device() argument 155 sdev->id.device = id; in scif_register_device() 156 sdev->id.vendor = SCIF_DEV_ANY_ID; in scif_register_device()
|
/linux-4.4.14/arch/arm64/kvm/ |
D | guest.c | 46 static u64 core_reg_offset_from_id(u64 id) in core_reg_offset_from_id() argument 48 return id & ~(KVM_REG_ARCH_MASK | KVM_REG_SIZE_MASK | KVM_REG_ARM_CORE); in core_reg_offset_from_id() 65 off = core_reg_offset_from_id(reg->id); in get_core_reg() 67 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in get_core_reg() 70 if (copy_to_user(uaddr, ((u32 *)regs) + off, KVM_REG_SIZE(reg->id))) in get_core_reg() 87 off = core_reg_offset_from_id(reg->id); in set_core_reg() 89 (off + (KVM_REG_SIZE(reg->id) / sizeof(__u32))) >= nr_regs) in set_core_reg() 92 if (KVM_REG_SIZE(reg->id) > sizeof(tmp)) in set_core_reg() 95 if (copy_from_user(valp, uaddr, KVM_REG_SIZE(reg->id))) { in set_core_reg() 119 memcpy((u32 *)regs + off, valp, KVM_REG_SIZE(reg->id)); in set_core_reg() [all …]
|
/linux-4.4.14/drivers/ssb/ |
D | driver_chipcommon_sflash.c | 27 u32 id; member 91 u32 id, id2; in ssb_sflash_init() local 99 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init() 105 switch (id) { in ssb_sflash_init() 108 if (e->id == id2) in ssb_sflash_init() 116 if (e->id == id) in ssb_sflash_init() 123 id, id2); in ssb_sflash_init() 130 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA) & 0x3c; in ssb_sflash_init() 133 if (e->id == id) in ssb_sflash_init() 138 id); in ssb_sflash_init()
|
/linux-4.4.14/net/core/ |
D | net_namespace.c | 56 static int net_assign_generic(struct net *net, int id, void *data) in net_assign_generic() argument 61 BUG_ON(id == 0); in net_assign_generic() 66 if (old_ng->len >= id) in net_assign_generic() 89 ng->ptr[id - 1] = data; in net_assign_generic() 98 if (ops->id && ops->size) { in ops_init() 103 err = net_assign_generic(net, *ops->id, data); in ops_init() 122 if (ops->id && ops->size) { in ops_free() 123 int id = *ops->id; in ops_free() local 124 kfree(net_generic(net, id)); in ops_free() 144 if (ops->size && ops->id) { in ops_free_list() [all …]
|
/linux-4.4.14/drivers/ipack/ |
D | ipack.c | 26 kfree(device->id); in ipack_device_release() 31 ipack_match_one_device(const struct ipack_device_id *id, in ipack_match_one_device() argument 34 if ((id->format == IPACK_ANY_FORMAT || in ipack_match_one_device() 35 id->format == device->id_format) && in ipack_match_one_device() 36 (id->vendor == IPACK_ANY_ID || id->vendor == device->id_vendor) && in ipack_match_one_device() 37 (id->device == IPACK_ANY_ID || id->device == device->id_device)) in ipack_match_one_device() 38 return id; in ipack_match_one_device() 137 sprintf(&buf[c], "%02x", idev->id[i]); in id_show() 183 static DEVICE_ATTR_RO(id); 293 c = (i != 11) ? dev->id[i] : 0; in ipack_calc_crc1() [all …]
|
/linux-4.4.14/drivers/sn/ |
D | ioc3.c | 406 int handled = 1, id; in ioc3_intr_io() local 413 if(ioc3_ethernet && idd->active[ioc3_ethernet->id] && in ioc3_intr_io() 421 for(id=0;id<IOC3_MAX_SUBMODULES;id++) { in ioc3_intr_io() 422 if(idd->active[id] && ioc3_submodules[id] in ioc3_intr_io() 423 && (pending & ioc3_submodules[id]->irq_mask) in ioc3_intr_io() 424 && ioc3_submodules[id]->intr) { in ioc3_intr_io() 425 write_ireg(idd, ioc3_submodules[id]->irq_mask, in ioc3_intr_io() 427 if(!ioc3_submodules[id]->intr(ioc3_submodules[id], in ioc3_intr_io() 428 idd, pending & ioc3_submodules[id]->irq_mask)) in ioc3_intr_io() 429 pending &= ~ioc3_submodules[id]->irq_mask; in ioc3_intr_io() [all …]
|
/linux-4.4.14/drivers/ps3/ |
D | ps3av.c | 493 static void ps3av_set_videomode_packet(u32 id) in ps3av_set_videomode_packet() argument 501 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; in ps3av_set_videomode_packet() 513 video_mode->fmt, id); in ps3av_set_videomode_packet() 516 if (id & PS3AV_MODE_DVI || id & PS3AV_MODE_RGB) in ps3av_set_videomode_packet() 528 video_mode->aspect, id); in ps3av_set_videomode_packet() 541 static void ps3av_set_videomode_cont(u32 id, u32 old_id) in ps3av_set_videomode_cont() argument 553 if (vesa == 0 && (id & PS3AV_MODE_MASK) >= PS3AV_MODE_WXGA) { in ps3av_set_videomode_cont() 560 if (id & PS3AV_MODE_HDCP_OFF) { in ps3av_set_videomode_cont() 574 ps3av_set_videomode_packet(id); in ps3av_set_videomode_cont() 593 unsigned id:4; member [all …]
|
/linux-4.4.14/drivers/usb/phy/ |
D | phy-am335x.c | 18 int id; member 25 phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, true); in am335x_init() 33 phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, false); in am335x_shutdown() 49 am_phy->id = of_alias_get_id(pdev->dev.of_node, "phy"); in am335x_phy_probe() 50 if (am_phy->id < 0) { in am335x_phy_probe() 51 dev_err(&pdev->dev, "Missing PHY id: %d\n", am_phy->id); in am335x_phy_probe() 52 return am_phy->id; in am335x_phy_probe() 78 phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, false); in am335x_phy_probe() 106 phy_ctrl_wkup(am_phy->phy_ctrl, am_phy->id, true); in am335x_phy_suspend() 108 phy_ctrl_power(am_phy->phy_ctrl, am_phy->id, false); in am335x_phy_suspend() [all …]
|
/linux-4.4.14/arch/um/kernel/skas/ |
D | mmu.c | 61 to_mm->id.stack = stack; in init_new_context() 67 to_mm->id.u.pid = copy_context_skas0(stack, in init_new_context() 68 from_mm->id.u.pid); in init_new_context() 69 else to_mm->id.u.pid = start_userspace(stack); in init_new_context() 72 if (to_mm->id.u.pid < 0) { in init_new_context() 73 ret = to_mm->id.u.pid; in init_new_context() 87 if (to_mm->id.stack != 0) in init_new_context() 88 free_page(to_mm->id.stack); in init_new_context() 102 ret = init_stub_pte(mm, STUB_DATA, mm->context.id.stack); in uml_setup_stubs() 107 mm->context.stub_pages[1] = virt_to_page(mm->context.id.stack); in uml_setup_stubs() [all …]
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | video-pll.c | 71 dss_ctrl_pll_enable(pll->id, true); in dss_video_pll_enable() 85 dss_ctrl_pll_enable(pll->id, false); in dss_video_pll_enable() 99 dss_ctrl_pll_enable(pll->id, false); in dss_video_pll_disable() 131 struct dss_pll *dss_video_pll_init(struct platform_device *pdev, int id, in dss_video_pll_init() argument 147 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, reg_name[id]); in dss_video_pll_init() 150 "missing platform resource data for pll%d\n", id); in dss_video_pll_init() 156 dev_err(&pdev->dev, "failed to ioremap pll%d reg_name\n", id); in dss_video_pll_init() 163 clkctrl_name[id]); in dss_video_pll_init() 166 "missing platform resource data for pll%d\n", id); in dss_video_pll_init() 172 dev_err(&pdev->dev, "failed to ioremap pll%d clkctrl\n", id); in dss_video_pll_init() [all …]
|
/linux-4.4.14/drivers/w1/ |
D | w1_int.c | 41 static struct w1_master *w1_alloc_dev(u32 id, int slave_count, int slave_ttl, in w1_alloc_dev() argument 66 dev->id = id; in w1_alloc_dev() 83 dev_set_name(&dev->dev, "w1_bus_master%u", dev->id); in w1_alloc_dev() 84 snprintf(dev->name, sizeof(dev->name), "w1_bus_master%u", dev->id); in w1_alloc_dev() 115 int id, found; in w1_add_master_device() local 128 id = 0; in w1_add_master_device() 130 ++id; in w1_add_master_device() 133 if (entry->id == id) { in w1_add_master_device() 140 dev = w1_alloc_dev(id, w1_max_slave_count, w1_max_slave_ttl, in w1_add_master_device() 171 msg.id.mst.id = dev->id; in w1_add_master_device() [all …]
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
D | reset.c | 176 int xrx200_gphy_boot(struct device *dev, unsigned int id, dma_addr_t dev_addr) in xrx200_gphy_boot() argument 192 dev_info(dev, "booting GPHY%u firmware at %X\n", id, dev_addr); in xrx200_gphy_boot() 195 if (id >= ARRAY_SIZE(xrx200_gphy)) { in xrx200_gphy_boot() 196 dev_err(dev, "%u is an invalid gphy id\n", id); in xrx200_gphy_boot() 199 xrx200_gphy_boot_addr(&xrx200_gphy[id], dev_addr); in xrx200_gphy_boot() 201 if (id >= ARRAY_SIZE(xrx300_gphy)) { in xrx200_gphy_boot() 202 dev_err(dev, "%u is an invalid gphy id\n", id); in xrx200_gphy_boot() 205 xrx200_gphy_boot_addr(&xrx300_gphy[id], dev_addr); in xrx200_gphy_boot() 207 if (id >= ARRAY_SIZE(xrx330_gphy)) { in xrx200_gphy_boot() 208 dev_err(dev, "%u is an invalid gphy id\n", id); in xrx200_gphy_boot() [all …]
|
/linux-4.4.14/drivers/clk/ti/ |
D | clk-dra7-atl.c | 30 #define DRA7_ATL_PPMR_REG(id) (0x200 + (id * 0x80)) argument 31 #define DRA7_ATL_BBSR_REG(id) (0x204 + (id * 0x80)) argument 32 #define DRA7_ATL_ATLCR_REG(id) (0x208 + (id * 0x80)) argument 33 #define DRA7_ATL_SWEN_REG(id) (0x210 + (id * 0x80)) argument 34 #define DRA7_ATL_BWSMUX_REG(id) (0x214 + (id * 0x80)) argument 35 #define DRA7_ATL_AWSMUX_REG(id) (0x218 + (id * 0x80)) argument 36 #define DRA7_ATL_PCLKMUX_REG(id) (0x21c + (id * 0x80)) argument 47 int id; member 86 cdesc->id); in atl_clk_enable() 89 atl_write(cdesc->cinfo, DRA7_ATL_ATLCR_REG(cdesc->id), in atl_clk_enable() [all …]
|
/linux-4.4.14/sound/isa/ |
D | als100.c | 56 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 68 module_param_array(id, charp, NULL, 0444); 69 MODULE_PARM_DESC(id, "ID string for Avance Logic based soundcard."); 84 { .id = "RWB1688", 88 { .id = "ALS0007", 92 { .id = "ALS0001", 96 { .id = "ALS0110", 100 { .id = "ALS0120", 104 { .id = "ALS0200", 108 { .id = "ALS0200", [all …]
|
D | azt2320.c | 57 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ variable 70 module_param_array(id, charp, NULL, 0444); 71 MODULE_PARM_DESC(id, "ID string for azt2320 based soundcard."); 84 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } }, 86 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } }, 88 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 90 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } }, 92 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 94 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 95 { .id = "" } /* end */ [all …]
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 44 int cx18_claim_stream(struct cx18_open_id *id, int type) in cx18_claim_stream() argument 46 struct cx18 *cx = id->cx; in cx18_claim_stream() 59 if (s->id == id->open_id) { in cx18_claim_stream() 63 if (s->id == -1 && type == CX18_ENC_STREAM_TYPE_VBI) { in cx18_claim_stream() 67 s->id = id->open_id; in cx18_claim_stream() 75 s->id = id->open_id; in cx18_claim_stream() 109 s->id = -1; in cx18_release_stream() 149 if (s_assoc->id == -1) { in cx18_release_stream() 427 if (atomic_read(&cx->ana_capturing) == 0 && s->id == -1) { in cx18_read() 497 int cx18_start_capture(struct cx18_open_id *id) in cx18_start_capture() argument [all …]
|
D | cx18-ioctl.c | 151 struct cx18_open_id *id = fh2id(fh); in cx18_g_fmt_vid_cap() local 152 struct cx18 *cx = id->cx; in cx18_g_fmt_vid_cap() 153 struct cx18_stream *s = &cx->streams[id->type]; in cx18_g_fmt_vid_cap() 160 if (id->type == CX18_ENC_STREAM_TYPE_YUV) { in cx18_g_fmt_vid_cap() 219 struct cx18_open_id *id = fh2id(fh); in cx18_try_fmt_vid_cap() local 220 struct cx18 *cx = id->cx; in cx18_try_fmt_vid_cap() 227 if (id->type == CX18_ENC_STREAM_TYPE_YUV) { in cx18_try_fmt_vid_cap() 268 struct cx18_open_id *id = fh2id(fh); in cx18_s_fmt_vid_cap() local 269 struct cx18 *cx = id->cx; in cx18_s_fmt_vid_cap() 273 struct cx18_stream *s = &cx->streams[id->type]; in cx18_s_fmt_vid_cap() [all …]
|
/linux-4.4.14/drivers/usb/storage/ |
D | isd200.c | 331 u16 *id; member 557 isd200_set_srb(info, DMA_FROM_DEVICE, info->id, in isd200_action() 1057 static void isd200_fix_driveid(u16 *id) in isd200_fix_driveid() argument 1064 id[i] = __le16_to_cpu(id[i]); in isd200_fix_driveid() 1071 static void isd200_dump_driveid(struct us_data *us, u16 *id) in isd200_dump_driveid() argument 1074 usb_stor_dbg(us, " config = 0x%x\n", id[ATA_ID_CONFIG]); in isd200_dump_driveid() 1075 usb_stor_dbg(us, " cyls = 0x%x\n", id[ATA_ID_CYLS]); in isd200_dump_driveid() 1076 usb_stor_dbg(us, " heads = 0x%x\n", id[ATA_ID_HEADS]); in isd200_dump_driveid() 1077 usb_stor_dbg(us, " track_bytes = 0x%x\n", id[4]); in isd200_dump_driveid() 1078 usb_stor_dbg(us, " sector_bytes = 0x%x\n", id[5]); in isd200_dump_driveid() [all …]
|
/linux-4.4.14/arch/mips/ralink/ |
D | reset.c | 28 unsigned long id) in ralink_assert_device() argument 32 if (id < 8) in ralink_assert_device() 36 val |= BIT(id); in ralink_assert_device() 43 unsigned long id) in ralink_deassert_device() argument 47 if (id < 8) in ralink_deassert_device() 51 val &= ~BIT(id); in ralink_deassert_device() 58 unsigned long id) in ralink_reset_device() argument 60 ralink_assert_device(rcdev, id); in ralink_reset_device() 61 return ralink_deassert_device(rcdev, id); in ralink_reset_device()
|
/linux-4.4.14/drivers/base/ |
D | isa.c | 20 unsigned int id; member 31 isa_driver->match(dev, to_isa_dev(dev)->id)) in isa_bus_match() 43 return isa_driver->probe(dev, to_isa_dev(dev)->id); in isa_bus_probe() 53 return isa_driver->remove(dev, to_isa_dev(dev)->id); in isa_bus_remove() 63 isa_driver->shutdown(dev, to_isa_dev(dev)->id); in isa_bus_shutdown() 71 return isa_driver->suspend(dev, to_isa_dev(dev)->id, state); in isa_bus_suspend() 81 return isa_driver->resume(dev, to_isa_dev(dev)->id); in isa_bus_resume() 117 unsigned int id; in isa_register_driver() local 126 for (id = 0; id < ndev; id++) { in isa_register_driver() 139 isa_driver->driver.name, id); in isa_register_driver() [all …]
|
/linux-4.4.14/drivers/fmc/ |
D | fmc-match.c | 35 if (!fdev->id.manufacturer || !fdev->id.product_name) in fmc_match() 39 strcmp(fid->manufacturer, fdev->id.manufacturer)) in fmc_match() 42 strcmp(fid->product_name, fdev->id.product_name)) in fmc_match() 92 fmc->id.manufacturer = fru_get_board_manufacturer(h); in fmc_fill_id_info() 93 fmc->id.product_name = fru_get_product_name(h); in fmc_fill_id_info() 94 pr_info(" Manufacturer: %s\n", fmc->id.manufacturer); in fmc_fill_id_info() 95 pr_info(" Product name: %s\n", fmc->id.product_name); in fmc_fill_id_info() 98 fmc->mezzanine_name = kstrdup(fmc->id.product_name, GFP_KERNEL); in fmc_fill_id_info() 112 kfree(fmc->id.manufacturer); in fmc_free_id_info() 113 kfree(fmc->id.product_name); in fmc_free_id_info()
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | ste-nomadik-stn8815.dtsi | 203 pll-id = <1>; 226 pll-id = <2>; 282 clock-id = <0>; 288 clock-id = <1>; 294 clock-id = <2>; 300 clock-id = <3>; 306 clock-id = <4>; 312 clock-id = <5>; 318 clock-id = <6>; 324 clock-id = <7>; [all …]
|
D | k2hk-clocks.dtsi | 63 domain-id = <0>; 73 domain-id = <4>; 83 domain-id = <5>; 93 domain-id = <9>; 103 domain-id = <10>; 113 domain-id = <11>; 123 domain-id = <12>; 133 domain-id = <13>; 143 domain-id = <14>; 153 domain-id = <15>; [all …]
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk.c | 42 if (clks[i].id) in mmp_register_fixed_rate_clks() 43 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks() 64 if (clks[i].id) in mmp_register_fixed_factor_clks() 65 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks() 90 if (clks[i].id) in mmp_register_general_gate_clks() 91 unit->clk_table[clks[i].id] = clk; in mmp_register_general_gate_clks() 118 if (clks[i].id) in mmp_register_gate_clks() 119 unit->clk_table[clks[i].id] = clk; in mmp_register_gate_clks() 146 if (clks[i].id) in mmp_register_mux_clks() 147 unit->clk_table[clks[i].id] = clk; in mmp_register_mux_clks() [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | drivers.c | 55 return pdev->id.hw_type != HPHW_FAULTY; in check_dev() 108 (ids->sversion != dev->id.sversion)) in match_device() 112 (ids->hw_type != dev->id.hw_type)) in match_device() 116 (ids->hversion != dev->id.hversion)) in match_device() 277 if (candidate->id.hw_type == type) in find_pa_parent_type() 400 struct parisc_device * create_tree_node(char id, struct device *parent) in create_tree_node() argument 406 dev->hw_path = id; in create_tree_node() 407 dev->id.hw_type = HPHW_FAULTY; in create_tree_node() 427 char id; member 436 if (pdev->hw_path == d->id) { in match_by_id() [all …]
|
/linux-4.4.14/drivers/clk/pistachio/ |
D | clk.h | 15 unsigned int id; member 24 .id = _id, \ 32 unsigned int id; member 44 .id = _id, \ 54 unsigned int id; member 64 .id = _id, \ 74 .id = _id, \ 83 unsigned int id; member 91 .id = _id, \ 113 unsigned int id; member [all …]
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | conf_space_quirks.c | 16 match_one_device(const struct pci_device_id *id, const struct pci_dev *dev) in match_one_device() argument 18 if ((id->vendor == PCI_ANY_ID || id->vendor == dev->vendor) && in match_one_device() 19 (id->device == PCI_ANY_ID || id->device == dev->device) && in match_one_device() 20 (id->subvendor == PCI_ANY_ID || in match_one_device() 21 id->subvendor == dev->subsystem_vendor) && in match_one_device() 22 (id->subdevice == PCI_ANY_ID || in match_one_device() 23 id->subdevice == dev->subsystem_device) && in match_one_device() 24 !((id->class ^ dev->class) & id->class_mask)) in match_one_device() 25 return id; in match_one_device()
|
/linux-4.4.14/tools/perf/util/ |
D | perf_regs.c | 10 int perf_reg_value(u64 *valp, struct regs_dump *regs, int id) in perf_reg_value() argument 15 if (regs->cache_mask & (1 << id)) in perf_reg_value() 18 if (!(mask & (1 << id))) in perf_reg_value() 21 for (i = 0; i < id; i++) { in perf_reg_value() 26 regs->cache_mask |= (1 << id); in perf_reg_value() 27 regs->cache_regs[id] = regs->regs[idx]; in perf_reg_value() 30 *valp = regs->cache_regs[id]; in perf_reg_value()
|
/linux-4.4.14/drivers/parisc/ |
D | ccio-rm-dma.c | 59 #define IS_U2(id) ( \ argument 60 (((id)->hw_type == HPHW_IOA) && ((id)->hversion == U2_IOA_RUNWAY)) || \ 61 (((id)->hw_type == HPHW_BCPORT) && ((id)->hversion == U2_BC_GSC)) \ 64 #define IS_UTURN(id) ( \ argument 65 (((id)->hw_type == HPHW_IOA) && ((id)->hversion == UTURN_IOA_RUNWAY)) || \ 66 (((id)->hw_type == HPHW_BCPORT) && ((id)->hversion == UTURN_BC_GSC)) \ 170 dev->id.hversion == U2_BC_GSC ? "U2" : "UTurn", in ccio_probe()
|
/linux-4.4.14/drivers/hwspinlock/ |
D | hwspinlock_core.c | 301 int id; in of_hwspin_lock_get_id() local 330 id = of_hwspin_lock_simple_xlate(&args); in of_hwspin_lock_get_id() 331 if (id < 0 || id >= hwlock->bank->num_locks) { in of_hwspin_lock_get_id() 335 id += hwlock->bank->base_id; in of_hwspin_lock_get_id() 339 return ret ? ret : id; in of_hwspin_lock_get_id() 343 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) in hwspin_lock_register_single() argument 350 ret = radix_tree_insert(&hwspinlock_tree, id, hwlock); in hwspin_lock_register_single() 353 pr_err("hwspinlock id %d already exists!\n", id); in hwspin_lock_register_single() 358 tmp = radix_tree_tag_set(&hwspinlock_tree, id, HWSPINLOCK_UNUSED); in hwspin_lock_register_single() 368 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) in hwspin_lock_unregister_single() argument [all …]
|
/linux-4.4.14/scripts/coccinelle/free/ |
D | pci_free_consistent.cocci | 13 local idexpression id; 19 id = pci_alloc_consistent@p1(x,y,&z) 20 ... when != e = id 21 if (id == NULL || ...) { ... return ...; } 22 ... when != pci_free_consistent(x,y,id,z) 23 when != if (id) { ... pci_free_consistent(x,y,id,z) ... } 24 when != if (y) { ... pci_free_consistent(x,y,id,z) ... } 25 when != e = (T)id 32 return id;
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | obd_support.h | 476 #define OBD_FAIL_PRECHECK(id) CFS_FAIL_PRECHECK(id) argument 477 #define OBD_FAIL_CHECK(id) CFS_FAIL_CHECK(id) argument 478 #define OBD_FAIL_CHECK_VALUE(id, value) CFS_FAIL_CHECK_VALUE(id, value) argument 479 #define OBD_FAIL_CHECK_ORSET(id, value) CFS_FAIL_CHECK_ORSET(id, value) argument 480 #define OBD_FAIL_CHECK_RESET(id, value) CFS_FAIL_CHECK_RESET(id, value) argument 481 #define OBD_FAIL_RETURN(id, ret) CFS_FAIL_RETURN(id, ret) argument 482 #define OBD_FAIL_TIMEOUT(id, secs) CFS_FAIL_TIMEOUT(id, secs) argument 483 #define OBD_FAIL_TIMEOUT_MS(id, ms) CFS_FAIL_TIMEOUT_MS(id, ms) argument 484 #define OBD_FAIL_TIMEOUT_ORSET(id, value, secs) CFS_FAIL_TIMEOUT_ORSET(id, value, secs) argument 485 #define OBD_RACE(id) CFS_RACE(id) argument
|
/linux-4.4.14/fs/nfs/ |
D | pnfs_dev.c | 53 nfs4_print_deviceid(const struct nfs4_deviceid *id) in nfs4_print_deviceid() argument 55 u32 *p = (u32 *)id; in nfs4_print_deviceid() 64 nfs4_deviceid_hash(const struct nfs4_deviceid *id) in nfs4_deviceid_hash() argument 66 unsigned char *cptr = (unsigned char *)id->data; in nfs4_deviceid_hash() 79 const struct nfs_client *clp, const struct nfs4_deviceid *id, in _lookup_deviceid() argument 86 !memcmp(&d->deviceid, id, sizeof(*id))) { in _lookup_deviceid() 134 pdev->layout_type = server->pnfs_curr_ld->id; in nfs4_get_device_info() 173 const struct nfs4_deviceid *id, long hash) in __nfs4_find_get_deviceid() argument 178 d = _lookup_deviceid(server->pnfs_curr_ld, server->nfs_client, id, in __nfs4_find_get_deviceid() 188 const struct nfs4_deviceid *id, struct rpc_cred *cred, in nfs4_find_get_deviceid() argument [all …]
|
/linux-4.4.14/drivers/staging/vme/devices/ |
D | vme_pio2_cntr.c | 24 static int pio2_cntr_irq_set(struct pio2_card *card, int id) in pio2_cntr_irq_set() argument 29 data = PIO2_CNTR_SC_DEV[id] | PIO2_CNTR_RW_BOTH | card->cntr[id].mode; in pio2_cntr_irq_set() 30 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_CTRL[id]); in pio2_cntr_irq_set() 34 data = card->cntr[id].count & 0xFF; in pio2_cntr_irq_set() 35 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_DATA[id]); in pio2_cntr_irq_set() 39 data = (card->cntr[id].count >> 8) & 0xFF; in pio2_cntr_irq_set() 40 retval = vme_master_write(card->window, &data, 1, PIO2_CNTR_DATA[id]); in pio2_cntr_irq_set()
|
/linux-4.4.14/drivers/clk/mediatek/ |
D | reset.c | 31 unsigned long id) in mtk_reset_assert() argument 35 return regmap_update_bits(data->regmap, data->regofs + ((id / 32) << 2), in mtk_reset_assert() 36 BIT(id % 32), ~0); in mtk_reset_assert() 40 unsigned long id) in mtk_reset_deassert() argument 44 return regmap_update_bits(data->regmap, data->regofs + ((id / 32) << 2), in mtk_reset_deassert() 45 BIT(id % 32), 0); in mtk_reset_deassert() 49 unsigned long id) in mtk_reset() argument 53 ret = mtk_reset_assert(rcdev, id); in mtk_reset() 57 return mtk_reset_deassert(rcdev, id); in mtk_reset()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_flat_memory.c | 298 uint8_t id = 0; in kfd_init_apertures() local 303 while ((dev = kfd_topology_enum_kfd_devices(id)) != NULL && in kfd_init_apertures() 304 id < NUM_OF_SUPPORTED_GPUS) { in kfd_init_apertures() 325 pdd->lds_base = MAKE_LDS_APP_BASE(id + 1); in kfd_init_apertures() 329 pdd->gpuvm_base = MAKE_GPUVM_APP_BASE(id + 1); in kfd_init_apertures() 334 pdd->scratch_base = MAKE_SCRATCH_APP_BASE(id + 1); in kfd_init_apertures() 340 dev_dbg(kfd_device, "node id %u\n", id); in kfd_init_apertures() 341 dev_dbg(kfd_device, "gpu id %u\n", pdd->dev->id); in kfd_init_apertures() 349 id++; in kfd_init_apertures()
|
/linux-4.4.14/drivers/phy/ |
D | phy-bcm-cygnus-pcie.c | 41 enum cygnus_pcie_phy_id id; member 67 switch (phy->id) { in cygnus_pcie_power_config() 78 dev_err(core->dev, "PCIe PHY %d invalid\n", phy->id); in cygnus_pcie_power_config() 98 dev_dbg(core->dev, "PCIe PHY %d %s\n", phy->id, in cygnus_pcie_power_config() 152 unsigned int id; in cygnus_pcie_phy_probe() local 155 if (of_property_read_u32(child, "reg", &id)) { in cygnus_pcie_phy_probe() 162 if (id >= MAX_NUM_PHYS) { in cygnus_pcie_phy_probe() 163 dev_err(dev, "invalid PHY id: %u\n", id); in cygnus_pcie_phy_probe() 168 if (core->phys[id].phy) { in cygnus_pcie_phy_probe() 169 dev_err(dev, "duplicated PHY id: %u\n", id); in cygnus_pcie_phy_probe() [all …]
|
/linux-4.4.14/Documentation/ABI/obsolete/ |
D | sysfs-block-zram | 1 What: /sys/block/zram<id>/num_reads 7 Now accessible via zram<id>/stat node. 9 What: /sys/block/zram<id>/num_writes 15 Now accessible via zram<id>/stat node. 17 What: /sys/block/zram<id>/invalid_io 23 Now accessible via zram<id>/io_stat node. 25 What: /sys/block/zram<id>/failed_reads 31 Now accessible via zram<id>/io_stat node. 33 What: /sys/block/zram<id>/failed_writes 39 Now accessible via zram<id>/io_stat node. [all …]
|
/linux-4.4.14/net/bluetooth/cmtp/ |
D | core.c | 91 int i, id = -1; in cmtp_alloc_block_id() local 95 id = i; in cmtp_alloc_block_id() 99 return id; in cmtp_alloc_block_id() 102 static inline void cmtp_free_block_id(struct cmtp_session *session, int id) in cmtp_free_block_id() argument 104 clear_bit(id, &session->blockids); in cmtp_free_block_id() 107 static inline void cmtp_add_msgpart(struct cmtp_session *session, int id, const unsigned char *buf,… in cmtp_add_msgpart() argument 109 struct sk_buff *skb = session->reassembly[id], *nskb; in cmtp_add_msgpart() 127 session->reassembly[id] = nskb; in cmtp_add_msgpart() 134 __u8 hdr, hdrlen, id; in cmtp_recv_frame() local 157 id = (hdr & 0x3c) >> 2; in cmtp_recv_frame() [all …]
|
/linux-4.4.14/drivers/reset/ |
D | reset-lpc18xx.c | 74 unsigned long id, bool set) in lpc18xx_rgu_setclear_reset() argument 82 stat_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset() 83 ctrl_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); in lpc18xx_rgu_setclear_reset() 84 rst_bit = 1 << (id % LPC18XX_RGU_RESETS_PER_REG); in lpc18xx_rgu_setclear_reset() 98 unsigned long id) in lpc18xx_rgu_assert() argument 100 return lpc18xx_rgu_setclear_reset(rcdev, id, true); in lpc18xx_rgu_assert() 104 unsigned long id) in lpc18xx_rgu_deassert() argument 106 return lpc18xx_rgu_setclear_reset(rcdev, id, false); in lpc18xx_rgu_deassert() 111 unsigned long id) in lpc18xx_rgu_reset() argument 115 lpc18xx_rgu_assert(rcdev, id); in lpc18xx_rgu_reset() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4idmap.c | 65 u32 id; member 81 new->id = itm->id; in ent_init() 115 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); in idtoname_hash() 132 snprintf(idstr, sizeof(idstr), "%u", ent->id); in idtoname_request() 145 return (a->id == b->id && a->type == b->type && in idtoname_match() 161 ent->id); in idtoname_show() 229 ent.id = simple_strtoul(buf1, &bp, 10); in idtoname_parse() 334 seq_printf(m, " %u", ent->id); in nametoid_show() 400 error = get_int(&buf, &ent.id); in nametoid_parse() 524 u32 *id) in idmap_name_to_id() argument [all …]
|
/linux-4.4.14/fs/ |
D | binfmt_flat.c | 88 static int load_flat_shared_library(int id, struct lib_info *p); 316 int id; in calc_reloc() local 324 id = curid; /* Relocs of 0 are always self referring */ in calc_reloc() 326 id = (r >> 24) & 0xff; /* Find ID for this reloc */ in calc_reloc() 329 if (id >= MAX_SHARED_LIBS) { in calc_reloc() 331 (unsigned) r, id); in calc_reloc() 334 if (curid != id) { in calc_reloc() 337 "(%d != %d)", (unsigned) r, curid, id); in calc_reloc() 339 } else if ( ! p->lib_list[id].loaded && in calc_reloc() 340 IS_ERR_VALUE(load_flat_shared_library(id, p))) { in calc_reloc() [all …]
|
/linux-4.4.14/drivers/input/misc/ |
D | ixp4xx-beeper.c | 99 input_set_drvdata(input_dev, (void *) dev->id); in ixp4xx_spkr_probe() 103 input_dev->id.bustype = BUS_HOST; in ixp4xx_spkr_probe() 104 input_dev->id.vendor = 0x001f; in ixp4xx_spkr_probe() 105 input_dev->id.product = 0x0001; in ixp4xx_spkr_probe() 106 input_dev->id.version = 0x0100; in ixp4xx_spkr_probe() 113 err = gpio_request(dev->id, "ixp4-beeper"); in ixp4xx_spkr_probe() 119 (void *) dev->id); in ixp4xx_spkr_probe() 132 free_irq(IRQ_IXP4XX_TIMER2, (void *)dev->id); in ixp4xx_spkr_probe() 134 gpio_free(dev->id); in ixp4xx_spkr_probe() 152 free_irq(IRQ_IXP4XX_TIMER2, (void *)dev->id); in ixp4xx_spkr_remove() [all …]
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | mcbsp.c | 39 static int omap3_enable_st_clock(unsigned int id, bool enable) in omap3_enable_st_clock() argument 46 return omap2_clk_deny_idle(mcbsp_iclks[id]); in omap3_enable_st_clock() 48 return omap2_clk_allow_idle(mcbsp_iclks[id]); in omap3_enable_st_clock() 53 int id, count = 1; in omap_init_mcbsp() local 60 sscanf(oh->name, "mcbsp%d", &id); in omap_init_mcbsp() 80 if (id == 2) in omap_init_mcbsp() 100 sprintf(clk_name, "mcbsp%d_ick", id); in omap_init_mcbsp() 101 mcbsp_iclks[id] = clk_get(NULL, clk_name); in omap_init_mcbsp() 104 pdev = omap_device_build_ss(name, id, oh_device, count, pdata, in omap_init_mcbsp()
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_ring2.c | 29 if (xgene_enet_ring_owner(ring->id) == RING_OWNER_CPU) { in xgene_enet_ring_init() 30 ring_cfg[0] |= SET_VAL(X2_INTLINE, ring->id & RING_BUFNUM_MASK); in xgene_enet_ring_init() 52 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_ring_set_type() 99 owner = xgene_enet_ring_owner(ring->id); in xgene_enet_set_ring_state() 112 if (xgene_enet_ring_owner(ring->id) == RING_OWNER_CPU) in xgene_enet_set_ring_id() 115 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_set_ring_id() 117 ring_id_val = ring->id & GENMASK(9, 0); in xgene_enet_set_ring_id() 133 ring_id = ring->id | OVERWRITE; in xgene_enet_clr_desc_ring_id() 148 ring->slots = xgene_enet_get_numslots(ring->id, ring->size); in xgene_enet_setup_ring() 150 is_bufpool = xgene_enet_is_bufpool(ring->id); in xgene_enet_setup_ring() [all …]
|
/linux-4.4.14/arch/mips/jz4740/ |
D | platform.c | 51 .id = -1, 63 .id = 0, 82 .id = -1, 107 .id = 0, 132 .id = -1, 153 .id = 0, 209 .id = -1, 229 .id = -1, 237 .id = -1, 251 .id = -1, [all …]
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 44 int ivtv_claim_stream(struct ivtv_open_id *id, int type) in ivtv_claim_stream() argument 46 struct ivtv *itv = id->itv; in ivtv_claim_stream() 53 if (s->fh == &id->fh) { in ivtv_claim_stream() 62 s->fh = &id->fh; in ivtv_claim_stream() 70 s->fh = &id->fh; in ivtv_claim_stream() 427 int ivtv_start_capture(struct ivtv_open_id *id) in ivtv_start_capture() argument 429 struct ivtv *itv = id->itv; in ivtv_start_capture() 430 struct ivtv_stream *s = &itv->streams[id->type]; in ivtv_start_capture() 442 if (ivtv_claim_stream(id, s->type)) in ivtv_start_capture() 507 struct ivtv_open_id *id = fh2id(filp->private_data); in ivtv_v4l2_read() local [all …]
|
/linux-4.4.14/arch/arm/plat-samsung/ |
D | devs.c | 88 .id = -1, 110 .id = -1, 125 .id = -1, 142 .id = -1, 164 .id = -1, 185 .id = -1, 212 .id = 0, 242 .id = 1, 274 .id = 2, 304 .id = 3, [all …]
|
/linux-4.4.14/scripts/kconfig/ |
D | zconf.y | 27 static bool zconf_endtoken(const struct kconf_id *id, int starttoken, int endtoken); 43 const struct kconf_id *id; member 46 %token <id>T_MAINMENU 47 %token <id>T_MENU 48 %token <id>T_ENDMENU 49 %token <id>T_SOURCE 50 %token <id>T_CHOICE 51 %token <id>T_ENDCHOICE 52 %token <id>T_COMMENT 53 %token <id>T_CONFIG [all …]
|
D | zconf.l | 104 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); variable 108 if (id && id->flags & TF_COMMAND) { 109 zconflval.id = id; 110 return id->token; 143 const struct kconf_id *id = kconf_id_lookup(yytext, yyleng); 144 if (id && id->flags & TF_PARAM) { 145 zconflval.id = id; 146 return id->token;
|
/linux-4.4.14/drivers/block/xen-blkback/ |
D | common.h | 84 uint64_t id; /* private guest value, echoed in resp */ member 92 uint64_t id; /* private guest value, echoed in resp */ member 100 uint64_t id; /* private guest value, echoed in resp */ member 106 uint64_t id; member 134 uint64_t id; /* copied from request */ member 145 uint64_t id; member 154 uint64_t id; member 163 uint64_t id; /* private guest value, echoed in resp */ member 170 uint64_t id; member 196 uint64_t __attribute__((__aligned__(8))) id; member [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | cpumap.c | 32 int id; member 97 int id; in cpuinfo_id() local 101 id = 0; in cpuinfo_id() 104 id = cpu_to_node(cpu); in cpuinfo_id() 107 id = cpu_data(cpu).core_id; in cpuinfo_id() 110 id = cpu_data(cpu).proc_id; in cpuinfo_id() 113 id = -EINVAL; in cpuinfo_id() 115 return id; in cpuinfo_id() 192 int n, id, cpu, prev_cpu, last_cpu, level; in build_cpuinfo_tree() local 213 id = cpuinfo_id(cpu, level); in build_cpuinfo_tree() [all …]
|
/linux-4.4.14/drivers/net/can/cc770/ |
D | cc770.c | 249 int mo, id, data; in chipset_init() local 282 for (id = 0; id < 4; id++) in chipset_init() 283 cc770_write_reg(priv, msgobj[mo].id[id], 0); in chipset_init() 400 u32 id; in cc770_start_xmit() local 415 id = cf->can_id; in cc770_start_xmit() 424 if (id & CAN_EFF_FLAG) { in cc770_start_xmit() 425 id &= CAN_EFF_MASK; in cc770_start_xmit() 428 cc770_write_reg(priv, msgobj[mo].id[3], id << 3); in cc770_start_xmit() 429 cc770_write_reg(priv, msgobj[mo].id[2], id >> 5); in cc770_start_xmit() 430 cc770_write_reg(priv, msgobj[mo].id[1], id >> 13); in cc770_start_xmit() [all …]
|
/linux-4.4.14/arch/frv/mm/ |
D | mmu-context.c | 66 if (!p->id_busy && p->id != cxn_pinned) in get_cxn() 72 cxn = p->id; in get_cxn() 73 p->id = 0; in get_cxn() 78 ctx->id = cxn; in get_cxn() 82 return ctx->id; in get_cxn() 110 asm volatile("movgs %0,cxnr" : : "r"(ctx->id)); in change_mm_context() 137 if (ctx->id == cxn_pinned) in destroy_context() 141 clear_bit(ctx->id, cxn_bitmap); in destroy_context() 142 __flush_tlb_mm(ctx->id); in destroy_context() 143 ctx->id = 0; in destroy_context() [all …]
|