Home
last modified time | relevance | path

Searched refs:msgs (Results 1 – 25 of 54) sorted by relevance

123

/dragonfly/usr.bin/localedef/
H A Dmessages.c45 static struct lc_messages_T msgs; variable
50 (void) memset(&msgs, 0, sizeof (msgs)); in init_messages()
66 msgs.yesstr = str; in add_message()
69 msgs.nostr = str; in add_message()
72 msgs.yesexpr = str; in add_message()
75 msgs.noexpr = str; in add_message()
90 if (msgs.yesstr == NULL) { in dump_messages()
92 msgs.yesstr = ""; in dump_messages()
94 if (msgs.nostr == NULL) { in dump_messages()
96 msgs.nostr = ""; in dump_messages()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Dintel_i2c.c441 msgs[i].addr == msgs[i + 1].addr && in gmbus_is_index_read()
442 !(msgs[i].flags & I2C_M_RD) && in gmbus_is_index_read()
443 (msgs[i].len == 1 || msgs[i].len == 2) && in gmbus_is_index_read()
444 (msgs[i + 1].flags & I2C_M_RD)); in gmbus_is_index_read()
454 if (msgs[0].len == 2) in gmbus_xfer_index_read()
456 msgs[0].buf[1] | (msgs[0].buf[0] << 8); in gmbus_xfer_index_read()
457 if (msgs[0].len == 1) in gmbus_xfer_index_read()
489 if (gmbus_is_index_read(msgs, i, num)) { in do_gmbus_xfer()
492 } else if (msgs[i].flags & I2C_M_RD) { in do_gmbus_xfer()
556 adapter->name, msgs[i].addr, in do_gmbus_xfer()
[all …]
H A Dintel_sdvo.c456 struct i2c_msg *msgs; in __intel_sdvo_write_cmd() local
464 msgs = kcalloc(args_len + 3, sizeof(*msgs), GFP_KERNEL); in __intel_sdvo_write_cmd()
465 if (!msgs) { in __intel_sdvo_write_cmd()
474 msgs[i].flags = 0; in __intel_sdvo_write_cmd()
475 msgs[i].len = 2; in __intel_sdvo_write_cmd()
481 msgs[i].flags = 0; in __intel_sdvo_write_cmd()
482 msgs[i].len = 2; in __intel_sdvo_write_cmd()
490 msgs[i+1].flags = 0; in __intel_sdvo_write_cmd()
491 msgs[i+1].len = 1; in __intel_sdvo_write_cmd()
496 msgs[i+2].len = 1; in __intel_sdvo_write_cmd()
[all …]
H A Ddvo_sil164.c75 struct i2c_msg msgs[] = { in sil164_readb() local
93 if (i2c_transfer(adapter, msgs, 2) == 2) { in sil164_readb()
/dragonfly/sys/bus/iicbus/
H A Diiconf.c347 iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs) in iicbus_transfer() argument
349 return (IICBUS_TRANSFER(device_get_parent(bus), msgs, nmsgs)); in iicbus_transfer()
358 iicbus_transfer_gen(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) in iicbus_transfer_gen() argument
372 if (msgs[i].flags & IIC_M_RD) in iicbus_transfer_gen()
373 error = iicbus_block_read(bus, msgs[i].slave, in iicbus_transfer_gen()
374 msgs[i].buf, msgs[i].len, &lenread); in iicbus_transfer_gen()
376 error = iicbus_block_write(bus, msgs[i].slave, in iicbus_transfer_gen()
377 msgs[i].buf, msgs[i].len, &lenwrote); in iicbus_transfer_gen()
H A Diiconf.h124 int iicbus_transfer(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
125 int iicbus_transfer_gen(device_t bus, struct iic_msg *msgs, uint32_t nmsgs);
H A Diicbb.c77 static int iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs);
427 iicbb_transfer(device_t dev, struct iic_msg *msgs, uint32_t nmsgs) in iicbb_transfer() argument
435 error = iicbus_transfer_gen(dev, msgs, nmsgs); in iicbb_transfer()
/dragonfly/etc/rc.d/
H A Dmsgs15 if [ -d /var/msgs -a ! -f /var/msgs/bounds -a ! -L /var/msgs/bounds ]; then
16 echo 0 > /var/msgs/bounds
/dragonfly/contrib/wpa_supplicant/src/radius/
H A Dradius_client.c500 entry = radius->msgs; in radius_client_timer()
528 entry = radius->msgs; in radius_client_timer()
551 entry = radius->msgs; in radius_client_timer()
563 if (radius->msgs) { in radius_client_timer()
702 radius->msgs = entry; in radius_client_list_add()
881 req = radius->msgs; in radius_client_receive()
975 entry = radius->msgs; in radius_client_get_id()
1016 entry = radius->msgs; in radius_client_flush()
1035 if (radius->msgs == NULL) in radius_client_flush()
1123 if (radius->msgs) { in radius_change_server()
[all …]
/dragonfly/sys/dev/drm/
H A Dlinux_i2c.c64 __i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) in __i2c_transfer() argument
71 ret = adapter->algo->master_xfer(adapter, msgs, num); in __i2c_transfer()
92 i2c_transfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, int num) in i2c_transfer() argument
100 ret = __i2c_transfer(adapter, msgs, num); in i2c_transfer()
107 bit_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg msgs[], int num) in bit_xfer() argument
H A Ddrm_scdc_helper.c57 struct i2c_msg msgs[2] = { in drm_scdc_read() local
71 ret = i2c_transfer(adapter, msgs, ARRAY_SIZE(msgs)); in drm_scdc_read()
74 if (ret != ARRAY_SIZE(msgs)) in drm_scdc_read()
H A Ddrm_dp_dual_mode_helper.c63 struct i2c_msg msgs[] = { in drm_dp_dual_mode_read() local
79 ret = i2c_transfer(adapter, msgs, ARRAY_SIZE(msgs)); in drm_dp_dual_mode_read()
82 if (ret != ARRAY_SIZE(msgs)) in drm_dp_dual_mode_read()
H A Ddrm_dp_helper.c887 static int drm_dp_i2c_xfer(struct i2c_adapter *adapter, struct i2c_msg *msgs, in drm_dp_i2c_xfer() argument
901 msg.address = msgs[i].addr; in drm_dp_i2c_xfer()
902 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
915 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
924 for (j = 0; j < msgs[i].len; j += msg.size) { in drm_dp_i2c_xfer()
925 msg.buffer = msgs[i].buf + j; in drm_dp_i2c_xfer()
926 msg.size = min(transfer_size, msgs[i].len - j); in drm_dp_i2c_xfer()
934 drm_dp_i2c_msg_set_request(&msg, &msgs[i]); in drm_dp_i2c_xfer()
/dragonfly/etc/mail/
H A Daliases73 # NOTE: /var/msgs and /var/msgs/bounds must be owned by sendmail's
74 # DefaultUser (defaults to mailnull) for the msgs alias to work.
76 # msgs: "| /usr/bin/msgs -s"
/dragonfly/sys/dev/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c430 struct i2c_msg *msgs; in dm_helpers_submit_i2c() local
440 msgs = kcalloc(num, sizeof(struct i2c_msg), GFP_KERNEL); in dm_helpers_submit_i2c()
442 if (!msgs) in dm_helpers_submit_i2c()
446 msgs[i].flags = cmd->payloads[i].write ? 0 : I2C_M_RD; in dm_helpers_submit_i2c()
447 msgs[i].addr = cmd->payloads[i].address; in dm_helpers_submit_i2c()
448 msgs[i].len = cmd->payloads[i].length; in dm_helpers_submit_i2c()
449 msgs[i].buf = cmd->payloads[i].data; in dm_helpers_submit_i2c()
452 result = i2c_transfer(&aconnector->i2c->base, msgs, num) == num; in dm_helpers_submit_i2c()
454 kfree(msgs); in dm_helpers_submit_i2c()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_i2c.c35 struct i2c_msg *msgs, int num);
47 struct i2c_msg msgs[] = { in radeon_ddc_probe() local
327 struct i2c_msg *msgs, int num) in r100_hw_i2c_xfer() argument
464 p = &msgs[0]; in r100_hw_i2c_xfer()
496 p = &msgs[i]; in r100_hw_i2c_xfer()
580 struct i2c_msg *msgs, int num) in r500_hw_i2c_xfer() argument
667 p = &msgs[0]; in r500_hw_i2c_xfer()
704 p = &msgs[i]; in r500_hw_i2c_xfer()
813 struct i2c_msg *msgs, int num) in radeon_hw_i2c_xfer() argument
841 ret = r100_hw_i2c_xfer(i2c_adap, msgs, num); in radeon_hw_i2c_xfer()
[all …]
H A Datombios_i2c.c106 struct i2c_msg *msgs, int num);
108 struct i2c_msg *msgs, int num) in radeon_atom_hw_i2c_xfer() argument
116 p = &msgs[0]; in radeon_atom_hw_i2c_xfer()
128 p = &msgs[i]; in radeon_atom_hw_i2c_xfer()
/dragonfly/sys/dev/drm/include/linux/
H A Di2c.h65 int __i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num);
66 int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num);
69 int (*master_xfer)(struct i2c_adapter *adap, struct i2c_msg *msgs,
/dragonfly/contrib/wpa_supplicant/src/eap_server/
H A Deap_server_eke.c32 struct wpabuf *msgs; member
106 wpabuf_free(data->msgs); in eap_eke_reset()
228 wpabuf_free(data->msgs); in eap_eke_build_identity()
229 data->msgs = wpabuf_dup(msg); in eap_eke_build_identity()
230 if (data->msgs == NULL) { in eap_eke_build_identity()
292 if (wpabuf_resize(&data->msgs, wpabuf_len(msg)) < 0) { in eap_eke_build_commit()
297 wpabuf_put_buf(data->msgs, msg); in eap_eke_build_commit()
504 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_identity()
508 wpabuf_put_buf(data->msgs, respData); in eap_eke_process_identity()
577 if (wpabuf_resize(&data->msgs, wpabuf_len(respData)) < 0) { in eap_eke_process_commit()
[all …]
/dragonfly/contrib/wpa_supplicant/src/eap_peer/
H A Deap_eke.c30 struct wpabuf *msgs; member
139 wpabuf_free(data->msgs); in eap_eke_deinit()
336 wpabuf_free(data->msgs); in eap_eke_process_id()
337 data->msgs = wpabuf_alloc(wpabuf_len(reqData) + wpabuf_len(resp)); in eap_eke_process_id()
338 if (data->msgs == NULL) { in eap_eke_process_id()
343 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_id()
344 wpabuf_put_buf(data->msgs, resp); in eap_eke_process_id()
484 if (wpabuf_resize(&data->msgs, wpabuf_len(reqData) + wpabuf_len(resp)) in eap_eke_process_commit()
490 wpabuf_put_buf(data->msgs, reqData); in eap_eke_process_commit()
491 wpabuf_put_buf(data->msgs, resp); in eap_eke_process_commit()
[all …]
/dragonfly/etc/periodic/daily/
H A D130.clean-msgs18 if [ ! -d /var/msgs ]
29 msgs -c $arg && rc=0 || rc=3
/dragonfly/sys/dev/raid/mps/
H A Dmps_pci.c69 static int mps_alloc_msix(struct mps_softc *sc, int msgs);
250 ((msgs = pci_msix_count(dev)) >= MPS_MSI_COUNT)) in mps_pci_setup_interrupts()
321 mps_alloc_msix(struct mps_softc *sc, int msgs)
325 error = pci_alloc_msix(sc->mps_dev, &msgs);
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Datombios_i2c.c113 struct i2c_msg *msgs, int num) in amdgpu_atombios_i2c_xfer() argument
121 p = &msgs[0]; in amdgpu_atombios_i2c_xfer()
133 p = &msgs[i]; in amdgpu_atombios_i2c_xfer()
/dragonfly/usr.bin/dsynth/
H A Dmktemplate.sh47 mkdir -p $template/var/msgs
48 chown daemon:wheel $template/var/msgs
/dragonfly/games/rogue/
H A Dmessage.c52 static char msgs[NMESSAGES][DCOLS] = {"", "", "", "", ""}; variable
85 strcpy(msgs[imsg], msg); in message()
110 message(msgs[((imsg - c) % NMESSAGES)], 0); in remessage()

123