Searched refs:cmax (Results 1 – 4 of 4) sorted by relevance
| /linux/sound/soc/ |
| H A D | soc-ops-test.c | 29 #define TEST_UINFO(clayout, ctype, cmin, cmax) \ argument 34 .value.integer.max = cmax, \ 37 #define ITEST(cname, clayout, ctype, cfunc, cmin, cmax, \ argument 45 TEST_UINFO(clayout, ctype, cmin, cmax), \
|
| /linux/net/ipv6/ |
| H A D | sit.c | 311 unsigned int cmax, c = 0, ca, len; in ipip6_tunnel_get_prl() local 319 cmax = kprl.datalen / sizeof(kprl); in ipip6_tunnel_get_prl() 320 if (cmax > 1 && kprl.addr != htonl(INADDR_ANY)) in ipip6_tunnel_get_prl() 321 cmax = 1; in ipip6_tunnel_get_prl() 326 kp = (cmax <= 1 || capable(CAP_NET_ADMIN)) ? in ipip6_tunnel_get_prl() 327 kzalloc_objs(*kp, cmax, GFP_KERNEL_ACCOUNT | __GFP_NOWARN) : in ipip6_tunnel_get_prl() 330 ca = min(t->prl_count, cmax); in ipip6_tunnel_get_prl() 348 if (c >= cmax) in ipip6_tunnel_get_prl()
|
| /linux/drivers/regulator/ |
| H A D | core.c | 1251 int cmax = constraints->max_uV; in machine_constraints_voltage() local 1258 cmax = INT_MAX; in machine_constraints_voltage() 1260 constraints->max_uV = cmax; in machine_constraints_voltage() 1264 if ((cmin == 0) && (cmax == 0)) { in machine_constraints_voltage() 1268 } else if (cmin <= 0 || cmax <= 0 || cmax < cmin) { in machine_constraints_voltage() 1288 if (value <= cmax && value > max_uV) in machine_constraints_voltage()
|
| /linux/drivers/resctrl/ |
| H A D | mpam_devices.c | 1553 u16 cmax = MPAMCFG_CMAX_CMAX; in mpam_reprogram_ris_partid() local 1610 mpam_write_partsel_reg(msc, CMAX, cmax); in mpam_reprogram_ris_partid()
|