/linux-master/sound/firewire/bebob/ |
H A D | bebob_focusrite.c | 144 u32 id; local 147 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id); 150 if (id >= ARRAY_SIZE(rates)) 153 *rate = rates[id]; 160 u32 id; local 162 for (id = 0; id < ARRAY_SIZE(rates); id++) { 163 if (rates[id] == rate) 166 if (id 177 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) argument 211 saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | quota.c | 30 u16 id; local 40 id = mvmvif->deflink.phy_ctxt->id; 45 if (WARN_ON_ONCE(id >= MAX_BINDINGS)) 69 if (data->colors[id] < 0) 70 data->colors[id] = mvmvif->deflink.phy_ctxt->color; 72 WARN_ON_ONCE(data->colors[id] != 75 data->n_interfaces[id]++; 79 data->dbgfs_min[id] = max(data->dbgfs_min[id], 111 u32 id = (id_n_c & FW_CTXT_ID_MSK) >> FW_CTXT_ID_POS; local [all...] |
/linux-master/drivers/ps3/ |
H A D | ps3av.c | 481 static void ps3av_set_videomode_packet(u32 id) argument 489 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; 501 video_mode->fmt, id); 504 if (id & PS3AV_MODE_DVI || id & PS3AV_MODE_RGB) 516 video_mode->aspect, id); 529 static void ps3av_set_videomode_cont(u32 id, u32 old_id) argument 541 if (vesa == 0 && (id & PS3AV_MODE_MASK) >= PS3AV_MODE_WXGA) { 548 if (id & PS3AV_MODE_HDCP_OFF) { 562 ps3av_set_videomode_packet(id); 581 unsigned id:4; member in struct:__anon2226 628 enum ps3av_mode_num id; local 662 char id[sizeof(info->monitor_id)*3+1]; local 753 int i, res, id = 0, dvi = 0, rgb = 0; local 830 ps3av_set_video_mode(int id) argument 876 ps3av_video_mode2res(u32 id, u32 *xres, u32 *yres) argument 927 int id; local [all...] |
/linux-master/drivers/regulator/ |
H A D | wm8994-regulator.c | 76 .id = 1, 90 .id = 2, 105 .id = 1, 118 .id = 2, 153 int id = pdev->id % ARRAY_SIZE(pdata->ldo); local 159 dev_dbg(&pdev->dev, "Probing LDO%d\n", id + 1); 166 ldo->supply = wm8994_ldo_consumer[id]; 179 id ? "wlf,ldo2ena" : "wlf,ldo1ena", 187 if (!pdata || !pdata->ldo[id] [all...] |
H A D | lp8788-ldo.c | 156 enum lp8788_ldo_id id = rdev_get_id(rdev); local 157 u8 val, addr = LP8788_DLDO1_TIMESTEP + id; 188 .id = DLDO1, 201 .id = DLDO2, 214 .id = DLDO3, 227 .id = DLDO4, 240 .id = DLDO5, 253 .id = DLDO6, 266 .id = DLDO7, 279 .id 461 lp8788_config_ldo_enable_mode(struct platform_device *pdev, struct lp8788_ldo *ldo, enum lp8788_ldo_id id) argument 526 int id = pdev->id; local 574 int id = pdev->id; local [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | nand_ids.c | 30 { .id = {0x98, 0xd1, 0x90, 0x15, 0x76, 0x14, 0x01, 0x00} }, 33 { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x15, 0x01, 0x08} }, 36 { .id = {0x98, 0xdc, 0x90, 0x26, 0x76, 0x16, 0x08, 0x00} }, 39 { .id = {0x98, 0xd3, 0x90, 0x26, 0x76, 0x15, 0x02, 0x08} }, 42 { .id = {0x98, 0xd7, 0x94, 0x32, 0x76, 0x56, 0x09, 0x00} }, 45 { .id = {0x98, 0xde, 0x94, 0x82, 0x76, 0x56, 0x04, 0x20} }, 48 { .id = {0x45, 0xde, 0x94, 0x93, 0x76, 0x57} }, 51 { .id = {0x45, 0xde, 0x94, 0x93, 0x76, 0x50} }, 54 { .id = {0xad, 0xde, 0x94, 0xda, 0x74, 0xc4} }, 58 { .id 208 nand_get_manufacturer_desc(u8 id) argument [all...] |
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 34 static int mperf_get_count_freq(unsigned int id, unsigned long long *count, 42 .id = C0, 49 .id = Cx, 57 .id = AVG_FREQ, 156 static int mperf_get_count_percent(unsigned int id, double *percent, argument 165 if (id != C0 && id != Cx) 175 mperf_cstates[id].name, mperf_diff, tsc_diff); 180 mperf_cstates[id].name, mperf_diff, timediff); 184 if (id 193 mperf_get_count_freq(unsigned int id, unsigned long long *count, unsigned int cpu) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | map_kptr_fail.c | 43 int key = 0, id; local 49 id = ctx->protocol; 50 if (id < 4 || id > 12) 52 *(u64 *)((void *)v + id) = 0; 62 int key = 0, id; local 68 id = ctx->protocol; 69 if (id < 4 || id > 12) 71 bpf_kptr_xchg((void *)v + id, NUL 112 int key = 0, id; local [all...] |
/linux-master/drivers/reset/ |
H A D | reset-lpc18xx.c | 67 unsigned long id, bool set) 75 stat_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); 76 ctrl_offset += (id / LPC18XX_RGU_RESETS_PER_REG) * sizeof(u32); 77 rst_bit = 1 << (id % LPC18XX_RGU_RESETS_PER_REG); 91 unsigned long id) 93 return lpc18xx_rgu_setclear_reset(rcdev, id, true); 97 unsigned long id) 99 return lpc18xx_rgu_setclear_reset(rcdev, id, false); 104 unsigned long id) 108 lpc18xx_rgu_assert(rcdev, id); 66 lpc18xx_rgu_setclear_reset(struct reset_controller_dev *rcdev, unsigned long id, bool set) argument 90 lpc18xx_rgu_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 96 lpc18xx_rgu_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 103 lpc18xx_rgu_reset(struct reset_controller_dev *rcdev, unsigned long id) argument 120 lpc18xx_rgu_status(struct reset_controller_dev *rcdev, unsigned long id) argument [all...] |
H A D | reset-imx7.c | 49 unsigned long id, unsigned int value) 51 const struct imx7_src_signal *signal = &imx7src->signals[id]; 92 unsigned long id, bool assert) 95 const unsigned int bit = imx7src->signals[id].bit; 98 switch (id) { 113 return imx7_reset_update(imx7src, id, value); 117 unsigned long id) 119 return imx7_reset_set(rcdev, id, true); 123 unsigned long id) 125 return imx7_reset_set(rcdev, id, fals 48 imx7_reset_update(struct imx7_src *imx7src, unsigned long id, unsigned int value) argument 91 imx7_reset_set(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 116 imx7_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 122 imx7_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 219 imx8mq_reset_set(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 252 imx8mq_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 258 imx8mq_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 314 imx8mp_reset_set(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 340 imx8mp_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 346 imx8mp_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | event.c | 70 nvkm_event_put(ntfy->event, ntfy->bits, ntfy->id); 73 nvkm_event_get(ntfy->event, ntfy->bits, ntfy->id); 102 nvkm_trace(subdev, "event: ntfy block %08x on %d wait:%d\n", ntfy->bits, ntfy->id, wait); 121 nvkm_trace(ntfy->event->subdev, "event: ntfy allow %08x on %d\n", ntfy->bits, ntfy->id); 138 nvkm_trace(event->subdev, "event: ntfy del %08x on %d\n", ntfy->bits, ntfy->id); 146 nvkm_event_ntfy_add(struct nvkm_event *event, int id, u32 bits, bool wait, nvkm_event_func func, argument 149 nvkm_trace(event->subdev, "event: ntfy add %08x on %d wait:%d\n", id, bits, wait); 152 ntfy->id = id; 164 nvkm_event_ntfy_valid(struct nvkm_event *event, int id, u3 argument 170 nvkm_event_ntfy(struct nvkm_event *event, int id, u32 bits) argument [all...] |
/linux-master/drivers/connector/ |
H A D | connector.c | 80 if (cn_cb_equal(&__cbq->id.id, &msg->id)) { 150 if (cn_cb_equal(&i->id.id, &msg->id)) { 224 int cn_add_callback(const struct cb_id *id, const char *name, argument 233 return cn_queue_add_callback(dev->cbdev, name, id, callback); 245 void cn_del_callback(const struct cb_id *id) argument 249 cn_queue_del_callback(dev->cbdev, id); [all...] |
/linux-master/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_6_2_sc7180.h | 33 .name = "ctl_0", .id = CTL_0, 38 .name = "ctl_1", .id = CTL_1, 43 .name = "ctl_2", .id = CTL_2, 52 .name = "sspp_0", .id = SSPP_VIG0, 60 .name = "sspp_8", .id = SSPP_DMA0, 68 .name = "sspp_9", .id = SSPP_DMA1, 76 .name = "sspp_10", .id = SSPP_DMA2, 88 .name = "lm_0", .id = LM_0, 96 .name = "lm_1", .id = LM_1, 107 .name = "dspp_0", .id [all...] |
/linux-master/drivers/clk/ |
H A D | clk-devres.c | 22 static struct clk *__devm_clk_get(struct device *dev, const char *id, argument 23 struct clk *(*get)(struct device *dev, const char *id), 35 clk = get(dev, id); 63 struct clk *devm_clk_get(struct device *dev, const char *id) argument 65 return __devm_clk_get(dev, id, clk_get, NULL, NULL); 69 struct clk *devm_clk_get_prepared(struct device *dev, const char *id) argument 71 return __devm_clk_get(dev, id, clk_get, clk_prepare, clk_unprepare); 75 struct clk *devm_clk_get_enabled(struct device *dev, const char *id) argument 77 return __devm_clk_get(dev, id, clk_get, 82 struct clk *devm_clk_get_optional(struct device *dev, const char *id) argument 88 devm_clk_get_optional_prepared(struct device *dev, const char *id) argument 95 devm_clk_get_optional_enabled(struct device *dev, const char *id) argument [all...] |
/linux-master/drivers/soc/qcom/ |
H A D | cmd-db.c | 30 * @id: resource's identifier 37 u8 id[8]; member in struct:entry_header 47 * @slv_id: id for the resource 88 * based accelerator is a 'slave' (shared resource) and has slave id indicating 96 * information and get the slave id and the auxiliary data and the length of the 144 static int cmd_db_get_header(const char *id, const struct entry_header **eh, argument 150 u8 query[sizeof(ent->id)] __nonstring; 156 strtomem_pad(query, id, 0); 165 if (memcmp(ent->id, query, sizeof(ent->id)) 188 cmd_db_read_addr(const char *id) argument 207 cmd_db_read_aux_data(const char *id, size_t *len) argument 255 cmd_db_read_slave_id(const char *id) argument [all...] |
/linux-master/drivers/net/ipa/data/ |
H A D | ipa_data-v3.5.1.c | 280 .id = IPA_MEM_UC_SHARED, 286 .id = IPA_MEM_UC_INFO, 292 .id = IPA_MEM_V4_FILTER_HASHED, 298 .id = IPA_MEM_V4_FILTER, 304 .id = IPA_MEM_V6_FILTER_HASHED, 310 .id = IPA_MEM_V6_FILTER, 316 .id = IPA_MEM_V4_ROUTE_HASHED, 322 .id = IPA_MEM_V4_ROUTE, 328 .id = IPA_MEM_V6_ROUTE_HASHED, 334 .id [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_opp.h | 36 #define OPP_REG_LIST_DCN(id) \ 37 SRI(FMT_BIT_DEPTH_CONTROL, FMT, id), \ 38 SRI(FMT_CONTROL, FMT, id), \ 39 SRI(FMT_DITHER_RAND_R_SEED, FMT, id), \ 40 SRI(FMT_DITHER_RAND_G_SEED, FMT, id), \ 41 SRI(FMT_DITHER_RAND_B_SEED, FMT, id), \ 42 SRI(FMT_CLAMP_CNTL, FMT, id), \ 43 SRI(FMT_DYNAMIC_EXP_CNTL, FMT, id), \ 44 SRI(FMT_MAP420_MEMORY_CONTROL, FMT, id), \ 45 SRI(OPPBUF_CONTROL, OPPBUF, id),\ [all...] |
/linux-master/drivers/extcon/ |
H A D | extcon-intel-mrfld.c | 54 unsigned int id; member in struct:mrfld_extcon_data 97 unsigned int id; local 101 ret = regmap_read(regmap, BCOVE_USBIDSTS, &id); 105 if (id & BCOVE_USBIDSTS_FLOAT) 108 switch ((id & BCOVE_USBIDSTS_RARBRC_MASK) >> BCOVE_USBIDSTS_RARBRC_SHIFT) { 122 ground = id & BCOVE_USBIDSTS_GND; 123 switch ('A' + BCOVE_MAJOR(data->id)) { 136 unsigned int id; local 144 id = ret; 146 usb_host = (id 201 unsigned int id; local [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4idmap.c | 66 u32 id; member in struct:ent 83 new->id = itm->id; 117 hash = hash_long(hash ^ ent->id, ENT_HASHBITS); 140 snprintf(idstr, sizeof(idstr), "%u", ent->id); 153 return (a->id == b->id && a->type == b->type && 163 seq_puts(m, "#domain type id [name]\n"); 169 ent->id); 238 ent.id 539 idmap_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) argument 563 encode_ascii_id(struct xdr_stream *xdr, u32 id) argument 577 idmap_id_to_name(struct xdr_stream *xdr, struct svc_rqst *rqstp, int type, u32 id) argument 605 numeric_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) argument 621 do_name_to_id(struct svc_rqst *rqstp, int type, const char *name, u32 namelen, u32 *id) argument 633 encode_name_from_id(struct xdr_stream *xdr, struct svc_rqst *rqstp, int type, u32 id) argument 646 u32 id = -1; local 663 u32 id = -1; local 678 u32 id = from_kuid_munged(nfsd_user_namespace(rqstp), uid); local 685 u32 id = from_kgid_munged(nfsd_user_namespace(rqstp), gid); local [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh.sh | 142 ip nexthop del id 103 143 ip nexthop del id 101 144 ip nexthop del id 102 145 ip nexthop del id 106 146 ip nexthop del id 104 147 ip nexthop del id 105 192 ip nexthop del id 201 193 ip nexthop del id 202 194 ip nexthop del id 204 195 ip nexthop del id 20 [all...] |
/linux-master/drivers/fsi/ |
H A D | fsi-core.c | 175 uint8_t id = *idp; local 181 * id (and the slave's actual ID needs to be 0). 184 if (slave->id != 0) 186 id = (addr >> 21) & 0x3; 191 *idp = id; 200 uint8_t id; local 203 id = slave->id; 205 rc = fsi_master_read(master, link, id, FSI_SLAVE_BASE + FSI_SISC, 210 rc = fsi_master_read(master, link, id, FSI_SLAVE_BAS 247 fsi_slave_smode(int id, u8 t_senddly, u8 t_echodly) argument 277 uint8_t id, send_delay, echo_delay; local 334 uint8_t id = slave->id; local 359 uint8_t id = slave->id; local 629 fsi_slave_node_matches(struct device_node *np, int link, uint8_t id) argument 643 fsi_slave_find_of_node(struct fsi_master *master, int link, uint8_t id) argument 912 int id; local 957 int id = (aid << 2) | type; local 981 fsi_slave_init(struct fsi_master *master, int link, uint8_t id) argument 1368 const struct fsi_device_id *id; local [all...] |
/linux-master/drivers/thermal/ |
H A D | sprd_thermal.c | 26 #define SPRD_THM_OFFSET(id) ((id) * 0x4) 27 #define SPRD_THM_TEMP(id) (SPRD_THM_OFFSET(id) + 0x5c) 28 #define SPRD_THM_THRES(id) (SPRD_THM_OFFSET(id) + 0x2c) 30 #define SPRD_THM_SEN(id) BIT((id) + 2) 31 #define SPRD_THM_SEN_OVERHEAT_EN(id) BIT((id) 81 int id; member in struct:sprd_thermal_sensor [all...] |
H A D | hisi_thermal.c | 63 uint32_t id; member in struct:hisi_thermal_sensor 213 int id, int value) 216 addr + HI3660_LAG(id)); 220 int id, int value) 222 writel(value, addr + HI3660_INT_CLR(id)); 226 int id, int value) 228 writel(value, addr + HI3660_INT_EN(id)); 232 int id, int value) 234 writel(value, addr + HI3660_TH(id)); 237 static inline int hi3660_thermal_get_temperature(void __iomem *addr, int id) argument 212 hi3660_thermal_set_lag(void __iomem *addr, int id, int value) argument 219 hi3660_thermal_alarm_clear(void __iomem *addr, int id, int value) argument 225 hi3660_thermal_alarm_enable(void __iomem *addr, int id, int value) argument 231 hi3660_thermal_alarm_set(void __iomem *addr, int id, int value) argument [all...] |
/linux-master/drivers/nvme/target/ |
H A D | discovery.c | 251 struct nvme_id_ctrl *id; local 263 id = kzalloc(sizeof(*id), GFP_KERNEL); 264 if (!id) { 269 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE); 270 memset(id->fr, ' ', sizeof(id->fr)); 271 memcpy_and_pad(id->mn, sizeof(id->mn), ctrl->subsys->model_number, 273 memcpy_and_pad(id [all...] |
/linux-master/tools/perf/util/ |
H A D | expr.c | 99 int ids__insert(struct hashmap *ids, const char *id) argument 105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); 148 /* Caller must make sure id is allocated */ 149 int expr__add_id(struct expr_parse_ctx *ctx, const char *id) argument 151 return ids__insert(ctx->ids, id); 154 /* Caller must make sure id is allocated */ 155 int expr__add_id_val(struct expr_parse_ctx *ctx, const char *id, double val) argument 157 return expr__add_id_val_source_count(ctx, id, val, /*source_count=*/1); 160 /* Caller must make sure id is allocated */ 161 int expr__add_id_val_source_count(struct expr_parse_ctx *ctx, const char *id, argument 222 expr__get_id(struct expr_parse_ctx *ctx, const char *id, struct expr_id_data **data) argument 243 expr__resolve_id(struct expr_parse_ctx *ctx, const char *id, struct expr_id_data **datap) argument 281 expr__del_id(struct expr_parse_ctx *ctx, const char *id) argument 489 expr__has_event(const struct expr_parse_ctx *ctx, bool compute_ids, const char *id) argument [all...] |