/linux/net/sctp/ |
H A D | tsnmap.c | 71 u32 gap; in sctp_tsnmap_check() local 84 gap = tsn - map->base_tsn; in sctp_tsnmap_check() 87 if (gap < map->len && test_bit(gap, map->tsn_map)) in sctp_tsnmap_check() 98 u16 gap; in sctp_tsnmap_mark() local 103 gap = tsn - map->base_tsn; in sctp_tsnmap_mark() 105 if (gap >= map->len && !sctp_tsnmap_grow(map, gap + 1)) in sctp_tsnmap_mark() 108 if (!sctp_tsnmap_has_gap(map) && gap == 0) { in sctp_tsnmap_mark() 120 /* Either we already have a gap, or about to record a gap, so in sctp_tsnmap_mark() 129 set_bit(gap, map->tsn_map); in sctp_tsnmap_mark() 141 /* Initialize a Gap Ack Block iterator from memory being provided. */ [all …]
|
/linux/drivers/video/fbdev/kyro/ |
H A D | STG4000Reg.h | 103 volatile u32 Fill0[6]; /* GAP 0x0068 - 0x007C */ 108 volatile u32 Fill1[37]; /* GAP 0x0088 - 0x011C */ 114 volatile u32 dwFill_1; /* GAP 0x0128 */ 120 volatile u32 Fill2[6]; /* GAP 0x0138 - 0x014C */ 127 volatile u32 Fill3[2]; /* GAP 0x0160 - 0x0168 */ 141 volatile u32 Fill4[0x0400/4 - 0x0190/4]; //GAP 0x0190 - 0x0400 142 volatile u32 Fill5[0x05FC/4 - 0x0400/4]; //GAP 0x0400 - 0x05FC Fog Table 143 volatile u32 Fill6[0x0604/4 - 0x0600/4]; //GAP 0x0600 - 0x0604 144 volatile u32 Fill7[0x0680/4 - 0x0608/4]; //GAP 0x0608 - 0x0680 145 volatile u32 Fill8[0x07FC/4 - 0x0684/4]; //GAP 0x0684 - 0x07FC [all …]
|
/linux/Documentation/devicetree/bindings/ata/ |
H A D | ceva,ahci-1v84.yaml | 49 - description: CIBGN - COMINIT Burst Gap Nominal. 50 - description: CIBGMX - COMINIT Burst Gap Maximum. 51 - description: CIBGMN - COMINIT Burst Gap Minimum. 60 - description: CWBGMN - COMWAKE Burst Gap Minimum. 61 - description: CWBGMX - COMWAKE Burst Gap Maximum. 62 - description: CWBGN - COMWAKE Burst Gap Nominal. 95 - description: CIBGN - COMINIT Burst Gap Nominal. 96 - description: CIBGMX - COMINIT Burst Gap Maximum. 97 - description: CIBGMN - COMINIT Burst Gap Minimum. 106 - description: CWBGMN - COMWAKE Burst Gap Minimum. [all …]
|
/linux/fs/bcachefs/ |
H A D | btree_journal_iter.c | 23 if (idx >= keys->gap) in idx_to_pos() 123 BUG_ON(iter->idx >= keys->gap && in journal_iter_verify() 124 iter->idx < keys->gap + gap_size); in journal_iter_verify() 138 /* The key we just inserted is immediately before the gap: */ in journal_iters_fix() 139 size_t gap_end = keys->gap + (keys->size - keys->nr); in journal_iters_fix() 140 struct journal_key *new_key = &keys->data[keys->gap - 1]; in journal_iters_fix() 154 iter->idx = keys->gap - 1; in journal_iters_fix() 200 if (idx > keys->gap) in bch2_journal_key_insert_take() 203 size_t old_gap = keys->gap; in bch2_journal_key_insert_take() 221 /* Since @keys was full, there was no gap: */ in bch2_journal_key_insert_take() [all …]
|
/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 276 u32 gap; in logicvc_layer_buffer_find_setup() local 298 gap = fb_offset - base_offset; in logicvc_layer_buffer_find_setup() 301 if (gap && buffer_offset) { in logicvc_layer_buffer_find_setup() 302 buffer_sel = gap / buffer_offset; in logicvc_layer_buffer_find_setup() 306 gap -= buffer_sel * buffer_offset; in logicvc_layer_buffer_find_setup() 310 if (gap && layer_stride && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup() 311 voffset = gap / layer_stride; in logicvc_layer_buffer_find_setup() 315 gap -= voffset * layer_stride; in logicvc_layer_buffer_find_setup() 319 if (gap && layer_bytespp && logicvc->config.layers_configurable) { in logicvc_layer_buffer_find_setup() 320 hoffset = gap / layer_bytespp; in logicvc_layer_buffer_find_setup() [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A D | bttv-input.c | 187 u32 gap, rc5, scancode; in bttv_rc5_timer_end() local 193 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end() 194 /* avoid overflow with gap >1s */ in bttv_rc5_timer_end() 195 if (gap > USEC_PER_SEC) { in bttv_rc5_timer_end() 196 gap = 200000; in bttv_rc5_timer_end() 202 if (gap < 28000) { in bttv_rc5_timer_end() 240 u32 gap; in bttv_rc5_irq() local 250 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq() 251 /* avoid overflow with gap >1s */ in bttv_rc5_irq() 252 if (gap > USEC_PER_SEC) { in bttv_rc5_irq() [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell-bt-8xxx.txt | 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 39 wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host 64 marvell,wakeup-gap-ms = /bits/ 16 <0x64>; 81 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
|
/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 14 bit 8:0 -- Gap 21 where Gap is the gap in milli seconds between wakeup signal and 26 # Use SDIO interface to wake up the host and set GAP to 0x80: 30 # Use GPIO pin #3 to wake up the host and set GAP to 0xff:
|
/linux/net/dccp/ccids/lib/ |
H A D | packet_history.c | 157 if (!dccp_loss_free(s0, s1, n1)) { /* gap between S0 and S1 */ in __do_track_loss() 185 /* gap between S2 and S1: just update loss_prev */ in __one_after_loss() 188 } else { /* gap between S0 and S2 */ in __one_after_loss() 239 /* gap remains between S1 and S2 */ in __two_after_loss() 244 } else /* gap exists between S3 and S1, loss_count stays at 2 */ in __two_after_loss() 251 * The remaining case: S0 < S3 < S1 < S2; gap between S0 and S3 in __two_after_loss() 266 * At this stage we know already that there is a gap between S0 and S1 in __three_after_loss() 280 /* no gap between S2 and S3: entire hole is filled */ in __three_after_loss() 284 /* gap between S2 and S3 */ in __three_after_loss() 289 } else { /* gap between S1 and S2 */ in __three_after_loss()
|
/linux/net/tipc/ |
H A D | link.c | 130 * @last_gap: last gap ack blocks for bcast (FIXME) 131 * @last_ga: ptr to gap ack blocks 259 u16 acked, u16 gap, 404 u16 gap = 0; in link_bc_rcv_gap() local 407 gap = l->snd_nxt - l->rcv_nxt; in link_bc_rcv_gap() 409 gap = buf_seqno(skb) - l->rcv_nxt; in link_bc_rcv_gap() 410 return gap; in link_bc_rcv_gap() 1408 * tipc_get_gap_ack_blks - get Gap ACK blocks from PROTOCOL/STATE_MSG 1409 * @ga: returned pointer to the Gap ACK blocks if any 1412 * @uc: desired Gap ACK blocks type, i.e. unicast (= 1) or broadcast (= 0) [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
H A D | lan969x_calendar.c | 33 /* Gap between two slots for one device running this speed. */ 34 u32 gap; member 150 speed->gap = DIV_ROUND_UP(cal_len, in lan969x_dsm_calendar_calc() 153 speed->gap = 0; in lan969x_dsm_calendar_calc() 185 idx += speed->gap; in lan969x_dsm_calendar_calc()
|
/linux/lib/ |
H A D | maple_tree.c | 143 unsigned long gap[MAPLE_BIG_NODE_GAPS]; member 693 return node->ma64.gap; in ma_gaps() 881 * @offset: The offset of the highest sub-gap in this node. 889 meta->gap = offset; in ma_set_meta() 926 meta->gap = 0; in mt_clear_meta() 944 * ma_meta_gap() - Get the largest gap location of a node from the metadata 949 return mn->ma64.meta.gap; in ma_meta_gap() 953 * ma_set_meta_gap() - Set the largest gap location in a nodes metadata 956 * @offset: The location of the largest gap. 964 meta->gap = offset; in ma_set_meta_gap() [all …]
|
/linux/arch/mips/boot/ |
H A D | elf2ecoff.c | 412 /* If there is a gap between text and data, we'll fill it when we copy in main() 569 uint32_t gap = ph[i].p_vaddr - cur_vma; in main() local 571 if (gap > 65536) { in main() 573 "Intersegment gap (%"PRId32" bytes) too large.\n", in main() 574 gap); in main() 578 "Warning: %d byte intersegment gap.\n", in main() 579 gap); in main() 581 while (gap) { in main() 584 (gap > in main() 586 obuf : gap)); in main() [all …]
|
/linux/Documentation/arch/s390/ |
H A D | mm.rst | 33 | | ... unused gap | KASAN untracked 51 | ... unused gap | KASAN untracked 101 | ... unused gap | KASAN untracked 105 | ... unused gap | KASAN untracked
|
/linux/arch/x86/kernel/ |
H A D | ftrace_32.S | 101 * gap / RET-IP 102 * gap 103 * gap 104 * gap
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | README | 226 echo "<condition> [GPIO# [gap]]]" > hscfg 237 [gap]: the gap in milliseconds between wakeup signal and 244 Use GPIO and gap set previously 246 Use gap set previously 247 echo "2 1 160" > hscfg : Unicast data, GPIO 1 and gap 160 ms
|
/linux/drivers/clk/mmp/ |
H A D | clk-mix.c | 208 unsigned long gap, gap_best; in mmp_clk_mix_determine_rate() local 228 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 229 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 233 gap_best = gap; in mmp_clk_mix_determine_rate() 246 gap = abs(mix_rate - req->rate); in mmp_clk_mix_determine_rate() 247 if (!parent_best || gap < gap_best) { in mmp_clk_mix_determine_rate() 251 gap_best = gap; in mmp_clk_mix_determine_rate()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | r300_reg.h | 149 /* gap */ 157 /* gap */ 204 /* gap */ 226 /* gap */ 258 /* gap */ 291 /* gap */ 297 /* gap */ 319 /* gap */ 333 /* gap */ 379 /* gap */ [all …]
|
/linux/drivers/firewire/ |
H A D | core-card.c | 341 * In that case, we do a goto into the gap count logic in bm_work() 343 * gap count. That could well save a reset in the in bm_work() 427 * make sure we have an active cycle master and do gap count in bm_work() 434 * If self IDs have inconsistent gap counts, do a in bm_work() 444 * We must always send a bus reset if the gap count in bm_work() 464 * node as part of the gap count optimization. in bm_work() 478 * Pick a gap count from 1394a table E-1. The table doesn't cover in bm_work() 490 * have either a new root or a new gap count setting, let's do it. in bm_work() 506 * of a gap count inconsistency, use a long bus reset. in bm_work() 509 * may set different gap counts after a bus reset. On a mixed in bm_work() [all …]
|
/linux/Documentation/core-api/ |
H A D | maple_tree.rst | 36 The Maple Tree can also be configured to support searching for a gap of a given 56 but allows the user to search for a gap of a given size or larger from either 189 If you wish to search for a gap within a range, then mas_empty_area() 190 or mas_empty_area_rev() can be used. mas_empty_area() searches for a gap 192 mas_empty_area_rev() searches for a gap starting at the highest index given
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rt4831-regulator.yaml | 20 Its voltage should be configured above 0.15V to 0.2V gap larger than the 21 voltage needed for DSVP and DSVN. Too much voltage gap could improve the
|
/linux/tools/power/pm-graph/config/ |
H A D | example.cfg | 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 101 # Call Loop Max Gap (dev mode only)
|
/linux/include/net/sctp/ |
H A D | tsnmap.h | 129 /* How many gap ack blocks do we have recorded? */ 136 /* Is there a gap in the TSN map? */ 154 /* Is there a gap in the TSN map? */
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 177 long gap; in ip_vs_estimation_kthread() local 203 gap = kd->est_timer - now; in ip_vs_estimation_kthread() 204 if (gap > 0) { in ip_vs_estimation_kthread() 205 if (gap > IPVS_EST_TICK) { in ip_vs_estimation_kthread() 207 gap = IPVS_EST_TICK; in ip_vs_estimation_kthread() 209 schedule_timeout(gap); in ip_vs_estimation_kthread() 212 if (gap < -8 * IPVS_EST_TICK) in ip_vs_estimation_kthread() 248 long gap; in ip_vs_est_kthread_start() local 255 gap = kd->est_timer - now; in ip_vs_est_kthread_start() 257 if (abs(gap) > 4 * IPVS_EST_TICK) in ip_vs_est_kthread_start()
|
/linux/drivers/bluetooth/ |
H A D | btmrvl_main.c | 99 BT_DBG("gpio=%x, gap=%x", event->data[1], in btmrvl_process_event() 250 BT_DBG("Sending HSCFG Command, gpio=0x%x, gap=0x%x", in btmrvl_send_hscfg_cmd() 490 u16 gpio, gap; in btmrvl_check_device_tree() local 499 ret = of_property_read_u16(dt_node, "marvell,wakeup-gap-ms", in btmrvl_check_device_tree() 500 &gap); in btmrvl_check_device_tree() 502 gap = (u8)(priv->btmrvl_dev.gpio_gap & 0x00ff); in btmrvl_check_device_tree() 504 priv->btmrvl_dev.gpio_gap = (gpio << 8) + gap; in btmrvl_check_device_tree()
|