/linux-master/block/partitions/ |
H A D | sysv68.c | 26 __be16 ios_slccnt; /* Number of entries in slice table */ 43 struct slice { struct 44 __be32 nblocks; /* slice size (in blocks) */ 45 __be32 blkoff; /* block offset of slice */ 56 struct slice *slice; local 76 slices -= 1; /* last slice is the whole disk */ 79 slice = (struct slice *)data; 80 for (i = 0; i < slices; i++, slice [all...] |
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_classifier.c | 31 (offs[slice].ft1_slot_base + FT1_SLOT_SIZE * (n) + (reg)) 66 (offs[slice].ft3_slot_base + FT3_SLOT_SIZE * (n) + (reg)) 74 #define RX_CLASS_N_REG(slice, n, reg) \ 75 (offs[slice].rx_class_base + RX_CLASS_EN_SIZE * (n) + (reg)) 80 #define RX_CLASS_GATES_N_REG(slice, n) \ 81 (offs[slice].rx_class_gates_base + RX_CLASS_GATES_SIZE * (n)) 205 static void rx_class_ft1_set_start_len(struct regmap *miig_rt, int slice, argument 210 offset = offs[slice].ft1_start_len; 215 static void rx_class_ft1_set_da(struct regmap *miig_rt, int slice, argument 220 offset = FT1_N_REG(slice, 227 rx_class_ft1_set_da_mask(struct regmap *miig_rt, int slice, int n, const u8 *addr) argument 239 rx_class_ft1_cfg_set_type(struct regmap *miig_rt, int slice, int n, enum ft1_cfg_type type) argument 249 rx_class_sel_set_type(struct regmap *miig_rt, int slice, int n, enum rx_class_sel_type type) argument 259 rx_class_set_and(struct regmap *miig_rt, int slice, int n, u32 data) argument 268 rx_class_set_or(struct regmap *miig_rt, int slice, int n, u32 data) argument 284 icssg_class_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac) argument 292 icssg_class_disable(struct regmap *miig_rt, int slice) argument 334 icssg_class_default(struct regmap *miig_rt, int slice, bool allmulti) argument 359 icssg_ft1_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac_addr) argument [all...] |
H A D | icssg_config.c | 112 int slice = prueth_emac_slice(emac); local 117 rxcfg_reg = (slice == ICSS_MII0) ? PRUSS_MII_RT_RXCFG0 : 119 txcfg_reg = (slice == ICSS_MII0) ? PRUSS_MII_RT_TXCFG0 : 121 pcnt_reg = (slice == ICSS_MII0) ? PRUSS_MII_RT_RX_PCNT0 : 127 if (slice == ICSS_MII1) 133 if (emac->phy_if == PHY_INTERFACE_MODE_MII && slice == ICSS_MII0) 135 else if (emac->phy_if != PHY_INTERFACE_MODE_MII && slice == ICSS_MII1) 143 static void icssg_miig_queues_init(struct prueth *prueth, int slice) argument 152 if (slice) 160 queue = slice 204 int slice = prueth_emac_slice(emac); local 257 int slice = prueth_emac_slice(emac); local 328 icssg_config(struct prueth *prueth, struct prueth_emac *emac, int slice) argument [all...] |
H A D | icssg_mii_cfg.c | 47 int slice = prueth_emac_slice(emac); local 50 gig_en_mask = (slice == ICSS_MII0) ? RGMII_CFG_GIG_EN_MII0 : 56 inband_en_mask = (slice == ICSS_MII0) ? RGMII_CFG_INBAND_EN_MII0 : 62 full_duplex_mask = (slice == ICSS_MII0) ? RGMII_CFG_FULL_DUPLEX_MII0 :
|
H A D | icssg_stats.c | 22 int slice = prueth_emac_slice(emac); local 23 u32 base = stats_base[slice];
|
H A D | icssg_prueth.c | 268 int ret, slice, i; local 271 slice = prueth_emac_slice(emac); 272 if (slice < 0) 273 return slice; 289 "tx%d-%d", slice, i); 346 int i, ret = 0, slice; local 348 slice = prueth_emac_slice(emac); 349 if (slice < 0) 350 return slice; 353 snprintf(rx_chn->name, sizeof(rx_chn->name), "%s%d", name, slice); 605 int slice = prueth_emac_slice(emac); local 911 int slice, ret; local 961 int slice; local 1317 int slice = prueth_emac_slice(emac); local 1890 prueth_get_cores(struct prueth *prueth, int slice) argument 1937 prueth_put_cores(struct prueth *prueth, int slice) argument [all...] |
H A D | icssg_prueth.h | 51 #define ICSSG_MAX_RFLOWS 8 /* per slice */ 262 void icssg_class_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac); 264 void icssg_class_disable(struct regmap *miig_rt, int slice); 265 void icssg_class_default(struct regmap *miig_rt, int slice, bool allmulti); 266 void icssg_ft1_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac_addr); 271 int slice);
|
/linux-master/drivers/misc/eeprom/ |
H A D | max6875.c | 54 static void max6875_update_slice(struct i2c_client *client, int slice) argument 60 if (slice >= USER_EEPROM_SLICES) 65 buf = &data->data[slice << SLICE_BITS]; 67 if (!(data->valid & (1 << slice)) || 68 time_after(jiffies, data->last_updated[slice])) { 70 dev_dbg(&client->dev, "Starting update of slice %u\n", slice); 72 data->valid &= ~(1 << slice); 74 addr = USER_EEPROM_BASE + (slice << SLICE_BITS); 99 data->last_updated[slice] 112 int slice, max_slice; local [all...] |
/linux-master/arch/mips/sgi-ip27/ |
H A D | ip27-nmi.c | 30 void install_cpu_nmi_handler(int slice) argument 34 nmi_addr = (nmi_t *)NMI_ADDR(get_nasid(), slice); 49 static void nmi_cpu_eframe_save(nasid_t nasid, int slice) argument 57 slice * IP27_NMI_KREGS_CPU_SIZE); 59 pr_emerg("NMI nasid %d: slice %d\n", nasid, slice); 125 static void nmi_dump_hub_irq(nasid_t nasid, int slice) argument 129 if (slice == 0) { /* Slice A */ 151 int slice; local 157 for (slice [all...] |
H A D | ip27-common.h | 11 extern void install_cpu_nmi_handler(int slice);
|
H A D | ip27-timer.c | 33 int slice = cputoslice(cpu); local 38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); 50 int slice = cputoslice(cpu); local 55 LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0);
|
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_a3d.h | 38 unsigned int slice; /* this_08 */ member in struct:__anon1746 106 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) 107 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) 108 #define a3d_addrS(slice,reg) (((slice)<<0xd)+(reg)) 109 //#define a3d_addr(slice,source,reg) (((reg)>=0x19000) ? a3d_addr2((slice),(source),(reg)) : a3d_addr1((slice),(sourc [all...] |
H A D | au88x0_a3d.c | 26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); 28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); 30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); 32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); 52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), 55 a3d_addrB(a->slice, a->source, A3D_B_B10Target), 58 a3d_addrB(a->slice, a->source, A3D_B_B2Target), c); 67 a3d_addrB(a->slice, a->source, A3D_B_A12Current), 70 a3d_addrB(a->slice, a->source, A3D_B_B01Current), 73 a3d_addrB(a->slice, 542 vortex_A3dSourceHw_Initialize(vortex_t * v, int source, int slice) argument [all...] |
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | tcm.h | 213 * This method slices off the topmost 2D slice from the parent area, and stores 214 * it in the 'slice' parameter. The 'parent' parameter will get modified to 216 * fit in a 2D slice, its tcm pointer is set to NULL to mark that it is no 220 * @param slice Pointer to the slice area that will get modified 222 static inline void tcm_slice(struct tcm_area *parent, struct tcm_area *slice) argument 224 *slice = *parent; 226 /* check if we need to slice */ 227 if (slice->tcm && !slice [all...] |
/linux-master/arch/mips/include/asm/sn/ |
H A D | addrs.h | 278 #define EX_HANDLER_OFFSET(slice) ((slice) << 16) 279 #define EX_HANDLER_ADDR(nasid, slice) \ 280 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_HANDLER_OFFSET(slice)) 283 #define EX_FRAME_OFFSET(slice) ((slice) << 16 | 0x400) 284 #define EX_FRAME_ADDR(nasid, slice) \ 285 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_FRAME_OFFSET(slice)) 332 #define LAUNCH_OFFSET(nasid, slice) \ 334 KLD_LAUNCH(nasid)->stride * (slice)) [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 68 int slice = (int)(uintptr_t)attr->private; local 80 if (i915->l3_parity.remap_info[slice]) 82 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), 96 int slice = (int)(uintptr_t)attr->private; local 114 if (i915->l3_parity.remap_info[slice]) { 116 remap_info = i915->l3_parity.remap_info[slice]; 118 i915->l3_parity.remap_info[slice] = remap_info; 126 ctx->remap_slice |= BIT(slice); 174 "l3 parity slice 1 setup failed\n");
|
/linux-master/drivers/hid/surface-hid/ |
H A D | surface_hid.c | 45 struct surface_hid_buffer_slice *slice; local 70 slice = (struct surface_hid_buffer_slice *)buffer; 71 slice->entry = entry; 72 slice->end = 0; 77 while (!slice->end && offset < len) { 78 put_unaligned_le32(offset, &slice->offset); 79 put_unaligned_le32(length, &slice->length); 84 sizeof(*slice)); 88 offset = get_unaligned_le32(&slice->offset); 89 length = get_unaligned_le32(&slice [all...] |
/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_vp8.c | 526 const struct v4l2_ctrl_vp8_frame *slice) 530 if (V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) { 554 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) 559 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) 569 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) { 594 static void cedrus_vp8_update_probs(const struct v4l2_ctrl_vp8_frame *slice, argument 599 memcpy(&prob_table[0x1008], slice->entropy.y_mode_probs, 600 sizeof(slice->entropy.y_mode_probs)); 601 memcpy(&prob_table[0x1010], slice->entropy.uv_mode_probs, 602 sizeof(slice 525 cedrus_read_header(struct cedrus_dev *dev, const struct v4l2_ctrl_vp8_frame *slice) argument 656 const struct v4l2_ctrl_vp8_frame *slice = run->vp8.frame_params; local [all...] |
H A D | cedrus_h264.c | 237 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; local 240 slice->ref_pic_list0, 241 slice->num_ref_idx_l0_active_minus1 + 1, 248 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; local 251 slice->ref_pic_list1, 252 slice->num_ref_idx_l1_active_minus1 + 1, 345 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; local 389 cedrus_skip_bits(dev, slice->header_bit_size); 391 if (V4L2_H264_CTRL_PRED_WEIGHTS_REQUIRED(pps, slice)) 394 if ((slice [all...] |
/linux-master/tools/perf/tests/shell/ |
H A D | stat_bpf_counters_cgrp.sh | 28 if [ -d /sys/fs/cgroup/system.slice ] && [ -d /sys/fs/cgroup/user.slice ]; then 29 test_cgroups="system.slice,user.slice"
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_tl_debugfs.h | 42 #define ADF_TL_SLICE_REG_OFF(slice, reg, qat_gen) \ 43 (ADF_TL_DEV_REG_OFF(slice##_slices[0], qat_gen) + \
|
/linux-master/drivers/accel/qaic/ |
H A D | qaic_data.c | 161 struct bo_slice *slice = container_of(kref, struct bo_slice, ref_count); local 163 slice->bo->total_slice_nents -= slice->nents; 164 list_del(&slice->slice); 165 drm_gem_object_put(&slice->bo->base); 166 sg_free_table(slice->sgt); 167 kfree(slice->sgt); 168 kfree(slice->reqs); 169 kfree(slice); 252 encode_reqs(struct qaic_device *qdev, struct bo_slice *slice, struct qaic_attach_slice_entry *req) argument 391 struct bo_slice *slice; local 904 struct bo_slice *slice, *temp; local 1070 copy_exec_reqs(struct qaic_device *qdev, struct bo_slice *slice, u32 dbc_id, u32 head, u32 *ptail) argument 1099 copy_partial_exec_reqs(struct qaic_device *qdev, struct bo_slice *slice, u64 resize, struct dma_bridge_chan *dbc, u32 head, u32 *ptail) argument 1173 struct bo_slice *slice; local [all...] |
/linux-master/drivers/misc/cxl/ |
H A D | main.c | 66 ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); 81 int card, slice, id; local 89 for (slice = 0; slice < adapter->slices; slice++) { 90 afu = adapter->afu[slice]; 244 struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) argument 254 afu->slice = slice;
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_sseu.h | 26 * Maximum number of subslices that can exist within a HSW-style slice. This 81 /* For each slice, which subslice(s) has(have) 7 EUs (bitfield)? */ 88 * so we just report the entire DSS pool under a fake "slice 0." 122 intel_sseu_has_subslice(const struct sseu_dev_info *sseu, int slice, argument 125 if (slice >= sseu->max_slices || 132 return sseu->subslice_mask.hsw[slice] & BIT(subslice); 156 intel_sseu_get_hsw_subslices(const struct sseu_dev_info *sseu, u8 slice);
|
/linux-master/drivers/hte/ |
H A D | hte-tegra194.c | 31 /* AON HTE line map For slice 1 */ 35 /* AON HTE line map For slice 2 */ 104 /* to prevent lines mapped to same slice updating its register */ 109 int slice; member in struct:tegra_hte_line_mapped 140 /* gpio, slice, bit_index */ 179 /* gpio, slice, bit_index */ 228 /* gpio, slice, bit_index */ 270 /* gpio, slice, bit_index */ 371 if (m[eid].slice == NV_AON_SLICE_INVALID) 374 *mapped = (m[eid].slice << 459 u32 slice, sl_bit_shift, line_bit, val, reg; local 603 u32 tsh, tsl, src, pv, cv, acv, slice, bit_index, line_id; local [all...] |