Home
last modified time | relevance | path

Searched refs:kw (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/phosphor-inventory-manager/
H A Dpimgen.py90 def __init__(self, **kw): argument
91 self.namespace = kw.pop("namespace", [])
92 super(Template, self).__init__(**kw)
160 def __init__(self, **kw): argument
161 self.type = kw.pop("type", None)
162 super(Argument, self).__init__(**kw)
171 def __init__(self, **kw): argument
172 self.value = kw.pop("value")
173 self.decorators = kw.pop("decorators", [])
174 if kw.get("type", None) == "string":
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dpdmgen.py80 def add_unique(obj, *a, **kw): argument
85 if not exists(container, obj.cls, obj.name, config=kw.get("config")):
146 def __init__(self, **kw): argument
147 self.type = kw.pop("type", None)
148 super(Argument, self).__init__(**kw)
157 def __init__(self, **kw): argument
158 self.value = kw.pop("value")
159 self.decorators = kw.pop("decorators", [])
160 if kw.get("type", None):
161 self.decorators.insert(0, Literal(kw["type"]))
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dpfpgen.py79 def add_unique(obj, *a, **kw): argument
104 def __init__(self, *a, **kw): argument
107 self.cls = kw.pop("class")
108 super(ConfigEntry, self).__init__(**kw)
126 def __init__(self, *a, **kw): argument
127 kw["class"] = "sensor"
128 kw.pop("type")
129 self.policy = kw.pop("policy")
130 super(Sensor, self).__init__(**kw)
141 def __init__(self, *a, **kw): argument
[all …]
/openbmc/phosphor-rest-server/servers/gevent/
H A Dphosphor-gevent52 kw = {}
54 kw['have_wsock'] = True
55 app = App(**kw)
58 kw = {}
72 kw['ciphers'] = (
76 kw['keyfile'] = default_cert
77 kw['certfile'] = default_cert
91 kw['handler_class'] = WebSocketHandler
93 server = WSGIServer( bind, app, **kw )
/openbmc/pyphosphor/obmc/utils/
H A Ddtree.py18 def dts_encode(obj, fd, **kw): argument
21 indent = kw.get('indent', 0)
22 depth = kw.setdefault('depth', 0)
24 kw['depth'] += 1
26 context = kw.get('context')
40 dts_encode(v, fd, **kw)
45 dts_encode(v, fd, **kw)
69 dts_encode(v, fd, context=ctx, **kw)
/openbmc/phosphor-rest-server/module/obmc/wsgi/apps/
H A Drest_dbus.py65 def valid_user(session, *a, **kw): argument
196 def __call__(self, session, *a, **kw): argument
197 valid_user(session, *a, **kw)
226 def _setup(self, **kw): argument
231 return self.setup(**kw)
243 def __call__(self, **kw): argument
244 return getattr(self, 'do_' + request.method.lower())(**kw)
246 def do_head(self, **kw): argument
247 return self.do_get(**kw)
249 def do_options(self, **kw): argument
[all …]
/openbmc/openbmc/meta-phosphor/classes/
H A Dobmc-phosphor-utils.bbclass13 def compose_list(d, fmtvar, *listvars, **kw):
18 return (kw.get('sep') or ' ').join(lst)
21 def compose_list_zip(d, fmtvar, *listvars, **kw):
25 return (kw.get('sep') or ' ').join(lst)
/openbmc/pyphosphor/obmc/dbuslib/
H A Dbindings.py33 def __init__(self, **kw): argument
34 self.validator = kw.pop('validator', None)
35 super(DbusProperties, self).__init__(**kw)
154 def ctor(obj, *a, **kw): argument
155 undecorated(obj, *a, **kw)
164 def __init__(self, **kw): argument
165 super(DbusObjectManager, self).__init__(**kw)
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c75 pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK; in npc_mcam_verify_pf_func()
270 *cam1 = entry->kw[0]; in npc_get_keyword()
275 *cam1 = entry->kw[1] & CAM_MASK(48); in npc_get_keyword()
282 *cam1 = (entry->kw[1] >> 48) & CAM_MASK(16); in npc_get_keyword()
283 *cam1 |= ((entry->kw[2] & CAM_MASK(48)) << 16); in npc_get_keyword()
291 *cam1 = (entry->kw[2] >> 48) & CAM_MASK(16); in npc_get_keyword()
292 *cam1 |= ((entry->kw[3] & CAM_MASK(32)) << 16); in npc_get_keyword()
300 *cam1 = (entry->kw[3] >> 32) & CAM_MASK(32); in npc_get_keyword()
301 *cam1 |= ((entry->kw[4] & CAM_MASK(32)) << 32); in npc_get_keyword()
309 *cam1 = (entry->kw[4] >> 32) & CAM_MASK(32); in npc_get_keyword()
[all …]
H A Drvu_npc_fs.c747 dummy.kw[i] = kw1; in npc_update_entry()
760 dummy.kw[i + 1] = kw2; in npc_update_entry()
776 dummy.kw[i + 1] = kw2; in npc_update_entry()
777 dummy.kw[i + 2] = kw3; in npc_update_entry()
795 entry->kw[i] &= ~field->kw_mask[i]; in npc_update_entry()
798 entry->kw[i] |= dummy.kw[i]; in npc_update_entry()
1240 rule->chan = write_req.entry_data.kw[0] & NPC_KEX_CHAN_MASK; in npc_install_flow()
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Ddecorators.py140 def wrapped_f(*args, **kw): argument
148 return fn(*args, **kw)
193 def wrapped_f(self, *args, **kw): argument
205 return fn(self, *args, **kw)
/openbmc/linux/drivers/pci/
H A Dvpd.c401 unsigned int len, const char *kw) in pci_vpd_find_info_keyword() argument
406 if (buf[i + 0] == kw[0] && in pci_vpd_find_info_keyword()
407 buf[i + 1] == kw[1]) in pci_vpd_find_info_keyword()
494 const char *kw, unsigned int *size) in pci_vpd_find_ro_info_keyword() argument
503 infokw_start = pci_vpd_find_info_keyword(buf, ro_start, ro_len, kw); in pci_vpd_find_ro_info_keyword()
/openbmc/openbmc-tools/dbus-vis/
H A Dipmi_parse.js18 function extractInt(line, kw) { argument
19 let N = kw.length;
20 let i0 = line.indexOf(kw);
/openbmc/openbmc/poky/scripts/
H A Doe-pkgdata-browser31 def timed(*args, **kw): argument
34 result = f(*args, **kw)
37 (f.__name__, args, kw, te-ts))
/openbmc/phosphor-networkd/src/ibm/hypervisor-network-mgr-src/
H A Dhyp_network_manager.cpp28 const std::string& kw) in getDBusProp() argument
35 properties.append(kw); in getDBusProp()
H A Dhyp_network_manager.hpp140 const std::string& interface, const std::string& kw);
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dmae.c1880 static int efx_mae_populate_ct_key(struct efx_nic *efx, __le32 *key, size_t kw, in efx_mae_populate_ct_key() argument
1917 size_t inlen, kw, rw; in efx_mae_insert_ct() local
1926 kw = DIV_ROUND_UP(efx->tc->meta_ct.desc.key_width, 32); in efx_mae_insert_ct()
1929 inlen = MC_CMD_TABLE_INSERT_IN_LEN(kw + rw); in efx_mae_insert_ct()
1936 key = kcalloc(kw, sizeof(__le32), GFP_KERNEL); in efx_mae_insert_ct()
1943 rc = efx_mae_populate_ct_key(efx, key, kw, conn); in efx_mae_insert_ct()
1971 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA), key, kw * sizeof(__le32)); in efx_mae_insert_ct()
1972 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA) + kw * sizeof(__le32), in efx_mae_insert_ct()
1990 size_t inlen, kw; in efx_mae_remove_ct() local
1998 kw = DIV_ROUND_UP(efx->tc->meta_ct.desc.key_width, 32); in efx_mae_remove_ct()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/jack/jack/
H A D0002-Fix-all-DeprecationWarning-invalid-escape-sequence.patch94 @@ -239,7 +239,7 @@ def validate_cfg(self, kw):
97 def exec_cfg(self, kw):
215 def nada(*k, **kw):
/openbmc/pldm/tools/visualize-pdr/
H A Dpldm_visualise_pdrs.py69 def __init__(self, hostname, uname, passwd, port, **kw): argument
84 hostname, username=uname, password=passwd, port=port, **kw
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libcereal/files/
H A D0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch5 -Wmissing-template-arg-list-after-template-kw.
/openbmc/openbmc/poky/scripts/lib/recipetool/
H A Dcreate_buildsys_python.py1080 new_value = dict((kw.arg, self.visit(kw.value)) for kw in value)
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/
H A Dtx.c366 trans_pcie->kw.dma >> 4); in iwl_trans_pcie_tx_reset()
466 iwl_pcie_free_dma_ptr(trans, &trans_pcie->kw); in iwl_pcie_tx_free()
502 ret = iwl_pcie_alloc_dma_ptr(trans, &trans_pcie->kw, IWL_KW_SIZE); in iwl_pcie_tx_alloc()
567 trans_pcie->kw.dma >> 4); in iwl_pcie_tx_init()
H A Dinternal.h383 struct iwl_dma_ptr kw; member
/openbmc/linux/tools/perf/pmu-events/
H A Dmetric.py563 for kw in keywords:
564 py = re.sub(rf'Event\(r"{kw}"\)', kw, py)
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c1953 il4965_free_dma_ptr(il, &il->kw); in il4965_hw_txq_ctx_free()
1982 ret = il4965_alloc_dma_ptr(il, &il->kw, IL_KW_SIZE); in il4965_txq_ctx_alloc()
1999 il_wr(il, FH49_KW_MEM_ADDR_REG, il->kw.dma >> 4); in il4965_txq_ctx_alloc()
2016 il4965_free_dma_ptr(il, &il->kw); in il4965_txq_ctx_alloc()
2034 il_wr(il, FH49_KW_MEM_ADDR_REG, il->kw.dma >> 4); in il4965_txq_ctx_reset()

12