Home
last modified time | relevance | path

Searched +full:5 +full:md (Results 1 – 25 of 181) sorted by relevance

12345678

/linux/drivers/scsi/aic94xx/
H A Daic94xx_dump.c24 #define MD(x) (1 << (x)) macro
34 {"LmMnSCBPTR", 0x20, 16, MD(0)|MD(1)|MD(2)|MD(3)|MD(4) },
35 {"LmMnDDBPTR", 0x22, 16, MD(0)|MD(1)|MD(2)|MD(3)|MD(4) },
43 {"LmMnDMAERRS", 0x46, 8, MD(0)|MD(1) },
44 {"LmMnSGDMAERRS", 0x47, 8, MD(0)|MD(1) },
45 {"LmMnEXPHDRP", 0x48, 8, MD(0) },
46 {"LmMnSASAALIGN", 0x48, 8, MD(1) },
47 {"LmMnMSKHDRP", 0x49, 8, MD(0) },
48 {"LmMnSTPALIGN", 0x49, 8, MD(1) },
49 {"LmMnRCVHDRP", 0x4A, 8, MD(0) },
[all …]
/linux/Documentation/driver-api/md/
H A Draid5-cache.rst2 RAID 4/5/6 cache
5 Raid 4/5/6 could include an extra disk for data cache besides normal RAID
13 echo "write-back" > /sys/block/md0/md/journal_mode
17 echo "write-through" > /sys/block/md0/md/journal_mode
25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean
29 unclean shutdown. We call an array degraded if it has inconsistent data. MD
36 two-step write will guarantee MD can recover correct data after unclean
39 In write-through mode, MD reports IO completion to upper layer (usually
53 write. For non-full-stripe writes, MD must read old data before the new parity
61 In write-back mode, MD reports IO completion to upper layer (usually
[all …]
H A Dmd-cluster.rst2 MD Cluster
5 The cluster MD is a shared-device RAID for a cluster, it supports
18 | idle | md super | bm super [0] + bits |
88 been updated, and the node must re-read the md superblock. This is
114 3.1.5 RE_ADD:
233 The resync process is the regular md resync. However, in a clustered
255 5. Adding a new Device
265 (Steps 4,5 could be a udev rule)
268 5. Other nodes issue either of the following depending on whether
285 There are 17 call-backs which the md core can make to the cluster
[all …]
/linux/drivers/md/
H A Ddm-raid.c12 #include "md.h"
16 #include "md-bitmap.h"
21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */
70 #define __CTR_FLAG_MAX_RECOVERY_RATE 5 /* 2 */ /* Not with raid0! */
73 #define __CTR_FLAG_STRIPE_CACHE 8 /* 2 */ /* Only with raid4/5/6! */
78 #define __CTR_FLAG_DELTA_DISKS 12 /* 2 */ /* Only with reshapable raid1/4/5/6/10! */
79 #define __CTR_FLAG_DATA_OFFSET 13 /* 2 */ /* Only with reshapable raid4/5/6/10! */
83 #define __CTR_FLAG_JOURNAL_DEV 15 /* 2 */ /* Only with raid4/5/6 (journal device)! */
86 #define __CTR_FLAG_JOURNAL_MODE 16 /* 2 */ /* Only with raid4/5/6 (journal mode)! */
168 * "raid4/5/6" do not accept any raid1 or raid10 specific options
[all …]
H A Dmd-bitmap.h20 /* version 5 is only used for cluster */
21 #define BITMAP_MAJOR_CLUSTERED 5
31 BITMAP_DAEMON_BUSY = 5, /* llbitmap daemon is not finished after daemon_sleep */
39 __u8 uuid[16]; /* 8 128 bit uuid - must match md device uuid */
42 __le64 sync_size; /* 40 the size of the md device's sync range(3) */
50 __u8 cluster_name[64]; /* 72 cluster name to which this md belongs */
55 * (1) This event counter is updated before the eventcounter in the md superblock
H A Ddm-era-target.c36 struct writeset_metadata md; member
96 ws->md.nr_bits = nr_blocks; in writeset_init()
97 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); in writeset_init()
142 r = dm_bitset_set_bit(info, ws->md.root, block, &ws->md.root); in writeset_test_and_set()
269 #define ERA_MAX_CONCURRENT_LOCKS 5
311 static int superblock_read_lock(struct era_metadata *md, in superblock_read_lock() argument
314 return dm_bm_read_lock(md->bm, SUPERBLOCK_LOCATION, in superblock_read_lock()
318 static int superblock_lock_zero(struct era_metadata *md, in superblock_lock_zero() argument
321 return dm_bm_write_lock_zero(md->bm, SUPERBLOCK_LOCATION, in superblock_lock_zero()
325 static int superblock_lock(struct era_metadata *md, in superblock_lock() argument
[all …]
H A Dmd-cluster.c12 #include "md.h"
13 #include "md-bitmap.h"
14 #include "md-cluster.h"
50 * MD. Token needs to be locked and held until the operation
54 #define MD_CLUSTER_SEND_LOCKED_ALREADY 5
63 struct mddev *mddev; /* the md device which md_cluster_info belongs to */
210 pr_err("md-cluster: Unable to allocate resource name for resource %s\n", name); in lockres_init()
217 pr_err("md-cluster: Unable to allocate LVB for resource %s\n", name); in lockres_init()
230 pr_err("md-cluster: Unable to lock NL on new lock resource %s\n", name); in lockres_init()
310 pr_err("md-cluster: Cannot initialize bitmaps\n"); in recover_bitmaps()
[all …]
/linux/Documentation/devicetree/bindings/iio/pressure/
H A Dhoneywell,hsc030pa.yaml52 1 - B, 5% to 95% of 2^14
53 2 - C, 5% to 85% of 2^14
63 enum: [001BA, 1.6BA, 2.5BA, 004BA, 006BA, 010BA, 1.6MD, 2.5MD, 004MD,
64 006MD, 010MD, 016MD, 025MD, 040MD, 060MD, 100MD, 160MD, 250MD,
65 400MD, 600MD, 001BD, 1.6BD, 2.5BD, 004BD, 2.5MG, 004MG, 006MG,
91 Provide VDD power to the sensor (either 3.3V or 5V depending on the chip)
/linux/include/net/
H A Dnsh.h9 * 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
11 * |Ver|O|U| TTL | Length |U|U|U|U|MD Type| Next Protocol |
67 * Variable Length Context Header(s). The length MUST be 0x6 for MD
68 * Type equal to 0x1, and MUST be 0x2 or greater for MD Type equal to
73 * MD Type: Indicates the format of NSH beyond the mandatory Base Header
74 * and the Service Path Header. MD Type defines the format of the
78 * discard packets with MD Type 0x0.
91 * an experiment SHOULD silently discard packets with MD Type 0xF.
96 * Please see the IANA Considerations section below, Section 11.2.5.
140 * When the Base Header specifies MD Type = 0x1, a Fixed Length Context
[all …]
/linux/drivers/video/fbdev/omap/
H A Dlcd_mipid.c56 static void mipid_transfer(struct mipid_device *md, int cmd, const u8 *wbuf, in mipid_transfer() argument
64 BUG_ON(md->spi == NULL); in mipid_transfer()
105 r = spi_sync(md->spi, &m); in mipid_transfer()
107 dev_dbg(&md->spi->dev, "spi_sync %d\n", r); in mipid_transfer()
113 static inline void mipid_cmd(struct mipid_device *md, int cmd) in mipid_cmd() argument
115 mipid_transfer(md, cmd, NULL, 0, NULL, 0); in mipid_cmd()
118 static inline void mipid_write(struct mipid_device *md, in mipid_write() argument
121 mipid_transfer(md, reg, buf, len, NULL, 0); in mipid_write()
124 static inline void mipid_read(struct mipid_device *md, in mipid_read() argument
127 mipid_transfer(md, reg, NULL, 0, buf, len); in mipid_read()
[all …]
/linux/scripts/mod/
H A Dsumversion.c104 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
117 ROUND2(d, a, b, c, in[4], 5); in md4_transform()
121 ROUND2(d, a, b, c, in[5], 5); in md4_transform()
125 ROUND2(d, a, b, c, in[6], 5); in md4_transform()
129 ROUND2(d, a, b, c, in[7], 5); in md4_transform()
143 ROUND3(c, d, a, b, in[5], 11); in md4_transform()
227 static inline void add_char(unsigned char c, struct md4_ctx *md) in add_char() argument
229 md4_update(md, &c, 1); in add_char()
233 struct md4_ctx *md) in parse_string() argument
258 parse_file(const char * fname,struct md4_ctx * md) parse_file() argument
304 parse_source_files(const char * objfile,struct md4_ctx * md) parse_source_files() argument
396 struct md4_ctx md; get_src_version() local
[all...]
/linux/tools/perf/tests/
H A Dopenat-syscall-tp-fields.c95 struct mmap *md; in test__syscall_openat_tp_fields() local
97 md = &evlist->mmap[i]; in test__syscall_openat_tp_fields()
98 if (perf_mmap__read_init(&md->core) < 0) in test__syscall_openat_tp_fields()
101 while ((event = perf_mmap__read_event(&md->core)) != NULL) { in test__syscall_openat_tp_fields()
109 perf_mmap__consume(&md->core); in test__syscall_openat_tp_fields()
131 perf_mmap__read_done(&md->core); in test__syscall_openat_tp_fields()
137 if (++nr_polls > 5) { in test__syscall_openat_tp_fields()
/linux/arch/sh/kernel/cpu/sh2a/
H A Dentry.S46 bld.b #6,@(0,r2) !previus SR.MD
47 bst.b #6,@(4*4,r15) !set cpu mode to SR.MD
50 bset.b #6,@(0,r2) !set SR.MD
82 add #-((OFF_TRA + 4) - OFF_PC) + 5*4,r15
122 mov.l 5f,r10
136 5: .long ret_from_exception
212 shlr2 r1 ! clear MD bit
238 ! bit30 = MD (compatible SH3/4)
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_trap.c239 struct psample_metadata *md, in mlxsw_sp_psample_md_init() argument
246 md->trunc_size = truncate ? trunc_size : skb->len; in mlxsw_sp_psample_md_init()
247 md->in_ifindex = in_ifindex; in mlxsw_sp_psample_md_init()
249 md->out_ifindex = mlxsw_sp_port && mlxsw_sp_port->dev ? in mlxsw_sp_psample_md_init()
251 md->out_tc_valid = rx_md_info->tx_tc_valid; in mlxsw_sp_psample_md_init()
252 md->out_tc = rx_md_info->tx_tc; in mlxsw_sp_psample_md_init()
253 md->out_tc_occ_valid = rx_md_info->tx_congestion_valid; in mlxsw_sp_psample_md_init()
254 md->out_tc_occ = rx_md_info->tx_congestion; in mlxsw_sp_psample_md_init()
255 md->latency_valid = rx_md_info->latency_valid; in mlxsw_sp_psample_md_init()
256 md->latency = rx_md_info->latency; in mlxsw_sp_psample_md_init()
[all …]
/linux/tools/lib/perf/
H A Dmmap.c83 static inline void perf_mmap__write_tail(struct perf_mmap *md, u64 tail) in perf_mmap__write_tail() argument
85 ring_buffer_write_tail(md->base, tail); in perf_mmap__write_tail()
147 static int __perf_mmap__read_init(struct perf_mmap *md) in __perf_mmap__read_init() argument
149 u64 head = perf_mmap__read_head(md); in __perf_mmap__read_init()
150 u64 old = md->prev; in __perf_mmap__read_init()
151 unsigned char *data = md->base + page_size; in __perf_mmap__read_init()
154 md->start = md->overwrite ? head : old; in __perf_mmap__read_init()
155 md->end = md->overwrite ? old : head; in __perf_mmap__read_init()
157 if ((md->end - md->start) < md->flush) in __perf_mmap__read_init()
160 size = md->end - md->start; in __perf_mmap__read_init()
[all …]
/linux/drivers/iio/pressure/
H A Dhsc030pa.c42 #define HSC_TEMPERATURE_MASK GENMASK(15, 5)
52 * function B: 5% - 95% of 2^14
53 * function C: 5% - 85% of 2^14
99 [HSC1_6MD] = "1.6MD", [HSC2_5MD] = "2.5MD", [HSC004MD] = "004MD",
100 [HSC006MD] = "006MD", [HSC010MD] = "010MD", [HSC016MD] = "016MD",
101 [HSC025MD] = "025MD", [HSC040MD] = "040MD", [HSC060MD] = "060MD",
102 [HSC100MD] = "100MD", [HSC160MD] = "160MD", [HSC250MD] = "250MD",
103 [HSC400MD] = "400MD", [HSC600MD] = "600MD", [HSC001BD] = "001BD",
429 .shift = 5,
/linux/arch/x86/platform/efi/
H A Defi.c117 efi_memory_desc_t *md; in do_add_efi_memmap() local
122 for_each_efi_memory_desc(md) { in do_add_efi_memmap()
123 unsigned long long start = md->phys_addr; in do_add_efi_memmap()
124 unsigned long long size = md->num_pages << EFI_PAGE_SHIFT; in do_add_efi_memmap()
127 switch (md->type) { in do_add_efi_memmap()
134 && (md->attribute & EFI_MEMORY_SP)) in do_add_efi_memmap()
136 else if (md->attribute & EFI_MEMORY_WB) in do_add_efi_memmap()
177 efi_memory_desc_t *md; in do_efi_soft_reserve() local
185 for_each_efi_memory_desc(md) in do_efi_soft_reserve()
186 if (md->type == EFI_CONVENTIONAL_MEMORY && in do_efi_soft_reserve()
[all …]
H A Dquirks.c178 * reduce the available space to under 5KB. This figure was provided by in efi_query_variable_store()
257 efi_memory_desc_t md; in efi_arch_mem_reserve() local
261 if (efi_mem_desc_lookup(addr, &md) || in efi_arch_mem_reserve()
262 md.type != EFI_BOOT_SERVICES_DATA) { in efi_arch_mem_reserve()
267 if (addr + size > md.phys_addr + (md.num_pages << EFI_PAGE_SHIFT)) { in efi_arch_mem_reserve()
278 mr.attribute = md.attribute | EFI_MEMORY_RUNTIME; in efi_arch_mem_reserve()
280 num_entries = efi_memmap_split_count(&md, &mr.range); in efi_arch_mem_reserve()
326 efi_memory_desc_t *md; in efi_reserve_boot_services() local
331 for_each_efi_memory_desc(md) { in efi_reserve_boot_services()
332 u64 start = md->phys_addr; in efi_reserve_boot_services()
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_port_proxy.c43 #define Q_IDX_AT_CMD 5
193 struct t7xx_fsm_ctl *ctl = port->t7xx_dev->md->fsm_ctl; in t7xx_port_get_queue_no()
262 md_ctrl = port->t7xx_dev->md->md_ctrl[path_id]; in t7xx_get_port_mtu()
272 md_ctrl = port->t7xx_dev->md->md_ctrl[path_id]; in t7xx_port_send_raw_skb()
326 struct t7xx_fsm_ctl *ctl = port->t7xx_dev->md->fsm_ctl; in t7xx_port_send_skb()
393 struct port_proxy *port_prox = t7xx_dev->md->port_prox; in t7xx_port_proxy_recv_skb_from_dedicated_queue()
417 struct port_proxy *port_prox = t7xx_dev->md->port_prox; in t7xx_port_proxy_find_port()
448 struct t7xx_fsm_ctl *ctl = t7xx_dev->md->fsm_ctl; in t7xx_port_proxy_recv_skb()
492 * which want to know MD state transition.
507 static void t7xx_proxy_init_all_ports(struct t7xx_modem *md) in t7xx_proxy_init_all_ports() argument
[all …]
/linux/drivers/clk/davinci/
H A Dpsc.c50 #define MDSTAT_STATE_MASK GENMASK(5, 0)
71 * @md: Module domain (LPSC module id)
81 u32 md; member
113 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDSTAT_STATE_MASK, in davinci_lpsc_config()
117 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDCTL_FORCE, in davinci_lpsc_config()
139 regmap_read_poll_timeout(lpsc->regmap, MDSTAT(lpsc->md), mdstat, in davinci_lpsc_config()
165 regmap_read(lpsc->regmap, MDSTAT(lpsc->md), &mdstat); in davinci_lpsc_clk_is_enabled()
228 * @md: local PSC number
235 u32 md, u32 pd, u32 flags) in davinci_lpsc_clk_register() argument
261 lpsc->md = md; in davinci_lpsc_clk_register()
[all …]
/linux/drivers/clk/renesas/
H A Dr8a7792-cpg-mssr.c56 DEF_FIXED("zg", R8A7792_CLK_ZG, CLK_PLL1, 5, 1),
122 DEF_MOD("imr-lsx3-5", 825, R8A7792_CLK_ZG),
164 * MD EXTAL PLL0 PLL1 PLL3
179 #define CPG_PLL_CONFIG_INDEX(md) ((((md) & BIT(14)) >> 12) | \ argument
180 (((md) & BIT(13)) >> 12) | \
181 (((md) & BIT(19)) >> 19))
/linux/arch/mips/include/asm/sn/sn0/
H A Dhubmd.h33 #define MD_IO_PROTECT 0x200000 /* MD and core register protection */
49 #define MD_MISC_ERROR 0x200080 /* Miscellaneous MD error */
50 #define MD_MISC_ERROR_CLR 0x200088 /* Miscellaneous MD error clear */
53 #define MD_MOQ_SIZE 0x2000a0 /* MD outgoing queue size */
62 #define MD_PERF_CNT5 0x210038 /* Performance counter 5 */
106 * Bits not used by the MD are used by software.
114 #define MD_SIZE_128MB 5 /* Valid in MEMORY_CONFIG */
216 #define MSU_NETSYNC_SHFT 5 /* You don't wanna know */
217 #define MSU_NETSYNC_MASK (UINT64_CAST 1 << 5)
218 #define MSU_NETSYNC (UINT64_CAST 1 << 5)
[all …]
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_maven.c135 static int* get_ctrl_ptr(struct maven_data* md, int idx) { in get_ctrl_ptr() argument
136 return (int*)((char*)(md->primary_head) + maven_controls[idx].control); in get_ctrl_ptr()
207 .feed_div_min = 5,
340 static unsigned char maven_compute_deflicker (const struct maven_data* md) { in maven_compute_deflicker() argument
343 df = (md->version == MGATVO_B?0x40:0x00); in maven_compute_deflicker()
344 switch (md->primary_head->altout.tvo_params.deflicker) { in maven_compute_deflicker()
358 static void maven_compute_bwlevel (const struct maven_data* md, in maven_compute_bwlevel() argument
360 const int b = md->primary_head->altout.tvo_params.brightness + BLMIN; in maven_compute_bwlevel()
361 const int c = md->primary_head->altout.tvo_params.contrast; in maven_compute_bwlevel()
367 static const struct maven_gamma* maven_compute_gamma (const struct maven_data* md) { in maven_compute_gamma() argument
[all …]
/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c57 DBG_MMAP = BIT(5), /* mapping messages */
111 struct mport_dev *md; member
167 * @md master port character device object
179 struct mport_dev *md; member
243 struct rio_mport *mport = priv->md->mport; in rio_mport_maint_rd()
288 struct rio_mport *mport = priv->md->mport; in rio_mport_maint_wr()
341 rio_mport_create_outbound_mapping(struct mport_dev *md, struct file *filp, in rio_mport_create_outbound_mapping() argument
345 struct rio_mport *mport = md->mport; in rio_mport_create_outbound_mapping()
365 map->md = md; in rio_mport_create_outbound_mapping()
367 list_add_tail(&map->node, &md->mappings); in rio_mport_create_outbound_mapping()
[all …]
/linux/drivers/acpi/
H A Dprmt.c77 efi_memory_desc_t *md; in efi_pa_va_lookup() local
81 for_each_efi_memory_desc(md) { in efi_pa_va_lookup()
82 if ((md->attribute & EFI_MEMORY_RUNTIME) && in efi_pa_va_lookup()
83 (md->phys_addr < pa && pa < md->phys_addr + PAGE_SIZE * md->num_pages)) { in efi_pa_va_lookup()
84 return pa_offset + md->virt_addr + page - md->phys_addr; in efi_pa_va_lookup()
266 #define UPDATE_UNLOCK_WITHOUT_LOCK 5

12345678