Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/linux/Documentation/userspace-api/media/rc/
H A Drc-tables.rst36 - .. row 1
44 - .. row 2
48 - .. row 3
56 - .. row 4
64 - .. row 5
72 - .. row 6
80 - .. row 7
88 - .. row 8
96 - .. row 9
104 - .. row 10
[all …]
/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py137 for row in commq:
138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
143 for row in symbolq:
144 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
149 for row in dsoq:
150 print("%40s %8d %s" % (row[0], row[1], num2sym(row[1])))
170 for row in commq:
171 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
176 for row in symbolq:
177 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
[all …]
/linux/Documentation/sphinx/
H A DrstFlatTable.py179 for row in self.rows[:header_rows]:
180 thead += self.buildTableRowNode(row)
185 for row in self.rows[header_rows:]:
186 tbody += self.buildTableRowNode(row)
191 row = nodes.row()
204 row += entry
205 return row
224 row = self.parseRowItem(rowItem, rowNum)
225 self.rows.append(row)
273 for row in self.rows:
[all …]
/linux/tools/perf/ui/
H A Dbrowser.c171 int row = 0; in ui_browser__rb_tree_refresh() local
179 ui_browser__gotorc(browser, row, 0); in ui_browser__rb_tree_refresh()
180 browser->write(browser, nd, row); in ui_browser__rb_tree_refresh()
181 if (++row == browser->rows) in ui_browser__rb_tree_refresh()
186 return row; in ui_browser__rb_tree_refresh()
189 bool ui_browser__is_current_entry(struct ui_browser *browser, unsigned row) in ui_browser__is_current_entry() argument
191 return browser->top_idx + row == browser->index; in ui_browser__is_current_entry()
324 row = 0; in ui_browser__scrollbar_set() local
334 ui_browser__gotorc(browser, row++, col); in ui_browser__scrollbar_set()
344 int row; in __ui_browser__refresh() local
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Diters.c398 int sum, row, col; in iter_nested_iters() local
402 bpf_for(row, 0, ARRAY_SIZE(arr2d)) { in iter_nested_iters()
404 arr2d[row][col] = row * col; in iter_nested_iters()
410 bpf_for(row, 0, ARRAY_SIZE(arr2d)) { in iter_nested_iters()
411 arr2d_row_sums[row] = 0; in iter_nested_iters()
418 bpf_for(row, 0, ARRAY_SIZE(arr2d)) { in iter_nested_iters()
420 sum += arr2d[row][col]; in iter_nested_iters()
421 arr2d_row_sums[row] += arr2d[row][co in iter_nested_iters()
464 fill_inner_dimension(int row) fill_inner_dimension() argument
473 sum_inner_dimension(int row) sum_inner_dimension() argument
490 int sum, row, col; iter_subprog_iters() local
[all...]
/linux/drivers/edac/
H A Dversalnet_edac.c94 u32 row:7; member
272 u32 row, blk, rsh_req_addr, interleave, ilc_base_ctrl_add, ilc_himem_en, reg, offset; in convert_to_physical() local
279 row = pinf.rowhi << MC5_REGHI_ROW | pinf.row; in convert_to_physical()
284 err_addr |= (row & BIT(0)) << rows.row0; in convert_to_physical()
285 row >>= MC5_EACHBIT; in convert_to_physical()
286 err_addr |= (row & BIT(0)) << rows.row1; in convert_to_physical()
287 row >>= MC5_EACHBIT; in convert_to_physical()
288 err_addr |= (row & BIT(0)) << rows.row2; in convert_to_physical()
289 row >>= MC5_EACHBIT; in convert_to_physical()
290 err_addr |= (row & BIT(0)) << rows.row3; in convert_to_physical()
[all …]
H A Dedac_mc.c182 int i, chn, row; in mci_release() local
191 for (row = 0; row < mci->nr_csrows; row++) { in mci_release()
192 csr = mci->csrows[row]; in mci_release()
214 unsigned int row, chn; in edac_mc_alloc_csrows() local
223 for (row = 0; row < tot_csrows; row++) { in edac_mc_alloc_csrows()
230 mci->csrows[row] = csr; in edac_mc_alloc_csrows()
231 csr->csrow_idx = row; in edac_mc_alloc_csrows()
257 unsigned int row, chn, idx; in edac_mc_alloc_dimms() local
269 row = 0; in edac_mc_alloc_dimms()
276 chan = mci->csrows[row]->channels[chn]; in edac_mc_alloc_dimms()
[all …]
H A Di82975x_edac.c280 int row, chan; in i82975x_process_error_info() local
300 row = edac_mc_find_csrow_by_page(mci, page); in i82975x_process_error_info()
302 if (row == -1) { in i82975x_process_error_info()
310 chan = (mci->csrows[row]->nr_channels == 1) ? 0 : info->eap & 1; in i82975x_process_error_info()
313 (1 << mci->csrows[row]->channels[chan]->dimm->grain)); in i82975x_process_error_info()
318 row, -1, -1, in i82975x_process_error_info()
323 row, chan ? chan : 0, -1, in i82975x_process_error_info()
349 int row; in dual_channel_active() local
352 for (dualch = 1, row = 0; dualch && (row < 4); row++) { in dual_channel_active()
353 drb[row][0] = readb(mch_window + I82975X_DRB + row); in dual_channel_active()
[all …]
/linux/Documentation/userspace-api/media/dvb/
H A Dfe-bandwidth-t.rst14 - .. row 1
20 - .. row 2
28 - .. row 3
36 - .. row 4
44 - .. row 5
52 - .. row 6
60 - .. row 7
68 - .. row 8
/linux/drivers/input/keyboard/
H A Dtwl4030_keypad.c162 int row; in twl4030_read_kp_matrix_state() local
166 for (row = 0; row < kp->n_rows; row++) in twl4030_read_kp_matrix_state()
167 state[row] = twl4030_col_xlate(kp, new_state[row]); in twl4030_read_kp_matrix_state()
193 int col, row; in twl4030_kp_scan() local
209 for (row = 0; row < kp->n_rows; row++) { in twl4030_kp_scan()
210 int changed = new_state[row] ^ kp->kp_state[row]; in twl4030_kp_scan()
222 dev_dbg(kp->dbg_dev, "key [%d:%d] %s\n", row, col, in twl4030_kp_scan()
223 (new_state[row] & (1 << col)) ? in twl4030_kp_scan()
226 code = MATRIX_SCAN_CODE(row, col, TWL4030_ROW_SHIFT); in twl4030_kp_scan()
229 new_state[row] & (1 << col)); in twl4030_kp_scan()
[all …]
H A Dpmic8xxx-keypad.c157 int rc, row; in pmic8xxx_kp_read_data() local
160 for (row = 0; row < read_rows; row++) { in pmic8xxx_kp_read_data()
164 dev_dbg(kp->dev, "%d = %d\n", row, val); in pmic8xxx_kp_read_data()
165 state[row] = pmic8xxx_col_state(kp, val); in pmic8xxx_kp_read_data()
222 int row, col, code; in __pmic8xxx_kp_scan_matrix() local
224 for (row = 0; row < kp->num_rows; row++) { in __pmic8xxx_kp_scan_matrix()
225 int bits_changed = new_state[row] ^ old_state[row]; in __pmic8xxx_kp_scan_matrix()
234 dev_dbg(kp->dev, "key [%d:%d] %s\n", row, col, in __pmic8xxx_kp_scan_matrix()
235 !(new_state[row] & (1 << col)) ? in __pmic8xxx_kp_scan_matrix()
238 code = MATRIX_SCAN_CODE(row, col, PM8XXX_ROW_SHIFT); in __pmic8xxx_kp_scan_matrix()
[all …]
H A Dmatrix_keypad.c86 static bool row_asserted(struct matrix_keypad *keypad, int row) in row_asserted() argument
88 return gpiod_get_value_cansleep(keypad->row_gpios[row]); in row_asserted()
109 int row; in read_row_state() local
112 for (row = 0; row < keypad->num_row_gpios; row++) in read_row_state()
113 row_state |= row_asserted(keypad, row) ? BIT(row) : 0; in read_row_state()
127 int row, col, code; in matrix_keypad_scan() local
138 for (row = 0; row < keypad->num_row_gpios; row++) in matrix_keypad_scan()
139 gpiod_direction_input(keypad->row_gpios[row]); in matrix_keypad_scan()
158 for (row = 0; row < keypad->num_row_gpios; row++) { in matrix_keypad_scan()
159 if (!(bits_changed & BIT(row))) in matrix_keypad_scan()
[all …]
H A Dimx_keypad.c148 int row, col; in imx_keypad_fire_events() local
163 for (row = 0; row < MAX_MATRIX_KEY_ROWS; row++) { in imx_keypad_fire_events()
164 if ((keypad->rows_en_mask & (1 << row)) == 0) in imx_keypad_fire_events()
166 if ((bits_changed & (1 << row)) == 0) in imx_keypad_fire_events()
169 code = MATRIX_SCAN_CODE(row, col, MATRIX_ROW_SHIFT); in imx_keypad_fire_events()
172 matrix_volatile_state[col] & (1 << row)); in imx_keypad_fire_events()
175 matrix_volatile_state[col] & (1 << row)); in imx_keypad_fire_events()
423 int irq, error, i, row, col; in imx_keypad_probe() local
475 for (row = 0; row < MAX_MATRIX_KEY_ROWS; row++) { in imx_keypad_probe()
477 i = MATRIX_SCAN_CODE(row, col, MATRIX_ROW_SHIFT); in imx_keypad_probe()
[all …]
H A Dcros_ec_keyb.c46 * @vdata: vivaldi function row data
143 * pressed both in the same row and column of X as, for instance, in cros_ec_keyb_has_ghosting()
179 int col, row; in cros_ec_keyb_process() local
194 for (row = 0; row < ckdev->rows; row++) { in cros_ec_keyb_process()
195 int pos = MATRIX_SCAN_CODE(row, col, ckdev->row_shift); in cros_ec_keyb_process()
198 new_state = kb_state[col] & (1 << row); in cros_ec_keyb_process()
199 old_state = ckdev->old_kb_state[col] & (1 << row); in cros_ec_keyb_process()
203 row, co in cros_ec_keyb_process()
318 int row, col; cros_ec_keyb_compute_valid_keys() local
544 unsigned int row, col, scancode; cros_ec_keyb_parse_vivaldi_physmap() local
[all...]
H A Domap-keypad.c94 int col, row; in omap_kp_tasklet() local
106 for (row = 0; row < omap_kp_data->rows; row++) { in omap_kp_tasklet()
108 if (!(changed & (1 << row))) in omap_kp_tasklet()
112 row, (new_state[col] & (1 << row)) ? in omap_kp_tasklet()
115 key = keycodes[MATRIX_SCAN_CODE(row, col, row_shift)]; in omap_kp_tasklet()
123 new_state[col] & (1 << row)); in omap_kp_tasklet()
/linux/net/netfilter/ipvs/
H A Dip_vs_est.c146 static void ip_vs_tick_estimation(struct ip_vs_est_kt_data *kd, int row) in ip_vs_tick_estimation() argument
152 td = rcu_dereference(kd->ticks[row]); in ip_vs_tick_estimation()
160 td = rcu_dereference(kd->ticks[row]); in ip_vs_tick_estimation()
173 int row = kd->est_row; in ip_vs_estimation_kthread() local
215 if (kd->tick_len[row]) in ip_vs_estimation_kthread()
216 ip_vs_tick_estimation(kd, row); in ip_vs_estimation_kthread()
218 row++; in ip_vs_estimation_kthread()
219 if (row >= IPVS_EST_NTICKS) in ip_vs_estimation_kthread()
220 row = 0; in ip_vs_estimation_kthread()
221 WRITE_ONCE(kd->est_row, row); in ip_vs_estimation_kthread()
[all …]
/linux/drivers/gpu/drm/amd/ras/rascore/
H A Dras_umc_v12_0.h163 #define UMC_V12_0_SOC_ROW_TO_PA(row) \ argument
164 ((((row >> 0ULL) & 0x1ULL) << UMC_V12_0_PA_R0_BIT) | \
165 (((row >> 1ULL) & 0x1ULL) << UMC_V12_0_PA_R1_BIT) | \
166 (((row >> 2ULL) & 0x1ULL) << UMC_V12_0_PA_R2_BIT) | \
167 (((row >> 3ULL) & 0x1ULL) << UMC_V12_0_PA_R3_BIT) | \
168 (((row >> 4ULL) & 0x1ULL) << UMC_V12_0_PA_R4_BIT) | \
169 (((row >> 5ULL) & 0x1ULL) << UMC_V12_0_PA_R5_BIT) | \
170 (((row >> 6ULL) & 0x1ULL) << UMC_V12_0_PA_R6_BIT) | \
171 (((row >> 7ULL) & 0x1ULL) << UMC_V12_0_PA_R7_BIT) | \
172 (((row >> 8ULL) & 0x1ULL) << UMC_V12_0_PA_R8_BIT) | \
[all …]
/linux/arch/mips/loongson64/
H A Dnuma.c51 static int __init compute_node_distance(int row, int col) in compute_node_distance() argument
53 int package_row = row * loongson_sysconf.cores_per_node / in compute_node_distance()
58 if (col == row) in compute_node_distance()
68 int row, col; in init_topology_matrix() local
70 for (row = 0; row < MAX_NUMNODES; row++) in init_topology_matrix()
72 __node_distances[row][col] = -1; in init_topology_matrix()
74 for_each_online_node(row) { in init_topology_matrix()
76 __node_distances[row][col] = in init_topology_matrix()
77 compute_node_distance(row, col); in init_topology_matrix()
/linux/drivers/tty/vt/
H A Dconsolemap.c203 #define UNI(dir, row, glyph) (FIELD_PREP(UNI_DIR_BITS, (dir)) | \ argument
204 FIELD_PREP(UNI_ROW_BITS, (row)) | \
275 u16 *row = dir[r]; in set_inverse_trans_unicode() local
276 if (!row) in set_inverse_trans_unicode()
279 u16 glyph = row[g]; in set_inverse_trans_unicode()
508 u16 **dir, *row; in con_insert_unipair() local
521 row = dir[n]; in con_insert_unipair()
522 if (!row) { in con_insert_unipair()
523 row = dir[n] = kmalloc_array(UNI_ROW_GLYPHS, sizeof(*row), in con_insert_unipair()
525 if (!row) in con_insert_unipair()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos4412-smdk4412.dts79 keypad,row = <1>;
85 keypad,row = <1>;
91 keypad,row = <1>;
97 keypad,row = <1>;
103 keypad,row = <1>;
109 keypad,row = <2>;
115 keypad,row = <2>;
121 keypad,row = <0>;
127 keypad,row = <2>;
133 keypad,row = <0>;
H A Dexynos4210-smdkv310.dts98 keypad,row = <0>;
104 keypad,row = <0>;
110 keypad,row = <0>;
116 keypad,row = <0>;
122 keypad,row = <0>;
128 keypad,row = <1>;
134 keypad,row = <1>;
140 keypad,row = <1>;
146 keypad,row = <1>;
152 keypad,row = <1>;
H A Ds5pv210-smdkv210.dts88 keypad,row = <0>;
94 keypad,row = <0>;
100 keypad,row = <0>;
106 keypad,row = <0>;
112 keypad,row = <0
119 keypad,row = <1>;
124 keypad,row = <1>;
130 keypad,row = <1>;
136 keypad,row = <1>;
142 keypad,row = <1>;
/linux/arch/mips/sgi-ip27/
H A Dip27-memory.c161 nasid_t row, col; in init_topology_matrix() local
163 for (row = 0; row < MAX_NUMNODES; row++) in init_topology_matrix()
165 __node_distances[row][col] = -1; in init_topology_matrix()
167 for_each_online_node(row) { in init_topology_matrix()
169 __node_distances[row][col] = in init_topology_matrix()
170 compute_node_distance(row, col); in init_topology_matrix()
182 nasid_t row, col; in dump_topology() local
190 for_each_online_node(row) { in dump_topology()
191 pr_info("%02d ", row); in dump_topology()
193 pr_cont("%2d ", node_distance(row, col)); in dump_topology()
/linux/drivers/media/usb/gspca/
H A Dsn9c20x.c983 u8 row[8]; in i2c_w1() local
989 row[0] = sd->i2c_intf | (2 << 4); in i2c_w1()
990 row[1] = sd->i2c_addr; in i2c_w1()
991 row[2] = reg; in i2c_w1()
992 row[3] = val; in i2c_w1()
993 row[4] = 0x00; in i2c_w1()
994 row[5] = 0x00; in i2c_w1()
995 row[6] = 0x00; in i2c_w1()
996 row[7] = 0x10; in i2c_w1()
998 i2c_w(gspca_dev, row); in i2c_w1()
[all …]
/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-vdpu383-hevc.c174 static void set_column_row(struct rkvdec_hevc_sps_pps *hw_ps, u16 *column, u16 *row) in set_column_row() argument
177 hw_ps->row_height0 = row[0] | (row[1] << 12); in set_column_row()
179 hw_ps->row_height1 = row[2] | (row[3] << 12); in set_column_row()
181 hw_ps->row_height2 = row[4] | (row[5] << 12); in set_column_row()
183 hw_ps->row_height3 = row[6] | (row[7] << 12); in set_column_row()
185 hw_ps->row_height4 = row[8] | (row[9] << 12); in set_column_row()
187 hw_ps->row_height5 = row[10] | (row[11] << 12); in set_column_row()
189 hw_ps->row_height6 = row[12] | (row[13] << 12); in set_column_row()
191 hw_ps->row_height7 = row[14] | (row[15] << 12); in set_column_row()
193 hw_ps->row_height8 = row[16] | (row[17] << 12); in set_column_row()
[all …]

12345678910>>...13